/* ========================================
   CSGO-SKINS — Shared Design System
   ======================================== */

/* --- Custom Properties --- */
:root {
    /* Colors */
    --color-bg-primary: #0a0e17;
    --color-bg-secondary: #0f1420;
    --color-bg-card: #131825;
    --color-bg-card-hover: #1a2030;
    --color-border: #1e2538;
    --color-border-light: #2a3350;

    --color-text-primary: #f0f2f5;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;

    --color-cta-green: #00d26a;
    --color-cta-green-hover: #00b85c;
    --color-cta-green-glow: rgba(0, 210, 106, 0.25);

    --color-promo: #f59e0b;
    --color-promo-hover: #d97706;
    --color-promo-glow: rgba(245, 158, 11, 0.2);

    --color-trade: #06b6d4;
    --color-betting: #8b5cf6;
    --color-trust: #3b82f6;
    --color-warning: #ef4444;
    --color-warning-soft: rgba(239, 68, 68, 0.1);
    --color-success: #10b981;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Typography */
    --font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Courier New', monospace;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    --line-height-tight: 1.2;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.75;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Layout */
    --container-max: 1140px;
    --container-padding: 1.25rem;
    --header-height: 72px;

    /* Borders */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow-green: 0 0 20px var(--color-cta-green-glow);
    --shadow-glow-promo: 0 0 20px var(--color-promo-glow);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-family);
    font-size: var(--text-base);
    line-height: var(--line-height-normal);
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--color-trust);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-cta-green);
}

a:focus-visible {
    outline: 2px solid var(--color-cta-green);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

button:focus-visible {
    outline: 2px solid var(--color-cta-green);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

table {
    border-collapse: collapse;
    width: 100%;
}

strong {
    font-weight: var(--font-weight-semibold);
}

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--color-cta-green);
    color: var(--color-bg-primary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-semibold);
    z-index: 10000;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-md);
}

/* --- Container --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    height: var(--header-height);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 36px;
    width: auto;
    border-radius: 0;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active,
.nav-link.is-active {
    color: var(--color-cta-green);
    background: rgba(0, 210, 106, 0.08);
}

/* Burger */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    gap: 5px;
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.burger-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.burger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.burger-btn.is-active .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-btn.is-active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-btn.is-active .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .burger-btn {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        overflow-y: auto;
        z-index: 999;
    }

    .main-nav.is-open {
        transform: translateX(0);
    }

    .main-nav .nav-list {
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-xs);
    }

    .nav-link {
        width: 100%;
        padding: var(--space-md) var(--space-lg);
        font-size: var(--text-lg);
        border-radius: var(--radius-md);
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.2;
}

.btn-primary {
    background: var(--color-cta-green);
    color: #000 !important;
    box-shadow: var(--shadow-glow-green);
}

.btn-primary:hover {
    background: var(--color-cta-green-hover);
    color: #000 !important;
    box-shadow: 0 0 30px var(--color-cta-green-glow);
    transform: translateY(-1px);
}

.btn-promo {
    background: var(--color-promo);
    color: #000 !important;
    box-shadow: var(--shadow-glow-promo);
}

.btn-promo:hover {
    background: var(--color-promo-hover);
    color: #000 !important;
    box-shadow: 0 0 30px var(--color-promo-glow);
    transform: translateY(-1px);
}

a.btn {
    text-decoration: none !important;
}

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: var(--text-lg);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: var(--text-lg);
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(160deg, var(--color-bg-primary) 0%, #0d1525 40%, #0a1628 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 106, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-content h1 {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-cta-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    color: var(--color-text-secondary);
    font-size: var(--text-lg);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-xl);
    max-width: 540px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.content-image {
    margin: var(--space-xl) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.content-image--side {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero-section {
        padding: var(--space-3xl) 0 var(--space-2xl);
    }

    .hero-section .container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero-content h1 {
        font-size: var(--text-3xl);
    }

    .hero-text {
        font-size: var(--text-base);
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual img {
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: var(--text-2xl);
    }
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.content-section {
    padding: var(--space-3xl) 0;
}

.content-section.section-alt {
    background: var(--color-bg-secondary);
}

.content-section h2 {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
    line-height: var(--line-height-tight);
}

.content-section h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.content-section p {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
    max-width: 800px;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.content-section a {
    color: var(--color-cta-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.content-section a:hover {
    color: var(--color-cta-green-hover);
}

@media (max-width: 768px) {
    .content-section {
        padding: var(--space-2xl) 0;
    }

    .content-section h2 {
        font-size: var(--text-xl);
    }
}

/* ========================================
   TABLES
   ======================================== */
.table-wrapper {
    overflow-x: auto;
    margin: var(--space-xl) 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    -webkit-overflow-scrolling: touch;
}

.info-table {
    min-width: 480px;
}

.info-table thead {
    background: rgba(0, 210, 106, 0.08);
}

.info-table th {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-sm);
    color: var(--color-cta-green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--color-border);
}

.info-table td {
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

.info-table td:first-child {
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
    white-space: nowrap;
}

.info-table tbody tr:last-child td {
    border-bottom: none;
}

.info-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* ========================================
   PROMO CARD
   ======================================== */
.section-promo {
    background: linear-gradient(160deg, var(--color-bg-primary) 0%, #1a1308 50%, var(--color-bg-primary) 100%);
}

.promo-card {
    margin: var(--space-xl) 0;
    background: var(--color-bg-card);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.08);
}

.promo-card-inner {
    padding: var(--space-2xl);
    text-align: center;
}

.promo-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(245, 158, 11, 0.15);
    color: var(--color-promo);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.promo-code {
    font-family: var(--font-mono);
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-promo);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}




.promo-offer {
    font-size: var(--text-xl);
    color: var(--color-text-primary);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-lg);
}

.promo-details {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-md);
}

.promo-card .btn-promo {
    margin-top: var(--space-md);
}

@media (max-width: 480px) {
    .promo-card-inner {
        padding: var(--space-lg);
    }

    .promo-code {
        font-size: var(--text-2xl);
    }
}

/* ========================================
   CHECKLIST CARD
   ======================================== */
.checklist-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
}

.checklist-card h3 {
    margin-top: 0;
    margin-bottom: var(--space-lg);
    font-size: var(--text-xl);
}

.checklist-card--responsible {
    border-color: rgba(139, 92, 246, 0.3);
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.checklist li {
    position: relative;
    padding-left: var(--space-xl);
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    line-height: var(--line-height-relaxed);
}

.checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: rgba(0, 210, 106, 0.12);
    border: 1px solid var(--color-cta-green);
}

.checklist li::after {
    content: '';
    position: absolute;
    left: 4px;
    top: calc(0.45em + 3px);
    width: 8px;
    height: 5px;
    border-left: 2px solid var(--color-cta-green);
    border-bottom: 2px solid var(--color-cta-green);
    transform: rotate(-45deg);
}

.checklist-card--responsible .checklist li::before {
    background: rgba(139, 92, 246, 0.12);
    border-color: var(--color-betting);
}

.checklist-card--responsible .checklist li::after {
    border-color: var(--color-betting);
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.faq-section h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.faq-item:hover {
    border-color: var(--color-border-light);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-lg);
    text-align: left;
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
    transition: color var(--transition-fast);
    gap: var(--space-md);
}

.faq-question:hover {
    color: var(--color-cta-green);
}

.faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--color-text-secondary);
    border-radius: 2px;
    transition: transform var(--transition-base);
}

.faq-icon::before {
    top: 50%;
    left: 4px;
    width: 16px;
    height: 2px;
    transform: translateY(-50%);
}

.faq-icon::after {
    top: 4px;
    left: 50%;
    width: 2px;
    height: 16px;
    transform: translateX(-50%);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-question[aria-expanded="true"] .faq-icon::before {
    background: var(--color-cta-green);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-answer.is-open {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    line-height: var(--line-height-relaxed);
    max-width: none;
}

/* ========================================
   FINAL CTA
   ======================================== */
.cta-final-section {
    background: linear-gradient(160deg, var(--color-bg-primary) 0%, #0d1a12 50%, var(--color-bg-primary) 100%);
}

.cta-final {
    text-align: center;
    max-width: 640px;
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.cta-final h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-md);
}

.cta-final p {
    max-width: none;
    margin-bottom: var(--space-xl);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 480px) {
    .cta-final h2 {
        font-size: var(--text-2xl);
    }
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    align-items: start;
}

.footer-brand .footer-logo {
    margin-bottom: 0;
}

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: var(--space-md);
    border-radius: 0;
}

.footer-nav-col h4 {
    color: var(--color-text-primary);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-md);
}

.footer-nav-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-nav-col a,
.site-footer .footer-nav-col a {
    color: var(--color-text-secondary) !important;
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
    text-decoration: none;
}

.footer-nav-col a:hover,
.site-footer .footer-nav-col a:hover {
    color: var(--color-cta-green) !important;
}

.footer-compliance {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-xl);
    margin-bottom: var(--space-xl);
    text-align: center;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--color-warning-soft);
    border: 2px solid var(--color-warning);
    color: var(--color-warning);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-md);
}

.footer-disclaimer {
    color: var(--color-text-muted);
    font-size: var(--text-xs);
    line-height: var(--line-height-relaxed);
    max-width: 800px;
    margin: 0 auto var(--space-md);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-lg);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: var(--text-xs);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top-btn {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base), background var(--transition-fast), color var(--transition-fast);
    z-index: 900;
    box-shadow: var(--shadow-md);
}

.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--color-cta-green);
    color: #000;
    border-color: var(--color-cta-green);
}

@media (max-width: 480px) {
    .scroll-top-btn {
        bottom: var(--space-md);
        right: var(--space-md);
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   PAGE-SPECIFIC: body lock for mobile nav
   ======================================== */
body.nav-open {
    overflow: hidden;
}

.width-full {
    max-width: 100% !important;
}