﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --accent: #f093fb;
    --dark: #1a1a2e;
    --light: #ffffff;
    --gray: #f5f7fa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #0f0f1e;
}

html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 30, 0.98);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 9999;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.nav-links {
    display: flex;
    gap: 30px;
}

    .nav-links a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s;
        position: relative;
    }

        .nav-links a:hover {
            color: var(--accent);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: width 0.3s;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

    .mobile-menu-toggle span {
        width: 25px;
        height: 3px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 50%, #16213e 100%);
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-size: 5em;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(102, 126, 234, 0.5);
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.8em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 40px;
}

    .hero-description p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 1.1em;
        line-height: 1.8;
    }

/* Download Section */
.download-section {
    margin: 50px 0;
}

.download-text {
    color: white;
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: 600;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    min-width: 220px;
    position: relative;
    overflow: hidden;
}

    .download-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .download-btn:hover::before {
        left: 100%;
    }

    .download-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
        border-color: var(--primary);
    }

.ios-btn:hover {
    background: rgba(0, 122, 255, 0.2);
}

.android-btn:hover {
    background: rgba(60, 190, 100, 0.2);
}

.download-btn svg {
    flex-shrink: 0;
}

.download-btn div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.download-small {
    font-size: 11px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download-large {
    font-size: 20px;
    font-weight: 700;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 150px;
}

.stat-number {
    font-size: 2.5em;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    margin-top: 5px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Titles */
.section-title {
    font-size: 3em;
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
}

/* Games Section */
.games-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #0f0f1e 0%, #1a1a2e 100%);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

    .game-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
        transform: scaleX(0);
        transition: transform 0.4s;
    }

    .game-card:hover::before {
        transform: scaleX(1);
    }

    .game-card:hover {
        transform: translateY(-10px);
        border-color: var(--primary);
        box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    }

    .game-card.featured {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
        border: 2px solid var(--primary);
    }

.game-icon {
    font-size: 4em;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
}

.game-card h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.game-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 100px 20px;
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1e 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s;
}

    .step-card:hover {
        transform: translateY(-5px);
        border-color: var(--primary);
    }

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 900;
    color: white;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.step-icon {
    font-size: 3.5em;
    margin: 20px 0;
    filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.3));
}

.step-card h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.step-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.formula-highlight {
    text-align: center;
    font-size: 1.3em;
    color: var(--accent);
    font-weight: 700;
    padding: 20px;
    background: rgba(240, 147, 251, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(240, 147, 251, 0.3);
}

/* Features Section */
.features-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #0f0f1e 0%, #1a1a2e 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

    .feature-box:hover {
        transform: translateY(-10px);
        border-color: var(--primary);
        box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    }

.feature-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
}

.feature-box h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.feature-box p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
        background-size: 100px 100px;
        opacity: 0.3;
    }

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

    .cta-content h2 {
        color: white;
        font-size: 3em;
        margin-bottom: 20px;
        text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    }

    .cta-content p {
        color: rgba(255, 255, 255, 0.95);
        font-size: 1.3em;
        max-width: 700px;
        margin: 0 auto 40px;
        line-height: 1.8;
    }

/* Footer */
.footer {
    background: #0a0a14;
    color: white;
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: var(--accent);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 15px;
    color: var(--primary);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s;
}

    .footer-links a:hover {
        color: var(--accent);
        padding-left: 5px;
    }

.footer-social p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

    .footer-bottom p {
        color: rgba(255, 255, 255, 0.5);
    }

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4em;
    }

    .nav-links {
        gap: 20px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    /* Navbar Mobile */
    .navbar {
        padding: 12px 0;
    }

    .nav-container {
        padding: 0 15px;
    }

    .logo {
        font-size: 18px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(15, 15, 30, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-bottom: 2px solid rgba(102, 126, 234, 0.3);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
    }

        .nav-links.active {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }

        .nav-links a {
            padding: 12px 0;
            font-size: 16px;
            text-align: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

            .nav-links a:last-child {
                border-bottom: none;
            }

            .nav-links a::after {
                display: none;
            }

    /* Hero Mobile */
    .hero {
        padding-top: 60px;
        min-height: auto;
        padding-bottom: 40px;
    }

    .hero-content {
        padding: 30px 15px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 15px;
        margin-bottom: 15px;
    }

    .hero-title {
        font-size: 2.5em;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1.1em;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .hero-description {
        margin-bottom: 30px;
    }

        .hero-description p {
            font-size: 1em;
            padding: 0 10px;
        }

    /* Download Buttons Mobile */
    .download-section {
        margin: 30px 0;
    }

    .download-text {
        font-size: 1em;
        margin-bottom: 15px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .download-btn {
        width: 100%;
        max-width: 280px;
        padding: 15px 25px;
        min-width: auto;
    }

        .download-btn svg {
            width: 24px;
            height: 24px;
        }

    .download-small {
        font-size: 10px;
    }

    .download-large {
        font-size: 16px;
    }

    /* Stats Mobile */
    .hero-stats {
        gap: 15px;
        margin-top: 40px;
    }

    .stat-item {
        padding: 15px;
        min-width: 100px;
        flex: 1;
    }

    .stat-number {
        font-size: 1.8em;
    }

    .stat-label {
        font-size: 0.8em;
    }

    /* Section Titles Mobile */
    .section-title {
        font-size: 2em;
        margin-bottom: 10px;
        padding: 0 10px;
    }

    .section-subtitle {
        font-size: 1.1em;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    /* Games Section Mobile */
    .games-section,
    .how-it-works,
    .features-section,
    .cta-section {
        padding: 60px 15px;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .game-card {
        padding: 30px 20px;
    }

    .game-icon {
        font-size: 3em;
        margin-bottom: 15px;
    }

    .game-card h3 {
        font-size: 1.3em;
        margin-bottom: 10px;
    }

    .game-card p {
        font-size: 0.95em;
    }

    /* Steps Mobile */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .step-card {
        padding: 35px 20px;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3em;
        top: -22px;
    }

    .step-icon {
        font-size: 2.8em;
        margin: 15px 0;
    }

    .step-card h3 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    .step-card p {
        font-size: 0.95em;
    }

    .formula-highlight {
        font-size: 1.1em;
        padding: 15px;
    }

    /* Features Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-box {
        padding: 30px 20px;
    }

    .feature-icon {
        font-size: 2.8em;
        margin-bottom: 15px;
    }

    .feature-box h3 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    .feature-box p {
        font-size: 0.95em;
    }

    /* CTA Mobile */
    .cta-content h2 {
        font-size: 2em;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .cta-content p {
        font-size: 1.1em;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    /* Footer Mobile */
    .footer {
        padding: 40px 15px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-brand h3 {
        font-size: 1.5em;
    }

    .footer-links h4,
    .footer-social h4 {
        font-size: 1.1em;
        margin-bottom: 10px;
    }

    .footer-links a {
        display: inline-block;
        margin: 0 8px 8px 8px;
        font-size: 0.95em;
    }

        .footer-links a:hover {
            padding-left: 0;
        }

    .footer-bottom {
        padding-top: 20px;
    }

        .footer-bottom p {
            font-size: 0.9em;
        }
}

@media (max-width: 480px) {
    /* Extra Small Mobile */
    .hero-title {
        font-size: 2em;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .section-title {
        font-size: 1.7em;
    }

    .download-btn {
        max-width: 100%;
        padding: 12px 20px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 10px;
    }

    .stat-item {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .nav-links {
        gap: 8px;
        font-size: 12px;
    }

    .cta-content h2 {
        font-size: 1.7em;
    }

    .cta-content p {
        font-size: 1em;
    }
}

@media (max-width: 360px) {
    /* Very Small Screens */
    .hero-title {
        font-size: 1.8em;
    }

    .logo {
        font-size: 18px;
    }

    .nav-links a {
        font-size: 11px;
        padding: 4px 6px;
    }
}
