/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --midnight-violet: #091833;
    --indigo-glow: #133E7C;
    --teal-flash: #0ABDC6;
    --magenta-surge: #EA00D9;
    --ultra-violet: #711C91;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
}

body {
    font-family: 'Exo 2', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: var(--midnight-violet);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
}

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

/* Utility Classes */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--teal-flash), var(--magenta-surge));
    color: var(--white);
    box-shadow: 0 0 20px rgba(10, 189, 198, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 30px rgba(10, 189, 198, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--teal-flash);
    border-color: var(--teal-flash);
}

.btn-secondary:hover {
    background: var(--teal-flash);
    color: var(--midnight-violet);
    box-shadow: 0 0 20px rgba(10, 189, 198, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(9, 24, 51, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    font-size: 24px;
    background: linear-gradient(45deg, var(--teal-flash), var(--magenta-surge));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--teal-flash);
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--midnight-violet) 0%, var(--indigo-glow) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, var(--ultra-violet) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, var(--teal-flash) 0%, transparent 50%);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite alternate;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(10, 189, 198, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 189, 198, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--teal-flash), var(--magenta-surge), var(--ultra-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(10, 189, 198, 0.5);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    margin-bottom: 15px;
    color: var(--teal-flash);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--teal-flash), var(--magenta-surge));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--teal-flash);
    opacity: 0.8;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--indigo-glow) 0%, var(--midnight-violet) 100%);
}

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

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--teal-flash);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
    opacity: 0.9;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--magenta-surge);
    font-family: 'Orbitron', monospace;
}

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

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.neon-circle {
    width: 300px;
    height: 300px;
    border: 3px solid var(--teal-flash);
    border-radius: 50%;
    position: relative;
    animation: rotate 10s linear infinite;
    box-shadow: 
        0 0 20px var(--teal-flash),
        inset 0 0 20px var(--teal-flash);
}

.neon-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid var(--magenta-surge);
    border-radius: 50%;
    animation: rotate 8s linear infinite reverse;
    box-shadow: 
        0 0 15px var(--magenta-surge),
        inset 0 0 15px var(--magenta-surge);
}

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

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

.game-card {
    background: linear-gradient(135deg, var(--indigo-glow), rgba(19, 62, 124, 0.5));
    border: 1px solid rgba(10, 189, 198, 0.3);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(10, 189, 198, 0.1), transparent);
    transition: left 0.5s ease;
}

.game-card:hover::before {
    left: 100%;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--teal-flash);
    box-shadow: 0 15px 40px rgba(10, 189, 198, 0.3);
}
.game-thumbnail {
  width: 311px;
  height: 311px;
  margin: 0 auto 20px;
  border-radius: 10px;
  border: 2px solid var(--teal-flash);
  position: relative;
  overflow: hidden;
}

.game-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Game Thumbnail Styles */



.game-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--white);
}

.game-info p {
    color: var(--teal-flash);
    opacity: 0.8;
}

/* Disclaimer Section */
.disclaimer {
    padding: 60px 0;
    background: var(--indigo-glow);
    border-top: 1px solid rgba(10, 189, 198, 0.3);
    border-bottom: 1px solid rgba(10, 189, 198, 0.3);
}

.disclaimer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--teal-flash);
}

.disclaimer-content p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.disclaimer-content a {
    color: var(--magenta-surge);
    text-decoration: none;
}

.disclaimer-content a:hover {
    text-decoration: underline;
}

/* Leaderboard Section */
.leaderboard {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--midnight-violet) 0%, var(--indigo-glow) 100%);
}

.leaderboard-list {
    max-width: 600px;
    margin: 0 auto;
}

.leader-item {
    display: flex;
    align-items: center;
    background: rgba(19, 62, 124, 0.5);
    border: 1px solid rgba(10, 189, 198, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.leader-item:hover {
    border-color: var(--teal-flash);
    box-shadow: 0 5px 20px rgba(10, 189, 198, 0.3);
}

.rank {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--teal-flash);
    width: 50px;
    text-align: center;
    font-family: 'Orbitron', monospace;
}

.rank-1 .rank {
    color: #FFD700;
}

.rank-2 .rank {
    color: #C0C0C0;
}

.rank-3 .rank {
    color: #CD7F32;
}

.player-info {
    flex: 1;
    margin-left: 20px;
}

.player-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 5px;
}

.player-score {
    color: var(--teal-flash);
    font-weight: 500;
}

.player-badge {
    font-size: 2rem;
}

/* Events Section */
.events {
    padding: 100px 0;
    background: var(--midnight-violet);
}

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

.event-card {
    background: linear-gradient(135deg, var(--indigo-glow), rgba(19, 62, 124, 0.5));
    border: 1px solid rgba(10, 189, 198, 0.3);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--teal-flash);
    box-shadow: 0 10px 30px rgba(10, 189, 198, 0.3);
}

.event-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-status.live {
    background: var(--magenta-surge);
    color: var(--white);
    animation: pulse 2s ease-in-out infinite;
}

.event-status.upcoming {
    background: var(--ultra-violet);
    color: var(--white);
}

.event-status.featured {
    background: var(--teal-flash);
    color: var(--midnight-violet);
}

.event-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.event-card p {
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.9;
}

.event-prize {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--teal-flash);
    margin-bottom: 20px;
}

.event-timer {
    margin-top: 20px;
}

.timer-label {
    display: block;
    font-size: 0.9rem;
    color: var(--teal-flash);
    margin-bottom: 10px;
}

.timer {
    display: flex;
    gap: 15px;
}

.time-unit {
    text-align: center;
    background: rgba(10, 189, 198, 0.1);
    border: 1px solid var(--teal-flash);
    border-radius: 8px;
    padding: 10px;
    min-width: 60px;
}

.time-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    font-family: 'Orbitron', monospace;
}

.time-label {
    display: block;
    font-size: 0.7rem;
    color: var(--teal-flash);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-date {
    font-weight: 600;
    color: var(--magenta-surge);
}

/* Footer */
.footer {
    background: var(--indigo-glow);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(10, 189, 198, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--teal-flash);
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--teal-flash);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.7;
}

/* Animations */
@keyframes pulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 30px rgba(10, 189, 198, 0.5); }
    100% { text-shadow: 0 0 50px rgba(234, 0, 217, 0.7); }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(9, 24, 51, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

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

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .neon-circle {
        width: 200px;
        height: 200px;
    }

    .neon-circle::before {
        width: 130px;
        height: 130px;
    }

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

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

    .timer {
        justify-content: center;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .game-card {
        padding: 15px;
    }

    .game-thumbnail {
        width: 100px;
        height: 100px;
    }

    .stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }
}