:root {
    --primary: #00f2ea;
    --secondary: #ff0050;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-light: #ffffff;
    --text-dim: #b3b3b3;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

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

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient);
    color: var(--bg-dark);
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary.glow {
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 242, 234, 0.8);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 600;
    margin-left: 15px;
}

.btn-secondary:hover {
    background: var(--glass);
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.3);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: 0.3s ease;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.nav-links a {
    margin-left: 30px;
    font-weight: 500;
    position: relative;
}

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

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    opacity: 0.4;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-dark) 100%);
}

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

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 40px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    opacity: 0.7;
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: var(--bg-darker);
    position: relative;
    z-index: 2;
    margin-top: -50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stat-item {
    text-align: center;
    border-right: 1px solid var(--glass-border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item .count {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-item .label {
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: 100px 0;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-desc {
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 242, 234, 0.1);
}

.about-image img {
    width: 100%;
    display: block;
    transition: 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 242, 234, 0.2), rgba(255, 0, 80, 0.2));
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-dim);
    margin-bottom: 30px;
}

.features-list {
    margin-top: 30px;
}

.feature {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.feature i {
    font-size: 1.5rem;
    color: var(--secondary);
    background: rgba(255, 0, 80, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feature h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

/* Games Section */
.games {
    padding: 100px 0;
    background: var(--bg-darker);
}

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

.game-card {
    background: var(--bg-dark);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 242, 234, 0.15);
    border-color: var(--primary);
}

.game-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.game-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.game-card:hover .game-img img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.btn-sm {
    padding: 8px 20px;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 30px;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.5);
}

.btn-sm:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.game-info {
    padding: 25px;
}

.game-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.game-info p {
    color: var(--text-dim);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 0.85rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 15px;
}

.game-meta i {
    color: var(--secondary);
    margin-right: 5px;
}

/* Join CTA */
.join-cta {
    padding: 100px 0;
    background: url('https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    position: relative;
    background-attachment: fixed;
}

.join-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.cta-box {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-box p {
    margin-bottom: 30px;
    color: var(--text-dim);
}

.cta-form {
    display: flex;
    gap: 10px;
}

.cta-form input {
    flex: 1;
    padding: 15px 25px;
    border-radius: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    border: 1px solid transparent;
    transition: 0.3s ease;
}

.cta-form input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

/* Footer */
footer {
    padding: 80px 0 30px;
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
}

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

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    margin-bottom: 20px;
}

.footer-col p {
    color: var(--text-dim);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: var(--glass);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

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

.footer-col ul li a {
    color: var(--text-dim);
    font-size: 0.95rem;
}

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

.newsletter-input {
    display: flex;
    background: var(--glass);
    border-radius: 5px;
    padding: 5px;
    border: 1px solid var(--glass-border);
}

.newsletter-input input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px;
    color: white;
    outline: none;
}

.newsletter-input button {
    background: var(--primary);
    border: none;
    width: 40px;
    border-radius: 4px;
    cursor: pointer;
    color: var(--bg-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Animations */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* Scroll Animations Classes */
[data-animate] {
    opacity: 0;
    transition: 1s ease;
}

[data-animate="fade-up"] {
    transform: translateY(30px);
}

[data-animate="fade-up"].active {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="slide-right"] {
    transform: translateX(-50px);
}

[data-animate="slide-right"].active {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="slide-left"] {
    transform: translateX(50px);
}

[data-animate="slide-left"].active {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="zoom-in"] {
    transform: scale(0.9);
}

[data-animate="zoom-in"].active {
    opacity: 1;
    transform: scale(1);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-darker);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

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

    .nav-links a {
        margin: 0;
        display: block;
        padding: 20px 30px;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

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

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

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