:root {
    --bg-dark: #0a3a33;
    --bg-card: #114a42; /* Lighter, softer solid base */
    --bg-header: #0d423b;
    --text-main: #ffffff;
    --text-gold: #ffcc00;
    --text-muted: #a8d5ce; /* Lighter muted text */
    --btn-green: #45d116;
    --btn-green-hover: #3bb313;
    --ribbon-red: #e72929;
    --border-gold: #b38b36;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: 120px;
    overflow-x: hidden;
}

/* Base resets */
* { box-sizing: border-box; }

/* Animations */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(69, 209, 22, 0.7), 0 6px 0 #288b0b; }
    70% { box-shadow: 0 0 0 15px rgba(69, 209, 22, 0), 0 6px 0 #288b0b; }
    100% { box-shadow: 0 0 0 0 rgba(69, 209, 22, 0), 0 6px 0 #288b0b; }
}

@keyframes floatItem {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

/* Header */
header {
    background-color: var(--bg-header);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 204, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 50;
}

.logo-area { display: flex; align-items: center; gap: 12px; }

.logo-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, #01875F, #38ef7d);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 14px; color: #fff;
    border: 2px solid var(--border-gold);
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.logo-text { display: flex; flex-direction: column; }
.logo-text h1 { margin: 0; font-size: 22px; color: #fff; line-height: 1.1; font-weight: 900; letter-spacing: 0.5px; }
.logo-text p { margin: 4px 0 0 0; font-size: 11px; color: var(--text-gold); font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }

.secured-badge { display: flex; flex-direction: column; align-items: center; }
.secured-badge svg { width: 32px; height: 32px; fill: var(--btn-green); filter: drop-shadow(0 2px 4px rgba(69, 209, 22, 0.4)); }
.secured-badge span { font-size: 10px; color: var(--btn-green); font-weight: 800; margin-top: 2px; }

/* Hero Banner */
.hero-banner {
    width: 100%; aspect-ratio: 16 / 9; height: auto;
    background-image: url('/images/hero.jpg');
    background-size: cover; background-position: center;
    position: relative;
}
.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 60px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}
/* Sticky Table of Contents */
.sticky-toc {
    position: sticky;
    top: 0;
    z-index: 90;
    background: #0d423b;
    border-bottom: 4px solid #082b26;
    box-shadow: 0 12px 24px rgba(0,0,0,0.6);
    padding: 12px 16px;
    display: flex;
    overflow-x: auto;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none; scrollbar-width: none;
}
.sticky-toc::-webkit-scrollbar { display: none; }
.toc-link {
    white-space: nowrap;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    padding: 8px 16px;
    background: #155c52;
    border-radius: 20px;
    border: 2px solid #1f7a6d;
    box-shadow: 0 4px 0 #082b26;
    transition: all 0.1s ease;
}
.toc-link:hover, .toc-link:active {
    background: var(--text-gold);
    color: #000;
    border-color: #ff9900;
    transform: translateY(4px);
    box-shadow: 0 0 0 #082b26;
}

/* Top Games Section */
.top-games-header {
    background-color: transparent;
    text-align: center;
    padding: 16px 0 8px 0;
}
.top-games-header h2 { margin: 0; font-size: 24px; color: #fff; font-weight: 800; }
.top-games-header p { margin: 4px 0 0 0; font-size: 15px; color: var(--text-gold); font-weight: 500; }

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    padding: 16px;
}

.game-link { text-decoration: none; display: block; scroll-snap-align: start; }
.game-card {
    min-width: 90px; height: 110px; border-radius: 12px;
    border: 2px solid var(--border-gold);
    display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
    padding-bottom: 6px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
    position: relative; overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.game-card:active { transform: scale(0.95); }

.game-card::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}
@keyframes shine { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }

.game-emoji {
    position: absolute; font-size: 44px; top: 45%; left: 50%; transform: translate(-50%, -50%); z-index: 1; filter: drop-shadow(0 4px 4px rgba(0,0,0,0.5));
}

.game-card.g1 { background: linear-gradient(135deg, #4b134f, #c94b4b); }
.game-card.g2 { background: linear-gradient(135deg, #1f4037, #99f2c8); }
.game-card.g3 { background: linear-gradient(135deg, #f12711, #f5af19); }
.game-card.g4 { background: linear-gradient(135deg, #141e30, #243b55); }
.game-card.g5 { background: linear-gradient(135deg, #833ab4, #fd1d1d); }

.game-name { font-size: 14px; font-weight: 900; color: #fff; text-shadow: 0px 2px 4px #000, 0px 0px 2px #000; z-index: 2; text-transform: uppercase; letter-spacing: 0.5px; text-align: center; }

/* Why Choose Us Icons */
.why-choose {
    background: var(--bg-card);
    padding: 24px 16px; text-align: center; margin: 24px 16px; border-radius: 16px;
    border: 3px solid #1a6b5f;
    border-bottom: 8px solid #0b2e29;
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.4);
}
.why-choose h2 { margin: 0 0 24px 0; font-size: 20px; color: #fff; font-weight: 800; }
.icons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.icon-item { display: flex; flex-direction: column; align-items: center; animation: floatItem 3s ease-in-out infinite; }
.icon-item:nth-child(2) { animation-delay: 0.5s; }
.icon-item:nth-child(3) { animation-delay: 1s; }
.icon-item:nth-child(4) { animation-delay: 1.5s; }

.icon-circle {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #45d116, #248a07);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px; 
    border: 3px solid #5ef22e;
    box-shadow: 0 6px 0 #1b5e05, 0 10px 15px rgba(0,0,0,0.5);
}
.icon-circle svg { width: 28px; height: 28px; fill: #fff; }
.icon-text { font-size: 11px; color: #fff; line-height: 1.3; font-weight: 600; text-transform: uppercase; }

/* Removed unused .seo-card styles for lighter CSS payload */

/* Modern Clean UI Update Block */
.modern-update-block {
    background-color: var(--bg-card);
    border: 3px solid #1a6b5f;
    border-bottom: 8px solid #0b2e29;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.4);
}
.update-header-clean {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px;
}
.update-header-clean h2 { margin: 0; font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.version-tag {
    background-color: rgba(69, 209, 22, 0.15); color: var(--btn-green);
    padding: 6px 12px; border-radius: 100px; font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
}
.update-subtitle { margin: 0 0 12px 0; font-size: 16px; font-weight: 600; color: var(--text-gold); }
.update-body { margin: 0; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.8); }

/* Modular SEO Components */
.clean-card {
    background: var(--bg-card); 
    border: 3px solid #1a6b5f;
    border-bottom: 8px solid #0b2e29;
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.4);
    border-radius: 16px; padding: 32px; margin-bottom: 24px;
}
.clean-card h2 { margin: 0 0 16px 0; font-size: 24px; color: var(--text-gold); font-weight: 800; border-bottom: 1px solid rgba(255,204,0,0.1); padding-bottom: 12px; }
.clean-card p { font-size: 17px; line-height: 1.7; color: var(--text-muted); margin: 0 0 16px 0; }
.clean-card p:last-child { margin-bottom: 0; }

/* Specs Grid */
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.spec-item { background: rgba(0,0,0,0.2); padding: 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.spec-item strong { display: block; color: #fff; font-size: 18px; margin-bottom: 4px; }
.spec-item span { color: var(--text-muted); font-size: 15px; }

/* Bonus Table */
.bonus-table-container { overflow-x: auto; margin-top: 16px; border-radius: 12px; border: 1px solid rgba(255, 204, 0, 0.15); }
.bonus-table { width: 100%; border-collapse: collapse; text-align: left; }
.bonus-table th, .bonus-table td { padding: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.bonus-table th { background: rgba(255, 204, 0, 0.1); color: var(--text-gold); font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: 0.5px; }
.bonus-table td { color: #fff; font-size: 15px; }
.bonus-table tr:last-child td { border-bottom: none; }
.bonus-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* Timeline (Steps) */
.timeline { position: relative; padding-left: 24px; margin-top: 24px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: rgba(255,204,0,0.2); }
.timeline-item { position: relative; margin-bottom: 24px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
    content: ''; position: absolute; left: -24px; top: 4px; width: 14px; height: 14px; border-radius: 50%;
    background: var(--text-gold); box-shadow: 0 0 10px rgba(255,204,0,0.5);
}
.timeline-item p { margin: 0; font-size: 17px; color: #fff; }

/* FAQ Grid */
.faq-list { display: flex; flex-direction: column; gap: 20px; }
.faq-item { background: #0d423b; padding: 20px; border-radius: 12px; border: 3px solid #1f7a6d; border-bottom: 6px solid #082b26; }
.faq-item h3 { margin: 0 0 8px 0; font-size: 19px; color: #fff; }
.faq-item p { margin: 0; font-size: 17px; color: var(--text-muted); line-height: 1.6; }

/* Mobile Adjustments */
@media (max-width: 480px) {
    .specs-grid { grid-template-columns: 1fr; }
    .clean-card { padding: 20px; }
}

/* Sticky Footer */
.sticky-footer {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(1, 43, 38, 1) 40%, transparent);
    display: flex; flex-direction: column; align-items: center;
    padding: 0 16px 24px 16px; z-index: 100; pointer-events: none;
}
.sticky-footer > * { pointer-events: auto; }

.bonus-ribbon {
    background: linear-gradient(to right, #ff416c, #ff4b2b);
    color: #fff; font-weight: 900; font-size: 18px; padding: 6px 36px;
    border-radius: 20px 20px 0 0; text-transform: uppercase;
    box-shadow: 0 -4px 12px rgba(255, 75, 43, 0.4);
    margin-bottom: -6px; position: relative; z-index: 1;
    letter-spacing: 1px;
}
.btn-download {
    width: 100%;
    background: linear-gradient(to bottom, #50C878, #32CD32);
    color: #fff; border: none; padding: 18px; border-radius: 16px;
    font-size: 24px; font-weight: 900; display: flex; align-items: center; justify-content: center; gap: 12px;
    text-decoration: none;
    box-shadow: 0 6px 0 #228B22, 0 8px 16px rgba(0,0,0,0.5);
    position: relative; z-index: 2;
    transition: transform 0.1s, box-shadow 0.1s;
    animation: pulseGlow 2.5s infinite;
    letter-spacing: 1px;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-download:active {
    animation: none; transform: translateY(6px);
    box-shadow: 0 0 0 #228B22, 0 4px 8px rgba(0,0,0,0.5);
}
.btn-download svg { width: 32px; height: 32px; fill: #fff; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3)); }

/* --- Mobile First Media Queries --- */
@media (max-width: 480px) {
    header { padding: 10px; }
    .logo-icon { width: 36px; height: 36px; font-size: 12px; }
    .logo-text h1 { font-size: 18px; }
    .secured-badge svg { width: 24px; height: 24px; }
    .secured-badge span { font-size: 9px; }
    .top-games-header h2 { font-size: 18px; }
    .why-choose h2 { font-size: 18px; }
    .icon-circle { width: 48px; height: 48px; }
    .seo-card { padding: 16px; }
    .seo-card h2 { font-size: 18px; }
    .btn-download { font-size: 20px; padding: 16px; }
    .bonus-ribbon { font-size: 14px; padding: 6px 24px; }
}
