:root {
    --primary: #0056b3;
    --primary-dark: #004094;
    --accent: #ff6b00;
    --accent-hover: #e65e00;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --text: #334155;
    --text-light: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --sidebar-width: 300px;
    --max-width: 1280px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--light);
    color: var(--text);
    margin: 0;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ============================================
   HEADER
============================================ */
header {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 12px 0;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-img {
    height: 42px;
    width: auto;
    display: block;
}

.fallback-logo {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--dark);
    display: none;
}

.desktop-nav {
    display: none;
    gap: 30px;
}

@media(min-width: 900px) {
    .desktop-nav {
        display: flex;
    }

    .desktop-nav a {
        font-weight: 600;
        color: var(--text);
        font-size: 0.95rem;
        position: relative;
    }

    .desktop-nav a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: width 0.2s;
    }

    .desktop-nav a:hover::after,
    .desktop-nav a.active::after {
        width: 100%;
    }

    .desktop-nav a:hover,
    .desktop-nav a.active {
        color: var(--primary);
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-link {
    font-weight: 600;
    color: var(--text);
    display: none;
}

@media(min-width: 600px) {
    .login-link {
        display: block;
    }
    
    .login-link:hover {
        color: var(--primary);
    }
}

.cta-button {
    background: var(--accent);
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
}

.cta-button.large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ============================================
   GAME STAGE HERO
============================================ */
.game-stage {
    background: linear-gradient(180deg, var(--dark) 0%, #1e293b 100%);
    color: white;
    padding: 40px 0 60px;
}

.game-meta-header {
    text-align: center;
    margin-bottom: 30px;
}

.game-meta-header h1 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    letter-spacing: -1px;
    line-height: 1.2;
}

.subtitle {
    color: #94a3b8;
    margin: 10px auto 0;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    max-width: 800px;
}

.mode-toggles {
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    padding: 4px;
    border-radius: 50px;
    margin-top: 20px;
}

.mode-btn {
    background: transparent;
    border: none;
    color: #cbd5e1;
    padding: 10px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.mode-btn:hover {
    background: rgba(255,255,255,0.1);
}

.mode-btn.active {
    background: white;
    color: var(--dark);
}

/* ============================================
   GAME VIEWPORT
============================================ */
.game-viewport {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #334155;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.live-ticker {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    font-size: 0.85rem;
    padding: 10px;
    display: flex;
    gap: 30px;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 1px solid #333;
    scrollbar-width: none;
}

.live-ticker::-webkit-scrollbar {
    display: none;
}

.ticker-item {
    color: #fbbf24;
    font-weight: 600;
}

.game-iframe-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 10;
    backdrop-filter: blur(6px);
}

.play-trigger {
    text-align: center;
}

.play-trigger h2 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin: 0 0 10px;
}

.play-trigger p {
    color: #cbd5e1;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.play-icon-shape {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    color: white;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 6px;
    margin: 0 auto 20px;
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.5);
    transition: transform 0.3s;
    cursor: pointer;
}

.play-link:hover .play-icon-shape {
    transform: scale(1.15);
}

/* Game Controls */
.game-controls-ui {
    background: #1e293b;
    padding: 20px 15px;
    border-top: 1px solid #334155;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media(min-width: 768px) {
    .game-controls-ui {
        grid-template-columns: 1fr 2fr 1fr;
    }
}

.control-panel label {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stepper {
    display: flex;
    background: #0f172a;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #334155;
}

.stepper button {
    width: 40px;
    background: #334155;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s;
}

.stepper button:hover {
    background: #475569;
}

.stepper input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.difficulty-selector {
    display: flex;
    gap: 6px;
    justify-content: center;
    background: #0f172a;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #334155;
    flex-wrap: wrap;
}

.diff-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.diff-btn:hover {
    background: rgba(255,255,255,0.05);
}

.diff-btn.active {
    color: white;
    font-weight: 700;
}

.diff-btn.active.easy {
    background: var(--success);
}

.diff-btn.active.medium {
    background: var(--warning);
}

.diff-btn.active.hard {
    background: var(--accent);
}

.diff-btn.active.hardcore {
    background: var(--danger);
}

.action-btn {
    display: block;
    background: var(--success);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.action-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
    color: #94a3b8;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ============================================
   MAIN CONTENT LAYOUT
============================================ */
.main-content-layout {
    display: flex;
    gap: 50px;
    padding-top: 60px;
    padding-bottom: 80px;
    align-items: flex-start;
}

@media(max-width: 1023px) {
    .main-content-layout {
        flex-direction: column;
    }
}

/* ============================================
   TOC SIDEBAR
============================================ */
.toc-sidebar {
    width: var(--sidebar-width);
    position: sticky;
    top: 100px;
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
}

@media(min-width: 1024px) {
    .toc-sidebar {
        display: block;
    }
}

.toc-sidebar h3 {
    margin-top: 0;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.toc-sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-sidebar nav li {
    margin-bottom: 12px;
}

.toc-sidebar nav a {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    display: block;
    padding: 4px 0;
    transition: all 0.2s;
}

.toc-sidebar nav a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.promo-box {
    background: linear-gradient(135deg, var(--dark) 0%, #1e40af 100%);
    color: white;
    padding: 25px;
    border-radius: var(--radius);
    margin-top: 30px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.promo-box h4 {
    margin: 0 0 10px;
    color: #fbbf24;
    font-size: 1rem;
}

.promo-value {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 10px 0;
}

.promo-code {
    font-size: 0.9rem;
    margin: 10px 0;
}

.small-btn {
    display: inline-block;
    background: white;
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 700;
    margin-top: 15px;
    font-size: 0.9rem;
}

.small-btn:hover {
    background: #f1f5f9;
}

.author-box {
    margin-top: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-box img {
    border-radius: 50%;
    border: 3px solid var(--primary);
}

.author-box strong {
    display: block;
    color: var(--dark);
    margin-bottom: 4px;
}

.author-box span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ============================================
   ARTICLE CONTENT
============================================ */
.long-read {
    flex: 1;
    max-width: 100%;
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

@media(max-width: 768px) {
    .long-read {
        padding: 25px 20px;
    }
}

.long-read section {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
}

.long-read h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--dark);
    border-bottom: 3px solid var(--primary);
    padding-bottom: 15px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.long-read h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    color: var(--text);
    margin-top: 40px;
    margin-bottom: 20px;
}

.long-read h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-top: 25px;
    margin-bottom: 15px;
}

.long-read p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.intro-text {
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 500;
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin-bottom: 30px;
}

.long-read ul,
.long-read ol {
    margin: 20px 0;
    padding-left: 25px;
}

.long-read li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.long-read strong {
    color: var(--dark);
    font-weight: 700;
}

.long-read code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--danger);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.info-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.info-card h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: var(--dark);
}

.info-card ul {
    padding-left: 0;
    list-style: none;
}

.info-card li {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.info-card li:last-child {
    border-bottom: none;
}

/* Visuals */
.article-visual {
    margin: 40px 0;
    text-align: center;
}

.article-visual img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.article-visual figcaption {
    margin-top: 15px;
    font-style: italic;
    color: var(--text-light);
    font-size: 0.95rem;
}

.visual-placeholder {
    background: #f1f5f9;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px dashed #cbd5e1;
}

/* Step by Step */
.step-by-step {
    margin: 30px 0;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.step h4 {
    margin-top: 0;
    color: var(--dark);
}

.tech-note {
    font-size: 0.95rem;
    color: var(--text-light);
    background: #eff6ff;
    padding: 10px 15px;
    border-radius: 4px;
    margin-top: 10px;
}

/* Tables */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 30px 0;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px;
}

.data-table thead {
    background: var(--dark);
    color: white;
}

.data-table th {
    padding: 15px;
    text-align: left;
    font-weight: 700;
    white-space: nowrap;
    font-size: 0.95rem;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.data-table tbody tr:hover {
    background: #f8fafc;
}

.data-table.comparison tbody tr.highlight {
    background: #eff6ff;
    font-weight: 600;
}

.mini-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 0.95rem;
}

.mini-table th,
.mini-table td {
    padding: 10px;
    border: 1px solid var(--border);
    text-align: left;
}

.mini-table th {
    background: #f8fafc;
    font-weight: 600;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge.easy {
    background: var(--success);
    color: white;
}

.badge.medium {
    background: var(--warning);
    color: white;
}

.badge.hard {
    background: var(--accent);
    color: white;
}

.badge.hardcore {
    background: var(--danger);
    color: white;
}

/* Strategy Cards */
.strategy-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    margin: 30px 0;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.strategy-card.featured {
    border-color: var(--success);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.strategy-card.high-risk {
    border-color: var(--danger);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2);
}

.strategy-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 15px;
}

.strategy-card.featured .strategy-header {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.strategy-card.high-risk .strategy-header {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.strategy-header h3 {
    margin: 0;
    font-size: 1.4rem;
}

.win-rate {
    padding: 8px 16px;
    background: var(--success);
    color: white;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.win-rate.danger {
    background: var(--danger);
}

.strategy-body {
    padding: 25px;
}

.strategy-body h4 {
    color: var(--primary);
    margin-top: 20px;
}

/* Math Formulas */
.formula {
    font-family: 'Courier New', monospace;
    background: #f8fafc;
    padding: 15px 20px;
    border-left: 4px solid var(--primary);
    margin: 20px 0;
    font-size: 1.05rem;
    overflow-x: auto;
}

.math-box {
    background: #eff6ff;
    padding: 25px;
    border-radius: var(--radius);
    margin: 30px 0;
    border: 2px solid #3b82f6;
}

.math-box h4 {
    color: var(--primary);
    margin-top: 0;
}

/* Code Blocks */
.code-block {
    margin: 30px 0;
}

.code-block h4 {
    margin-bottom: 10px;
    color: var(--text);
}

.code-block pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: var(--radius);
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Example & Warning Boxes */
.example-box {
    background: #f0fdf4;
    padding: 20px;
    border-left: 4px solid var(--success);
    border-radius: var(--radius);
    margin: 20px 0;
}

.warning-box,
.alert-box {
    background: #fff7ed;
    padding: 20px;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    margin: 20px 0;
}

.note {
    background: #eff6ff;
    padding: 15px;
    border-left: 4px solid #3b82f6;
    border-radius: 4px;
    margin: 20px 0;
    font-size: 0.95rem;
}

/* Tech Lists */
.tech-list {
    counter-reset: tech-counter;
    list-style: none;
    padding-left: 0;
}

.tech-list li {
    counter-increment: tech-counter;
    position: relative;
    padding-left: 40px;
    margin-bottom: 15px;
}

.tech-list li::before {
    content: counter(tech-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

/* App Section */
.app-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.platform-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.platform-card.android {
    border-top: 4px solid #3ddc84;
}

.platform-card.ios {
    border-top: 4px solid #147ce5;
}

.platform-card h3 {
    margin-top: 20px;
    font-size: 1.5rem;
}

.platform-card img {
    margin: 20px auto;
}

.app-specs {
    text-align: left;
    background: #f8fafc;
    padding: 20px;
    border-radius: var(--radius);
    margin: 20px 0;
}

.app-specs p {
    margin: 10px 0;
    font-size: 0.95rem;
}

.download-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 20px 0 10px;
    box-shadow: var(--shadow-lg);
}

.download-btn.android {
    background: #3ddc84;
    color: #003820;
}

.download-btn.ios {
    background: #147ce5;
    color: white;
}

.download-btn:hover {
    transform: translateY(-2px);
}

.security-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* Payment Section */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.payment-method {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.payment-method.featured {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 86, 179, 0.2);
}

.payment-method img {
    margin-bottom: 15px;
}

.payment-method h3 {
    margin-top: 10px;
    font-size: 1.3rem;
}

.method-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.stat {
    font-size: 0.85rem;
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 20px;
    font-weight: 600;
}

.method-score {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--success);
    margin-top: 20px;
    text-align: center;
}

/* Verification Process */
.verification-process {
    background: #f8fafc;
    padding: 30px;
    border-radius: var(--radius);
    margin: 40px 0;
}

.kyc-steps {
    margin: 30px 0;
}

.kyc-step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

/* FAQ Section */
.accordion details {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}

.accordion summary {
    padding: 18px 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
    font-size: 1.05rem;
}

.accordion summary:hover {
    background: #f8fafc;
}

.accordion summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.5rem;
}

.accordion details[open] summary {
    border-bottom: 1px solid var(--border);
    background: #f8fafc;
}

.accordion details[open] summary::after {
    content: '−';
}

.acc-text {
    padding: 20px;
    color: var(--text);
}

.acc-text h4 {
    color: var(--primary);
    margin-top: 15px;
}

.faq-mini {
    margin: 30px 0;
}

.faq-mini h4 {
    margin-bottom: 15px;
}

/* Final CTA */
.final-cta-section {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--dark) 0%, #1e40af 100%);
    color: white;
    border-radius: var(--radius);
    margin-top: 60px;
    box-shadow: var(--shadow-lg);
}

.final-cta-section h3 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-top: 0;
    margin-bottom: 15px;
}

.final-cta-section p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #cbd5e1;
}

.disclaimer {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 20px;
}

/* ============================================
   FOOTER
============================================ */
.main-footer {
    background: var(--darker);
    color: #94a3b8;
    padding: 60px 0 30px;
    border-top: 5px solid var(--accent);
    margin-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
    margin-bottom: 30px;
}

@media(max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.footer-brand h3 {
    color: white;
    margin-top: 0;
    font-size: 1.4rem;
}

.footer-brand p {
    line-height: 1.7;
    margin: 15px 0;
}

.footer-licenses {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
}

.f-col h4 {
    color: white;
    font-size: 0.9rem;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.f-col a,
.f-col p {
    display: block;
    margin-bottom: 10px;
    color: #64748b;
    font-size: 0.9rem;
}

.f-col a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    border-radius: 50%;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary);
    padding-left: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 30px;
}

@media(max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-payment span {
    font-weight: 600;
    color: white;
}

.footer-disclaimer {
    text-align: right;
}

@media(max-width: 768px) {
    .footer-disclaimer {
        text-align: center;
    }
}

.footer-disclaimer p {
    margin: 8px 0;
}

.footer-disclaimer a {
    color: var(--accent);
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
============================================ */
@media(max-width: 768px) {
    .game-controls-ui {
        padding: 15px 10px;
    }
    
    .diff-btn {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .strategy-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .step {
        flex-direction: column;
    }
    
    .table-container {
        font-size: 0.85rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 10px 8px;
    }
}

@media(max-width: 480px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .cta-button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .mode-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}