/* ═══════════════════════════════════════════════════════
   777bd bet – Premium UI v2
   Dark gaming theme · Polished layout & typography
   ═══════════════════════════════════════════════════════ */

:root {
    --color-primary: #00c853;
    --color-primary-dark: #009624;
    --color-primary-soft: rgba(0,200,83,.08);
    --color-primary-glow: rgba(0,200,83,.22);
    --color-secondary: #ffd740;
    --color-accent: #ffab00;

    --color-bg: #0b0e14;
    --color-bg-soft: #0f1319;
    --color-bg-card: #151a24;
    --color-bg-card-alt: #181e2a;
    --color-surface: #1c2332;
    --color-surface-hover: #222b3c;

    --color-border: rgba(255,255,255,.06);
    --color-border-strong: rgba(255,255,255,.10);
    --color-border-accent: rgba(0,200,83,.20);

    --color-text: #dee4ec;
    --color-text-soft: #94a0b2;
    --color-text-muted: #5c6878;
    --color-text-bright: #f4f7fa;

    --color-success: #00e676;
    --color-warning: #ffd740;
    --color-danger: #ff5252;

    --color-footer-bg: #070a0f;
    --color-footer-text: #6e7a8c;

    --gradient-hero: linear-gradient(160deg, #07101e 0%, #0c1a24 30%, #0e1e1a 60%, #0a1420 100%);
    --gradient-hero-overlay: linear-gradient(135deg, rgba(0,200,83,.10) 0%, rgba(0,30,20,.25) 50%, rgba(255,215,64,.04) 100%);
    --gradient-button: linear-gradient(135deg, #00c853 0%, #00e676 100%);
    --gradient-button-hover: linear-gradient(135deg, #00e676 0%, #69f0ae 100%);
    --gradient-gold: linear-gradient(135deg, #ffd740 0%, #ffab00 100%);
    --gradient-card: linear-gradient(168deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.005) 100%);
    --gradient-section-alt: linear-gradient(180deg, #0d1219 0%, #111820 50%, #0d1219 100%);

    --shadow-header: 0 2px 24px rgba(0,0,0,.5);
    --shadow-card: 0 4px 24px rgba(0,0,0,.3);
    --shadow-card-hover: 0 12px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(0,200,83,.12);
    --shadow-button: 0 4px 18px rgba(0,200,83,.28);
    --shadow-button-hover: 0 6px 28px rgba(0,200,83,.42);
    --shadow-glow-green: 0 0 40px rgba(0,200,83,.12);
    --shadow-glow-gold: 0 0 30px rgba(255,215,64,.10);
    --shadow-image: 0 8px 32px rgba(0,0,0,.4);

    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 999px;
    --radius-card: 16px;

    --font-base: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --fs-h1: clamp(28px, 4vw, 48px);
    --fs-h2: clamp(22px, 3vw, 36px);
    --fs-h3: clamp(17px, 2vw, 24px);
    --fs-body: 16px;
    --fs-lead: clamp(17px, 1.2vw, 19px);
    --fs-small: 14px;
    --fs-xs: 12px;
    --lh-body: 1.78;
    --lh-heading: 1.22;
    --letter-tight: -0.02em;

    --container-max: 1140px;
    --container-narrow: 780px;
    --section-y: clamp(52px, 6.5vw, 88px);
    --section-y-sm: clamp(36px, 4vw, 56px);
    --header-h: 70px;
    --mobile-header-h: 62px;

    --motion-fast: .18s;
    --motion-normal: .28s;
    --motion-slow: .42s;
    --ease-out: cubic-bezier(.25,.46,.45,.94);
    --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ═══ 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-base);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--motion-fast); }
a:hover { color: var(--color-secondary); }
h1, h2, h3, h4 {
    line-height: var(--lh-heading);
    font-weight: 800;
    color: var(--color-text-bright);
    letter-spacing: var(--letter-tight);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); margin-bottom: 16px; }
h3 { font-size: var(--fs-h3); margin-bottom: 12px; }
p { margin-bottom: 18px; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-xs); }
::selection { background: rgba(0,200,83,.25); color: #fff; }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(18px, 3vw, 36px);
}

/* ═══ HEADER ═══ */
.site-header {
    position: sticky; top: 0; z-index: 1000; width: 100%;
    background: rgba(11,14,20,.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--motion-normal), background var(--motion-normal);
}
.site-header.scrolled {
    box-shadow: var(--shadow-header);
    background: rgba(11,14,20,.96);
}
.header-inner {
    width: 100%; max-width: none;
    padding-left: clamp(14px, 1.5vw, 24px);
    padding-right: clamp(14px, 1.5vw, 24px);
    min-height: var(--header-h);
    display: flex; align-items: center;
    gap: clamp(12px, 1.2vw, 20px);
}
.brand-wrap {
    flex: 0 0 auto;
    margin-right: clamp(6px, 1vw, 16px);
    transition: opacity var(--motion-fast);
}
.brand-wrap:hover { opacity: .85; }
.site-logo {
    display: block; width: auto;
    height: clamp(33px, 3vw, 42px);
    max-width: clamp(118px, 10vw, 168px);
    object-fit: contain;
    filter: brightness(1.05);
}
.primary-nav {
    flex: 1 1 auto; min-width: 0;
    display: flex; align-items: center; justify-content: center;
    flex-wrap: nowrap; gap: clamp(4px, .55vw, 8px);
    white-space: nowrap; overflow: visible;
}
.primary-nav a {
    flex: 0 1 auto; min-width: 0;
    padding: 8px clamp(7px, .7vw, 13px);
    font-size: clamp(13px, .82vw, 15px);
    font-weight: 600; line-height: 1; white-space: nowrap;
    color: var(--color-text-soft);
    border-radius: var(--radius-sm);
    transition: color var(--motion-fast), background var(--motion-fast);
    position: relative;
}
.primary-nav a::after {
    content: ''; position: absolute;
    bottom: 1px; left: 50%; width: 0; height: 2px;
    background: var(--color-primary); border-radius: 1px;
    transition: width var(--motion-normal), left var(--motion-normal);
}
.primary-nav a:hover, .primary-nav a.is-active {
    color: var(--color-primary);
    background: var(--color-primary-soft);
}
.primary-nav a:hover::after, .primary-nav a.is-active::after {
    width: 50%; left: 25%;
}
.header-actions {
    flex: 0 0 auto; margin-left: auto;
    display: flex; align-items: center; justify-content: flex-end;
    gap: clamp(6px, .6vw, 10px); white-space: nowrap;
}
.nav-toggle {
    display: none; flex: 0 0 42px; width: 42px; height: 42px;
    align-items: center; justify-content: center;
    background: var(--color-surface); border: 1px solid var(--color-border);
    cursor: pointer; padding: 8px; border-radius: var(--radius-sm);
    transition: background var(--motion-fast);
}
.nav-toggle:hover { background: var(--color-surface-hover); }
.toggle-bar {
    display: block; width: 20px; height: 2px;
    background: var(--color-text); border-radius: 2px;
    transition: transform var(--motion-normal), opacity var(--motion-normal);
    margin: 3px auto;
}
.nav-toggle.is-active .toggle-bar:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.is-active .toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .toggle-bar:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ═══ MOBILE MENU ═══ */
.mobile-menu {
    display: none; position: fixed; top: var(--mobile-header-h); left: 0; right: 0;
    background: rgba(15,19,25,.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 999; border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
    max-height: calc(100vh - var(--mobile-header-h)); overflow-y: auto;
}
.mobile-menu.is-open { display: block; }
.mobile-menu-inner { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.mobile-menu a {
    display: block; padding: 13px 16px; font-size: 15px; font-weight: 600;
    color: var(--color-text); border-radius: var(--radius-md);
    transition: background var(--motion-fast), color var(--motion-fast), padding-left var(--motion-fast);
}
.mobile-menu a:hover, .mobile-menu a.is-active {
    background: var(--color-primary-soft); color: var(--color-primary); padding-left: 22px;
}

@media (max-width: 1180px) {
    .site-header .header-inner {
        padding-left: clamp(10px, 2.5vw, 16px);
        padding-right: clamp(10px, 2.5vw, 16px);
        min-height: var(--mobile-header-h);
        justify-content: flex-start; gap: clamp(6px, 2vw, 12px);
    }
    .brand-wrap { flex: 0 1 auto; margin-right: 0; }
    .site-logo { height: clamp(30px, 8vw, 40px); max-width: clamp(104px, 27vw, 138px); }
    .primary-nav { display: none; }
    .header-actions { margin-left: auto; }
    .nav-toggle { display: inline-flex; flex: 0 0 42px; margin-left: 2px; }
}
@media (max-width: 375px) {
    .site-header .header-inner { padding-left: 8px; padding-right: 8px; gap: 6px; }
    .site-logo { max-width: 104px; }
    .nav-toggle { flex-basis: 38px; width: 38px; height: 38px; }
}

/* ═══════════════════════════════════════
   CONTENT SECTIONS – Core layout engine
   ═══════════════════════════════════════ */
.content-section {
    padding: var(--section-y) 0;
    position: relative;
}

.content-section.alt-bg {
    background: var(--gradient-section-alt);
}

/* subtle top separator */
.content-section + .content-section::before {
    content: '';
    position: absolute; top: 0; left: 5%; right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-border-strong) 30%, var(--color-border-strong) 70%, transparent 100%);
}

/* ── Section headings ── */
.content-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 16px;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}
.content-section h2::after {
    content: '';
    position: absolute; bottom: -1px; left: 0;
    width: 48px; height: 3px;
    background: var(--gradient-button);
    border-radius: 2px;
}

.content-section h3 {
    color: var(--color-text-bright);
    margin-top: 36px;
    margin-bottom: 14px;
    padding-left: 16px;
    border-left: 3px solid var(--color-primary);
    font-size: var(--fs-h3);
}

/* ── Paragraphs ── */
.content-section p {
    color: var(--color-text-soft);
    max-width: var(--container-narrow);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    margin-bottom: 20px;
}

/* First paragraph after heading – slightly larger */
.content-section h2 + p,
.content-section h2 + .content-image-block + p {
    font-size: var(--fs-lead);
    color: var(--color-text);
    line-height: 1.8;
}

/* ── Image blocks ── */
.content-image-block {
    margin: 24px 0 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-image);
    border: 1px solid var(--color-border-strong);
    position: relative;
    max-width: 720px;
}
.content-image-block::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.25) 100%);
    pointer-events: none;
}
.content-image-block img {
    width: 100%; height: auto; display: block;
    transition: transform var(--motion-slow);
}
.content-image-block:hover img { transform: scale(1.03); }

/* Alternate: image floats on wider screens */
@media (min-width: 768px) {
    /* When image comes BEFORE text (image-first pattern) */
    .content-section > .container > .content-image-block:first-child {
        float: right;
        max-width: 420px;
        margin: 0 0 24px 32px;
    }

    /* When image comes AFTER h2 */
    .content-section > .container > h2 + .content-image-block {
        float: right;
        max-width: 400px;
        margin: 0 0 20px 32px;
    }

    /* alt-bg sections: float left instead */
    .content-section.alt-bg > .container > .content-image-block:first-child,
    .content-section.alt-bg > .container > h2 + .content-image-block {
        float: left;
        margin: 0 32px 24px 0;
    }

    /* Clear floats */
    .content-section > .container::after {
        content: ''; display: table; clear: both;
    }

    .content-section p {
        max-width: none;
    }
}

/* ═══ HOME HERO ═══ */
.home-hero {
    background: var(--gradient-hero); color: #fff;
    padding: clamp(52px, 7.5vw, 100px) 0 clamp(44px, 6.5vw, 80px);
    position: relative; overflow: hidden;
}
.home-hero::before {
    content: ''; position: absolute; inset: 0;
    background: var(--gradient-hero-overlay);
    pointer-events: none;
}
.home-hero::after {
    content: ''; position: absolute;
    top: -40%; right: -15%;
    width: 550px; height: 550px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,200,83,.07) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content-grid {
    display: grid; grid-template-columns: 1.1fr .9fr;
    gap: clamp(24px, 3.5vw, 48px); align-items: center;
    position: relative; z-index: 1;
}
.home-hero h1 {
    color: #fff; font-size: clamp(26px, 3.5vw, 44px);
    margin-bottom: 18px; line-height: 1.15;
}
.hero-lead {
    color: rgba(255,255,255,.75);
    font-size: clamp(15px, 1.08vw, 17px);
    line-height: 1.75; margin-bottom: 26px;
}
.hero-trust {
    color: rgba(255,255,255,.45);
    font-size: var(--fs-small); margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.hero-visual { position: relative; }
.hero-visual img {
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 44px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06);
}
.hero-visual::before {
    content: ''; position: absolute; inset: -2px;
    border-radius: calc(var(--radius-lg) + 2px);
    background: linear-gradient(135deg, rgba(0,200,83,.25), transparent 50%, rgba(255,215,64,.15));
    z-index: -1; opacity: .5;
}
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
    .hero-content-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-cta-group { justify-content: center; }
    .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
}

/* ═══ TRUST STRIP ═══ */
.home-trust-strip {
    padding: 0;
    background: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border);
    position: relative; z-index: 2;
    margin-top: -24px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-width: var(--container-max);
    margin-left: auto; margin-right: auto;
    overflow: hidden;
}
.trust-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; text-align: center;
}
.trust-item {
    padding: 26px 14px;
    position: relative;
    transition: background var(--motion-fast);
}
.trust-item:hover { background: var(--color-surface); }
.trust-item:not(:last-child)::after {
    content: ''; position: absolute;
    right: 0; top: 22%; height: 56%; width: 1px;
    background: var(--color-border);
}
.trust-item strong {
    display: block;
    font-size: clamp(22px, 2.6vw, 34px);
    font-weight: 800;
    background: var(--gradient-button);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}
.trust-item span {
    font-size: var(--fs-xs); color: var(--color-text-muted);
    font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
}
@media (max-width: 600px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(2)::after { display: none; }
    .trust-item:nth-child(1), .trust-item:nth-child(2) {
        border-bottom: 1px solid var(--color-border);
    }
    .home-trust-strip { margin-top: -14px; border-radius: var(--radius-md) var(--radius-md) 0 0; }
}

/* ═══ PAGE INTRO (inner pages) ═══ */
.page-intro {
    padding: clamp(36px, 5vw, 60px) 0 clamp(28px, 3.5vw, 44px);
    background: var(--gradient-hero); color: #fff;
    position: relative; overflow: hidden;
}
.page-intro::before {
    content: ''; position: absolute; inset: 0;
    background: var(--gradient-hero-overlay); pointer-events: none;
}
.page-intro h1 { color: #fff; margin-bottom: 14px; position: relative; z-index: 1; }
.page-intro .intro-lead { color: rgba(255,255,255,.78); max-width: 700px; position: relative; z-index: 1; }

/* ═══ BREADCRUMB ═══ */
.breadcrumb { font-size: var(--fs-small); margin-bottom: 14px; position: relative; z-index: 1; }
.breadcrumb, .breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--color-secondary); }
.breadcrumb span { margin: 0 5px; opacity: .35; }

/* ═══ BUTTONS ═══ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; font-size: 15px; font-weight: 700;
    border-radius: var(--radius-pill); border: none; cursor: pointer;
    text-decoration: none; transition: all var(--motion-fast) var(--ease-out);
    min-height: 44px; white-space: nowrap;
    position: relative; overflow: hidden;
}
.btn::before {
    content: ''; position: absolute; inset: 0;
    border-radius: inherit; opacity: 0;
    transition: opacity var(--motion-fast);
    background: linear-gradient(180deg, rgba(255,255,255,.12) 0%, transparent 50%);
}
.btn:hover::before { opacity: 1; }
.btn-primary {
    background: var(--gradient-button); color: #fff;
    box-shadow: var(--shadow-button);
}
.btn-primary:hover {
    background: var(--gradient-button-hover); color: #fff;
    transform: translateY(-2px); box-shadow: var(--shadow-button-hover);
}
.btn-secondary { background: var(--gradient-gold); color: #1a1d21; }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow-gold); }
.btn-outline {
    background: transparent; color: var(--color-primary);
    border: 2px solid rgba(0,200,83,.4);
}
.btn-outline:hover {
    background: var(--color-primary); color: #fff;
    transform: translateY(-2px); box-shadow: var(--shadow-button);
    border-color: var(--color-primary);
}
.btn-lg { padding: 15px 36px; font-size: 16px; min-height: 50px; }

.home-hero .btn-secondary {
    background: rgba(255,255,255,.08); color: #fff;
    border: 1px solid rgba(255,255,255,.18);
}
.home-hero .btn-secondary:hover {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.3);
}

/* ═══ INLINE CTA ═══ */
.inline-cta {
    margin: 32px 0 8px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
    padding: 22px 26px;
    background: var(--color-bg-card-alt);
    border: 1px solid var(--color-border-strong);
    border-left: 3px solid var(--color-primary);
    border-radius: var(--radius-md);
}
.cta-note {
    font-size: var(--fs-small); color: var(--color-text-muted);
    font-style: italic;
}

/* ═══ FINAL CTA ═══ */
.home-final-cta {
    text-align: center;
    background: var(--gradient-hero);
    position: relative; overflow: hidden;
}
.home-final-cta::before {
    content: ''; position: absolute; inset: 0;
    background: var(--gradient-hero-overlay); pointer-events: none;
}
.home-final-cta::after {
    content: ''; position: absolute;
    bottom: -30%; left: 50%; transform: translateX(-50%);
    width: 500px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,200,83,.06) 0%, transparent 70%);
    pointer-events: none;
}
.home-final-cta > .container { position: relative; z-index: 1; }
.home-final-cta h2 {
    display: block;
    border-bottom: none;
    color: #fff;
}
.home-final-cta h2::after { margin-left: auto; margin-right: auto; }
.home-final-cta p {
    margin-left: auto; margin-right: auto;
    max-width: 680px;
    color: rgba(255,255,255,.72);
}
.final-cta-actions {
    margin-top: 26px;
    display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}

/* ═══ FAQ ═══ */
.faq-group {
    max-width: var(--container-narrow);
    display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg-card);
    overflow: hidden;
    transition: box-shadow var(--motion-fast), border-color var(--motion-fast);
}
.faq-item:hover {
    box-shadow: var(--shadow-card);
    border-color: var(--color-border-strong);
}
.faq-trigger {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; background: none; border: none;
    font-size: 15px; font-weight: 600; color: var(--color-text);
    cursor: pointer; text-align: left; gap: 14px;
    transition: color var(--motion-fast);
    font-family: var(--font-base);
}
.faq-trigger:hover { color: var(--color-primary); }
.faq-trigger span { flex: 1; }
.faq-icon {
    flex-shrink: 0; transition: transform var(--motion-normal);
    color: var(--color-text-muted);
}
.faq-trigger[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg); color: var(--color-primary);
}
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height var(--motion-slow) var(--ease-out);
}
.faq-answer p {
    padding: 0 20px 18px; color: var(--color-text-soft);
    font-size: 15px; margin: 0; line-height: 1.72;
}

/* ═══ AUTH PAGES ═══ */
.auth-intro {
    padding: clamp(36px, 4.5vw, 52px) 0 clamp(26px, 3vw, 38px);
    background: var(--gradient-hero); color: #fff;
    position: relative; overflow: hidden;
}
.auth-intro::before {
    content: ''; position: absolute; inset: 0;
    background: var(--gradient-hero-overlay); pointer-events: none;
}
.auth-intro h1 { color: #fff; margin-bottom: 12px; position: relative; z-index: 1; }
.auth-intro p { color: rgba(255,255,255,.78); position: relative; z-index: 1; }

.auth-form-section { padding: var(--section-y-sm) 0; }
.auth-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 36px; align-items: start;
}
.auth-form-card {
    background: var(--color-bg-card); border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-card); padding: 32px;
    box-shadow: var(--shadow-card);
    position: relative;
}
.auth-form-card::before {
    content: ''; position: absolute;
    top: 0; left: 20px; right: 20px; height: 3px;
    background: var(--gradient-button); border-radius: 0 0 3px 3px;
}
.auth-form-card h2 { font-size: 21px; margin-bottom: 22px; border-bottom: none; }
.auth-form-card h2::after { display: none; }

.form-group { margin-bottom: 18px; }
.form-group label {
    display: block; font-size: 13px; font-weight: 600;
    margin-bottom: 7px; color: var(--color-text-soft);
    text-transform: uppercase; letter-spacing: .04em;
}
.form-group input {
    width: 100%; padding: 12px 15px; font-size: 15px;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    background: var(--color-surface); color: var(--color-text);
    transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
    font-family: var(--font-base);
}
.form-group input:focus {
    border-color: var(--color-primary); outline: none;
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}
.form-group input::placeholder { color: var(--color-text-muted); }
.auth-info-panel { display: flex; flex-direction: column; gap: 18px; }
.auth-trust-card, .auth-step-card {
    background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: var(--radius-card); padding: 22px;
    transition: border-color var(--motion-fast);
}
.auth-trust-card:hover, .auth-step-card:hover { border-color: var(--color-border-accent); }
.auth-trust-card h3, .auth-step-card h3 {
    font-size: 17px; margin-bottom: 10px;
    color: var(--color-primary); border-left: none; padding-left: 0;
}
@media (max-width: 900px) { .auth-layout { grid-template-columns: 1fr; } }

/* ═══ ARTICLE ═══ */
.article-hero {
    padding: clamp(30px, 4vw, 46px) 0;
    background: var(--color-bg-soft);
    border-bottom: 1px solid var(--color-border);
}
.article-meta { font-size: var(--fs-small); color: var(--color-text-muted); margin-top: 10px; }
.article-body { padding: var(--section-y) 0; }
.article-body .container { max-width: var(--container-narrow); }
.article-cover {
    margin: 22px 0; border-radius: var(--radius-card);
    overflow: hidden; border: 1px solid var(--color-border);
}
.article-related {
    padding: var(--section-y-sm) 0;
    background: var(--color-bg-soft);
    border-top: 1px solid var(--color-border);
}
.related-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 18px; margin-top: 18px;
}
.related-card {
    background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: var(--radius-card); padding: 22px;
    transition: box-shadow var(--motion-fast), transform var(--motion-fast), border-color var(--motion-fast);
}
.related-card:hover {
    box-shadow: var(--shadow-card-hover); transform: translateY(-3px);
    border-color: var(--color-border-accent);
}
.related-card h3 { font-size: 16px; margin-bottom: 8px; border-left: none; padding-left: 0; }
.related-card h3 a { color: var(--color-text); }
.related-card h3 a:hover { color: var(--color-primary); }
.related-card p { font-size: var(--fs-small); color: var(--color-text-muted); margin: 0; }

/* ═══ POLICY ═══ */
.policy-intro {
    padding: clamp(28px, 3vw, 40px) 0;
    background: var(--color-bg-soft); border-bottom: 1px solid var(--color-border);
}
.policy-body { padding: var(--section-y) 0; }
.policy-body .container { max-width: var(--container-narrow); }
.policy-toc {
    background: var(--color-primary-soft);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-md); padding: 20px 24px; margin-bottom: 28px;
}
.policy-toc h3 { font-size: 15px; margin-bottom: 10px; color: var(--color-primary); border-left: none; padding-left: 0; }
.policy-toc ol { padding-left: 20px; }
.policy-toc li { margin-bottom: 4px; color: var(--color-text-soft); }
.policy-toc a { font-size: 14px; }
.policy-note {
    background: rgba(255,215,64,.05); border-left: 4px solid var(--color-warning);
    border-radius: var(--radius-md); padding: 14px 18px; margin: 18px 0;
}

/* ═══ BLOG ═══ */
.blog-intro {
    padding: clamp(36px, 4.5vw, 52px) 0;
    background: var(--gradient-hero); color: #fff;
    position: relative; overflow: hidden;
}
.blog-intro::before {
    content: ''; position: absolute; inset: 0;
    background: var(--gradient-hero-overlay); pointer-events: none;
}
.blog-intro h1 { color: #fff; position: relative; z-index: 1; }
.blog-intro p { color: rgba(255,255,255,.78); position: relative; z-index: 1; }

.blog-grid-section { padding: var(--section-y) 0; }
.blog-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
}
.blog-card {
    background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: var(--radius-card); overflow: hidden;
    transition: box-shadow var(--motion-fast), transform var(--motion-fast), border-color var(--motion-fast);
}
.blog-card:hover {
    box-shadow: var(--shadow-card-hover); transform: translateY(-4px);
    border-color: var(--color-border-accent);
}
.blog-card-image {
    height: 190px; overflow: hidden; position: relative;
}
.blog-card-image::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 40%; background: linear-gradient(transparent, rgba(0,0,0,.3));
    pointer-events: none;
}
.blog-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--motion-slow);
}
.blog-card:hover .blog-card-image img { transform: scale(1.06); }
.blog-card-body { padding: 20px; }
.blog-card-body h3 { font-size: 17px; margin-bottom: 10px; border-left: none; padding-left: 0; }
.blog-card-body h3 a { color: var(--color-text); transition: color var(--motion-fast); }
.blog-card-body h3 a:hover { color: var(--color-primary); }
.blog-card-body p { font-size: var(--fs-small); color: var(--color-text-soft); }
.blog-card-meta {
    font-size: var(--fs-xs); color: var(--color-text-muted);
    margin-top: 10px; padding-top: 10px;
    border-top: 1px solid var(--color-border);
    text-transform: uppercase; letter-spacing: .04em;
}

/* ═══ ABOUT / HELP ═══ */
.about-hero {
    padding: clamp(40px, 5vw, 68px) 0;
    background: var(--gradient-hero); color: #fff;
    position: relative; overflow: hidden;
}
.about-hero::before {
    content: ''; position: absolute; inset: 0;
    background: var(--gradient-hero-overlay); pointer-events: none;
}
.about-hero h1 { color: #fff; position: relative; z-index: 1; }
.about-hero p { color: rgba(255,255,255,.78); position: relative; z-index: 1; }

.data-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px; margin: 28px 0;
}
.data-card {
    background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: var(--radius-card); padding: 24px; text-align: center;
    transition: border-color var(--motion-fast), transform var(--motion-fast);
}
.data-card:hover {
    border-color: var(--color-border-accent); transform: translateY(-2px);
}
.data-card strong {
    display: block; font-size: 28px; font-weight: 800;
    background: var(--gradient-button);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 3px;
}
.data-card span {
    font-size: var(--fs-xs); color: var(--color-text-muted);
    text-transform: uppercase; letter-spacing: .05em;
}
@media (max-width: 600px) { .data-grid { grid-template-columns: repeat(2, 1fr); } }

.help-hero {
    padding: clamp(36px, 4.5vw, 52px) 0;
    background: var(--color-bg-soft); border-bottom: 1px solid var(--color-border);
}
.help-categories {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px; margin: 24px 0;
}
.help-cat-card {
    background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: var(--radius-card); padding: 24px;
    transition: box-shadow var(--motion-fast), border-color var(--motion-fast), transform var(--motion-fast);
}
.help-cat-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-border-accent); transform: translateY(-2px);
}
.help-cat-card h3 {
    font-size: 16px; margin-bottom: 10px;
    color: var(--color-primary); border-left: none; padding-left: 0;
}
.step-list { counter-reset: step; padding: 0; list-style: none; }
.step-list li {
    counter-increment: step;
    padding: 16px 16px 16px 56px; position: relative;
    border-left: 2px solid var(--color-border); margin-bottom: 0;
    color: var(--color-text-soft);
    transition: border-color var(--motion-fast);
}
.step-list li:hover { border-left-color: var(--color-primary); }
.step-list li::before {
    content: counter(step); position: absolute; left: -14px; top: 14px;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--gradient-button); color: #fff;
    font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,200,83,.28);
}

/* ═══ FOOTER ═══ */
.site-footer {
    background: var(--color-footer-bg); color: var(--color-footer-text);
    padding: clamp(44px, 5.5vw, 68px) 0 24px;
    position: relative;
}
.site-footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: .25;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: clamp(20px, 3vw, 40px);
}
.footer-brand p {
    font-size: var(--fs-small); line-height: 1.72;
    margin-top: 14px; color: rgba(110,122,140,.75);
}
.footer-brand img { height: 40px; width: auto; opacity: .8; filter: brightness(1.05); }
.footer-links-group h4 {
    font-size: 13px; font-weight: 700; color: var(--color-text-bright);
    margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em;
    position: relative; padding-bottom: 9px;
}
.footer-links-group h4::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 22px; height: 2px; background: var(--color-primary);
    border-radius: 1px;
}
.footer-links-group a {
    display: block; font-size: 14px; color: var(--color-footer-text);
    padding: 4px 0; transition: color var(--motion-fast), padding-left var(--motion-fast);
}
.footer-links-group a:hover { color: var(--color-primary); padding-left: 5px; }
.footer-links-group p { font-size: 13px; color: rgba(110,122,140,.6); margin-bottom: 4px; }
.footer-bottom {
    margin-top: 32px; padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.05);
    text-align: center; font-size: 13px; color: rgba(110,122,140,.45);
}
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ═══ 404 ═══ */
.page-404 { text-align: center; padding: 90px 20px; }
.page-404 h1 {
    font-size: 76px;
    background: var(--gradient-button);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-404 p { font-size: 18px; color: var(--color-text-soft); margin: 16px 0 32px; }

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
}

/* ═══ AOS DEGRADE ═══ */
[data-aos] { opacity: 1 !important; transform: none !important; }

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-surface); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-text-muted); }
