/* ================================================================
   BTD6 APK — Main Stylesheet
   Mobile-first, performance-optimized
   ================================================================ */

/* ── Variables ── */
:root {
    --clr-primary:     #0f172a;
    --clr-primary-lt:  #1e293b;
    --clr-accent:      #16a34a;
    --clr-accent-lt:   #22c55e;
    --clr-accent-dark: #15803d;
    --clr-red:         #dc2626;
    --clr-amber:       #d97706;
    --clr-blue:        #2563eb;
    --clr-text:        #1e293b;
    --clr-muted:       #64748b;
    --clr-border:      #e2e8f0;
    --clr-bg:          #f8fafc;
    --clr-card:        #ffffff;
    --font:            'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius:          10px;
    --radius-lg:       16px;
    --shadow:          0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
    --shadow-md:       0 4px 12px rgba(0,0,0,.08);
    --shadow-lg:       0 10px 30px rgba(0,0,0,.1);
    --max-w:           1160px;
    --transition:      0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--clr-text);
    background: var(--clr-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-accent-dark); }
ul { list-style: none; }

/* ── Container ── */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
    background: var(--clr-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}
.site-logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    white-space: nowrap;
}
.site-logo-text:hover { color: var(--clr-accent-lt); }
.site-header .custom-logo { height: 62px; width: auto; }

.nav-menu {
    display: flex;
    gap: 4px;
    align-items: center;
}
.nav-menu li a {
    color: #e2e8f0;
    font-size: .9rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
    background: rgba(255,255,255,.1);
    color: #fff;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* ================================================================
   HERO SECTION (Above the fold)
   ================================================================ */
.hero {
    background: linear-gradient(135deg, var(--clr-primary) 0%, #1a2744 50%, #162032 100%);
    color: #fff;
    padding: 52px 0 44px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="8" fill="rgba(255,255,255,0.02)"/><circle cx="80" cy="70" r="12" fill="rgba(255,255,255,0.015)"/><circle cx="50" cy="90" r="6" fill="rgba(255,255,255,0.02)"/></svg>') center/cover;
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    position: relative;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34,197,94,.15);
    border: 1px solid rgba(34,197,94,.3);
    color: var(--clr-accent-lt);
    font-size: .78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
    letter-spacing: .3px;
}
.hero h1 {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}
.hero h1 span { color: var(--clr-accent-lt); }
.hero-desc {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 520px;
    margin-bottom: 28px;
    line-height: 1.6;
}
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
}
.hero-stat {
    display: flex;
    flex-direction: column;
}
.hero-stat strong {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.hero-stat span {
    font-size: .75rem;
    color: #64748b;
    margin-top: 2px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Download Button */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--clr-accent);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 14px rgba(22,163,74,.4);
    text-decoration: none;
    white-space: nowrap;
}
.btn-download:hover {
    background: var(--clr-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22,163,74,.5);
    color: #fff;
}
.btn-download svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-download .btn-sub { font-size: .72rem; font-weight: 400; opacity: .85; display: block; margin-top: 2px; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.08);
    color: #e2e8f0;
    font-size: .9rem;
    font-weight: 500;
    padding: 14px 22px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.15);
    text-decoration: none;
    transition: background var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,.14); color: #fff; }

/* Hero image */
.hero-image {
    width: 220px;
    flex-shrink: 0;
}
.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.hero-img-placeholder {
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,.06);
    border: 2px dashed rgba(255,255,255,.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: .8rem;
    text-align: center;
    padding: 16px;
}

/* ================================================================
   APK INFO BOX
   ================================================================ */
.apk-info-section { padding: 0; margin-top: -24px; position: relative; z-index: 10; }
.apk-info-card {
    background: var(--clr-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.apk-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.apk-info-item {
    padding: 18px 20px;
    border-right: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}
.apk-info-item:last-child { border-right: none; }
.apk-info-item .label {
    font-size: .7rem;
    font-weight: 600;
    color: var(--clr-muted);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 4px;
}
.apk-info-item .value {
    font-size: .95rem;
    font-weight: 600;
    color: var(--clr-text);
}
.apk-info-item .value.green { color: var(--clr-accent); }
.apk-info-strip {
    background: #f1f5f9;
    padding: 12px 20px;
    font-size: .8rem;
    color: var(--clr-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ================================================================
   MAIN LAYOUT
   ================================================================ */
.site-main { padding: 10px 0 52px; }
.content-area { max-width: 820px; }
/* Homepage full-width content (images sit beside text in grid) */
.hp-content { max-width: 100%; }

/* ================================================================
   SECTIONS
   ================================================================ */
.section { margin-bottom: 52px; }
.section-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--clr-accent);
    display: inline-block;
}
.section p {
    margin-bottom: 14px;
    color: #374151;
    line-height: 1.75;
}
.section p:last-child { margin-bottom: 0; }
.section p strong { color: var(--clr-primary); }

/* ================================================================
   FEATURE CARDS
   ================================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.feature-card {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 22px;
    transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(22,163,74,.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 1.4rem;
}
.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 8px;
}
.feature-card p {
    font-size: .9rem;
    color: var(--clr-muted);
    line-height: 1.6;
    margin: 0;
}

/* ================================================================
   COMPARISON TABLE
   ================================================================ */
.comparison-wrap { overflow-x: auto; margin-top: 24px; }
.comparison-table { min-width: 520px; }
.comparison-table th.highlight { background: var(--clr-accent); }
.comparison-table td:first-child { font-weight: 600; color: var(--clr-primary); }
.badge-yes { color: var(--clr-accent); font-weight: 700; }
.badge-no  { color: var(--clr-red); font-weight: 700; }
.badge-req { color: var(--clr-amber); font-weight: 600; }

/* ================================================================
   SAFETY BOX
   ================================================================ */
.safety-box {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #86efac;
    border-left: 4px solid var(--clr-accent);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 20px;
}
.safety-box h3 { color: var(--clr-accent-dark); margin-bottom: 10px; font-size: 1rem; }
.safety-box ul { padding-left: 0; }
.safety-box ul li {
    padding: 6px 0 6px 24px;
    position: relative;
    color: #166534;
    font-size: .9rem;
    border-bottom: 1px solid rgba(134,239,172,.3);
}
.safety-box ul li:last-child { border-bottom: none; }
.safety-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--clr-accent);
    font-weight: 700;
}

/* ================================================================
   INSTALLATION STEPS
   ================================================================ */
.steps-list { margin-top: 24px; }
.step {
    display: flex;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--clr-border);
}
.step:last-child { border-bottom: none; }
.step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--clr-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
}
.step-content h3 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 4px;
}
.step-content p {
    font-size: .88rem;
    color: var(--clr-muted);
    margin: 0;
    line-height: 1.5;
}
.step-img-placeholder {
    width: 100%;
    height: 160px;
    background: #f1f5f9;
    border: 2px dashed var(--clr-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-muted);
    font-size: .8rem;
    margin-top: 10px;
}

/* Error Box */
.error-box {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-left: 4px solid var(--clr-red);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-top: 20px;
}
.error-box h4 { color: var(--clr-red); font-size: .9rem; margin-bottom: 8px; }
.error-box ul { padding-left: 0; }
.error-box ul li {
    font-size: .85rem;
    color: #7f1d1d;
    padding: 4px 0 4px 20px;
    position: relative;
}
.error-box ul li::before { content: '→'; position: absolute; left: 0; }

/* ================================================================
   TIPS SECTION
   ================================================================ */
.tips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
}
.tip-card {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.tip-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--clr-primary);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
}
.tip-card h3 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 5px;
}
.tip-card p {
    font-size: .87rem;
    color: var(--clr-muted);
    line-height: 1.55;
    margin: 0;
}

/* ================================================================
   FAQ SECTION
   ================================================================ */
.faq-list { margin-top: 20px; }
.faq-item {
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 10px;
}
.faq-question {
    width: 100%;
    background: var(--clr-card);
    border: none;
    padding: 16px 20px;
    text-align: left;
    font-family: var(--font);
    font-size: .95rem;
    font-weight: 600;
    color: var(--clr-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background var(--transition);
}
.faq-question:hover { background: #f8fafc; }
.faq-question.active { background: var(--clr-primary); color: #fff; }
.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform var(--transition);
}
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
    display: none;
    padding: 16px 20px;
    background: #f8fafc;
    font-size: .9rem;
    color: #374151;
    line-height: 1.7;
    border-top: 1px solid var(--clr-border);
}
.faq-answer.open { display: block; }
.faq-answer a { color: var(--clr-accent); font-weight: 500; }

/* ================================================================
   DOWNLOAD CTA (Final)
   ================================================================ */
.download-cta {
    background: linear-gradient(135deg, var(--clr-primary) 0%, #1a2744 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    margin-top: 52px;
}
.download-cta h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.download-cta p {
    color: #94a3b8;
    margin-bottom: 28px;
    font-size: 1rem;
}
.download-cta .btn-download { font-size: 1.05rem; padding: 16px 36px; }
.cta-meta {
    margin-top: 16px;
    font-size: .78rem;
    color: #475569;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ================================================================
   BLOG / ARCHIVE
   ================================================================ */
/* ── Archive Header ── */
.archive-header {
    margin-bottom: 36px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #0a1628 0%, #0d2218 100%);
    border-radius: 14px;
    border: 1px solid rgba(34,197,94,.2);
    position: relative;
    overflow: hidden;
}
.archive-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(34,197,94,.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(34,197,94,.04) 1px, transparent 1px);
    background-size: 32px 32px;
}
.archive-header-inner { position: relative; z-index: 1; }
.archive-label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #4ade80;
    background: rgba(34,197,94,.12);
    border: 1px solid rgba(34,197,94,.3);
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 10px;
}
.archive-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: -.4px;
    margin: 0 0 6px;
}
.archive-desc { font-size: .9rem; color: #94a3b8; margin: 0; }

/* ── Blog Layout ── */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ── Post Card ── */
.post-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: 3px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-top-color .22s ease;
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,.10);
    border-top-color: var(--clr-accent);
}
.post-card-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    flex-shrink: 0;
}
.post-card-img-wrap .post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
}
.post-card:hover .post-thumbnail { transform: scale(1.05); }
.post-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(3,13,6,.65) 100%);
}
.post-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f2218, #1a3a2a);
    display: flex;
    align-items: center;
    justify-content: center;
}
.post-card-cat {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: rgba(34,197,94,.9);
    color: #fff;
    padding: 3px 9px;
    border-radius: 6px;
    z-index: 2;
}
.post-card-cat a { color: #fff !important; }
.post-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.post-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .75rem;
    color: #94a3b8;
    margin-bottom: 9px;
}
.post-meta svg { flex-shrink: 0; color: #cbd5e1; }
.post-card h2 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #0f172a;
}
.post-card h2 a { color: #0f172a; }
.post-card h2 a:hover { color: #16a34a; }
.post-excerpt {
    font-size: .84rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .82rem;
    font-weight: 700;
    color: #16a34a;
    margin-top: auto;
    transition: gap .2s;
}
.post-read-more:hover { gap: 8px; color: #15803d; }
.pagination-wrap { grid-column: 1 / -1; margin-top: 8px; }

/* ── Sidebar ── */
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; align-self: start; }

/* Download CTA Widget */
.sb-download {
    position: relative;
    background: linear-gradient(150deg, #030d06 0%, #071a0e 50%, #0a2414 100%);
    border: 1px solid rgba(34,197,94,.3);
    border-radius: 14px;
    overflow: hidden;
}
.sb-download::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #22c55e, transparent);
}
.sb-dl-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 10%, rgba(34,197,94,.12) 0%, transparent 60%);
    pointer-events: none;
}
.sb-dl-body {
    position: relative;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}
.sb-dl-icon { font-size: 2.2rem; line-height: 1; }
.sb-dl-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: -.2px;
}
.sb-dl-version {
    font-size: .75rem;
    color: #4ade80;
    font-weight: 600;
}
.sb-dl-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2px 0 6px;
}
.sb-dl-badges span {
    font-size: .68rem;
    font-weight: 600;
    color: #86efac;
    background: rgba(34,197,94,.12);
    border: 1px solid rgba(34,197,94,.25);
    padding: 2px 8px;
    border-radius: 100px;
}
.sb-dl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 8px;
    transition: opacity .2s, transform .2s;
    box-shadow: 0 4px 20px rgba(22,163,74,.35);
}
.sb-dl-btn:hover { opacity: .9; transform: translateY(-1px); color: #fff; }
.sb-dl-mod {
    font-size: .75rem;
    color: #64748b;
    border-top: 1px solid rgba(255,255,255,.07);
    padding-top: 10px;
    margin-top: 4px;
    width: 100%;
    text-align: center;
    transition: color .2s;
}
.sb-dl-mod:hover { color: #4ade80; }

/* Generic Sidebar Widget */
.sb-widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}
.sb-widget-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}
.sb-widget-head h3 {
    font-size: .9rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

/* Recent Posts */
.sb-recent-posts { list-style: none; margin: 0; padding: 8px 0; }
.sb-rp-item { border-bottom: 1px solid #f1f5f9; }
.sb-rp-item:last-child { border-bottom: none; }
.sb-rp-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    transition: background .15s;
}
.sb-rp-link:hover { background: #f8fafc; }
.sb-rp-thumb {
    width: 52px;
    height: 38px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: #f1f5f9;
}
.sb-rp-thumb--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.sb-rp-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sb-rp-title {
    font-size: .8rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sb-rp-link:hover .sb-rp-title { color: #16a34a; }
.sb-rp-date { font-size: .7rem; color: #94a3b8; }

/* Quick Links */
.sb-links { list-style: none; margin: 0; padding: 6px 0; }
.sb-links li { border-bottom: 1px solid #f1f5f9; }
.sb-links li:last-child { border-bottom: none; }
.sb-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    font-size: .84rem;
    font-weight: 500;
    color: #334155;
    transition: background .15s, color .15s;
}
.sb-links a:hover { background: #f0fdf4; color: #16a34a; }
.sb-link-icon { font-size: 1rem; flex-shrink: 0; }
.sb-links span:nth-child(2) { flex: 1; }
.sb-link-arr { color: #cbd5e1; flex-shrink: 0; transition: transform .2s, color .2s; }
.sb-links a:hover .sb-link-arr { transform: translateX(3px); color: #16a34a; }

/* Stats Widget */
.sb-widget--stats .sb-facts {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.sb-facts li {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 10px;
    border-right: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
}
.sb-facts li:nth-child(2n) { border-right: none; }
.sb-facts li:nth-last-child(-n+2) { border-bottom: none; }
.sb-fact-val { font-size: 1.3rem; font-weight: 800; color: #16a34a; line-height: 1; }
.sb-fact-lbl { font-size: .68rem; color: #94a3b8; margin-top: 4px; font-weight: 500; }

/* Responsive */
@media (max-width: 900px) {
    .posts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .archive-header { padding: 20px; }
    .archive-title { font-size: 1.4rem; }
}

/* Single Post */
.single-layout { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: start; }
.single-content { background: var(--clr-card); border-radius: var(--radius); padding: 32px; border: 1px solid var(--clr-border); }
.single-content h1 { font-size: 1.7rem; font-weight: 800; line-height: 1.25; margin-bottom: 12px; letter-spacing: -.3px; }
.post-meta-top { font-size: .8rem; color: var(--clr-muted); margin-bottom: 24px; }
.entry-content h2 { font-size: 1.3rem; font-weight: 700; margin: 32px 0 12px; color: var(--clr-primary); border-left: 4px solid var(--clr-accent); padding-left: 12px; }
.entry-content h3 { font-size: 1.1rem; font-weight: 600; margin: 24px 0 10px; }
.entry-content p { margin-bottom: 16px; line-height: 1.75; }
.entry-content ul, .entry-content ol { padding-left: 20px; margin-bottom: 16px; }
.entry-content ul li, .entry-content ol li { margin-bottom: 6px; line-height: 1.6; }
.entry-content strong { color: var(--clr-primary); }
.entry-content a { color: var(--clr-accent); font-weight: 500; }
.entry-content img { border-radius: var(--radius); margin: 20px 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .9rem; }
.entry-content th { background: var(--clr-primary); color: #fff; padding: 10px 14px; text-align: left; }
.entry-content td { padding: 10px 14px; border-bottom: 1px solid var(--clr-border); }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
    background: var(--clr-primary);
    color: #94a3b8;
    margin-top: 80px;
}
.footer-inner { padding: 48px 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-about h3 { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.footer-about p { font-size: .88rem; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: .9rem; font-weight: 600; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .85rem; color: #64748b; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--clr-accent-lt); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 20px 0;
    font-size: .78rem;
    color: #475569;
}

/* ================================================================
   404 PAGE
   ================================================================ */
.page-404 { text-align: center; padding: 80px 20px; }
.page-404 h1 { font-size: 5rem; font-weight: 900; color: var(--clr-accent); line-height: 1; }
.page-404 h2 { font-size: 1.5rem; margin: 12px 0 20px; }
.page-404 p { color: var(--clr-muted); margin-bottom: 28px; }

/* ================================================================
   WORDPRESS BLOCK EDITOR CONTENT — .wp-content
   Ye styles tab apply hoti hain jab admin Gutenberg se content likhe
   ================================================================ */
.wp-content { margin-top: 40px; }
.wp-content h2 {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin: 44px 0 14px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--clr-accent);
    display: inline-block;
    letter-spacing: -.3px;
}
.wp-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin: 28px 0 10px;
}
.wp-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--clr-primary-lt);
    margin: 20px 0 8px;
}
.wp-content p {
    margin-bottom: 16px;
    line-height: 1.78;
    color: #374151;
    font-size: 1rem;
}
.wp-content p strong { color: var(--clr-primary); }
.wp-content a { color: var(--clr-accent); font-weight: 500; }
.wp-content a:hover { color: var(--clr-accent-dark); }
.wp-content ul,
.wp-content ol {
    padding-left: 0;
    margin-bottom: 20px;
    list-style: none;
}
.wp-content ul li,
.wp-content ol li {
    padding: 5px 0 5px 24px;
    position: relative;
    line-height: 1.65;
    color: #374151;
    font-size: .97rem;
    border-bottom: 1px solid var(--clr-border);
}
.wp-content ul li:last-child,
.wp-content ol li:last-child { border-bottom: none; }
.wp-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--clr-accent);
    font-weight: 700;
}
.wp-content ol { counter-reset: ol-counter; }
.wp-content ol li::before {
    content: counter(ol-counter) '.';
    counter-increment: ol-counter;
    position: absolute;
    left: 0;
    color: var(--clr-accent);
    font-weight: 700;
}
/* Mobile scroll wrapper */
.wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.wp-content table {
    width: 100%;
    border-collapse: separate;   /* allows border-radius to work */
    border-spacing: 0;
    margin: 10px 0 28px;
    font-size: .9rem;
    display: table;
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.wp-content thead tr { background: var(--clr-primary); }
.wp-content th {
    color: #fff;
    padding: 13px 18px;
    text-align: left;
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    border: none;
}
.wp-content td {
    padding: 12px 18px;
    border-top: 1px solid var(--clr-border);
    vertical-align: top;
    color: #374151;
}
.wp-content tr:nth-child(even) td { background: #f8fafc; }
.wp-content tbody tr:hover td { background: #f0fdf4; transition: background .15s ease; }
.wp-content img {
    border-radius: var(--radius);
    margin: 20px 0;
    max-width: 100%;
}
.wp-content blockquote {
    border-left: 4px solid var(--clr-accent);
    background: #f0fdf4;
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: #166534;
}
.wp-content .wp-block-image { margin: 24px 0; }
.wp-content figure { margin: 24px 0; }
.wp-content figcaption { font-size: .8rem; color: var(--clr-muted); text-align: center; margin-top: 6px; }

/* Gutenberg alignment */
.wp-content .alignleft  { float: left; margin: 0 20px 12px 0; }
.wp-content .alignright { float: right; margin: 0 0 12px 20px; }
.wp-content .aligncenter { text-align: center; }
.wp-content .alignwide  { margin-left: -40px; margin-right: -40px; }
@media (max-width: 640px) {
    .wp-content .alignwide  { margin-left: 0; margin-right: 0; }
    .wp-content .alignleft,
    .wp-content .alignright { float: none; margin: 12px 0; }
}

/* ================================================================
   TABLE OF CONTENTS
   ================================================================ */
.toc-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid var(--clr-accent);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin: 32px 0 40px;
}
.toc-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.toc-title svg { color: var(--clr-accent); flex-shrink: 0; }

/* Override ALL wp-content ol/ul styles inside TOC */
.wp-content .toc-list,
.toc-box .toc-list {
    list-style: none !important;
    counter-reset: none !important;
    padding: 0 !important;
    margin: 0 !important;
    columns: 2;
    column-gap: 32px;
}
.wp-content .toc-list li,
.toc-box .toc-list li {
    margin-bottom: 8px !important;
    break-inside: avoid;
    padding: 0 0 0 28px !important;
    position: relative;
    border-bottom: none !important;
    list-style: none !important;
}
/* Kill wp-content counter on toc items — needs higher specificity */
.wp-content .toc-list li::before,
.toc-box .toc-list li::before {
    content: none !important;
    counter-increment: none !important;
    display: none !important;
}
.wp-content .toc-list li span,
.toc-box .toc-list li span {
    position: absolute;
    left: 0;
    color: var(--clr-accent);
    font-weight: 700;
    font-size: .82rem;
    line-height: 1.4;
}
.wp-content .toc-list a,
.toc-box .toc-list a {
    font-size: .9rem;
    color: #166534 !important;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition);
    line-height: 1.4;
}
.wp-content .toc-list a:hover,
.toc-box .toc-list a:hover {
    color: var(--clr-accent-dark) !important;
    text-decoration: underline;
}
@media (max-width: 640px) {
    .wp-content .toc-list,
    .toc-box .toc-list { columns: 1; }
    .toc-box { padding: 18px 20px; }
}

/* ================================================================
   BACK TO TOP BUTTON
   ================================================================ */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    background: var(--clr-accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(22,163,74,.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .2s ease;
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover { background: var(--clr-accent-dark); box-shadow: 0 6px 18px rgba(22,163,74,.5); }
.back-to-top svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
    .back-to-top { bottom: 20px; right: 16px; width: 42px; height: 42px; }
}

/* ================================================================
   UTILITIES
   ================================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

/* ================================================================
   RESPONSIVE — TABLET
   ================================================================ */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-image { display: none; }
    .blog-layout { grid-template-columns: 1fr; }
    .single-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ================================================================
   RESPONSIVE — MOBILE
   ================================================================ */
@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    .primary-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--clr-primary-lt);
        padding: 12px 20px 20px;
        box-shadow: 0 8px 20px rgba(0,0,0,.3);
    }
    .primary-nav.open { display: block; }
    .nav-menu { flex-direction: column; align-items: flex-start; gap: 2px; }
    .nav-menu li { width: 100%; }
    .nav-menu li a { display: block; padding: 10px 12px; }

    .hero { padding: 36px 0 32px; }
    .hero h1 { font-size: 1.6rem; }
    .hero-stats { gap: 16px; }

    .apk-info-grid { grid-template-columns: repeat(2, 1fr); }
    .apk-info-item { border-right: none; }
    .apk-info-item:nth-child(odd) { border-right: 1px solid var(--clr-border); }

    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .download-cta { padding: 28px 20px; }
    .download-cta h2 { font-size: 1.3rem; }
    .single-content { padding: 20px; }
}

/* ================================================================
   MOD APK PAGE — Orange/Amber accent overrides
   ================================================================ */

/* Hero */
.hero--mod { background: linear-gradient(135deg, #1c1007 0%, #2d1a00 50%, #0f172a 100%); }

.hero-badge--mod {
    background: rgba(245,158,11,.15);
    border: 1px solid rgba(245,158,11,.35);
    color: #fbbf24;
}

.hero--mod h1 span { color: #f59e0b; }

/* MOD features strip */
.mod-features-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 16px 0 24px;
}
.mod-features-strip span {
    font-size: .82rem;
    font-weight: 600;
    color: #fbbf24;
    background: rgba(245,158,11,.12);
    border: 1px solid rgba(245,158,11,.25);
    border-radius: 20px;
    padding: 4px 12px;
}

/* Download button — amber */
.btn-download--mod {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 4px 20px rgba(217,119,6,.4);
}
.btn-download--mod:hover {
    background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
    box-shadow: 0 6px 24px rgba(217,119,6,.5);
    transform: translateY(-2px);
}

/* APK Info card — MOD variant */
.apk-info-card--mod { border-top: 3px solid #f59e0b; }
.apk-info-grid--mod { grid-template-columns: repeat(5, 1fr); }

.apk-info-strip--mod {
    background: rgba(245,158,11,.08);
    border-top: 1px solid rgba(245,158,11,.2);
    color: #92400e;
}

/* Amber value text */
.value.amber { color: #d97706; font-weight: 600; }

/* Download CTA — MOD variant */
.download-cta--mod {
    background: linear-gradient(135deg, #1c1007 0%, #2d1a00 100%);
    border: 1px solid rgba(245,158,11,.25);
}
.download-cta--mod h2 { color: #fbbf24; }
.download-cta--mod p { color: rgba(255,255,255,.75); }
.download-cta--mod .cta-meta span { color: #fbbf24; }

/* Responsive — MOD info grid */
@media (max-width: 860px) {
    .apk-info-grid--mod { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .apk-info-grid--mod { grid-template-columns: repeat(2, 1fr); }
    .mod-features-strip { gap: 6px 10px; }
}

/* ================================================================
   MOD APK CONTENT ELEMENTS — tables, mod-menu grid, related cards
   ================================================================ */

/* Shared table base */
.info-table,
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: .88rem;
    margin: 12px 0 24px;
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: 10px;
    overflow: hidden;
    display: table;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.info-table thead tr,
.comparison-table thead tr { background: var(--clr-primary); }
.info-table thead th,
.comparison-table thead th {
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: .76rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    border: none;
}
.info-table tbody td,
.comparison-table tbody td {
    padding: 11px 16px;
    border-top: 1px solid var(--clr-border);
    vertical-align: middle;
}
.info-table tbody tr:nth-child(even) td,
.comparison-table tbody tr:nth-child(even) td { background: #f8fafc; }
.info-table tbody tr:hover td,
.comparison-table tbody tr:hover td { background: #f0fdf4; transition: background .15s ease; }

/* Mod Menu feature grid */
.mod-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 20px 0;
}
.mod-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: .88rem;
    font-weight: 500;
}
.mod-check {
    color: #16a34a;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Related Downloads */
.related-downloads {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}
.related-download-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 14px 16px;
    text-decoration: none;
    color: var(--clr-text);
    transition: box-shadow var(--transition), border-color var(--transition);
}
a.related-download-card:hover {
    border-color: var(--clr-accent);
    box-shadow: var(--shadow-md);
}
.related-download-card--soon {
    opacity: .55;
    cursor: default;
}
.related-dl-icon { font-size: 1.5rem; flex-shrink: 0; }
.related-dl-info { flex: 1; }
.related-dl-info strong { display: block; font-size: .9rem; margin-bottom: 2px; }
.related-dl-info span { font-size: .78rem; color: var(--clr-muted); }
.related-dl-arrow { color: var(--clr-accent); font-size: 1.1rem; flex-shrink: 0; }

/* Responsive */
@media (max-width: 640px) {
    .mod-menu-grid { grid-template-columns: repeat(2, 1fr); }
    .related-downloads { grid-template-columns: 1fr; }
    .info-table,
    .comparison-table { font-size: .8rem; }
    .info-table thead th,
    .comparison-table thead th { padding: 8px 10px; font-size: .75rem; }
    .info-table tbody td,
    .comparison-table tbody td { padding: 8px 10px; }
}

/* ================================================================
   H2 LEFT BORDER — Content area headings (reference site style)
   ================================================================ */
.wp-content h2 {
    border-left: 4px solid var(--clr-accent);
    padding-left: 14px;
    color: var(--clr-accent-dark);
    margin-top: 2.5rem;
    margin-bottom: .6rem;
}
.wp-content h3 {
    margin-top: 1.6rem;
    margin-bottom: .4rem;
    color: var(--clr-text);
}

/* MOD APK page — amber H2 */
.wp-content--mod h2 {
    border-left-color: #d97706;
    color: #92400e;
}

/* ================================================================
   AUTHOR BOX
   ================================================================ */
.author-box {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-left: 4px solid var(--clr-accent);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin: 40px 0 32px;
    box-shadow: var(--shadow);
}
.author-box--mod { border-left-color: #d97706; }

.author-avatar {
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--clr-border);
}
.author-avatar svg { width: 100%; height: 100%; display: block; }

.author-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.author-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--clr-muted);
}
.author-name {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--clr-text);
    line-height: 1.3;
}
.author-role {
    display: block;
    font-size: .82rem;
    color: var(--clr-accent-dark);
    font-weight: 600;
}
.author-role--mod { color: #b45309; }
.author-info p {
    font-size: .88rem;
    line-height: 1.6;
    color: var(--clr-text);
    margin: 4px 0;
}
.author-note {
    font-size: .78rem;
    line-height: 1.55;
    color: var(--clr-muted);
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 10px 14px;
}
.author-updated {
    font-size: .76rem;
    color: var(--clr-muted);
    font-weight: 500;
}

@media (max-width: 640px) {
    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 22px 20px;
        gap: 16px;
    }
    .author-note { text-align: left; }
}

/* ================================================================
   VISUAL REDESIGN — BTD6 Game Color Theme
   Inspired by game's color palette: jungle green, dark navy, amber
   ================================================================ */

/* ── Body Background — very light green tint ── */
body {
    background: #f3f8f5;
}

/* ── Hero — BTD6 Forest Green Gradient ── */
.hero {
    background: linear-gradient(145deg, #051510 0%, #0a2e18 40%, #0d3820 60%, #071e10 100%);
    padding: 60px 0 52px;
}
.hero::before {
    background:
        radial-gradient(circle at 15% 30%, rgba(34,197,94,.07) 0%, transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(22,163,74,.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 100%, rgba(16,185,129,.04) 0%, transparent 50%);
    pointer-events: none;
}

/* ── Hero Badge — glass pill ── */
.hero-badge {
    background: rgba(34,197,94,.12);
    border: 1px solid rgba(34,197,94,.35);
    color: #4ade80;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 0 1px rgba(34,197,94,.1) inset;
}

/* ── Hero stats — card treatment ── */
.hero-stats {
    gap: 0;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
    display: inline-flex;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.hero-stat {
    padding: 14px 22px;
    border-right: 1px solid rgba(255,255,255,.08);
    min-width: 100px;
}
.hero-stat:last-child { border-right: none; }
.hero-stat strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    display: block;
}
.hero-stat span {
    font-size: .7rem;
    color: rgba(255,255,255,.45);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* ── Download button — green glow ── */
.btn-download {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    box-shadow: 0 4px 20px rgba(22,163,74,.45), 0 0 0 1px rgba(34,197,94,.2) inset;
    border-radius: 12px;
    padding: 15px 30px;
    font-size: 1rem;
}
.btn-download:hover {
    background: linear-gradient(135deg, #15803d 0%, #14532d 100%);
    box-shadow: 0 6px 28px rgba(22,163,74,.55), 0 0 0 1px rgba(34,197,94,.25) inset;
    transform: translateY(-2px);
}

/* ── APK Info card — green top accent ── */
.apk-info-card {
    border-top: 3px solid var(--clr-accent);
    box-shadow: 0 2px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.06);
}
.apk-info-section { margin-top: -20px; }
.apk-info-item { background: #fff; }
.apk-info-item .label {
    font-size: .68rem;
    color: #94a3b8;
    letter-spacing: .08em;
}
.apk-info-item .value { font-size: .92rem; }
.apk-info-strip {
    background: #f0fdf4;
    color: #166534;
    border-top: 1px solid #bbf7d0;
    font-size: .78rem;
    font-weight: 500;
}
.apk-info-strip svg { color: var(--clr-accent); }

/* ── Feature cards — green accent top border ── */
.feature-card {
    border-top: 3px solid transparent;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.feature-card:hover {
    border-top-color: var(--clr-accent);
    box-shadow: 0 6px 20px rgba(22,163,74,.12);
    transform: translateY(-3px);
}
.feature-icon {
    background: linear-gradient(135deg, rgba(22,163,74,.12), rgba(34,197,94,.08));
    border: 1px solid rgba(34,197,94,.2);
    border-radius: 12px;
}

/* ── FAQ — green active state ── */
.faq-item {
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    border-color: #e2e8f0;
    background: #fff;
    margin-bottom: 8px;
}
.faq-question {
    padding: 16px 22px;
    font-size: .93rem;
    background: #fff;
    border-radius: 10px;
}
.faq-question:hover { background: #f0fdf4; }
.faq-question.active {
    background: linear-gradient(135deg, #14532d, #166534);
    color: #fff;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 2px 8px rgba(22,163,74,.25);
}
.faq-answer {
    background: #f9fffe;
    border-top: 1px solid #d1fae5;
    padding: 18px 22px;
    font-size: .9rem;
}

/* ── Download CTA — BTD6 green gradient ── */
.download-cta {
    background: linear-gradient(145deg, #051510 0%, #0a2e18 50%, #0d3820 100%);
    border: 1px solid rgba(34,197,94,.2);
    box-shadow: 0 0 40px rgba(22,163,74,.08), 0 10px 40px rgba(0,0,0,.2);
    position: relative;
    overflow: hidden;
}
.download-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(34,197,94,.07) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(22,163,74,.05) 0%, transparent 50%);
    pointer-events: none;
}
.download-cta h2 {
    color: #f0fdf4;
    font-size: 1.65rem;
    position: relative;
}
.download-cta p {
    color: rgba(255,255,255,.55);
    position: relative;
}
.download-cta .btn-download {
    position: relative;
    font-size: 1.05rem;
    padding: 17px 38px;
}
.cta-meta {
    position: relative;
    color: rgba(255,255,255,.35);
    font-size: .76rem;
    gap: 16px;
}
.cta-meta span { color: rgba(255,255,255,.4); }
.cta-meta span::before { content: '✓ '; color: var(--clr-accent-lt); }

/* ── Step numbers — brighter green ── */
.step-number {
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-lt));
    box-shadow: 0 3px 10px rgba(22,163,74,.35);
    font-size: .85rem;
    font-weight: 800;
}

/* ── Tip numbers — green instead of dark navy ── */
.tip-number {
    background: linear-gradient(135deg, #0a2e18, #166534);
    border-radius: 10px;
}
.tip-card {
    border-left: 3px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: #fff;
}
.tip-card:hover {
    border-left-color: var(--clr-accent);
    box-shadow: 0 4px 14px rgba(22,163,74,.1);
}

/* ── Safety box — enhanced ── */
.safety-box {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 1px solid #86efac;
    border-left: 4px solid var(--clr-accent);
    box-shadow: 0 2px 8px rgba(22,163,74,.08);
}

/* ── Inline code ── */
.wp-content code {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 5px;
    padding: 2px 7px;
    font-size: .85em;
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

/* ── Blockquote ── */
.wp-content blockquote {
    background: linear-gradient(135deg, #f0fdf4, #f7fef9);
    border-left: 4px solid var(--clr-accent);
    box-shadow: 0 2px 8px rgba(22,163,74,.08);
}

/* ── TOC box — game-feel ── */
.toc-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #f7fef9 100%);
    border: 1px solid #bbf7d0;
    border-left: 4px solid var(--clr-accent);
    box-shadow: 0 2px 10px rgba(22,163,74,.08);
}
.toc-title {
    color: #14532d;
    font-size: 1.05rem;
}

/* ── Post cards — clean white ── */
.post-card {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    border-color: #e8f5ee;
}
.post-card:hover {
    box-shadow: 0 6px 20px rgba(22,163,74,.1);
    border-color: #86efac;
}
.post-card h2 a:hover { color: var(--clr-accent); }

/* ── Sidebar widgets ── */
.sidebar .widget {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    border-color: #e8f5ee;
}

/* ── Back to top button — brighter ── */
.back-to-top {
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 4px 16px rgba(22,163,74,.45);
}
.back-to-top:hover {
    background: linear-gradient(135deg, #15803d, #14532d);
    box-shadow: 0 6px 20px rgba(22,163,74,.55);
}

/* ── Content area — full width ── */
.content-area {
    max-width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* ── H2 bottom border cleanup (override the old inline-block) ── */
.wp-content h2 {
    display: block;
    border-bottom: none;
    padding-bottom: 0;
    padding-left: 16px;
    border-left-width: 4px;
    font-size: 1.45rem;
    margin-bottom: 8px;
}

/* ── MOD APK page — content area amber accents ── */
.wp-content--mod h2 {
    border-left-color: #d97706;
    color: #92400e;
}
.wp-content--mod code {
    background: #fffbeb;
    color: #92400e;
    border-color: #fcd34d;
}
.wp-content--mod blockquote {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-left-color: #d97706;
    color: #78350f;
}

/* ── Mod menu grid — amber accents ── */
.wp-content--mod .mod-menu-item {
    border-color: rgba(245,158,11,.25);
    background: #fffbeb;
}
.wp-content--mod .mod-check { color: #d97706; }

/* ── Info/comparison table header — dark accent ── */
.info-table thead tr,
.comparison-table thead tr {
    background: linear-gradient(135deg, #0a2e18, #166534);
}

/* ================================================================
   COMPARE CARDS — MOD vs Original feature grid
   ================================================================ */
.compare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0 28px;
}
.compare-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    transition: border-color .2s, box-shadow .2s;
}
.compare-card:hover {
    border-color: var(--clr-accent);
    box-shadow: 0 4px 16px rgba(22,163,74,.1);
}
.compare-feat {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #94a3b8;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}
.compare-vals { display: flex; flex-direction: column; gap: 6px; }
.cv-mod, .cv-orig {
    font-size: .83rem;
    display: flex;
    align-items: center;
    gap: 7px;
    line-height: 1.4;
}
.cv-mod { color: #15803d; font-weight: 600; }
.cv-orig { color: #64748b; }
.cv-mod::before {
    content: 'MOD';
    font-size: .6rem;
    font-weight: 700;
    background: #dcfce7;
    color: #15803d;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}
.cv-orig::before {
    content: 'Original';
    font-size: .6rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}
@media (max-width: 860px) { .compare-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .compare-grid { grid-template-columns: 1fr; } }

/* ================================================================
   ONLINE STATUS CARDS — Feature availability with color coding
   ================================================================ */
.online-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0 28px;
}
.online-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: box-shadow .2s;
}
.online-card:hover { box-shadow: 0 3px 12px rgba(0,0,0,.07); }
.online-card--yes  { border-left-color: #16a34a; background: #f0fdf4; }
.online-card--warn { border-left-color: #d97706; background: #fffbeb; }
.online-card--no   { border-left-color: #dc2626; background: #fef2f2; }
.oc-status { font-size: 1.3rem; flex-shrink: 0; line-height: 1.4; }
.oc-body strong {
    display: block;
    font-size: .92rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}
.oc-body span { font-size: .82rem; color: #64748b; line-height: 1.5; }

/* ================================================================
   SPEC CARDS — System requirements grid
   ================================================================ */
.spec-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 16px 0 28px;
}
.spec-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 14px;
    text-align: center;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.spec-card:hover {
    border-color: var(--clr-accent);
    box-shadow: 0 6px 20px rgba(22,163,74,.1);
    transform: translateY(-3px);
}
.spec-ico {
    font-size: 1.9rem;
    margin-bottom: 8px;
    display: block;
}
.spec-name {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #94a3b8;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}
.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .75rem;
    padding: 4px 0;
    gap: 6px;
}
.spec-row + .spec-row { border-top: 1px solid #f8fafc; }
.spec-row span { color: #94a3b8; font-weight: 600; font-size: .65rem; text-transform: uppercase; }
.spec-row strong { color: #0f172a; font-weight: 600; text-align: right; }
@media (max-width: 860px) { .spec-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .spec-cards { grid-template-columns: repeat(2, 1fr); } }

/* ── Responsive adjustments ── */
@media (max-width: 640px) {
    .download-cta { padding: 28px 20px; }
}

/* ================================================================
   HERO v2 — BTD6 Game-style Redesign
   New classes: .hv2-* (homepage only)
   MOD APK page keeps .hero--mod with old classes
   ================================================================ */

/* Background orbs */
.hv2 { padding: 0; position: relative; }
.hv2-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hv2-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
}
.hv2-orb--a {
    width: 480px; height: 480px;
    background: rgba(22,163,74,.2);
    top: -160px; left: -120px;
}
.hv2-orb--b {
    width: 320px; height: 320px;
    background: rgba(34,197,94,.1);
    bottom: -80px; right: 15%;
}
.hv2-orb--c {
    width: 220px; height: 220px;
    background: rgba(16,185,129,.09);
    top: 20%; right: -60px;
}

/* Layout */
.hv2-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 68px 40px 60px;
    max-width: 1440px;
    margin-inline: auto;
    position: relative;
}

/* Badge */
.hv2-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34,197,94,.12);
    border: 1px solid rgba(34,197,94,.3);
    color: #4ade80;
    font-size: .76rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 22px;
    letter-spacing: .3px;
}
.hv2-dot {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    animation: hv2pulse 2s ease-in-out infinite;
}
@keyframes hv2pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .4; transform: scale(.8); }
}

/* Title */
.hv2-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 18px;
}
.hv2-title span {
    background: linear-gradient(95deg, #22c55e 0%, #4ade80 50%, #86efac 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.hv2-desc {
    font-size: 1rem;
    color: rgba(255,255,255,.80);
    max-width: 480px;
    line-height: 1.65;
    margin-bottom: 28px;
}
.hv2-desc strong { color: #fff; }

/* Stats bar */
.hv2-stats {
    display: flex;
    margin-bottom: 32px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    overflow: hidden;
    width: fit-content;
}
.hv2-stat {
    padding: 13px 22px;
    border-right: 1px solid rgba(255,255,255,.08);
    text-align: center;
    min-width: 80px;
}
.hv2-stat:last-child { border-right: none; }
.hv2-stat strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.hv2-stat span {
    font-size: .62rem;
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
    letter-spacing: .1em;
}

/* Actions */
.hv2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

/* Download button */
.hv2-dl {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff;
    text-decoration: none;
    padding: 15px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 24px rgba(22,163,74,.5), inset 0 0 0 1px rgba(255,255,255,.15);
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
    overflow: hidden;
}
.hv2-dl::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 55%);
    pointer-events: none;
}
.hv2-dl:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(22,163,74,.6), inset 0 0 0 1px rgba(255,255,255,.2);
    color: #fff;
}
.hv2-dl-icon { width: 22px; height: 22px; flex-shrink: 0; }
.hv2-dl-text { display: flex; flex-direction: column; text-align: left; }
.hv2-dl-sub { font-size: .68rem; font-weight: 400; opacity: .75; margin-top: 2px; }

/* Ghost button */
.hv2-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.07);
    color: #cbd5e1;
    text-decoration: none;
    padding: 15px 22px;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,.12);
    transition: background .2s, color .2s;
}
.hv2-ghost:hover { background: rgba(255,255,255,.13); color: #fff; }

/* Trust row */
.hv2-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: .74rem;
    color: rgba(255,255,255,.68);
}
.hv2-trust span::before {
    content: '✓ ';
    color: #4ade80;
    font-weight: 700;
}

/* ── Right: Game Card ── */
.hv2-visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.hv2-img-wrap {
    position: relative;
}
.hv2-img-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(74,222,128,.3);
    box-shadow: 0 0 0 1px rgba(74,222,128,.1),
                0 28px 72px rgba(0,0,0,.65),
                0 0 100px rgba(34,197,94,.12);
}
.hv2-img-wrap img {
    display: block;
    width: 100%;
    border-radius: 0;
}
.hv2-game-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 22px;
    padding: 24px;
    width: 100%;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.1);
}
.hv2-gc-glow {
    position: absolute;
    top: -60px; left: 50%;
    transform: translateX(-50%);
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(34,197,94,.18) 0%, transparent 65%);
    pointer-events: none;
}
.hv2-gc-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    position: relative;
}
.hv2-gc-icon {
    width: 54px; height: 54px;
    background: linear-gradient(135deg, #0a3d22, #15803d);
    border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    border: 1px solid rgba(34,197,94,.35);
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(22,163,74,.3);
}
.hv2-gc-meta { flex: 1; }
.hv2-gc-meta strong { display: block; color: #fff; font-size: .95rem; font-weight: 700; line-height: 1.3; }
.hv2-gc-meta span { font-size: .74rem; color: rgba(255,255,255,.4); }
.hv2-gc-ver {
    background: rgba(34,197,94,.18);
    color: #4ade80;
    font-size: .68rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 8px;
    border: 1px solid rgba(34,197,94,.3);
    white-space: nowrap;
}
.hv2-gc-stars {
    color: #fbbf24;
    font-size: .92rem;
    font-weight: 700;
    margin-bottom: 14px;
    position: relative;
}
.hv2-gc-stars span { color: rgba(255,255,255,.4); font-size: .76rem; font-weight: 400; margin-left: 6px; }
.hv2-gc-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.hv2-gc-tag {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.55);
    font-size: .66rem;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 6px;
}
.hv2-gc-dl {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(22,163,74,.15);
    border: 1px solid rgba(34,197,94,.28);
    color: #4ade80;
    font-size: .82rem;
    font-weight: 600;
    padding: 11px 16px;
    border-radius: 11px;
}


/* Responsive */
@media (max-width: 860px) {
    .hv2-inner { grid-template-columns: 1fr; gap: 32px; padding: 44px 20px 40px; }
    .hv2-visual { order: -1; }
    .hv2-stats { width: 100%; }
}
@media (max-width: 640px) {
    .hv2-img-frame { border-radius: 6px; }
}
@media (max-width: 640px) {
    .hv2-title { font-size: 1.9rem; letter-spacing: -.5px; }
    .hv2-stat { padding: 10px 14px; min-width: 60px; }
    .hv2-stat strong { font-size: 1rem; }
}

/* ================================================================
   FEATURES SHOWCASE — 3×2 Icon Grid
   ================================================================ */
.fs-section {
    padding: 56px 0 12px;
    background: transparent;
}
.fs-header {
    text-align: center;
    margin-bottom: 36px;
}
.fs-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--clr-primary);
    margin-bottom: 8px;
    letter-spacing: -.3px;
}
.fs-header p {
    font-size: .92rem;
    color: var(--clr-muted);
    max-width: 460px;
    margin: 0 auto;
    line-height: 1.55;
}
.fs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.fs-card {
    background: #fff;
    border: 1.5px solid #e8f5ee;
    border-radius: 16px;
    padding: 28px 16px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    cursor: default;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.fs-card:hover {
    border-color: var(--clr-accent);
    box-shadow: 0 8px 28px rgba(22,163,74,.13);
    transform: translateY(-4px);
}
.fs-card--active {
    background: linear-gradient(145deg, #f0fdf4, #e6faf0);
    border-color: #86efac;
    box-shadow: 0 4px 16px rgba(22,163,74,.1);
}
.fs-icon-wrap {
    width: 76px; height: 76px;
    background: linear-gradient(145deg, #f0fdf4, #dcfce7);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.1rem;
    border: 1.5px solid rgba(34,197,94,.2);
    transition: background .2s ease;
    flex-shrink: 0;
}
.fs-card:hover .fs-icon-wrap {
    background: linear-gradient(145deg, #dcfce7, #bbf7d0);
    border-color: rgba(34,197,94,.35);
}
.fs-card--active .fs-icon-wrap {
    background: linear-gradient(145deg, #dcfce7, #bbf7d0);
    border-color: rgba(34,197,94,.3);
}
.fs-label {
    font-size: .9rem;
    font-weight: 700;
    color: var(--clr-primary);
    line-height: 1.35;
}

@media (max-width: 640px) {
    .fs-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .fs-section { padding: 15px 0 28px; }
    .fs-icon-wrap { width: 62px; height: 62px; font-size: 1.75rem; border-radius: 15px; }
    .fs-label { font-size: .82rem; }
    .fs-card { padding: 22px 12px 18px; gap: 10px; }
}

/* ═══════════════════════════════════════════
   HOMEPAGE CARD BLOCKS
════════════════════════════════════════════ */

/* ─── Difficulty Cards ─── */
.diff-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 28px; }
.diff-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px 16px; border-top: 4px solid; }
.diff-card.diff-easy   { border-top-color: #22c55e; }
.diff-card.diff-medium { border-top-color: #3b82f6; }
.diff-card.diff-hard   { border-top-color: #f97316; }
.diff-card.diff-impoppable { border-top-color: #ef4444; }
.diff-name { font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.diff-easy .diff-name       { color: #16a34a; }
.diff-medium .diff-name     { color: #2563eb; }
.diff-hard .diff-name       { color: #ea580c; }
.diff-impoppable .diff-name { color: #dc2626; }
.diff-stats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.diff-stats span { font-size: .76rem; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; padding: 3px 8px; font-weight: 600; color: #334155; }
.diff-desc { font-size: .82rem; color: #64748b; line-height: 1.45; }

/* ─── Game Mode Cards ─── */
.mode-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 28px; }
.mode-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px; }
.mode-name { font-weight: 700; font-size: .92rem; color: #0f172a; margin-bottom: 6px; }
.mode-desc { font-size: .81rem; color: #475569; line-height: 1.4; margin-bottom: 8px; }
.mode-for { font-size: .78rem; color: #16a34a; font-weight: 600; }
.mode-for::before { content: '✓ '; }

/* ─── Tower Cards ─── */
.tower-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 12px 0 24px; }
.tower-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px; border-left: 4px solid #22c55e; }
.tower-name { font-weight: 700; font-size: .95rem; color: #0f172a; margin-bottom: 6px; }
.tower-role { font-size: .82rem; color: #475569; line-height: 1.4; margin-bottom: 8px; }
.tower-against { font-size: .78rem; background: #f0fdf4; color: #15803d; border-radius: 6px; padding: 5px 10px; display: inline-block; font-weight: 500; }
.tower-against::before { content: '🎯 '; }

/* ─── Hero Cards ─── */
.hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 28px; }
.hero-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px; }
.hero-name { font-weight: 700; font-size: .92rem; color: #0f172a; margin-bottom: 5px; padding-bottom: 5px; border-bottom: 1px solid #f1f5f9; }
.hero-spec { font-size: .8rem; color: #475569; line-height: 1.4; margin: 6px 0 8px; }
.hero-for { font-size: .77rem; color: #7c3aed; font-weight: 600; }
.hero-for::before { content: '⭐ '; }

/* ─── Map Category Cards ─── */
.map-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0 28px; }
.map-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px; }
.map-cat { font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.map-card.map-beginner    .map-cat { color: #16a34a; }
.map-card.map-intermediate .map-cat { color: #2563eb; }
.map-card.map-advanced    .map-cat { color: #d97706; }
.map-card.map-expert      .map-cat { color: #dc2626; }
.map-desc { font-size: .83rem; color: #475569; line-height: 1.4; margin-bottom: 8px; }
.map-examples { font-size: .78rem; color: #64748b; background: #f8fafc; border-radius: 6px; padding: 6px 10px; }
.map-examples::before { content: 'eg. '; font-weight: 600; color: #334155; }

/* ─── Regular Bloon Cards ─── */
.bloon-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 28px; }
.bloon-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px; }
.bloon-name { font-weight: 700; font-size: .95rem; margin-bottom: 7px; padding-bottom: 7px; border-bottom: 2px solid; }
.bloon-name.bloon-red      { color: #ef4444; border-color: #fca5a5; }
.bloon-name.bloon-blue     { color: #3b82f6; border-color: #93c5fd; }
.bloon-name.bloon-green    { color: #16a34a; border-color: #86efac; }
.bloon-name.bloon-yellow   { color: #ca8a04; border-color: #fde047; }
.bloon-name.bloon-pink     { color: #db2777; border-color: #f9a8d4; }
.bloon-name.bloon-purple   { color: #7c3aed; border-color: #d8b4fe; }
.bloon-name.bloon-white    { color: #64748b; border-color: #cbd5e1; }
.bloon-name.bloon-black    { color: #1e293b; border-color: #475569; }
.bloon-name.bloon-lead     { color: #4b5563; border-color: #9ca3af; }
.bloon-name.bloon-zebra    { color: #374151; border-color: #9ca3af; }
.bloon-name.bloon-rainbow  { color: #d97706; border-color: #fcd34d; }
.bloon-name.bloon-ceramic  { color: #92400e; border-color: #d97706; }
.bloon-stats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 7px; }
.bloon-stats span { font-size: .74rem; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 5px; padding: 2px 7px; color: #334155; font-weight: 600; }
.bloon-special { font-size: .79rem; color: #475569; line-height: 1.35; margin-bottom: 7px; }
.bloon-contains { font-size: .75rem; color: #64748b; background: #f8fafc; border-radius: 5px; padding: 4px 8px; }
.bloon-contains::before { content: '→ '; font-weight: 700; color: #94a3b8; }

/* ─── MOAB-Class Cards ─── */
.moab-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0 28px; }
.moab-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px; border-left: 4px solid #dc2626; }
.moab-name { font-weight: 800; font-size: 1rem; color: #dc2626; margin-bottom: 6px; }
.moab-stats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 7px; }
.moab-stats span { font-size: .75rem; background: #fef2f2; border: 1px solid #fecaca; border-radius: 5px; padding: 2px 7px; color: #b91c1c; font-weight: 600; }
.moab-contains { font-size: .8rem; color: #92400e; background: #fff7ed; border-radius: 5px; padding: 4px 9px; margin-bottom: 7px; font-weight: 500; }
.moab-contains::before { content: '▸ '; }
.moab-danger { font-size: .8rem; color: #475569; line-height: 1.4; }

/* ─── 3-Way Comparison ─── */
.cmp3-grid { display: flex; flex-direction: column; gap: 6px; margin: 16px 0 28px; }
.cmp3-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }
.cmp3-feature { background: #f8fafc; border-bottom: 1px solid #e2e8f0; padding: 9px 16px; font-weight: 700; font-size: .85rem; color: #0f172a; }
.cmp3-vals { display: grid; grid-template-columns: repeat(3, 1fr); }
.cmp3-val { padding: 10px 14px; border-right: 1px solid #f1f5f9; font-size: .82rem; color: #334155; line-height: 1.4; }
.cmp3-val:last-child { border-right: none; }
.cmp3-src { display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; }
.cmp3-src.cmp3-apk { color: #16a34a; }
.cmp3-src.cmp3-nf  { color: #dc2626; }
.cmp3-src.cmp3-gp  { color: #2563eb; }
.cmp3-val--best { background: #f0fdf4; }

/* ─── System Requirements Cards ─── */
.req-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 16px 0 28px; }
.req-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px 12px; }
.req-label { font-weight: 700; font-size: .8rem; color: #0f172a; margin-bottom: 10px; padding-bottom: 7px; border-bottom: 1px solid #f1f5f9; text-align: center; }
.req-min { font-size: .78rem; color: #64748b; margin-bottom: 6px; line-height: 1.35; }
.req-rec { font-size: .78rem; color: #15803d; font-weight: 600; background: #f0fdf4; border-radius: 6px; padding: 5px 7px; line-height: 1.35; }
.req-lbl { display: block; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; margin-bottom: 2px; }
.req-rec .req-lbl { color: #16a34a; }

/* ─── Responsive: homepage cards ─── */
@media (max-width: 900px) {
    .hero-cards { grid-template-columns: repeat(2, 1fr); }
    .req-cards   { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .diff-cards  { grid-template-columns: repeat(2, 1fr); }
    .mode-cards  { grid-template-columns: 1fr; }
    .tower-cards { grid-template-columns: 1fr; }
    .hero-cards  { grid-template-columns: repeat(2, 1fr); }
    .map-cards   { grid-template-columns: 1fr; }
    .bloon-cards { grid-template-columns: repeat(2, 1fr); }
    .moab-cards  { grid-template-columns: 1fr; }
    .req-cards   { grid-template-columns: repeat(2, 1fr); }
    .cmp3-vals   { grid-template-columns: 1fr; }
    .cmp3-val    { border-right: none; border-bottom: 1px solid #f1f5f9; }
    .cmp3-val:last-child { border-bottom: none; }
}

/* ═══════════════════════════════════════════
   FOOTER v2 — BTD6 Game Style
════════════════════════════════════════════ */
.sf2 {
    position: relative;
    background: #030d06;
    margin-top: 0;
    overflow: hidden;
    color: #94a3b8;
}
.sf2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #15803d 15%, #4ade80 50%, #15803d 85%, transparent 100%);
    z-index: 2;
}
.sf2-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.sf2-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(34,197,94,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34,197,94,.04) 1px, transparent 1px);
    background-size: 48px 48px;
}
.sf2-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}
.sf2-glow--a {
    width: 520px; height: 520px;
    background: rgba(22,163,74,.09);
    bottom: -200px; left: -140px;
}
.sf2-glow--b {
    width: 380px; height: 380px;
    background: rgba(34,197,94,.06);
    top: -120px; right: -80px;
}
.sf2-wrap {
    position: relative;
    z-index: 1;
    padding-top: 68px;
}

/* ─── Top: Brand + Stats ─── */
.sf2-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 56px;
    align-items: center;
    padding-bottom: 52px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.sf2-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.sf2-logo-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, #15803d, #22c55e);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 18px rgba(22,163,74,.4);
    flex-shrink: 0;
}
.sf2-logo-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.4px;
}
.sf2-logo-name span { color: #22c55e; }
.sf2-tagline {
    font-size: .88rem;
    color: #94a3b8;
    line-height: 1.65;
    max-width: 400px;
    margin-bottom: 24px;
}
.sf2-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #15803d, #22c55e);
    color: #fff !important;
    font-weight: 700;
    font-size: .88rem;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(22,163,74,.35);
}
.sf2-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(22,163,74,.5);
}

/* Stats 2×2 grid */
.sf2-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    min-width: 220px;
}
.sf2-stat {
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    transition: background .2s, border-color .2s;
}
.sf2-stat:hover {
    background: rgba(34,197,94,.07);
    border-color: rgba(34,197,94,.2);
}
.sf2-stat strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #22c55e;
    letter-spacing: -.4px;
    line-height: 1;
    margin-bottom: 5px;
}
.sf2-stat span {
    font-size: .68rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
}

/* ─── Nav Columns ─── */
.sf2-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 52px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.sf2-col h4 {
    color: #e2e8f0;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(34,197,94,.45);
    display: inline-block;
}
.sf2-col ul { list-style: none; padding: 0; margin: 0; }
.sf2-col ul li { margin-bottom: 10px; }
.sf2-col ul li a {
    font-size: .84rem;
    color: #94a3b8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0;
    transition: color .2s, gap .15s;
}
.sf2-col ul li a::before {
    content: '›';
    color: #22c55e;
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: opacity .2s, width .2s;
}
.sf2-col ul li a:hover { color: #e2e8f0; gap: 6px; }
.sf2-col ul li a:hover::before { opacity: 1; width: 12px; }

/* ─── Trust Badges ─── */
.sf2-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.sf2-badges span {
    font-size: .74rem;
    color: #4ade80;
    background: rgba(34,197,94,.07);
    border: 1px solid rgba(34,197,94,.17);
    border-radius: 20px;
    padding: 5px 14px;
    font-weight: 600;
    letter-spacing: .01em;
}

/* ─── Bottom Bar ─── */
.sf2-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0 36px;
    flex-wrap: wrap;
}
.sf2-bottom p {
    font-size: .76rem;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}
.sf2-pkg {
    font-size: .71rem;
    color: #1e4d2e;
    background: rgba(34,197,94,.06);
    border: 1px solid rgba(34,197,94,.12);
    border-radius: 6px;
    padding: 4px 12px;
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ─── Footer v2 Responsive ─── */
@media (max-width: 900px) {
    .sf2-top   { grid-template-columns: 1fr; gap: 32px; }
    .sf2-stats { grid-template-columns: repeat(4, 1fr); min-width: 0; }
}
@media (max-width: 640px) {
    .sf2-wrap  { padding-top: 44px; }
    .sf2-top   { gap: 24px; padding-bottom: 36px; }
    .sf2-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .sf2-stat  { padding: 14px 10px; }
    .sf2-stat strong { font-size: 1.1rem; }
    .sf2-nav   { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 36px 0; }
    .sf2-badges { gap: 6px; padding: 20px 0; }
    .sf2-badges span { font-size: .7rem; padding: 4px 10px; }
    .sf2-bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 28px; }
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */

.cp-page { background: var(--clr-bg); }

/* Hero */
.cp-hero {
    background: linear-gradient(135deg, #0a1628 0%, #0f172a 50%, #0a1f14 100%);
    padding: 80px 0 68px;
    position: relative;
    overflow: hidden;
}
.cp-hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
}
.cp-hero-glow--a {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(22,163,74,.12) 0%, transparent 70%);
    top: -120px; right: -80px;
}
.cp-hero-glow--b {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(37,99,235,.08) 0%, transparent 70%);
    bottom: -80px; left: 10%;
}
.cp-hero-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.cp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(22,163,74,.12);
    color: #4ade80;
    border: 1px solid rgba(22,163,74,.25);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.cp-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}
.cp-hero-sub {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.75;
    margin-bottom: 28px;
}
.cp-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.cp-hero-meta span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .83rem;
    color: #64748b;
}
.cp-hero-meta svg { opacity: .6; flex-shrink: 0; }

/* Layout */
.cp-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 36px;
    padding: 60px 0 90px;
    align-items: start;
}

/* Form Card */
.cp-form-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 8px 32px rgba(0,0,0,.08);
    overflow: hidden;
}
.cp-form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 36px;
    border-bottom: 1px solid #f1f5f9;
    background: #fafbfc;
}
.cp-form-header-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid rgba(22,163,74,.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-accent);
    flex-shrink: 0;
}
.cp-form-header h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--clr-primary);
    letter-spacing: -.3px;
    margin-bottom: 2px;
}
.cp-form-header p {
    font-size: .83rem;
    color: var(--clr-muted);
}
.cp-req { color: var(--clr-red); font-weight: 700; }
.cp-form-body { padding: 36px; }

/* CF7 Overrides */
.cp-form-body .wpcf7 { width: 100%; }
.cp-form-body .wpcf7 p {
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
}
.cp-form-body .wpcf7 p:last-of-type { margin-bottom: 0; }
.cp-form-body .wpcf7 label {
    font-size: .83rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: block;
    letter-spacing: .01em;
}
.cp-form-body .wpcf7 .wpcf7-form-control-wrap { display: block; }
.cp-form-body .wpcf7 input[type="text"],
.cp-form-body .wpcf7 input[type="email"] {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: .95rem;
    font-family: var(--font);
    color: var(--clr-text);
    background: #f8fafc;
    transition: border-color .2s, box-shadow .2s, background .2s;
    outline: none;
}
.cp-form-body .wpcf7 textarea {
    width: 100%;
    min-height: 148px;
    padding: 14px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: .95rem;
    font-family: var(--font);
    color: var(--clr-text);
    background: #f8fafc;
    transition: border-color .2s, box-shadow .2s, background .2s;
    outline: none;
    resize: vertical;
    line-height: 1.6;
}
.cp-form-body .wpcf7 input[type="text"]:focus,
.cp-form-body .wpcf7 input[type="email"]:focus,
.cp-form-body .wpcf7 textarea:focus {
    border-color: var(--clr-accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(22,163,74,.1);
}
.cp-form-body .wpcf7 input::placeholder,
.cp-form-body .wpcf7 textarea::placeholder { color: #b0b7c3; }
.cp-form-body .wpcf7 input[type="submit"] {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff;
    font-size: .97rem;
    font-weight: 700;
    font-family: var(--font);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 16px rgba(22,163,74,.35);
    letter-spacing: .02em;
    margin-top: 4px;
}
.cp-form-body .wpcf7 input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22,163,74,.45);
}
.cp-form-body .wpcf7 input[type="submit"]:active { transform: translateY(0); }
.cp-form-body .wpcf7-form.submitting input[type="submit"] {
    opacity: .7; cursor: not-allowed; transform: none;
}
.cp-form-body .wpcf7-not-valid-tip {
    font-size: .78rem;
    color: var(--clr-red);
    margin-top: 5px;
    display: block;
}
.cp-form-body .wpcf7 input.wpcf7-not-valid,
.cp-form-body .wpcf7 textarea.wpcf7-not-valid {
    border-color: #fca5a5;
    background: #fff5f5;
}
.cp-form-body .wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 14px 18px !important;
    border-radius: 10px !important;
    font-size: .88rem !important;
    font-weight: 500 !important;
    border: none !important;
    line-height: 1.5 !important;
}
.cp-form-body .wpcf7-form.sent .wpcf7-response-output {
    background: #f0fdf4;
    color: #15803d;
    border-left: 3px solid #16a34a !important;
}
.cp-form-body .wpcf7-form.failed .wpcf7-response-output,
.cp-form-body .wpcf7-form.invalid .wpcf7-response-output {
    background: #fff5f5;
    color: #dc2626;
    border-left: 3px solid #dc2626 !important;
}

/* Sidebar */
.cp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cp-info-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
    border: 1px solid rgba(0,0,0,.05);
}
.cp-info-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cp-info-icon--green {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid rgba(22,163,74,.15);
    color: #16a34a;
}
.cp-info-icon--blue {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid rgba(37,99,235,.15);
    color: #2563eb;
}
.cp-info-icon--amber {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid rgba(217,119,6,.2);
    color: #d97706;
}
.cp-info-body h3 {
    font-size: .92rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 4px;
}
.cp-info-body p {
    font-size: .83rem;
    color: var(--clr-muted);
    line-height: 1.6;
}
.cp-info-body p strong { color: var(--clr-text); }
.cp-info-body a { color: var(--clr-accent); font-weight: 500; }
.cp-info-body a:hover { color: var(--clr-accent-dark); }
.cp-email-link {
    font-size: .88rem;
    font-weight: 600;
    color: var(--clr-accent) !important;
    word-break: break-all;
}
.cp-info-card--amber { background: #fffdf5; }

/* Topics card */
.cp-topics-card {
    background: var(--clr-primary);
    border-radius: 14px;
    padding: 22px 24px;
}
.cp-topics-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #64748b;
    margin-bottom: 18px;
}
.cp-topics-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    padding: 0; margin: 0;
}
.cp-topics-list li {
    font-size: .83rem;
    color: #94a3b8;
    line-height: 1.55;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.cp-topic-tag {
    display: inline-block;
    background: rgba(22,163,74,.15);
    color: #4ade80;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    width: fit-content;
}
.cp-topics-list a { color: #4ade80; text-decoration: underline; text-decoration-color: rgba(74,222,128,.3); }
.cp-topics-list a:hover { color: #86efac; }

/* Responsive */
@media (max-width: 960px) {
    .cp-layout { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 70px; }
    .cp-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .cp-topics-card { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .cp-hero { padding: 52px 0 44px; }
    .cp-hero-meta { gap: 14px; }
    .cp-form-header { padding: 22px 24px; }
    .cp-form-body { padding: 24px; }
    .cp-sidebar { grid-template-columns: 1fr; }
    .cp-layout { padding: 32px 0 56px; }
}

/* ================================================================
   MOD APK PAGE -- In-content screenshot images
   ================================================================ */

.btd6-shot {
    margin: 32px 0 !important;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.18), 0 1px 4px rgba(0,0,0,.12);
    display: block;
}
.btd6-shot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}
.btd6-img-cap {
    font-size: .78rem !important;
    color: #64748b !important;
    text-align: center;
    padding: 8px 12px 10px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    margin-top: 0 !important;
}
@media (max-width: 640px) {
    .btd6-shot { margin: 22px 0 !important; border-radius: 10px; }
    .btd6-shot img { border-radius: 10px; }
}

/* ================================================================
   MOD APK PAGE -- Float image layout (replaces old btd6-shot)
   ================================================================ */

/* Heading clearfix: every H2/H3 clears floats from previous section */
.wp-content--mod h2,
.wp-content--mod h3 { clear: both; }

/* Float RIGHT */
.btd6-shot--right {
    float: right;
    width: 44%;
    margin: 6px 0 22px 28px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.16), 0 1px 4px rgba(0,0,0,.1);
    display: block;
}

/* Float LEFT */
.btd6-shot--left {
    float: left;
    width: 44%;
    margin: 6px 28px 22px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.16), 0 1px 4px rgba(0,0,0,.1);
    display: block;
}

.btd6-shot--right img,
.btd6-shot--left img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform .25s ease;
}
.btd6-shot--right:hover img,
.btd6-shot--left:hover img { transform: scale(1.02); }

@media (max-width: 860px) {
    .btd6-shot--right,
    .btd6-shot--left {
        float: none;
        width: 100%;
        margin: 0 0 22px 0;
    }
}

/* ================================================================
   MOD APK HERO -- Larger featured image
   ================================================================ */
.hero--mod .hero-image {
    width: clamp(300px, 34vw, 460px);
}
.hero--mod .hero-inner {
    gap: 56px;
}
@media (max-width: 1024px) {
    .hero--mod .hero-image { width: 300px; }
}
@media (max-width: 860px) {
    .hero--mod .hero-image { width: 240px; }
}
@media (max-width: 700px) {
    .hero--mod .hero-image { display: none; }
}

/* ================================================================
   MOD APK CONTENT -- Grid image rows (true vertical centering)
   Replaces float approach; wraps figure + text in a grid container
   ================================================================ */
.btd6-img-row {
    display: grid;
    gap: 40px;
    align-items: center;
    margin: 12px 0 44px;
}
.btd6-img-row--right {
    grid-template-columns: 1fr 43%;
}
.btd6-img-row--left {
    grid-template-columns: 43% 1fr;
}

/* Image slot */
.btd6-img-row--right .btd6-shot { order: 2; }
.btd6-img-row--left  .btd6-shot { order: 1; }

/* Text slot */
.btd6-img-row--right .btd6-row-text { order: 1; }
.btd6-img-row--left  .btd6-row-text { order: 2; }

/* Override old float styles when inside a row */
.btd6-img-row .btd6-shot,
.btd6-img-row .btd6-shot--right,
.btd6-img-row .btd6-shot--left {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0,0,0,.2), 0 2px 8px rgba(0,0,0,.1);
    display: block;
}
.btd6-img-row .btd6-shot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    transition: transform .3s ease;
}
.btd6-img-row .btd6-shot:hover img { transform: scale(1.03); }

/* Text column -- vertically centered, clean spacing */
.btd6-row-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.btd6-row-text > p {
    margin: 0;
    line-height: 1.78;
}
.btd6-row-text > ul,
.btd6-row-text > ol {
    margin: 0;
    padding-left: 1.4em;
    line-height: 1.75;
}
.btd6-row-text > ul li,
.btd6-row-text > ol li {
    margin-bottom: 6px;
}

/* Mobile: stack vertically */
@media (max-width: 860px) {
    .btd6-img-row--right,
    .btd6-img-row--left {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    .btd6-img-row--right .btd6-shot,
    .btd6-img-row--left  .btd6-shot { order: 1 !important; }
    .btd6-img-row--right .btd6-row-text,
    .btd6-img-row--left  .btd6-row-text { order: 2 !important; }
}

/* ================================================================
   FIX: Remove white space inside btd6-shot images
   + Increase featured image size further
   ================================================================ */

/* Kill all sources of white space inside figure */
.btd6-img-row figure.btd6-shot,
.btd6-img-row .btd6-shot {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    line-height: 0;        /* removes whitespace from inline text nodes */
    font-size: 0;          /* belt-and-suspenders for inline gap */
}
.btd6-img-row .btd6-shot img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 14px !important;
    vertical-align: bottom; /* prevent bottom gap on inline images */
}

/* Bigger featured image for MOD APK hero */
.hero--mod .hero-image {
    width: clamp(360px, 38vw, 520px) !important;
}
@media (max-width: 1100px) {
    .hero--mod .hero-image { width: 340px !important; }
}
@media (max-width: 860px) {
    .hero--mod .hero-image { width: 260px !important; }
}


/* ─── Blog Post Section Images ─────────────────────────────── */
.post-section-img {
    margin: 2rem 0;
    padding: 0;
    line-height: 0;
    font-size: 0;
}
.post-section-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.post-section-img figcaption {
    font-size: .82rem;
    line-height: 1.5;
    color: #6b7280;
    text-align: center;
    padding: .6rem .5rem 0;
    font-style: italic;
}

/* ═══════════════════════════════════════════
   TOC BOX — clean redesign
════════════════════════════════════════════ */
.toc-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--clr-accent);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 0 0 28px;
}
.toc-title {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #64748b;
    margin: 0 0 12px;
}
.toc-list {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.toc-list li { font-size: .9rem; line-height: 1.4; color: var(--clr-primary); }
.toc-list a { color: var(--clr-accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.toc-list a:hover { color: var(--clr-accent); }

/* ═══════════════════════════════════════════
   FAQ SECTION — redesigned with proper spacing
════════════════════════════════════════════ */
.faq-section { margin: 12px 0 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 20px;
    background: #fafafa;
    transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover {
    border-color: var(--clr-accent);
    box-shadow: 0 2px 12px rgba(22,163,74,.08);
}
.faq-q {
    font-size: .95rem !important;
    font-weight: 700 !important;
    color: var(--clr-primary) !important;
    margin: 0 0 10px !important;
    line-height: 1.4 !important;
    border: none !important;
    padding: 0 !important;
    border-left: none !important;
}
.faq-a {
    font-size: .88rem;
    color: #475569;
    margin: 0;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   MID-POST DOWNLOAD CTA
════════════════════════════════════════════ */
.mid-post-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1a2744 100%);
    border-radius: 10px;
    padding: 18px 22px;
    margin: 0 0 28px;
}
.mid-post-cta-text { display: flex; flex-direction: column; gap: 4px; }
.mid-post-cta-text strong { color: #fff; font-size: 1rem; font-weight: 700; }
.mid-post-cta-text span { color: #94a3b8; font-size: .8rem; }
.mid-post-cta-btn {
    background: var(--clr-accent);
    color: #fff !important;
    font-weight: 700;
    font-size: .85rem;
    padding: 10px 20px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .2s;
}
.mid-post-cta-btn:hover { background: var(--clr-accent-dark); }
@media (max-width: 480px) {
    .mid-post-cta { flex-direction: column; align-items: flex-start; }
    .mid-post-cta-btn { width: 100%; text-align: center; }
}

/* ═══════════════════════════════════════════
   STICKY MOBILE DOWNLOAD BAR
════════════════════════════════════════════ */
.sticky-dl-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: #0f172a;
    border-top: 2px solid var(--clr-accent);
    padding: 10px 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.4);
}
.sticky-dl-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}
.sticky-dl-info { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.sticky-dl-icon { font-size: 1.4rem; flex-shrink: 0; }
.sticky-dl-info strong { display: block; color: #fff; font-size: .85rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-dl-info span { display: block; color: #94a3b8; font-size: .72rem; }
.sticky-dl-btn {
    background: var(--clr-accent);
    color: #fff !important;
    font-weight: 700;
    font-size: .82rem;
    padding: 9px 16px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .2s;
}
.sticky-dl-btn:hover { background: var(--clr-accent-dark); }
.sticky-dl-close {
    background: none; border: none;
    color: #64748b; font-size: 1rem;
    cursor: pointer; padding: 4px;
    flex-shrink: 0; line-height: 1;
}
.sticky-dl-close:hover { color: #fff; }
@media (max-width: 767px) {
    .sticky-dl-bar { display: block; }
    body { padding-bottom: 72px; }
}

/* ═══════════════════════════════════════════
   ENTRY-CONTENT TABLE — improved
════════════════════════════════════════════ */
.entry-content table { border-radius: 8px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.entry-content tr:nth-child(even) td { background: #f8fafc; }
.entry-content tr:hover td { background: #f0fdf4; transition: background .15s; }
.entry-content th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }

/* ═══════════════════════════════════════════
   HOMEPAGE — INSTALL STEPS SECTION
════════════════════════════════════════════ */
.install-section {
    background: linear-gradient(135deg, #0f172a 0%, #1a2744 100%);
    padding: 64px 0;
    margin: 0;
}
.install-header {
    text-align: center;
    margin-bottom: 40px;
}
.install-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -.3px;
    border: none !important;
    padding: 0 !important;
}
.install-header p {
    color: #94a3b8;
    font-size: .95rem;
}
.install-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.install-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    position: relative;
}
.install-step-arrow {
    color: var(--clr-accent);
    font-size: 1.4rem;
    font-weight: 700;
    padding-top: 14px;
    flex-shrink: 0;
}
.step-num {
    width: 44px;
    height: 44px;
    background: var(--clr-accent);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-body strong {
    display: block;
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.step-body p {
    color: #94a3b8;
    font-size: .82rem;
    line-height: 1.6;
    margin: 0;
}
.install-cta {
    text-align: center;
}
.install-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 14px;
}
.install-trust span {
    color: #64748b;
    font-size: .78rem;
}
@media (max-width: 640px) {
    .install-steps { flex-direction: column; align-items: center; }
    .install-step { max-width: 100%; }
    .install-step-arrow { display: none; }
    .install-header h2 { font-size: 1.3rem; }
}

/* ═══════════════════════════════════════════
   HOMEPAGE — SECTION IMAGES
════════════════════════════════════════════ */
.hp-section-img {
    margin: 20px 0 28px;
    padding: 0;
}
.hp-section-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,.10);
}
.hp-section-img figcaption {
    font-size: .78rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

/* ═══════════════════════════════════════════
   HOMEPAGE — CONTENT AREA VISUAL BREAKS
════════════════════════════════════════════ */
.wp-content h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--clr-primary);
    margin: 48px 0 14px;
    padding: 20px 20px 18px 20px;
    background: #f8fafc;
    border-left: 5px solid var(--clr-accent);
    border-radius: 0 8px 8px 0;
    letter-spacing: -.2px;
    line-height: 1.3;
}
.wp-content h2:first-child { margin-top: 0; }
.wp-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin: 28px 0 10px;
    padding-left: 10px;
    border-left: 3px solid var(--clr-accent-lt);
}
.wp-content p { margin-bottom: 16px; line-height: 1.78; color: #334155; }
.wp-content ul, .wp-content ol { padding-left: 22px; margin-bottom: 18px; }
.wp-content li { margin-bottom: 7px; line-height: 1.65; color: #334155; }

/* ================================================================
   HOMEPAGE REDESIGN — Premium Sections
   Stats Strip | APK Card | Why Section | Timeline | Final CTA
   ================================================================ */

/* ─── Stats Strip ─── */
.stats-strip-wrap {
    background: #080f18;
    border-top: 1px solid rgba(34,197,94,.1);
    border-bottom: 1px solid rgba(34,197,94,.1);
    position: relative;
    z-index: 10;
}
.stats-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 14px 20px;
    gap: 0;
}
.stat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 30px;
    gap: 4px;
}
.stat-pill-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #22c55e;
    line-height: 1;
    letter-spacing: -.3px;
}
.stat-pill-lbl {
    font-size: .64rem;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    white-space: nowrap;
}
.stat-pill-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,.08);
    flex-shrink: 0;
    align-self: center;
}
@media (max-width: 860px) {
    .stats-strip { justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; padding: 10px 16px; }
    .stat-pill { padding: 8px 20px; }
    .stat-pill-val { font-size: .98rem; }
}
@media (max-width: 480px) {
    .stat-pill { padding: 7px 15px; }
    .stat-pill-lbl { font-size: .6rem; }
}

/* ─── APK Premium Section ─── */
.apk-premium-section {
    background: linear-gradient(160deg, #080f18 0%, #0c1820 50%, #06110a 100%);
    padding: 60px 0;
}
.apk-premium-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(34,197,94,.13);
    border-radius: 22px;
    padding: 48px 52px;
    box-shadow: 0 0 100px rgba(22,163,74,.05), 0 24px 72px rgba(0,0,0,.4);
    position: relative;
    overflow: hidden;
}
.apk-premium-card::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(34,197,94,.07) 0%, transparent 65%);
    pointer-events: none;
}
.apk-premium-card::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(22,163,74,.05) 0%, transparent 65%);
    pointer-events: none;
}
.apk-premium-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    position: relative;
    z-index: 1;
}
.apk-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(34,197,94,.1);
    border: 1px solid rgba(34,197,94,.28);
    color: #4ade80;
    font-size: .74rem;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 100px;
    letter-spacing: .04em;
    width: fit-content;
}
.apk-premium-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem) !important;
    font-weight: 900 !important;
    color: #fff !important;
    line-height: 1.12 !important;
    letter-spacing: -.6px !important;
    margin: 0 !important;
    border: none !important;
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
}
.apk-premium-title span {
    display: block;
    font-size: 60%;
    font-weight: 700;
    letter-spacing: 0;
    background: linear-gradient(90deg, #22c55e, #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 6px;
}
.apk-premium-desc {
    color: rgba(255,255,255,.6);
    font-size: .94rem;
    line-height: 1.65;
    margin: 0;
}
.apk-premium-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff !important;
    font-weight: 700;
    font-size: .97rem;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none !important;
    width: fit-content;
    box-shadow: 0 4px 28px rgba(22,163,74,.5);
    transition: transform .22s ease, box-shadow .22s ease;
    position: relative;
    overflow: hidden;
}
.apk-premium-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.13) 0%, transparent 55%);
    pointer-events: none;
}
.apk-premium-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(22,163,74,.65);
    color: #fff !important;
}
.apk-premium-pkg {
    font-size: .72rem;
    color: rgba(255,255,255,.25);
    font-family: 'Courier New', monospace;
    letter-spacing: .03em;
    margin: -8px 0 0;
}
.apk-premium-right {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}
.apk-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255,255,255,.06);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.07);
    width: 100%;
}
.apk-spec {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(10,18,30,.7);
    transition: background .2s;
}
.apk-spec:hover { background: rgba(34,197,94,.06); }
.spec-icon {
    font-size: 1.15rem;
    flex-shrink: 0;
    width: 26px;
    text-align: center;
    line-height: 1;
}
.spec-label {
    display: block;
    font-size: .66rem;
    color: rgba(255,255,255,.38);
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 3px;
}
.spec-val {
    display: block;
    font-size: .87rem;
    color: #e2e8f0;
    font-weight: 600;
    line-height: 1.2;
}
.spec-val.accent { color: #4ade80; }
@media (max-width: 1024px) {
    .apk-premium-card { grid-template-columns: 1fr; gap: 36px; padding: 36px 32px; }
}
@media (max-width: 640px) {
    .apk-premium-section { padding: 40px 0; }
    .apk-premium-card { padding: 26px 20px; border-radius: 16px; gap: 28px; }
    .apk-specs-grid { grid-template-columns: 1fr 1fr; }
    .apk-spec { padding: 12px 14px; }
}

/* ─── Why BTD6 Section ─── */
.why-section {
    background: #f3f8f5;
    padding: 76px 0;
}
.why-header {
    text-align: center;
    margin-bottom: 52px;
}
.why-tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--clr-accent-dark);
    background: rgba(22,163,74,.1);
    border: 1px solid rgba(22,163,74,.22);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.why-header h2 {
    font-size: clamp(1.55rem, 3vw, 2.3rem) !important;
    font-weight: 900 !important;
    color: var(--clr-primary) !important;
    letter-spacing: -.5px !important;
    line-height: 1.12 !important;
    margin: 0 0 14px !important;
    border: none !important;
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
}
.why-header p {
    font-size: .97rem;
    color: var(--clr-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.62;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.why-card {
    background: #fff;
    border: 1.5px solid #dff0e6;
    border-radius: 18px;
    padding: 28px 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: border-color .22s, box-shadow .22s, transform .22s;
}
.why-card:hover {
    border-color: var(--clr-accent);
    box-shadow: 0 10px 36px rgba(22,163,74,.14);
    transform: translateY(-5px);
}
.why-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    background: linear-gradient(145deg, #f0fdf4, #dcfce7);
    border: 1.5px solid rgba(34,197,94,.22);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.why-card:hover .why-icon {
    background: linear-gradient(145deg, #dcfce7, #bbf7d0);
}
.why-body { flex: 1; }
.why-body h3 {
    font-size: .97rem;
    font-weight: 800;
    color: var(--clr-primary);
    margin: 0 0 8px;
    line-height: 1.3;
}
.why-body p {
    font-size: .85rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}
@media (max-width: 900px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .why-section { padding: 48px 0; }
    .why-header { margin-bottom: 32px; }
    .why-grid { grid-template-columns: 1fr; gap: 12px; }
    .why-card { padding: 20px 16px; }
    .why-icon { width: 46px; height: 46px; font-size: 1.5rem; }
}

/* ─── Install Timeline (inside .install-section dark bg) ─── */
.install-timeline {
    position: relative;
    margin-bottom: 44px;
}
.install-tl-track {
    position: absolute;
    top: 27px;
    left: calc(16.666% + 28px);
    right: calc(16.666% + 28px);
    height: 2px;
    background: linear-gradient(90deg, rgba(34,197,94,.6) 0%, rgba(34,197,94,.3) 50%, rgba(34,197,94,.6) 100%);
    z-index: 0;
}
.install-tl-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}
.install-tl-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}
.tl-num {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 3px solid #0f172a;
    box-shadow: 0 0 0 3px rgba(34,197,94,.4), 0 6px 20px rgba(22,163,74,.45);
    position: relative;
    z-index: 2;
}
.tl-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 16px;
    padding: 24px 22px;
    text-align: center;
    width: 100%;
    transition: background .22s, border-color .22s, transform .22s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.tl-card:hover {
    background: rgba(34,197,94,.07);
    border-color: rgba(34,197,94,.28);
    transform: translateY(-3px);
}
.tl-icon {
    font-size: 1.75rem;
    margin-bottom: 12px;
    display: block;
}
.tl-card h3 {
    font-size: .97rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.3;
}
.tl-card p {
    font-size: .82rem;
    color: #94a3b8;
    line-height: 1.65;
    margin: 0;
}
.tl-card p strong { color: #e2e8f0; }
.tl-card p em { color: #86efac; font-style: italic; }
.install-bottom {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.install-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    padding: 16px 38px;
}
.install-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 22px;
}
.install-badges span {
    font-size: .78rem;
    color: #64748b;
}
.install-badges span::before {
    content: '✓ ';
    color: var(--clr-accent-lt);
    font-weight: 700;
}
@media (max-width: 860px) {
    .install-tl-track { display: none; }
    .install-tl-steps { grid-template-columns: 1fr; gap: 16px; }
    .install-tl-step { flex-direction: row; align-items: flex-start; gap: 16px; }
    .tl-num { flex-shrink: 0; width: 48px; height: 48px; font-size: 1rem; }
    .tl-card { text-align: left; padding: 18px 16px; }
    .tl-icon { margin-bottom: 8px; }
}
@media (max-width: 480px) {
    .install-tl-step { gap: 12px; }
    .tl-num { width: 42px; height: 42px; font-size: .9rem; }
    .tl-card p em { font-style: normal; }
}

/* ─── Final CTA Section ─── */
.final-cta-section {
    background: linear-gradient(160deg, #020b05 0%, #041208 35%, #071e10 65%, #030d06 100%);
    padding: 88px 0;
    position: relative;
    overflow: hidden;
}
.final-cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 680px;
    height: 480px;
    background: radial-gradient(ellipse at center, rgba(34,197,94,.13) 0%, transparent 65%);
    pointer-events: none;
    filter: blur(48px);
}
.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 52px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}
.final-cta-text { flex: 1; min-width: 280px; }
.final-cta-tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #4ade80;
    background: rgba(34,197,94,.1);
    border: 1px solid rgba(34,197,94,.22);
    padding: 4px 13px;
    border-radius: 100px;
    margin-bottom: 18px;
}
.final-cta-text h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem) !important;
    font-weight: 900 !important;
    color: #fff !important;
    line-height: 1.1 !important;
    letter-spacing: -.6px !important;
    margin: 0 0 16px !important;
    border: none !important;
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
}
.final-cta-text p {
    font-size: 1rem;
    color: rgba(255,255,255,.58);
    line-height: 1.65;
    margin: 0;
}
.final-cta-text p strong { color: rgba(255,255,255,.9); }
.final-cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.final-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff !important;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 18px 46px;
    border-radius: 14px;
    text-decoration: none !important;
    box-shadow: 0 4px 36px rgba(22,163,74,.65), inset 0 0 0 1px rgba(255,255,255,.12);
    transition: transform .25s ease, box-shadow .25s ease;
    animation: final-pulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.final-dl-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.14) 0%, transparent 55%);
    pointer-events: none;
}
.final-dl-btn span {
    font-size: .72rem;
    font-weight: 500;
    opacity: .7;
    margin-left: 4px;
}
.final-dl-btn:hover {
    transform: translateY(-4px) scale(1.025);
    box-shadow: 0 18px 56px rgba(22,163,74,.75), inset 0 0 0 1px rgba(255,255,255,.18);
    color: #fff !important;
    animation-play-state: paused;
}
@keyframes final-pulse {
    0%, 100% { box-shadow: 0 4px 36px rgba(22,163,74,.65), inset 0 0 0 1px rgba(255,255,255,.12); }
    50%       { box-shadow: 0 8px 56px rgba(22,163,74,.85), 0 0 80px rgba(34,197,94,.18), inset 0 0 0 1px rgba(255,255,255,.16); }
}
.final-cta-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.final-cta-meta span {
    font-size: .74rem;
    color: rgba(255,255,255,.32);
}
@media (max-width: 860px) {
    .final-cta-inner { flex-direction: column; align-items: center; text-align: center; gap: 40px; }
    .final-cta-text { text-align: center; }
    .final-cta-section { padding: 60px 0; }
}
@media (max-width: 480px) {
    .final-dl-btn { padding: 16px 32px; font-size: 1rem; }
    .final-cta-section { padding: 48px 0; }
}

/* ─── Author Box Premium variant ─── */
.author-box-premium {
    background: linear-gradient(135deg, #fff 0%, #f8fffe 100%);
    border-left-color: var(--clr-accent);
    box-shadow: 0 4px 20px rgba(22,163,74,.08), 0 1px 4px rgba(0,0,0,.05);
}

/* ================================================================
   APP INFO CARD — single clean card below hero
   ================================================================ */
.app-card-section {
    background: linear-gradient(180deg, #0a1a0f 0%, #f3f8f5 100%);
    padding: 0 0 52px;
}
.app-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 44px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    box-shadow: 0 8px 48px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.08);
    border: 1px solid #e8f5ee;
    position: relative;
    z-index: 5;
    margin-top: -2px;
}
.app-card-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.app-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 100px;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    letter-spacing: .02em;
}
.app-badge--verified {
    background: #f0fdf4;
    color: #15803d;
    border-color: #86efac;
}
.app-card-name {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.app-card-name strong {
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--clr-primary);
    line-height: 1.1;
    letter-spacing: -.4px;
}
.app-card-name span {
    font-size: .85rem;
    color: var(--clr-muted);
    font-weight: 500;
}
.app-card-desc {
    font-size: .9rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}
.app-card-dl {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    padding: 15px 26px;
    border-radius: 12px;
    width: fit-content;
    box-shadow: 0 4px 24px rgba(22,163,74,.4);
    transition: transform .22s ease, box-shadow .22s ease;
    position: relative;
    overflow: hidden;
}
.app-card-dl::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 55%);
    pointer-events: none;
}
.app-card-dl:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(22,163,74,.55);
    color: #fff !important;
}
.app-card-dl-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 2px;
}
.app-card-dl-text span {
    font-size: .68rem;
    font-weight: 400;
    opacity: .8;
}
.app-card-pkg {
    font-size: .72rem;
    color: var(--clr-muted);
    font-family: 'Courier New', monospace;
    margin: -8px 0 0;
}

/* Right: specs */
.app-card-right {
    display: flex;
    align-items: flex-start;
    padding-top: 6px;
}
.app-specs-table {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.app-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}
.app-spec-row:last-child { border-bottom: none; }
.asr-key {
    font-size: .78rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: nowrap;
    flex-shrink: 0;
}
.asr-val {
    font-size: .88rem;
    color: var(--clr-primary);
    font-weight: 600;
    text-align: right;
}
.asr-accent { color: var(--clr-accent-dark); }
.app-spec-row--muted .asr-val {
    font-family: 'Courier New', monospace;
    font-size: .75rem;
    color: var(--clr-muted);
    font-weight: 400;
}
@media (max-width: 960px) {
    .app-card { grid-template-columns: 1fr; gap: 32px; padding: 32px 28px; }
    .app-card-left { gap: 14px; }
}
@media (max-width: 640px) {
    .app-card-section { padding: 0 0 36px; }
    .app-card { padding: 24px 18px; border-radius: 14px; }
    .app-card-name strong { font-size: 1.4rem; }
    .app-card-dl { padding: 13px 20px; }
}

/* ================================================================
   HP CONTENT — Floated image layout
   • Image floats left or right (alternating sections)
   • Text beside image fills available width naturally
   • Text that overflows image height becomes full width automatically
   • Image horizontally centered within its float box
   ================================================================ */

/* Float wrapper — only wraps the figure, not the text */
.hp-float-img {
    width: 46%;
    margin-bottom: 18px;
    position: relative;
}
.hp-fi--right {
    float: right;
    margin-left: 32px;
    margin-right: 0;
}
.hp-fi--left {
    float: left;
    margin-right: 32px;
    margin-left: 0;
}

/* Image: fill the float box = horizontally centered in its space */
.hp-float-img .hp-section-img {
    margin: 0 !important;
    width: 100%;
    text-align: center;
}
.hp-float-img .hp-section-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,.16), 0 2px 8px rgba(0,0,0,.08);
    transition: transform .32s ease, box-shadow .32s ease;
}
.hp-float-img:hover .hp-section-img img {
    transform: scale(1.025);
    box-shadow: 0 18px 56px rgba(0,0,0,.22), 0 4px 12px rgba(0,0,0,.1);
}
.hp-float-img .hp-section-img figcaption {
    font-size: .74rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    line-height: 1.45;
}

/* H2 always clears float — starts new section cleanly on full width */
.hp-content h2 { clear: both; }

/* Standalone hp-section-img not inside float wrapper */
.hp-content .hp-section-img {
    width: 100%;
    margin: 20px 0 28px;
}

/* Mobile: no float, full width stacked */
@media (max-width: 767px) {
    .hp-float-img,
    .hp-fi--right,
    .hp-fi--left {
        float: none;
        width: 100%;
        margin: 0 0 20px;
    }
}

/* ================================================================
   ALL VERSIONS PAGE
   ================================================================ */

/* — Hero — */
.av-hero {
    background: linear-gradient(135deg, #061a0c 0%, #0c2a14 50%, #0f172a 100%);
    padding: 72px 0 56px;
    position: relative;
    overflow: hidden;
}
.av-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.av-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .18;
}
.av-hero-orb--a { width: 520px; height: 520px; background: #16a34a; top: -180px; right: -100px; }
.av-hero-orb--b { width: 380px; height: 380px; background: #22c55e; bottom: -140px; left: -80px; }
.av-hero-inner { position: relative; z-index: 2; }
.av-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    color: rgba(255,255,255,.45);
    margin-bottom: 20px;
}
.av-hero-breadcrumb a { color: rgba(255,255,255,.55); text-decoration: none; }
.av-hero-breadcrumb a:hover { color: #4ade80; }
.av-hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 16px;
}
.av-hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,.7);
    max-width: 600px;
    margin: 0 0 28px;
    line-height: 1.65;
}
.av-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.av-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .76rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.1);
    letter-spacing: .02em;
}
.av-badge--green {
    background: rgba(22,163,74,.2);
    color: #4ade80;
    border-color: rgba(74,222,128,.3);
}

/* — Latest Version Card — */
.av-latest {
    background: #f1fdf5;
    border-bottom: 1px solid #d1fae5;
    padding: 48px 0;
}
.av-latest-card {
    background: #fff;
    border-radius: 18px;
    border: 2px solid #16a34a;
    padding: 36px 40px;
    position: relative;
    box-shadow: 0 8px 40px rgba(22,163,74,.12), 0 2px 8px rgba(0,0,0,.06);
}
.av-latest-badge {
    position: absolute;
    top: -13px;
    left: 36px;
    background: #16a34a;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 12px;
}
.av-latest-main {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.av-latest-info { flex: 1; min-width: 260px; }
.av-latest-ver {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--clr-primary);
    margin: 0 0 10px;
}
.av-latest-desc {
    color: #475569;
    line-height: 1.65;
    margin: 0 0 18px;
    font-size: .95rem;
}
.av-latest-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 24px;
}
.av-latest-meta li {
    font-size: .85rem;
    color: #64748b;
}
.av-latest-meta li strong { color: var(--clr-primary); }
.av-latest-dl {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.av-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 800;
    padding: 16px 36px;
    border-radius: 14px;
    text-decoration: none;
    white-space: nowrap;
    flex-direction: column;
    gap: 4px;
    transition: transform .22s ease, box-shadow .22s ease;
}
.av-dl-btn--primary {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff !important;
    box-shadow: 0 6px 28px rgba(22,163,74,.45);
}
.av-dl-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 48px rgba(22,163,74,.6);
    color: #fff !important;
}
.av-dl-btn span {
    font-size: .72rem;
    font-weight: 500;
    opacity: .75;
}
.av-dl-note {
    font-size: .73rem;
    color: #94a3b8;
    text-align: center;
    max-width: 200px;
    line-height: 1.5;
    margin: 0;
}

/* — Table Section — */
.av-table-section {
    background: #fff;
    padding: 64px 0;
}
.av-filter-bar { margin-bottom: 28px; }
.av-section-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--clr-primary);
    margin: 0 0 6px;
}
.av-section-sub {
    font-size: .88rem;
    color: #94a3b8;
    margin: 0;
}
.av-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.av-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}
.av-table thead {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.av-table thead th {
    color: rgba(255,255,255,.75);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: 14px 18px;
    text-align: left;
    white-space: nowrap;
}
.av-row td {
    padding: 13px 18px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    vertical-align: middle;
}
.av-row:last-child td { border-bottom: none; }
.av-row:hover td { background: #f8fffe; }
.av-row--latest td { background: #f0fdf4; }
.av-row--latest:hover td { background: #dcfce7; }
.av-row--older td { color: #94a3b8; }
.av-ver-num {
    font-weight: 800;
    color: var(--clr-primary);
    font-size: .9rem;
}
.av-ver-tag {
    display: inline-block;
    background: #16a34a;
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 8px;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-left: 6px;
    vertical-align: middle;
}
.av-dl-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .8rem;
    font-weight: 700;
    color: #16a34a !important;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1.5px solid #16a34a;
    transition: background .18s ease, color .18s ease;
    white-space: nowrap;
}
.av-dl-link:hover {
    background: #16a34a;
    color: #fff !important;
}

/* — FAQ Section — */
.av-faq-section {
    background: #f8fafc;
    padding: 72px 0;
    border-top: 1px solid #e2e8f0;
}
.av-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.av-faq-item {
    background: #fff;
    border-radius: 14px;
    padding: 28px 28px 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.av-faq-item h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--clr-primary);
    margin: 0 0 12px;
    line-height: 1.4;
}
.av-faq-item p {
    font-size: .88rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* — Responsive — */
@media (max-width: 860px) {
    .av-latest-main { gap: 32px; }
    .av-latest-card { padding: 28px 24px; }
    .av-latest-dl { align-items: flex-start; }
}
@media (max-width: 640px) {
    .av-hero { padding: 52px 0 40px; }
    .av-hero-title { font-size: 1.8rem; }
    .av-latest { padding: 36px 0; }
    .av-table-section { padding: 44px 0; }
    .av-faq-section { padding: 48px 0; }
    .av-latest-meta { grid-template-columns: 1fr; }
    .av-table thead th, .av-row td { padding: 10px 12px; font-size: .8rem; }
}
