:root {
    --bg-dark: #050510;
    --bg-card: rgba(20, 20, 35, 0.6);
    --bg-card-hover: rgba(30, 30, 50, 0.8);
    --primary-gold: #FFD700;
    --primary-red: #FF0055;
    --neon-blue: #00F3FF;
    --neon-purple: #BC13FE;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --font-heading: 'Inter', sans-serif;
    /* Keep Inter for clean headings */
    --font-body: 'Inter', sans-serif;
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glow-gold: 0 0 20px rgba(255, 215, 0, 0.3);
    --glow-red: 0 0 20px rgba(255, 0, 85, 0.4);
}

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

body {
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(188, 19, 254, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 243, 255, 0.1) 0%, transparent 40%);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Header */
header {
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(12px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(to right, #fff, var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.logo::after {
    content: 'GAME';
    font-size: 0.6rem;
    position: absolute;
    bottom: -5px;
    right: 0;
    color: var(--neon-blue);
    -webkit-text-fill-color: var(--neon-blue);
    letter-spacing: 4px;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
    box-shadow: var(--glow-gold);
}

nav a:hover {
    color: var(--text-main);
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-gold);
    cursor: pointer;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
    }

    100% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    }
}

/* Hero Section */
.hero {
    margin-top: 0;
    /* Cover entire screen */
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1596838132731-3301c3fd4317?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Dark overlay for hero image */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 16, 0.8) 0%, rgba(5, 5, 16, 0.95) 100%);
    z-index: 1;
}

.hero>* {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 3rem;
    font-weight: 400;
}

.cta-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    /* Slightly squarer for gaming look */
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
}

.btn-primary {
    background: var(--primary-gold);
    color: #000;
    box-shadow: var(--glow-gold);
    animation: pulse-glow 2s infinite;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    background: #FFED4B;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.2);
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: #fff;
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.6);
    transform: translateY(-5px);
}

.btn-telegram {
    background: #0088cc;
    color: white;
}

/* Sections */
.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title h2 span {
    color: var(--primary-gold);
}

.section-title .line {
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: var(--glow-red);
}

/* Layouts */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.3s, border-color 0.3s;
}

.glass-panel:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    background: var(--bg-card-hover);
}

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

.feature-card {
    text-align: center;
    background: linear-gradient(180deg, rgba(20, 20, 35, 0.6) 0%, rgba(10, 10, 20, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-purple);
    box-shadow: 0 10px 40px rgba(188, 19, 254, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-gold), #FF8C00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

/* Steps */
.step-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-gold);
}

.step-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-gold);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
}

/* FAQ */
.faq-item {
    background: var(--bg-card);
    margin-bottom: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    transition: color 0.3s;
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    color: var(--text-muted);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 500px;
}

/* Footer */
footer {
    background: #020205;
    padding: 5rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

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

.disclaimer {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    border: 1px dashed #333;
    padding: 1.5rem;
    border-radius: 8px;
}

/* Floating Elements */
.floating-bonus {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, #FF0055, #8000FF);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 5px 20px rgba(255, 0, 85, 0.5);
    z-index: 900;
    animation: float 3s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.floating-bonus:hover {
    transform: scale(1.1);
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--neon-blue);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 900;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .logo {
        font-size: 1.4rem;
    }

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

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10, 10, 21, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 6rem 2rem;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
        z-index: 999;
    }

    nav.active ul {
        right: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-container {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .floating-bonus {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
        width: 90%;
        text-align: center;
        animation: none;
        /* Disable float on mobile to avoid layout shifts */
    }
}

/* --- New Features & Polish --- */

/* Live Ticker */
.ticker-wrap {
    position: fixed;
    top: 70px;
    /* Below header */
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 900;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    padding: 0.5rem 0;
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ticker-item span {
    color: var(--primary-gold);
    font-weight: bold;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Buttons */
.btn-primary {
    background: linear-gradient(45deg, #FFD700, #FFC000);
    border: 1px solid rgba(255, 215, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Glass Panel Polish */
.glass-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* --- Interactive Features --- */

/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    /* Behind content but above bg */
    pointer-events: none;
}

/* User Count Widget */
.user-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--neon-blue);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--neon-blue);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Countdown Timer */
.timer-banner {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid var(--primary-red);
    color: #ff6b6b;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    display: inline-block;
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.3);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(220, 53, 69, 0.6);
    }

    100% {
        box-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
    }
}

/* Mobile Adjustments for User Count */
@media (max-width: 768px) {

    /* Prevent overflow on mobile */
    html,
    body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .payment-badges {
        gap: 1rem !important;
        /* Smaller gap for mobile */
    }

    .payment-badge {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .leaderboard-header,
    .winner-item {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
}

/* --- Social Proof Features --- */

/* Trusted Payments */
.payment-badges {
    margin-top: 2rem;
}

.payment-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.payment-badge:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.payment-badge i,
.payment-icon {
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    /* color: var(--primary-gold); Remove this so SVGs keep their brand color */
}

/* Testimonials Carousel */
.carousel-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    perspective: 1000px;
}

.testimonial-card {
    background: linear-gradient(145deg, rgba(20, 20, 35, 0.8), rgba(10, 10, 20, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    max-width: 350px;
    text-align: center;
    position: relative;
    transition: all 0.5s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-blue);
    box-shadow: 0 5px 20px rgba(0, 243, 255, 0.15);
}

.user-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold), #FF8C00);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: #000;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.user-name {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.rating {
    color: #FFD700;
    font-size: 0.9rem;
}

/* Leaderboard */
.leaderboard-container {
    background: rgba(10, 10, 20, 0.8);
    border: 1px solid var(--primary-gold);
    border-radius: 16px;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.leaderboard-header {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr;
    padding: 1rem;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.scrolling-list-container {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.scrolling-list {
    animation: scroll-up 20s linear infinite;
}

.winner-item {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    align-items: center;
}

.winner-item:nth-child(odd) {
    background: rgba(255, 255, 255, 0.02);
}

.winner-item span:last-child {
    color: var(--primary-gold);
    font-weight: bold;
    text-align: right;
}

@keyframes scroll-up {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}