/* ==========================================================================
   Mogopogo Studio - Fully Dynamic Ultra-Modern Theme (Light & Dark Ready)
   ========================================================================== */

:root, [data-theme="light"] {
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-alt: #f1f5f9;
    --bg-header: rgba(255, 255, 255, 0.92);
    --bg-modal: rgba(255, 255, 255, 0.98);
    
    --primary: #4f46e5;          /* Electric Indigo */
    --primary-hover: #4338ca;
    --primary-glow: rgba(79, 70, 229, 0.25);
    --primary-light: #eef2ff;

    --secondary: #0891b2;        /* Vivid Cyan */
    --secondary-hover: #0e7490;
    --secondary-glow: rgba(8, 145, 178, 0.25);
    --secondary-light: #ecfeff;

    --accent-purple: #7c3aed;
    --accent-pink: #db2777;
    --accent-amber: #d97706;
    --accent-emerald: #059669;
    --accent-rose: #e11d48;
    
    --text-main: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-dim: #94a3b8;
    
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --card-shadow-hover: 0 20px 35px -5px rgba(79, 70, 229, 0.16), 0 10px 15px -5px rgba(15, 23, 42, 0.06);
    --canvas-opacity: 0.4;
}

[data-theme="dark"] {
    --bg-main: #080b12;
    --bg-surface: #101624;
    --bg-alt: #0c101b;
    --bg-header: rgba(8, 11, 18, 0.92);
    --bg-modal: #101624;
    
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.35);
    --primary-light: rgba(99, 102, 241, 0.15);

    --secondary: #00f0ff;
    --secondary-hover: #0891b2;
    --secondary-glow: rgba(0, 240, 255, 0.35);
    --secondary-light: rgba(0, 240, 255, 0.15);

    --accent-purple: #a855f7;
    --accent-pink: #f43f5e;
    --accent-amber: #f59e0b;
    --accent-emerald: #10b981;
    --accent-rose: #f43f5e;
    
    --text-main: #f8fafc;
    --text-body: #cbd5e1;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(0, 240, 255, 0.3);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --card-shadow-hover: 0 20px 40px rgba(99, 102, 241, 0.25);
    --canvas-opacity: 0.65;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-body);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

#ambientCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: var(--canvas-opacity);
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-main);
    letter-spacing: 0.3px;
}

/* ==========================================================================
   Navbar & Theme Toggle Button
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 8px 18px var(--primary-glow);
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
}

.logo-text span {
    color: var(--primary);
}

.logo-text small {
    display: block;
    font-size: 10px;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.theme-toggle-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.theme-toggle-btn:hover {
    transform: rotate(15deg) scale(1.05);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-primary-glow {
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    color: #fff;
    text-decoration: none;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

.menu-toggle {
    display: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-main);
}

/* ==========================================================================
   Hero Interactive Slider
   ========================================================================== */
.hero-slider-section {
    position: relative;
    height: 85vh;
    min-height: 560px;
    margin-top: 76px;
    overflow: hidden;
    background: var(--bg-surface);
    z-index: 1;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    max-width: 760px;
    margin-left: 8%;
    padding: 30px;
    z-index: 10;
}

.badge-neon {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.badge-neon.indigo { background: var(--primary-light); border: 1px solid rgba(79, 70, 229, 0.3); color: var(--primary); }
.badge-neon.cyan { background: var(--secondary-light); border: 1px solid rgba(8, 145, 178, 0.3); color: var(--secondary); }
.badge-neon.purple { background: rgba(124, 58, 237, 0.15); border: 1px solid rgba(124, 58, 237, 0.3); color: var(--accent-purple); }
.badge-neon.pink { background: rgba(219, 39, 119, 0.15); border: 1px solid rgba(219, 39, 119, 0.3); color: var(--accent-pink); }
.badge-neon.amber { background: rgba(217, 119, 6, 0.15); border: 1px solid rgba(217, 119, 6, 0.3); color: var(--accent-amber); }
.badge-neon.rose { background: rgba(225, 29, 72, 0.15); border: 1px solid rgba(225, 29, 72, 0.3); color: var(--accent-rose); }

.slide-title {
    font-size: 46px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-main);
}

.slide-title span {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-desc {
    font-size: 16.5px;
    color: var(--text-body);
    margin-bottom: 30px;
    max-width: 580px;
}

.slide-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero {
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: #fff;
    text-decoration: none;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px;
    box-shadow: 0 6px 20px var(--primary-glow);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(79, 70, 229, 0.4);
}

.btn-hero-outline {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-color);
    color: var(--text-main);
    text-decoration: none;
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    z-index: 20;
}

.slider-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.prev-btn { left: 24px; }
.next-btn { right: 24px; }

.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    width: 34px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* ==========================================================================
   Games Hub: Search, Filter Pills & Carousel
   ========================================================================== */
.games-hub-section {
    padding: 90px 20px;
    background: var(--bg-alt);
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.section-tag {
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid rgba(79, 70, 229, 0.2);
    padding: 6px 16px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 12px;
}

.section-heading {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--text-main);
}

.section-heading span {
    color: var(--primary);
}

.section-subtext {
    font-size: 15.5px;
    color: var(--text-muted);
}

.hub-controls {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    max-width: 460px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 15px;
}

.search-input-wrapper input {
    width: 100%;
    padding: 13px 44px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.search-input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.clear-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
}

.filter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-pill {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--card-shadow);
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.games-carousel-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
}

.games-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 8px;
    scrollbar-width: none;
    width: 100%;
}

.games-track::-webkit-scrollbar {
    display: none;
}

.game-card {
    flex: 0 0 300px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: var(--card-shadow);
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: rgba(79, 70, 229, 0.4);
    box-shadow: var(--card-shadow-hover);
}

.game-icon-holder {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
}

.game-icon-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.game-card:hover .game-icon-holder img {
    transform: scale(1.08);
}

.game-badge-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
}

.game-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.94);
    color: #b45309;
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.game-info {
    padding: 22px;
}

.game-info h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-main);
}

.game-info .category {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.game-actions {
    display: flex;
    gap: 10px;
}

.btn-download {
    flex: 1;
    background: var(--primary-light);
    border: 1px solid rgba(79, 70, 229, 0.25);
    color: var(--primary);
    text-decoration: none;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-policy {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    text-decoration: none;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-policy:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: var(--secondary-light);
}

.carousel-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 6px 20px var(--primary-glow);
}

/* ==========================================================================
   Features Section (Khobian)
   ========================================================================== */
.features-section {
    padding: 100px 24px;
    background: var(--bg-main);
    position: relative;
    z-index: 1;
}

.features-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 34px 28px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    transition: height 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: var(--card-shadow-hover);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
}

.glow-indigo { background: var(--primary-light); color: var(--primary); }
.glow-cyan { background: var(--secondary-light); color: var(--secondary); }
.glow-purple { background: rgba(124, 58, 237, 0.12); color: var(--accent-purple); }
.glow-emerald { background: rgba(5, 150, 105, 0.12); color: var(--accent-emerald); }
.glow-amber { background: rgba(217, 119, 6, 0.12); color: var(--accent-amber); }
.glow-rose { background: rgba(225, 29, 72, 0.12); color: var(--accent-rose); }

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   Milestones / Stats
   ========================================================================== */
.stats-section {
    padding: 70px 24px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-box {
    padding: 20px;
}

.stat-number-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: var(--text-main);
}

.stat-suffix {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--primary);
}

.stat-label {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

/* ==========================================================================
   Interactive Game Detail Modal
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.modal-box {
    background: var(--bg-modal);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: var(--primary);
    color: #fff;
}

.modal-banner-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.modal-banner-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-inner-content {
    padding: 30px;
}

.modal-inner-content h2 {
    font-size: 26px;
    margin-bottom: 6px;
}

.modal-meta-row {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 13.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: var(--primary);
}

.modal-desc-text {
    font-size: 15.5px;
    color: var(--text-body);
    margin-bottom: 24px;
    line-height: 1.7;
}

.modal-btn-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-section {
    position: relative;
    background-color: #0f172a;
    background-image: url('https://images.unsplash.com/photo-1538481199705-c710c4e965fc?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding-top: 80px;
    border-top: 1px solid var(--border-color);
    z-index: 1;
}

.footer-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.98) 100%);
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr 1.3fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo .logo-text { color: #ffffff; }
.footer-logo .logo-text span { color: #38bdf8; }

.footer-about {
    font-size: 14.5px;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 380px;
}

.social-links-wrapper h4 {
    font-size: 14px;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: #38bdf8;
}

.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.soc-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.soc-btn:hover { transform: translateY(-4px); }
.soc-btn.facebook:hover { background: #1877f2; border-color: #1877f2; }
.soc-btn.youtube:hover { background: #ff0000; border-color: #ff0000; }
.soc-btn.instagram:hover { background: #e4405f; border-color: #e4405f; }
.soc-btn.twitter:hover { background: #000000; border-color: #ffffff; }
.soc-btn.discord:hover { background: #5865f2; border-color: #5865f2; }
.soc-btn.tiktok:hover { background: #00f2fe; color: #000; border-color: #00f2fe; }

.footer-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
    color: #ffffff;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #38bdf8;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links a:hover { color: #38bdf8; transform: translateX(4px); }

.contact-line {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-line i { color: #38bdf8; }

.newsletter-box { margin-top: 20px; }
.newsletter-box label {
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    display: block;
    margin-bottom: 8px;
}

.newsletter-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.newsletter-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 14px;
    color: #fff;
    font-size: 13.5px;
    outline: none;
}

.btn-sub {
    background: var(--primary);
    border: none;
    color: #fff;
    padding: 0 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-sub:hover { background: var(--secondary); }

.sub-success-msg {
    margin-top: 8px;
    font-size: 12.5px;
    color: #34d399;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13.5px;
    color: #64748b;
}

.bottom-legal { display: flex; gap: 14px; }
.bottom-legal a { color: #94a3b8; text-decoration: none; transition: all 0.3s ease; }
.bottom-legal a:hover { color: #38bdf8; }

/* ==========================================================================
   Privacy Policy Dedicated Page
   ========================================================================== */
.page-banner {
    position: relative;
    background: url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    padding: 140px 20px 60px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-header) 0%, var(--bg-main) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.banner-content h1 { font-size: 38px; margin-bottom: 10px; }
.banner-content p { color: var(--text-muted); font-size: 15.5px; }

.privacy-section {
    padding: 60px 24px 100px 24px;
    background: var(--bg-main);
    position: relative;
    z-index: 1;
}

.privacy-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 36px;
    align-items: start;
}

.game-sidebar {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 100px;
    box-shadow: var(--card-shadow);
}

.sidebar-header h3 { font-size: 17px; margin-bottom: 6px; }
.sidebar-header p { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }

.game-tab-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tab-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-body);
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-item i { font-size: 16px; color: var(--primary); }

.tab-item:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: rgba(79, 70, 229, 0.3);
}

.tab-item.active {
    background: linear-gradient(90deg, var(--primary), #6366f1);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.tab-item.active i { color: #ffffff; }

.sidebar-support-card {
    margin-top: 30px;
    padding: 18px;
    background: var(--primary-light);
    border: 1px dashed rgba(79, 70, 229, 0.3);
    border-radius: 10px;
}

.sidebar-support-card h4 { font-size: 14px; color: var(--primary); margin-bottom: 8px; }
.sidebar-support-card p { font-size: 12.5px; color: var(--text-muted); margin-bottom: 12px; }
.btn-support-email { font-size: 12.5px; color: var(--primary); text-decoration: none; font-weight: 700; word-break: break-all; }

.policy-content-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    min-height: 500px;
    box-shadow: var(--card-shadow);
    animation: fadeInPolicy 0.35s ease;
}

@keyframes fadeInPolicy {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.policy-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 28px;
}

.policy-header h2 { font-size: 26px; color: var(--text-main); margin-bottom: 8px; }
.last-updated { font-size: 13.5px; color: var(--primary); font-family: 'Rajdhani', sans-serif; font-weight: 700; }

.policy-body { color: var(--text-body); font-size: 15.5px; line-height: 1.8; }
.policy-body .lead { font-size: 16.5px; color: var(--text-main); margin-bottom: 24px; font-weight: 500; }
.policy-body h3 { font-size: 19px; color: var(--primary); margin: 30px 0 12px 0; }
.policy-body ul { margin-left: 20px; margin-bottom: 20px; }
.policy-body li { margin-bottom: 8px; }
.policy-body a { color: var(--primary); font-weight: 600; text-decoration: underline; }

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px var(--primary-glow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); background: var(--primary-hover); }

/* Responsive */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .privacy-container { grid-template-columns: 1fr; }
    .game-sidebar { position: static; }
    .slide-title { font-size: 36px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    .footer-grid { grid-template-columns: 1fr; }
    .slide-content { margin-left: 5%; margin-right: 5%; }
    .slide-title { font-size: 28px; }
}
