:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --dark: #111827;
    --darker: #030712;
    --light: #fafaf9;
    --text: #374151;
    --border: #d1d5db;
    --success: #059669;
    --warning: #dc2626;
    --radius: 12px;
    --sidebar-width: 300px;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--light);
    color: var(--text);
    margin: 0;
    line-height: 1.65;
    font-size: 16px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================
   HEADER
   ========================= */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.fallback-logo {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.desktop-nav {
    display: none;
    gap: 32px;
}

@media(min-width: 900px) {
    .desktop-nav {
        display: flex;
    }

    .desktop-nav a {
        font-weight: 600;
        color: var(--text);
        font-size: 0.938rem;
        position: relative;
        padding: 4px 0;
    }

    .desktop-nav a::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 3px;
        background: var(--primary);
        transition: width 0.3s ease;
        border-radius: 2px;
    }

    .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: 16px;
}

.login-link {
    font-weight: 600;
    color: var(--text);
    display: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.login-link:hover {
    background: #f3f4f6;
}

@media(min-width: 600px) {
    .login-link {
        display: block;
    }
}

.cta-button {
    background: linear-gradient(
      135deg,
      var(--accent) 0%,
      var(--accent-hover) 100%
    );
    color: white;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent
    );
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* =========================
   GAME STAGE HERO
   ========================= */
.game-stage {
    background: linear-gradient(
      165deg,
      #1e3a8a 0%,
      #312e81 50%,
      #1e293b 100%
    );
    color: white;
    padding: 56px 0 80px;
    position: relative;
    overflow: hidden;
}

.game-stage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 20% 30%,
        rgba(59, 130, 246, 0.15) 0%,
        transparent 50%
      ),
      radial-gradient(
        circle at 80% 70%,
        rgba(245, 158, 11, 0.1) 0%,
        transparent 50%
      );
    pointer-events: none;
}

.game-meta-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.game-meta-header h1 {
    margin: 0 0 12px 0;
    font-size: 2.75rem;
    letter-spacing: -1.5px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: #cbd5e1;
    margin-top: 8px;
    font-size: 1.15rem;
    font-weight: 400;
}

.mode-toggles {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: inline-flex;
    padding: 6px;
    border-radius: 12px;
    margin-top: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

.mode-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.938rem;
    transition: all 0.3s;
}

.mode-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.mode-btn.active {
    background: linear-gradient(
      135deg,
      var(--accent) 0%,
      var(--accent-hover) 100%
    );
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* VIEWPORT & TICKER */
.game-viewport {
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    max-width: 950px;
    margin: 0 auto;
    border: 2px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8),
      0 0 40px rgba(59, 130, 246, 0.2);
    position: relative;
    z-index: 1;
}

.live-ticker {
    background: linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.95) 0%,
      rgba(30, 41, 59, 0.95) 100%
    );
    color: white;
    font-size: 0.813rem;
    padding: 12px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    animation: ticker-glow 2s ease-in-out infinite;
    position: relative;
}

@keyframes ticker-glow {
    0%, 100% {
        box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.1);
    }
    50% {
        box-shadow: inset 0 0 30px rgba(59, 130, 246, 0.2);
    }
}

.ticker-content {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    display: inline-block;
    color: #fbbf24;
    font-weight: 600;
    padding: 0 16px;
}

.game-iframe-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.game-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.85) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 10;
    backdrop-filter: blur(6px);
}

.play-trigger h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.play-trigger p {
    margin: 8px 0 0 0;
    color: #cbd5e1;
    font-size: 1rem;
}

.play-icon-shape {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--accent) 0%, #ea580c 100%);
    border-radius: 50%;
    color: white;
    font-size: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 6px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.5),
      0 0 60px rgba(245, 158, 11, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.play-icon-shape::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ea580c);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
    filter: blur(12px);
}

.play-link:hover .play-icon-shape {
    transform: scale(1.15);
}

.play-link:hover .play-icon-shape::after {
    opacity: 0.6;
}

.game-controls-ui {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 20px;
    border-top: 2px solid rgba(59, 130, 246, 0.2);
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    align-items: center;
}

.control-panel label {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.stepper {
    display: flex;
    background: #0f172a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #334155;
}

.stepper button {
    width: 36px;
    background: #1e293b;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.25rem;
    transition: background 0.2s;
}

.stepper button:hover {
    background: #334155;
}

.stepper input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
}

.difficulty-selector {
    display: flex;
    gap: 6px;
    justify-content: center;
    background: #0f172a;
    padding: 6px;
    border-radius: 10px;
    border: 1px solid #334155;
}

.diff-btn {
    background: transparent;
    border: none;
    color: #64748b;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
}

.diff-btn:hover {
    background: #1e293b;
    color: #94a3b8;
}

.diff-btn.active {
    background: #334155;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.diff-btn.active.easy {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.diff-btn.active.medium {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.diff-btn.active.hard {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.diff-btn.active.hardcore {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.action-btn {
    display: block;
    background: linear-gradient(135deg, var(--success) 0%, #047857 100%);
    color: white;
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
    transition: all 0.2s;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 32px;
    color: #cbd5e1;
    font-size: 0.875rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.badge-item {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

/* =========================
   MAIN CONTENT
   ========================= */
.main-content-layout {
    display: flex;
    gap: 56px;
    padding-top: 72px;
    padding-bottom: 72px;
    align-items: flex-start;
}

.toc-sidebar {
    width: var(--sidebar-width);
    position: sticky;
    top: 120px;
    background: white;
    padding: 28px;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    display: none;
    box-shadow: var(--shadow-md);
}

@media (min-width: 1024px) {
    .toc-sidebar {
        display: block;
    }
}

.toc-sidebar h3 {
    margin-top: 0;
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--dark);
    border-bottom: 3px solid var(--primary);
    padding-bottom: 12px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.toc-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-sidebar li {
    margin-bottom: 14px;
}

.toc-sidebar a {
    color: #6b7280;
    font-size: 0.938rem;
    font-weight: 500;
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}

.toc-sidebar a:hover {
    color: var(--primary);
    background: #f3f4f6;
    transform: translateX(4px);
}

.promo-box {
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    color: white;
    padding: 24px;
    border-radius: 12px;
    margin-top: 32px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.promo-box h4 {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 800;
}

.promo-box p {
    margin: 0 0 16px 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.small-btn {
    display: inline-block;
    background: linear-gradient(
      135deg,
      var(--accent) 0%,
      var(--accent-hover) 100%
    );
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    transition: all 0.2s;
}

.small-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.long-read {
    flex: 1;
    max-width: 100%;
}

.long-read section {
    margin-bottom: 80px;
    scroll-margin-top: 100px;
}

.long-read h2 {
    font-size: 2.25rem;
    color: var(--dark);
    border-left: 5px solid var(--primary);
    padding-left: 20px;
    margin-bottom: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.long-read h3 {
    font-size: 1.625rem;
    color: var(--text);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-left: 16px;
}

.long-read h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 20px;
    background: var(--accent);
    border-radius: 2px;
}

.long-read h4 {
    font-size: 1.25rem;
    color: var(--text);
    margin-top: 28px;
    margin-bottom: 16px;
    font-weight: 700;
}

.long-read p {
    margin-bottom: 24px;
    font-size: 1.063rem;
    line-height: 1.75;
    color: #4b5563;
}

.long-read strong {
    color: var(--dark);
    font-weight: 700;
}

.detailed-list,
.payment-list {
    margin: 24px 0;
}

.detailed-list li {
    margin-bottom: 16px;
    padding-left: 28px;
    position: relative;
}

.detailed-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* VISUALS & TABLES */
.article-visual {
    margin: 48px 0;
    background: #fafafa;
    padding: 24px;
    border-radius: 16px;
    border: 2px dashed #d1d5db;
    text-align: center;
}

.visual-placeholder {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-weight: 700;
    border-radius: 12px;
    font-size: 1.125rem;
}

.article-visual figcaption {
    margin-top: 16px;
    font-style: italic;
    color: #6b7280;
    font-size: 0.938rem;
    font-weight: 500;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 40px 0;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 650px;
}

.data-table th {
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    color: white;
    padding: 18px 20px;
    text-align: left;
    white-space: nowrap;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.938rem;
}

.data-table tbody tr {
    transition: all 0.2s;
}

.data-table tbody tr:hover {
    background: #f9fafb;
    transform: scale(1.01);
}

.data-table td strong {
    color: var(--success);
    font-weight: 800;
}

.payment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
}

.payment-list li {
    background: white;
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.938rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.payment-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.payment-list li:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.payment-list li:hover::before {
    transform: scaleX(1);
}

.payment-list strong {
    display: block;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 1.063rem;
    font-weight: 700;
}

.alert-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left: 6px solid var(--accent);
    padding: 24px;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.alert-box strong {
    color: var(--accent-hover);
    font-weight: 800;
}

.download-cta-area {
    text-align: center;
    margin-top: 48px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 48px;
    border-radius: 16px;
    border: 2px solid #bfdbfe;
}

.app-showcase-container {
    margin: 56px 0;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 32px 0;
    border-radius: 20px;
    border: 2px solid #e2e8f0;
    box-shadow: var(--shadow-lg);
}

.app-scroller {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 16px 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
}

@media (min-width: 768px) {
    .app-scroller {
        justify-content: center;
    }
}

.app-screen {
    flex: 0 0 auto;
    height: 480px;
    width: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
    scroll-snap-align: center;
    border: 6px solid #1e293b;
    background: #000;
    transition: transform 0.3s;
}

.app-screen:hover {
    transform: scale(1.05);
}

.app-scroller::-webkit-scrollbar {
    height: 10px;
}

.app-scroller::-webkit-scrollbar-track {
    background: transparent;
}

.app-scroller::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 20px;
}

.app-showcase-container figcaption {
    margin-top: 20px;
    color: #64748b;
    font-size: 0.938rem;
    font-weight: 600;
}

.app-fallback {
    display: none;
    height: 480px;
    width: 260px;
    background: #e2e8f0;
    border-radius: 24px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 3px dashed #94a3b8;
    color: #64748b;
    font-weight: 700;
}

.content-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: var(--shadow-md);
}

.payments-visual .visual-placeholder {
    background: white;
    border: 2px dashed var(--border);
    font-size: 1rem;
}

/* =========================
   FAQ
   ========================= */
.accordion details {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.accordion details:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.accordion summary {
    padding: 20px 24px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--dark);
    font-size: 1.063rem;
}

.accordion summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.accordion details[open] summary {
    border-bottom: 2px solid #f3f4f6;
}

.accordion details[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.acc-text {
    padding: 24px;
    color: #6b7280;
    line-height: 1.75;
    font-size: 1rem;
}

/* =========================
   FINAL CTA SECTION
   ========================= */
.final-cta-section {
    text-align: center;
    padding: 72px 48px;
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    color: white;
    border-radius: 20px;
    margin-top: 80px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(
      circle,
      rgba(245, 158, 11, 0.15) 0%,
      transparent 70%
    );
    pointer-events: none;
}

.final-cta-section h3 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -1px;
}

.final-cta-section p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 32px;
}

.cta-button.large {
    padding: 18px 48px;
    font-size: 1.125rem;
    margin-top: 0;
    border-radius: 12px;
}

/* =========================
   FOOTER (FIXED)
   ========================= */
footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1e 100%);
    color: #e0e0e0;
    padding: 60px 0 0;
    margin-top: 80px;
    border-top: 3px solid #ffd700;
}

.footer-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-col h4 {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #b0b0b0;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #ffd700;
    border-radius: 8px;
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ffd700;
    color: #1a1a2e;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffd700;
    padding-left: 5px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px 0;
    margin-top: 40px;
}

.payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.payment-methods span {
    color: #ffd700;
    font-weight: 600;
    margin-right: 10px;
}

.pm-icon {
    height: 30px;
    width: auto;
    filter: brightness(0.9);
    transition: transform 0.3s ease;
}

.pm-icon:hover {
    transform: scale(1.1);
}

.licenses {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.lic-badge {
    height: 50px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.lic-badge:hover {
    opacity: 1;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto 25px;
    text-align: center;
}

.legal-text p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #888;
    margin-bottom: 15px;
}

.legal-text strong {
    color: #ffd700;
}

.legal-text a {
    color: #ffd700;
    text-decoration: none;
}

.legal-text a:hover {
    text-decoration: underline;
}

.disclaimer {
    background: rgba(255, 69, 0, 0.1);
    border-left: 3px solid #ff4500;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
}

.footer-menu {
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-menu a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 5px;
}

.footer-menu a:hover {
    color: #ffd700;
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

/* =========================
   RESPONSIVE MEDIA QUERIES
   ========================= */
@media (max-width: 768px) {
    .main-content-layout {
        flex-direction: column;
        padding-top: 48px;
    }

    .toc-sidebar {
        display: none;
    }

    .game-controls-ui {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .difficulty-selector {
        flex-wrap: wrap;
    }

    /* Footer Responsive */
    footer {
        padding: 40px 0 0;
        margin-top: 60px;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 30px;
        text-align: center;
    }

    .footer-col {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .payment-methods,
    .licenses {
        flex-direction: column;
        gap: 10px;
    }

    .footer-menu {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .legal-text p {
        font-size: 0.8rem;
    }

    .game-meta-header h1 {
        font-size: 2rem;
    }

    .long-read h2 {
        font-size: 1.75rem;
    }

    .long-read h3 {
        font-size: 1.375rem;
    }

    .final-cta-section {
        padding: 48px 24px;
    }

    .final-cta-section h3 {
        font-size: 1.875rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-wrap: nowrap;
    }

    .cta-button {
        padding: 10px 16px;
        font-size: 0.75rem;
    }

    .game-stage {
        padding: 40px 0 56px;
    }

    .game-meta-header h1 {
        font-size: 1.625rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .payment-list {
        grid-template-columns: 1fr;
    }

    .pm-icon {
        height: 25px;
    }

    .lic-badge {
        height: 40px;
    }
}