:root {
    --bg: #0b0d0f;
    --bg-elev: #131518;
    --card: #181b1f;
    --card-hover: #1f2328;
    --border: #2a2e34;
    --text: #ffffff;
    --text-dim: #a8abb2;
    --text-mute: #6b7079;
    --primary: #10b981;
    --primary-strong: #34d399;
    --primary-soft: rgba(16, 185, 129, 0.12);
    --primary-glow: rgba(16, 185, 129, 0.4);
    --success: #22c55e;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    background: rgba(11, 13, 15, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
    background: rgba(11, 13, 15, 0.92);
    border-bottom-color: var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    font-size: 18px;
}

.brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    display: grid;
    place-items: center;
    color: white;
    font-weight: 900;
    font-size: 16px;
    box-shadow: 0 6px 20px var(--primary-glow);
}

.brand-mark svg {
    width: 18px;
    height: 18px;
    stroke: black;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--primary);
    color: white !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.3);
}

.nav-cta:hover {
    background: var(--primary-strong);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.45);
}

.burger {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
}

.burger:hover {
    background: var(--card);
}

.burger svg {
    width: 24px;
    height: 24px;
}

/* HERO */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 700px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--primary-soft);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-strong);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 22px;
}

.hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-strong);
    box-shadow: 0 0 10px var(--primary-strong);
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.hero h1 .accent {
    background: linear-gradient(135deg, var(--primary-strong), #a7f3d0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    font-size: 1.05rem;
    color: var(--text-dim);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
    background: var(--primary-strong);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--card);
    border-color: var(--primary);
}

.btn svg {
    width: 16px;
    height: 16px;
}

.hero-fineprint {
    font-size: 12px;
    color: var(--text-mute);
    margin-bottom: 36px;
}

.hero-stats {
    display: flex;
    gap: 44px;
    flex-wrap: wrap;
}

.stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 11px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 2px;
}

.hero-visual {
    position: relative;
}

.hero-visual::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle at 50% 50%, var(--primary-glow), transparent 65%);
    filter: blur(40px);
    z-index: -1;
    border-radius: 24px;
}

.hero-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* SECTION COMMON */
.section {
    padding: 100px 0;
    position: relative;
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-strong);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-sub {
    color: var(--text-dim);
    font-size: 1rem;
}

/* FEATURES */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.4);
    background: var(--card-hover);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary-strong);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* INLINE FEATURES CTA */
.features-cta {
    margin-top: 48px;
    text-align: center;
}

.features-cta p {
    margin-top: 14px;
    color: var(--text-mute);
    font-size: 0.9rem;
}

/* RELATED */
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.related-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.related-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-soft), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.5);
    background: var(--card-hover);
}

.related-card:hover::after {
    opacity: 1;
}

.related-card > * {
    position: relative;
    z-index: 1;
}

.related-tag {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary-strong);
    background: var(--primary-soft);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.related-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    color: var(--text);
}

.related-card p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 18px;
    flex-grow: 1;
}

.related-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-strong);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.2s;
}

.related-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.related-card:hover .related-link svg {
    transform: translateX(3px);
}

/* WHY SECTION */
.why {
    background: var(--bg-elev);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.why-eyebrow {
    color: var(--primary-strong);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.why h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    line-height: 1.2;
}

.why-lead {
    color: var(--text-dim);
    margin-bottom: 26px;
}

.why-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.why-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    display: grid;
    place-items: center;
    margin-top: 2px;
}

.why-check svg {
    width: 12px;
    height: 12px;
}

.why-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* HOW IT WORKS */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    position: relative;
}

.step {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 22px;
    text-align: center;
    transition: transform 0.25s, border-color 0.25s;
}

.step:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.4);
}

.step-num {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 6px 18px var(--primary-glow);
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary-strong);
    display: grid;
    place-items: center;
    margin: 14px auto 16px;
}

.step-icon svg {
    width: 22px;
    height: 22px;
}

.step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    color: var(--text-dim);
    font-size: 0.88rem;
}

.step-arrow {
    position: absolute;
    top: 50%;
    right: -14px;
    transform: translateY(-50%);
    color: var(--text-mute);
    z-index: 1;
}

.step-arrow svg {
    width: 16px;
    height: 16px;
}

.step:last-child .step-arrow {
    display: none;
}

/* COMPATIBILITY */
.compat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.compat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.25s, border-color 0.25s;
}

.compat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.4);
}

.compat-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    color: var(--text-dim);
    display: grid;
    place-items: center;
}

.compat-icon svg {
    width: 28px;
    height: 28px;
}

.compat-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.compat-card span {
    color: var(--text-mute);
    font-size: 0.8rem;
}

/* CTA */
.cta {
    text-align: center;
    background: var(--bg-elev);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.cta p {
    color: var(--text-dim);
    margin-bottom: 28px;
}

/* FOOTER */
.site-footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.footer-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-mute);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-mute);
    font-size: 0.85rem;
    text-align: center;
}

/* HOMEPAGE */
.home-hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
    text-align: center;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 700px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.home-hero > .container {
    position: relative;
    z-index: 1;
}

.home-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 18px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.home-hero h1 .accent {
    background: linear-gradient(135deg, var(--primary-strong), #a7f3d0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-hero .home-lead {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 620px;
    margin: 0 auto 32px;
}

.home-search-wrap {
    position: relative;
    max-width: 540px;
    margin: 0 auto 28px;
}

.home-search-wrap svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-mute);
    pointer-events: none;
}

.home-search {
    width: 100%;
    padding: 16px 18px 16px 48px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.home-search:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--card-hover);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.home-search::placeholder {
    color: var(--text-mute);
}

.home-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.home-stats .stat-num {
    font-size: 1.5rem;
}

/* FEATURED GRID — uses .related-card styling but in larger spacing */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* BROWSE GRID — compact tiles */
.browse-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.browse-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.15s, border-color 0.15s, background 0.15s;
    overflow: hidden;
}

.browse-card:hover {
    transform: translateY(-2px);
    background: var(--card-hover);
    border-color: rgba(16, 185, 129, 0.5);
}

.browse-card-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text);
}

.browse-card-arrow {
    flex-shrink: 0;
    color: var(--primary-strong);
    opacity: 0.6;
    transition: transform 0.2s, opacity 0.2s;
}

.browse-card-arrow svg {
    width: 14px;
    height: 14px;
    display: block;
}

.browse-card:hover .browse-card-arrow {
    transform: translateX(3px);
    opacity: 1;
}

.no-results {
    display: none;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-mute);
    font-size: 1rem;
}

/* HOMEPAGE WHY (compressed, no image) */
.home-why {
    background: var(--bg-elev);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.home-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.home-why-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: transform 0.2s, border-color 0.2s;
}

.home-why-card:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.4);
}

.home-why-card .feature-icon {
    margin-bottom: 18px;
}

.home-why-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.home-why-card p {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.6;
}

@media (max-width: 960px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .browse-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-why-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .home-hero {
        padding: 130px 0 60px;
    }

    .browse-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-stats {
        gap: 28px;
    }
}

/* DOWNLOAD GATE */
.download {
    padding: 140px 0 90px;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.dl-card {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 44px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.dl-game {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--primary-soft);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-strong);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 22px;
}

.dl-game .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-strong);
    box-shadow: 0 0 10px var(--primary-strong);
    animation: dlPulse 1.4s ease-in-out infinite;
}

@keyframes dlPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

.dl-card h1 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 12px;
}

.dl-lead {
    color: var(--text-dim);
    margin-bottom: 32px;
    font-size: 0.98rem;
}

.dl-countdown {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 24px;
    display: grid;
    place-items: center;
}

.dl-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.dl-ring-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 6;
}

.dl-ring-fg {
    fill: none;
    stroke: var(--primary);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.dl-countdown.run .dl-ring-fg {
    animation: dlRing 3s linear forwards;
}

@keyframes dlRing {
    to { stroke-dashoffset: 0; }
}

.dl-number {
    position: relative;
    font-size: 4rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1;
}

.dl-countdown.done .dl-number {
    display: none;
}

.dl-check {
    display: none;
    width: 56px;
    height: 56px;
    color: var(--primary-strong);
}

.dl-countdown.done .dl-check {
    display: block;
}

.dl-status {
    color: var(--text-dim);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.dl-status strong {
    color: var(--text);
    font-weight: 700;
}

.dl-manual {
    margin-bottom: 28px;
}

.dl-tips {
    list-style: none;
    text-align: left;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    margin-top: 24px;
}

.dl-tips li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.55;
    padding: 6px 0;
}

.dl-tips li svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--primary-strong);
    margin-top: 2px;
}

@media (max-width: 720px) {
    .dl-card {
        padding: 32px 24px;
    }

    .dl-countdown {
        width: 140px;
        height: 140px;
    }

    .dl-number {
        font-size: 3.4rem;
    }
}

/* LEGAL / CONTACT PAGES */
.legal {
    padding: 140px 0 90px;
    position: relative;
    overflow: hidden;
}

.legal::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.legal-head {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.legal-head h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.15;
}

.legal-meta {
    color: var(--text-mute);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.legal-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 52px;
}

.legal-content > *:first-child {
    margin-top: 0;
}

.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin: 36px 0 14px;
    letter-spacing: -0.01em;
}

.legal-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin: 24px 0 10px;
}

.legal-content p {
    color: var(--text-dim);
    margin-bottom: 14px;
    line-height: 1.75;
}

.legal-content ul,
.legal-content ol {
    padding-left: 22px;
    margin-bottom: 18px;
}

.legal-content li {
    color: var(--text-dim);
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-content a {
    color: var(--primary-strong);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content a:hover {
    color: var(--primary);
}

.legal-content strong {
    color: var(--text);
    font-weight: 600;
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 8px;
}

.contact-card {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: border-color 0.2s, transform 0.2s;
}

.contact-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.contact-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary-strong);
    display: grid;
    place-items: center;
    margin-bottom: 14px;
}

.contact-card-icon svg {
    width: 20px;
    height: 20px;
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}

.contact-card p {
    color: var(--text-mute);
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.contact-card a {
    color: var(--primary-strong);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 720px) {
    .legal-content {
        padding: 32px 24px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* RESPONSIVE */
@media (max-width: 960px) {
    .hero {
        padding: 130px 0 70px;
    }

    .hero-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        order: -1;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .step-arrow {
        display: none !important;
    }

    .compat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 70px 0;
    }
}

@media (max-width: 720px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 18px 18px;
        background: var(--bg-elev);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
        z-index: 99;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child {
        border-bottom: none;
        padding-top: 10px;
    }

    .nav-links a {
        display: block;
        padding: 14px 4px;
        font-size: 15px;
    }

    .nav-cta {
        margin-top: 4px;
        justify-content: center;
        padding: 12px 18px;
    }

    .burger {
        display: inline-flex;
    }

    .hero-stats {
        gap: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .compat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .footer-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .footer-links {
        gap: 18px;
    }

    .container {
        padding: 0 18px;
    }
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: 2.1rem;
    }

    .btn {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }
}
