:root {
    --ice-blue: #a8e6ff;
    --steel-grey: #3a4a59;
    --neon-cyan: #00fff7;
    --gunmetal-black: #1c1f26;
    --electric-white: #e6f7ff;
    --dark-blue: #0a0f1c;
    --gradient-primary: linear-gradient(135deg, var(--ice-blue), var(--neon-cyan));
    --gradient-dark: linear-gradient(135deg, var(--gunmetal-black), var(--steel-grey));
    --glow-effect: 0 0 20px var(--neon-cyan);
    --box-shadow: 0 8px 32px rgba(0, 255, 247, 0.1);
}

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

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

/* Frost Particles Background */
.frost-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.frost-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--ice-blue);
    border-radius: 50%;
    animation: float 15s infinite linear;
    opacity: 0.7;
    box-shadow: 0 0 6px var(--ice-blue);
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(28, 31, 38, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neon-cyan);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--electric-white);
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px var(--neon-cyan));
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--electric-white);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-dropdown {
    position: relative;
}

.nav-link {
    color: var(--electric-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
    background: rgba(0, 255, 247, 0.1);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(28, 31, 38, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--neon-cyan);
    border-radius: 10px;
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--electric-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background: rgba(0, 255, 247, 0.1);
    color: var(--neon-cyan);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--neon-cyan);
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--neon-cyan);
}

/* Glitch Effect */
.glitch {
    position: relative;
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: var(--ice-blue);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: var(--neon-cyan);
    z-index: -2;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(-2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(2px, 2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, -2px); }
    40% { transform: translate(2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(-2px, 2px); }
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-dark);
    overflow: hidden;
}

.hero-container {
    max-width: 800px;
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 2rem;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--electric-white);
    text-shadow: 0 0 20px var(--neon-cyan);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    color: var(--ice-blue);
    line-height: 1.8;
}

.highlight {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
    font-weight: 600;
}

.cta-button {
    position: relative;
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gunmetal-black);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-effect);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.cta-button:hover .button-glow {
    left: 100%;
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.circuit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300fff7' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.3;
    animation: circuitMove 20s linear infinite;
}

@keyframes circuitMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hologram-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    opacity: 0.3;
    animation: hologramPulse 4s ease-in-out infinite;
}

@keyframes hologramPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.1;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glass Panel */
.glass-panel {
    background: rgba(28, 31, 38, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 247, 0.3);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

/* Section Styles */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--electric-white);
    text-shadow: 0 0 15px var(--neon-cyan);
}

.section-text {
    font-size: 1.2rem;
    text-align: center;
    color: var(--ice-blue);
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: rgba(10, 15, 28, 0.5);
}

/* Games Showcase */
.games-showcase {
    padding: 5rem 0;
    background: var(--dark-blue);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.game-card {
    position: relative;
    background: rgba(28, 31, 38, 0.9);
    border: 1px solid rgba(0, 255, 247, 0.3);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 350px;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-cyan);
    box-shadow: 0 20px 40px rgba(0, 255, 247, 0.2);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.game-card:hover .card-glow {
    opacity: 0.1;
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.card-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.game-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--electric-white);
    margin-bottom: 0.5rem;
}

.game-tagline {
    color: var(--ice-blue);
    font-size: 1rem;
    line-height: 1.6;
}

/* Servo Hover Animation */
.servo-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.servo-hover:hover {
    animation: servoMove 0.6s ease-in-out;
}

@keyframes servoMove {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(1deg); }
    50% { transform: translateY(-10px) rotate(0deg); }
    75% { transform: translateY(-5px) rotate(-1deg); }
}

/* Community Highlights */
.community-highlights {
    padding: 5rem 0;
    background: rgba(58, 74, 89, 0.1);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-item {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 255, 247, 0.05);
    border: 1px solid rgba(0, 255, 247, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(0, 255, 247, 0.1);
    transform: translateY(-5px);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--neon-cyan));
}

.highlight-item h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: var(--electric-white);
    margin-bottom: 1rem;
}

.highlight-item p {
    color: var(--ice-blue);
    line-height: 1.6;
}

/* Upcoming Events */
.upcoming-events {
    padding: 5rem 0;
    background: var(--dark-blue);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-item {
    text-align: center;
    padding: 2rem;
    background: rgba(28, 31, 38, 0.8);
    border: 1px solid rgba(0, 255, 247, 0.3);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.event-countdown {
    margin-bottom: 1.5rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.time-value {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

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

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--gradient-primary);
    border-radius: 10px;
    color: var(--gunmetal-black);
    width: fit-content;
    margin: 0 auto 1.5rem;
}

.date-day {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
}

.date-month {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.event-item h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: var(--electric-white);
    margin-bottom: 1rem;
}

.event-item p {
    color: var(--ice-blue);
    line-height: 1.6;
}

/* Disclaimer */
.disclaimer {
    padding: 3rem 0;
    background: rgba(168, 230, 255, 0.05);
}

.disclaimer-panel {
    border-color: var(--ice-blue);
    text-align: center;
}

.disclaimer-text {
    font-size: 1.1rem;
    color: var(--ice-blue);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--gunmetal-black);
    border-top: 1px solid var(--neon-cyan);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-family: 'Orbitron', monospace;
    color: var(--electric-white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-title {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.footer-desc,
.footer-text {
    color: var(--ice-blue);
    line-height: 1.6;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--ice-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 5px var(--neon-cyan);
}

.footer-divider {
    height: 1px;
    background: var(--gradient-primary);
    margin: 2rem 0 1rem;
}

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

.footer-copyright {
    color: var(--ice-blue);
    font-size: 0.9rem;
}

.footer-copyright strong {
    color: var(--neon-cyan);
    font-weight: 700;
}

/* Ice Crack Animation */
.ice-crack {
    position: relative;
    overflow: hidden;
}

.ice-crack::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: left 0.5s;
}

.ice-crack:hover::after {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(28, 31, 38, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid var(--neon-cyan);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-dropdown:hover .dropdown-menu {
        opacity: 0;
        visibility: hidden;
    }

    .dropdown-menu {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
        margin-top: 1rem;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .glass-panel {
        padding: 2rem;
        margin: 0 1rem;
    }

    .countdown-timer {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .time-value {
        font-size: 1.5rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .highlights-grid,
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

    .hero-container {
        padding: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .glass-panel {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .game-card {
        height: 300px;
    }

    .card-content {
        padding: 1rem;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glass-panel {
    animation: fadeInUp 0.6s ease-out;
}

.game-card {
    animation: fadeInUp 0.6s ease-out;
}

.game-card:nth-child(2) { animation-delay: 0.1s; }
.game-card:nth-child(3) { animation-delay: 0.2s; }
.game-card:nth-child(4) { animation-delay: 0.3s; }
.game-card:nth-child(5) { animation-delay: 0.4s; }
.game-card:nth-child(6) { animation-delay: 0.5s; }