/* ========================================
   VARIABLES & RESET
   ======================================== */

:root {
    /* Colors */
    --primary: #00f0ff;
    --primary-dark: #00b8c5;
    --secondary: #ff00ff;
    --accent: #ff6b00;
    --purple: #9d00ff;
    --dark: #0a0a0f;
    --dark-lighter: #15151f;
    --dark-card: #1a1a2e;
    --text: #ffffff;
    --text-muted: #a8a8b3;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00f0ff 0%, #9d00ff 100%);
    --gradient-secondary: linear-gradient(135deg, #ff00ff 0%, #ff6b00 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #15151f 100%);

    /* Shadows & Glows */
    --glow-primary: 0 0 20px rgba(0, 240, 255, 0.5);
    --glow-secondary: 0 0 20px rgba(255, 0, 255, 0.5);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-card);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    font-size: 28px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

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

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 25px !important;
    background: var(--gradient-primary);
    border-radius: 25px;
    font-weight: 600;
}

.btn-nav::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark);
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.7);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-lg {
    padding: 16px 45px;
    font-size: 18px;
}

.btn-xl {
    padding: 20px 60px;
    font-size: 20px;
}

.btn-glow {
    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;
}

.btn:hover .btn-glow {
    left: 100%;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(157, 0, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 240, 255, 0.15) 0%, transparent 50%),
        var(--gradient-dark);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(0,240,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    animation: float 10s infinite;
    animation-delay: calc(var(--i) * -2s);
    opacity: 0.6;
    box-shadow: var(--glow-primary);
}

.particle:nth-child(1) { top: 20%; left: 10%; }
.particle:nth-child(2) { top: 60%; left: 30%; }
.particle:nth-child(3) { top: 40%; left: 70%; }
.particle:nth-child(4) { top: 80%; left: 50%; }
.particle:nth-child(5) { top: 30%; left: 90%; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-30px) translateX(20px); }
    50% { transform: translateY(-60px) translateX(-20px); }
    75% { transform: translateY(-30px) translateX(20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 30px;
    animation: slideDown 0.8s ease-out;
}

.badge-icon {
    color: var(--primary);
    font-weight: bold;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    animation: slideUp 0.8s ease-out;
}

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

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    animation: slideUp 0.8s ease-out 0.2s backwards;
}

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

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: slideUp 0.8s ease-out 0.4s backwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease-out 0.6s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 5px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
}

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

/* ========================================
   GAMES SECTION
   ======================================== */

.games-section {
    padding: var(--section-padding);
    background: var(--dark-lighter);
}

.search-box {
    max-width: 600px;
    margin: 0 auto 50px;
}

.search-box input {
    width: 100%;
    padding: 18px 25px;
    background: var(--dark-card);
    border: 2px solid rgba(0, 240, 255, 0.2);
    border-radius: 30px;
    color: var(--text);
    font-size: 16px;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.game-card {
    background: var(--dark-card);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.game-card:hover::before {
    opacity: 0.05;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.game-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.game-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 700;
}

.game-card p {
    color: var(--text-muted);
    font-size: 14px;
}

.game-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    background: var(--gradient-secondary);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */

.how-it-works {
    padding: var(--section-padding);
    background: var(--dark);
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    flex: 1;
    min-width: 250px;
    background: var(--dark-card);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    border: 2px solid rgba(0, 240, 255, 0.1);
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
}

.step-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.step-title {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.step-description {
    color: var(--text-muted);
    line-height: 1.8;
}

.step-arrow {
    font-size: 48px;
    color: var(--primary);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* ========================================
   WHY US SECTION
   ======================================== */

.why-us {
    padding: var(--section-padding);
    background: var(--dark-lighter);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--dark-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 2px solid rgba(0, 240, 255, 0.1);
    transition: var(--transition);
}

.benefit-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: var(--glow-secondary);
}

.benefit-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.benefit-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials {
    padding: var(--section-padding);
    background: var(--dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--dark-card);
    padding: 35px;
    border-radius: 20px;
    border: 2px solid rgba(255, 0, 255, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: var(--glow-secondary);
}

.stars {
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-text {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
}

.author-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq {
    padding: var(--section-padding);
    background: var(--dark-lighter);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--dark-card);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 2px solid rgba(0, 240, 255, 0.1);
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(0, 240, 255, 0.05);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
}

.faq-toggle {
    font-size: 28px;
    font-weight: 300;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */

.final-cta {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(157, 0, 255, 0.2) 0%, transparent 70%),
        radial-gradient(circle at 30% 70%, rgba(0, 240, 255, 0.15) 0%, transparent 60%),
        var(--dark);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cta-feature {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--dark-lighter);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    padding: 8px 16px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(0, 240, 255, 0.2);
    color: var(--primary);
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

.payment-methods {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-methods span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   FLOATING WHATSAPP BUTTON
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: float 3s ease-in-out infinite;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .steps-container {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 50px 0;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Hero */
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        gap: 30px;
    }

    /* Section Titles */
    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    /* Games Grid */
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    /* Benefits Grid */
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-title {
        font-size: 32px;
    }

    .cta-subtitle {
        font-size: 16px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Spacing */
    :root {
        --section-padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .btn-lg {
        padding: 14px 30px;
        font-size: 16px;
    }

    .btn-xl {
        padding: 16px 40px;
        font-size: 18px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .section-title {
        font-size: 26px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    background: linear-gradient(
        90deg,
        var(--dark-card) 0%,
        rgba(0, 240, 255, 0.1) 50%,
        var(--dark-card) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}
