/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
    --bg-base: #010101;
    --bg-surface: #272829;
    --bg-surface-light: #2D3748;

    --primary: #11eca1;
    --primary-glow: rgba(17, 236, 161, 0.4);
    --secondary: #1159af;

    --text-main: #F7FAFC;
    --text-muted: #718096;

    --gradient-primary: linear-gradient(135deg, var(--primary), #13612e);
    --gradient-text: linear-gradient(to right, var(--primary), #ffffff);

    --font-family: 'Inter', sans-serif;
    --heading-font: 'Montserrat', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 400;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 70px;
    /* Space for mobile sticky CTA */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
}

p {
    font-size: 22px;
    line-height: 1.8;
}

.container {
    width: 100%;
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.highlight {
    color: var(--primary);
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-surface {
    background: var(--bg-surface);
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

.small-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: #010101;
    padding: 12px 28px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -7px rgba(17, 236, 161, 0.4);
    background: #010101;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-large {
    font-size: 1.1rem;
    padding: 16px 40px;
}

.btn-full {
    width: 100%;
}

.btn-nav {
    background: transparent;
    color: var(--text-main);
    padding: 8px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-nav:hover {
    background: var(--primary);
    color: #010101;
    border-color: var(--primary);
}

.btn-glow {
    box-shadow: 0 0 20px var(--primary-glow);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--primary-glow);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 242, 96, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 242, 96, 0);
    }
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-base);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--bg-base);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--heading-font);
}

.logo-icon {
    background: var(--primary);
    color: var(--bg-base);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
}

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

.nav-links a {
    position: relative;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 10px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--primary);
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

/* ==========================================================================
   Mobile Sticky CTA
   ========================================================================== */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    padding: 10px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

@media (min-width: 769px) {
    .mobile-sticky-cta {
        display: none;
    }

    body {
        padding-bottom: 0;
    }
}

/* ==========================================================================
   Hero Official
   ========================================================================== */
.hero-official {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
}

.hero-bg-glow {
    display: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.badge-new {
    display: inline-block;
    background: rgba(0, 242, 96, 0.1);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(0, 242, 96, 0.3);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.version-info {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 10px;
    border-left: 2px solid var(--primary);
}

.mockup-placeholder {
    background: linear-gradient(135deg, var(--bg-surface-light), var(--bg-surface));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: rotate(-5deg);
    transition: var(--transition);
}

.mockup-placeholder:hover {
    transform: rotate(0deg) translateY(-10px);
}

.mockup-screen {
    background: #000;
    border-radius: 30px;
    height: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #222;
    position: relative;
    overflow: hidden;
}

.mockup-logo {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.mockup-btn {
    margin-top: 30px;
    background: var(--primary);
    color: #000;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .hero-actions {
        align-items: center;
        margin: 0 auto;
    }

    .mockup-placeholder {
        max-width: 300px;
        margin: 50px auto 0;
    }
}

/* ==========================================================================
   Trust Ribbon
   ========================================================================== */
.trust-ribbon {
    background: var(--bg-surface-light);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.trust-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-main);
}

.trust-item svg {
    color: var(--primary);
}

@media (max-width: 768px) {
    .trust-flex {
        justify-content: center;
    }
}

/* ==========================================================================
   Sections & Utilities
   ========================================================================== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.3rem;
    line-height: 1.8;
}

/* ==========================================================================
   Game Grid
   ========================================================================== */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.game-card {
    background: var(--bg-surface);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
    box-shadow: 0px 15px 15px -10px rgba(0, 0, 0, 0.05);
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(17, 236, 161, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.game-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 242, 96, 0.05);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.spec-icon svg {
    width: 30px;
    height: 30px;
}

.game-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.game-card p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
}

/* ==========================================================================
   Inline CTA Banner
   ========================================================================== */
.cta-banner {
    background: var(--gradient-primary);
    padding: 60px 0;
    text-align: center;
}

.cta-banner-content h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.cta-banner-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-banner .btn {
    background: #fff;
    color: #000;
}

/* ==========================================================================
   Zig-Zag (Bonuses)
   ========================================================================== */
.zig-zag {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.zig-zag.reverse .zz-text {
    order: 2;
}

.zig-zag.reverse .zz-image {
    order: 1;
}

.promo-badge {
    color: #ffd700;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.zz-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.zz-text p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.image-placeholder {
    width: 100%;
    height: 350px;
    border-radius: var(--radius-lg);
    background: var(--bg-surface-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    font-weight: 500;
}

.promo-style {
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    border: 2px solid rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

@media (max-width: 768px) {
    .zig-zag {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .zig-zag.reverse .zz-text {
        order: 1;
    }

    .zig-zag.reverse .zz-image {
        order: 2;
    }
}

/* ==========================================================================
   Split Layout (Install & Payments)
   ========================================================================== */
.split-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
}

@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
    }
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: -42px;
    top: 0;
    width: 26px;
    height: 26px;
    background: var(--primary);
    border-radius: 50%;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 0 10px var(--primary-glow);
}

.timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Download & Payment Cards */
.download-card-official {
    background: var(--bg-base);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 242, 96, 0.3);
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.download-card-official h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.download-card-official p {
    color: var(--text-muted);
}

.payment-methods-card {
    background: var(--bg-base);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-methods-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.payment-methods-card p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
}

.payment-logos {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.pay-logo {
    background: var(--bg-surface-light);
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Text Grid (Tips & Specs)
   ========================================================================== */
.text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.card-basic {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.card-basic h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.styled-list {
    list-style: none;
}

.styled-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.styled-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

.styled-list strong {
    color: var(--text-main);
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

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

.data-table strong {
    color: var(--text-main);
}

@media (max-width: 768px) {
    .text-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   FAQ Grid
   ========================================================================== */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.faq-item {
    background: var(--bg-base);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-family);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question svg {
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-question.active svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ==========================================================================
   Mega Footer
   ========================================================================== */
.mega-footer {
    background: #050508;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-desc {
    color: var(--text-muted);
    margin: 15px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 300px;
}

.age-badge {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.warning-text {
    color: #888;
    font-size: 0.8rem;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-pay-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pay-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .brand-col {
        grid-column: span 1;
    }
}

/* ==========================================================================
   App Specifications Grid
   ========================================================================== */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.spec-card {
    background-color: #0d1a12;
    border: 1px solid rgba(0, 242, 96, 0.2);
    border-radius: var(--radius-md);
    padding: 30px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 242, 96, 0.5);
}

.spec-icon {
    margin-bottom: 15px;
    color: #fff;
}

.spec-icon svg {
    width: 30px;
    height: 30px;
}

.spec-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 15px;
}

.spec-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Author Directory & Profile
   ========================================================================== */
.authors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.author-card {
    background: var(--bg-surface); padding: 30px; border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.03); transition: var(--transition); text-align: center;
    text-decoration: none; display: block;
}
.author-card:hover { transform: translateY(-5px); border-color: rgba(0, 242, 96, 0.3); box-shadow: 0 10px 30px rgba(0,0,0,0.5); cursor: pointer; }
.author-avatar {
    width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 20px;
    background: var(--bg-surface-light); border: 2px solid var(--primary); display: flex;
    align-items: center; justify-content: center; font-size: 2rem; font-weight: bold; color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}
.author-card h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--text-main); }
.author-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }
.author-profile-hero {
    background: var(--bg-surface); border-radius: var(--radius-lg); padding: 50px;
    border: 1px solid rgba(255,255,255,0.05); text-align: center; margin-bottom: 40px;
}
.author-profile-avatar {
    width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 25px;
    background: var(--bg-surface-light); border: 3px solid var(--primary); display: flex;
    align-items: center; justify-content: center; font-size: 3rem; font-weight: bold; color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
}
.author-profile-role { color: var(--primary); font-weight: 600; margin-bottom: 20px; display: inline-block; padding: 5px 15px; background: rgba(0, 242, 96, 0.1); border-radius: var(--radius-pill); }