/* Global Styles */
/* Additional variables for multipage */
:root {
    --neon-blue: #00f3ff;
    --text-color: #ffffff;
    --dark-bg: #0a0a0a;
    --card-bg: rgba(10, 10, 10, 0.8);
    /* Removing purple, using only blue */
    --card-border-radius: 10px;
    --text-glow: 0 0 4px var(--neon-blue);
    --transition-speed: 0.3s;
    --bg-color: #0a0a0a;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cyberpunk {
    font-family: 'Audiowide', cursive;
    color: var(--neon-blue);
    text-shadow: 
        0 0 5px var(--neon-blue),
        0 0 10px var(--neon-blue),
        0 0 20px var(--neon-blue),
        0 0 40px var(--neon-blue);
    position: relative;
    display: inline-block;
}

.cyberpunk::before,
.cyberpunk::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    animation: glitch-top 2s infinite linear alternate-reverse;
}

.cyberpunk::after {
    clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
    animation: glitch-bottom 3s infinite linear alternate-reverse;
}

.loading-content h2.cyberpunk {
    font-size: 4rem;
    margin-bottom: 2rem;
    letter-spacing: 4px;
    animation: 
        textShadow 2s infinite,
        neonFlicker 3s infinite;
}

.cyberpunk-small {
    font-family: 'Audiowide', cursive;
    color: var(--neon-blue);
    text-shadow: 0 0 5px var(--neon-blue);
    letter-spacing: 2px;
}

.logo h1.cyberpunk {
    font-family: 'Audiowide', cursive;
    font-size: 2.5rem;
    margin: 0;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: 
        textShadow 1.5s infinite,
        neonFlicker 4s infinite,
        borderFlicker 2s infinite;
    padding: 0.5rem 1rem;
    position: relative;
    border: 2px solid var(--neon-blue);
}

.logo h1.cyberpunk::before {
    content: attr(data-text);
    position: absolute;
    left: -2px;
    text-shadow: 3px 0 var(--neon-blue);
    top: 0;
    color: var(--neon-blue);
    background: var(--dark-bg);
    overflow: hidden;
    animation: noise-anim 2s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.logo h1.cyberpunk::after {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    text-shadow: -3px 0 var(--neon-blue);
    top: 0;
    color: var(--neon-blue);
    background: var(--dark-bg);
    overflow: hidden;
    animation: noise-anim-2 3s infinite linear alternate-reverse;
    clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
}

@keyframes noise-anim {
    0% {
        clip-path: inset(40% 0 61% 0);
    }
    20% {
        clip-path: inset(92% 0 1% 0);
    }
    40% {
        clip-path: inset(43% 0 1% 0);
    }
    60% {
        clip-path: inset(25% 0 58% 0);
    }
    80% {
        clip-path: inset(54% 0 7% 0);
    }
    100% {
        clip-path: inset(58% 0 43% 0);
    }
}

@keyframes noise-anim-2 {
    0% {
        clip-path: inset(24% 0 29% 0);
    }
    20% {
        clip-path: inset(54% 0 21% 0);
    }
    40% {
        clip-path: inset(31% 0 58% 0);
    }
    60% {
        clip-path: inset(86% 0 4% 0);
    }
    80% {
        clip-path: inset(18% 0 71% 0);
    }
    100% {
        clip-path: inset(95% 0 5% 0);
    }
}

@keyframes borderFlicker {
    0% {
        box-shadow: 0 0 2px var(--neon-blue),
                    inset 0 0 2px var(--neon-blue),
                    0 0 5px var(--neon-blue),
                    inset 0 0 5px var(--neon-blue);
    }
    50% {
        box-shadow: 0 0 5px var(--neon-blue),
                    inset 0 0 5px var(--neon-blue),
                    0 0 15px var(--neon-blue),
                    inset 0 0 15px var(--neon-blue);
    }
    100% {
        box-shadow: 0 0 2px var(--neon-blue),
                    inset 0 0 2px var(--neon-blue),
                    0 0 5px var(--neon-blue),
                    inset 0 0 5px var(--neon-blue);
    }
}

@keyframes glitch-top {
    0%, 100% { transform: translate(0); }
    25% { transform: translate(-2px, -2px); }
    50% { transform: translate(2px, 2px); }
    75% { transform: translate(-1px, -1px); }
}

@keyframes glitch-bottom {
    0%, 100% { transform: translate(0); }
    25% { transform: translate(2px, 2px); }
    50% { transform: translate(-2px, -2px); }
    75% { transform: translate(1px, 1px); }
}

@keyframes textShadow {
    0% {
        text-shadow: 0.4389924193300864px 0 1px rgba(0,30,255,0.5), -0.4389924193300864px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    5% {
        text-shadow: 2.7928974010788217px 0 1px rgba(0,30,255,0.5), -2.7928974010788217px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    10% {
        text-shadow: 0.02956275843481219px 0 1px rgba(0,30,255,0.5), -0.02956275843481219px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    15% {
        text-shadow: 0.40218538552878136px 0 1px rgba(0,30,255,0.5), -0.40218538552878136px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    20% {
        text-shadow: 3.4794037899852017px 0 1px rgba(0,30,255,0.5), -3.4794037899852017px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    25% {
        text-shadow: 1.6125630401149584px 0 1px rgba(0,30,255,0.5), -1.6125630401149584px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    30% {
        text-shadow: 0.7015590085143956px 0 1px rgba(0,30,255,0.5), -0.7015590085143956px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    35% {
        text-shadow: 3.896914047650351px 0 1px rgba(0,30,255,0.5), -3.896914047650351px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    40% {
        text-shadow: 3.870905614848819px 0 1px rgba(0,30,255,0.5), -3.870905614848819px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    45% {
        text-shadow: 2.231056963361899px 0 1px rgba(0,30,255,0.5), -2.231056963361899px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    50% {
        text-shadow: 0.08084290417898504px 0 1px rgba(0,30,255,0.5), -0.08084290417898504px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    55% {
        text-shadow: 2.3758461067427543px 0 1px rgba(0,30,255,0.5), -2.3758461067427543px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    60% {
        text-shadow: 2.202193051050636px 0 1px rgba(0,30,255,0.5), -2.202193051050636px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    65% {
        text-shadow: 2.8638780614874975px 0 1px rgba(0,30,255,0.5), -2.8638780614874975px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    70% {
        text-shadow: 0.48874025155497314px 0 1px rgba(0,30,255,0.5), -0.48874025155497314px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    75% {
        text-shadow: 1.8948491305757957px 0 1px rgba(0,30,255,0.5), -1.8948491305757957px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    80% {
        text-shadow: 0.0833037308038857px 0 1px rgba(0,30,255,0.5), -0.0833037308038857px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    85% {
        text-shadow: 0.09769827255241735px 0 1px rgba(0,30,255,0.5), -0.09769827255241735px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    90% {
        text-shadow: 3.443339761481782px 0 1px rgba(0,30,255,0.5), -3.443339761481782px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    95% {
        text-shadow: 2.1841838852799786px 0 1px rgba(0,30,255,0.5), -2.1841838852799786px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    100% {
        text-shadow: 2.6208764473832513px 0 1px rgba(0,30,255,0.5), -2.6208764473832513px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
}

@keyframes neonFlicker {
    0%, 100% { opacity: 1; }
    41.99% { opacity: 1; }
    42% { opacity: 0; }
    43% { opacity: 0; }
    43.01% { opacity: 1; }
    47.99% { opacity: 1; }
    48% { opacity: 0; }
    49% { opacity: 0; }
    49.01% { opacity: 1; }
}

.loading-bar-container {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
    border: 1px solid var(--neon-blue);
}

.loading-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, 
        rgba(0, 243, 255, 0.5),
        var(--neon-blue),
        rgba(0, 243, 255, 0.5)
    );
    box-shadow: 
        0 0 10px var(--neon-blue),
        0 0 20px var(--neon-blue),
        0 0 30px var(--neon-blue);
    transition: width 0.4s ease;
    animation: loading 3s ease-in-out forwards;
}

@keyframes loading {
    0% { 
        width: 0%;
        box-shadow: 
            0 0 10px var(--neon-blue),
            0 0 20px var(--neon-blue);
    }
    50% { 
        box-shadow: 
            0 0 15px var(--neon-blue),
            0 0 30px var(--neon-blue),
            0 0 45px var(--neon-blue);
    }
    100% { 
        width: 100%;
        box-shadow: 
            0 0 10px var(--neon-blue),
            0 0 20px var(--neon-blue);
    }
}

.loading-text {
    color: var(--text-color);
    margin-top: 1rem;
    font-size: 1rem;
    text-shadow: var(--text-glow);
    letter-spacing: 1px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-text.close {
    color: var(--neon-blue);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    text-shadow: 0 0 3px var(--neon-blue);
    transition: all 0.3s;
}

.close:hover {
    color: #ffffff;
    text-shadow: 0 0 8px var(--neon-blue);
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px var(--neon-purple),
                     0 0 10px var(--neon-purple),
                     0 0 15px var(--neon-purple);
    }
    to {
        text-shadow: 0 0 10px var(--neon-purple),
                     0 0 20px var(--neon-purple),
                     0 0 30px var(--neon-purple);
    }
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Particles Container */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
}

/* Text Animation Effects */
.glitch-text {
    position: relative;
    animation: glitch 3s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 var(--neon-blue);
    animation: glitch-1 2s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: 2px 0 var(--neon-purple);
    animation: glitch-2 3s infinite linear alternate-reverse;
}

@keyframes glitch {
    0% { text-shadow: 0.05em 0 0 var(--neon-blue), -0.05em -0.025em 0 var(--neon-purple); }
    14% { text-shadow: 0.05em 0 0 var(--neon-blue), -0.05em -0.025em 0 var(--neon-purple); }
    15% { text-shadow: -0.05em -0.025em 0 var(--neon-blue), 0.025em 0.025em 0 var(--neon-purple); }
    49% { text-shadow: -0.05em -0.025em 0 var(--neon-blue), 0.025em 0.025em 0 var(--neon-purple); }
    50% { text-shadow: 0.025em 0.05em 0 var(--neon-blue), 0.05em 0 0 var(--neon-purple); }
    99% { text-shadow: 0.025em 0.05em 0 var(--neon-blue), 0.05em 0 0 var(--neon-purple); }
    100% { text-shadow: -0.025em 0 0 var(--neon-blue), -0.025em -0.025em 0 var(--neon-purple); }
}

@keyframes glitch-1 {
    0% { clip-path: inset(20% 0 30% 0); }
    50% { clip-path: inset(60% 0 10% 0); }
    100% { clip-path: inset(40% 0 50% 0); }
}

@keyframes glitch-2 {
    0% { clip-path: inset(80% 0 10% 0); }
    50% { clip-path: inset(30% 0 60% 0); }
    100% { clip-path: inset(50% 0 40% 0); }
}

.typing-text {
    border-right: 2px solid var(--neon-purple);
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
    white-space: nowrap;
    overflow: hidden;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--neon-purple); }
}

/* Sound Toggle Button */
.sound-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--dark-bg);
    border: 2px solid var(--neon-blue);
    color: var(--text-color);
    text-shadow: var(--text-glow);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.sound-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--neon-purple);
}

/* Reset and Base Styles */
:root {
    --neon-blue: #00f3ff;
    --text-color: #ffffff;
    --dark-bg: #0a0a0a;
    --card-bg: rgba(10, 10, 10, 0.8);
    /* Removing purple, using only blue */
    --card-border-radius: 10px;
    --text-glow: 0 0 4px var(--neon-blue);
    --transition-speed: 0.3s;
    --bg-color: #0a0a0a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-family: 'Orbitron', sans-serif;
    text-shadow: var(--text-glow);
    position: relative;
    overflow-x: hidden;
}

.logo-container {
    position: relative;
    width: 300px;
    height: 100px;
    margin-bottom: 20px;
    overflow: visible;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.matrix-logo-bg {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
}

.logo-container h2 {
    position: relative;
    z-index: 2;
    margin: 0;
    transform: translateY(-20px);
    line-height: 100px;
    mix-blend-mode: normal;
    color: var(--neon-blue);
    text-shadow: 
        0 0 5px var(--neon-blue),
        0 0 10px var(--neon-blue),
        0 0 20px var(--neon-blue),
        0 0 40px var(--neon-blue);
    pointer-events: none;
}

.logo-container .cyberpunk {
    position: relative;
    z-index: 2;
    transform: translateY(-20px);
    text-shadow: 
        0 0 5px var(--neon-blue),
        0 0 10px var(--neon-blue),
        0 0 20px var(--neon-blue),
        0 0 40px var(--neon-blue);
    background: transparent;
    mix-blend-mode: normal;
}

/* Enhance the glow effect for better visibility */
.cyberpunk.glitch-text {
    text-shadow: 
        0 0 5px var(--neon-blue),
        0 0 10px var(--neon-blue),
        0 0 20px var(--neon-blue),
        0 0 40px var(--neon-blue),
        0 0 80px var(--neon-blue);
    opacity: 0.95;
}

.matrix-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: black;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

.cyber-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        linear-gradient(90deg, var(--neon-blue) 1px, transparent 1px),
        linear-gradient(var(--neon-blue) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotateX(60deg);
    animation: grid-move 20s linear infinite;
    opacity: 0.2;
}

.cyber-hexagons {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, transparent 30%, var(--neon-blue) 31%, transparent 32%),
        radial-gradient(circle at 0% 50%, transparent 30%, var(--neon-blue) 31%, transparent 32%),
        radial-gradient(circle at 100% 50%, transparent 30%, var(--neon-blue) 31%, transparent 32%);
    background-size: 100px 173.2px;
    animation: hex-pulse 4s ease-in-out infinite;
    opacity: 0.1;
}

.cyber-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--neon-blue) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: circle-fade 3s ease-in-out infinite;
    opacity: 0.15;
}

@keyframes grid-move {
    0% { transform: rotateX(60deg) translateY(0); }
    100% { transform: rotateX(60deg) translateY(50px); }
}

@keyframes hex-pulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.05); }
}

@keyframes circle-fade {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.3; }
}

.background-slideshow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80vw;
    height: 80vh;
    max-width: 1200px;
    max-height: 800px;
    transform: translate(-50%, -50%);
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.7),
        rgba(0, 243, 255, 0.1),
        rgba(0, 0, 0, 0.7)
    );
    z-index: 1;
    pointer-events: none;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: inset 0 0 30px rgba(0, 243, 255, 0.2);
}

.slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80vw; /* Reduced width */
    height: 80vh; /* Reduced height */
    max-width: 1200px; /* Maximum width */
    max-height: 800px; /* Maximum height */
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: 
        slideshow 45s linear infinite,
        glow 3s ease-in-out infinite;
    transform: translate(-50%, -50%) scale(1.1);
    object-fit: contain;
    overflow: hidden;
    margin: auto;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-radius: 10px;
    filter: drop-shadow(0 0 15px rgba(0, 243, 255, 0.2));
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }
.slide:nth-child(4) { animation-delay: 15s; }
.slide:nth-child(5) { animation-delay: 20s; }
.slide:nth-child(6) { animation-delay: 25s; }
.slide:nth-child(7) { animation-delay: 30s; }
.slide:nth-child(8) { animation-delay: 35s; }
.slide:nth-child(9) { animation-delay: 40s; }

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
        filter: drop-shadow(0 0 15px rgba(0, 243, 255, 0.2));
    }
    50% {
        box-shadow: 0 0 50px rgba(0, 243, 255, 0.4);
        filter: drop-shadow(0 0 25px rgba(0, 243, 255, 0.3));
    }
}

@keyframes slideshow {
    0%, 11%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.1);
    }
    3%, 8% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

/* Hexagon Pattern Background */
.bg-hex {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: var(--dark-bg);
    background-image: repeating-linear-gradient(60deg, var(--neon-blue) 0, var(--neon-blue) 1px, transparent 1px, transparent 30px),
                    repeating-linear-gradient(-60deg, var(--neon-blue) 0, var(--neon-blue) 1px, transparent 1px, transparent 30px);
    opacity: 0.1;
    animation: hexPulse 4s ease-in-out infinite alternate;
}

.bg-hex::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 243, 255, 0.1) 0%, transparent 60%);
    animation: hexGlow 2s ease-in-out infinite alternate;
}

@keyframes hexPulse {
    0% { background-size: 30px 30px; }
    100% { background-size: 35px 35px; }
}

@keyframes hexGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Cyberpunk Grid Background */
.bg-grid {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: var(--dark-bg);
    background-image: 
        linear-gradient(var(--neon-blue) 1px, transparent 1px),
        linear-gradient(90deg, var(--neon-blue) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    opacity: 0.15;
    transform-origin: center;
    animation: gridMove 20s linear infinite;
}

.bg-grid::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--dark-bg) 100%);
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

/* Animated Gradient */
.bg-gradient {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(45deg, #000000, #1a1a1a);
    animation: gradientBG 15s ease infinite;
    background-size: 400% 400%;
}

.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 243, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 80%, rgba(128, 0, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(0, 243, 255, 0.05) 0%, transparent 50%);
    animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes glowPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Game Cards */
.game-card {
    background: rgba(26, 26, 26, 0.8);
    border-radius: var(--card-border-radius);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.game-img {
    position: relative;
    aspect-ratio: 16/9;
}

.game-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    transform-origin: center;
}

.game-card:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 15px 30px rgba(0, 243, 255, 0.3);
}

.game-card:hover .game-img {
    transform: scale(1.2);
    z-index: 11;
    filter: drop-shadow(0 0 20px rgba(0, 243, 255, 0.5));
}

.game-card:hover .game-cover {
    transform: scale(1.3);
    border-radius: var(--card-border-radius);
}

.game-info {
    padding: 1rem;
}

.game-info h3 {
    color: #ffffff;
    text-shadow: 0 0 5px var(--neon-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.game-info p {
    color: #ffffff;
    text-shadow: 0 0 2px var(--neon-blue);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.tournament-badge {
    display: inline-block;
    background: var(--neon-blue);
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
    text-shadow: none;
}

/* Utility Classes */
.glowing-text {
    text-shadow: 0 0 10px var(--neon-blue),
                 0 0 20px var(--neon-blue),
                 0 0 30px var(--neon-blue);
}

/* Page Layout */
.page-content {
    padding-top: 80px; /* Account for fixed navbar */
    min-height: calc(100vh - 300px); /* Ensure footer stays at bottom */
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--neon-blue);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        padding: 2rem;
        transition: right 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links li:nth-child(5) { transition-delay: 0.5s; }
    .nav-links li:nth-child(6) { transition-delay: 0.6s; }
    .nav-links li:nth-child(7) { transition-delay: 0.7s; }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s;
    text-shadow: 0 0 3px var(--neon-blue);
    letter-spacing: 0.5px;
    display: inline-block;
    border: 1px solid transparent;
}

.nav-links a:hover {
    color: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--neon-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-toggle:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem;
    margin-bottom: 4rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 800px;
    width: 100%;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 0 8px var(--neon-blue);
}

.cta-button {
    display: inline-block;
    width: fit-content;
    padding: 1.2rem 3rem;
    background: var(--neon-blue);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    margin: 2rem auto;
    font-size: 1.2rem;
    transition: all 0.3s;
    border: none;
    text-shadow: none;
}

.cta-button:hover {
    background: transparent;
    color: var(--neon-blue);
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--neon-blue);
}

/* Section Styles */
section {
    padding: 5rem 2rem;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--neon-blue);
}

/* Image Placeholders */
.game-img img,
.service-img img,
.tournament-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--card-border-radius);
    margin-bottom: 1rem;
}

/* Pricing Info */
.pricing-info {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: var(--card-border-radius);
    border: 1px solid var(--neon-blue);
}

.price-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.price-item {
    text-align: center;
    padding: 1rem;
}

.price-item h3 {
    color: var(--neon-blue);
    margin-bottom: 1rem;
}

.tournament-badge {
    display: inline-block;
    background: var(--neon-blue);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.more-games {
    padding-top: 4rem;
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: var(--card-border-radius);
}

.more-games h3 {
    color: var(--neon-blue);
    margin-bottom: 1rem;
}

/* Games Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.view-more-container {
    text-align: center;
    margin-top: 3rem;
}

.view-more-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--neon-blue);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 1px solid var(--neon-blue);
    text-shadow: none;
}

.view-more-btn:hover {
    background: transparent;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
    transform: translateY(-2px);
}

.game-card {
    background: var(--card-bg);
    border-radius: var(--card-border-radius);
    padding: 1rem;
    border: 1px solid var(--neon-blue);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.game-img {
    overflow: visible;
    border-radius: var(--card-border-radius);
    margin-bottom: 1rem;
    position: relative;
}

.game-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--card-border-radius);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 2;
}

.game-card:hover .game-img img {
    transform: scale(1.2) translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(188, 19, 254, 0.3),
                0 0 40px rgba(0, 243, 255, 0.2);
}

/* Ensure other cards don't overlap the expanded image */
.game-grid {
    padding: 2rem 0;
}

/* Add hover state for smoother transition */
.game-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--neon-blue), rgba(0, 243, 255, 0.7));
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: var(--card-border-radius);
    z-index: 1;
}

.game-card:hover .game-img::after {
    opacity: 0.2;
}

.game-info {
    padding-top: 0.5rem;
}

.game-info {
    padding: 1rem 0.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.game-info h3 {
    font-size: 1.1rem;
    color: #ffffff;
    text-shadow: 0 0 5px var(--neon-blue);
    margin: 0;
    line-height: 1.3;
    word-wrap: break-word;
}

.game-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #ffffff;
    text-shadow: 0 0 2px var(--neon-blue);
    opacity: 0.9;
}

.game-img {
    font-size: 3rem;
    color: var(--neon-blue);
    margin-bottom: 1rem;
}

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
}

.service-card i {
    font-size: 2.5rem;
    color: var(--neon-blue);
    margin-bottom: 1rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

/* Tournament Styles */

.tournament-registration {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 128, 255, 0.3);
}

.tournament-registration h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-shadow: 0 0 8px var(--neon-blue);
}

.slots-counter {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    border: 1px solid var(--neon-blue);
}

.slots-counter h3 {
    color: var(--neon-blue);
    margin: 0;
}

.registration-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--neon-blue);
    font-size: 1.1rem;
}

.form-group input,
.form-group select {
    padding: 0.8rem;
    border: 2px solid var(--neon-blue);
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    width: 100%;
}

.form-group select optgroup {
    background: rgba(0, 0, 0, 0.9);
    color: var(--neon-blue);
    font-weight: bold;
    padding: 10px;
}

.form-group select option {
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 8px;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: var(--neon-blue);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Orbitron', sans-serif;
}

button[type="submit"]:hover {
    background: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue);
}

/* Hidden selects */
#durationSelect,
#matchSelect,
#gamesSelect {
    margin-top: -0.5rem;
    transition: all 0.3s ease;
}

#durationSelect.visible,
#matchSelect.visible,
#gamesSelect.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1001;
}

/* Tournament Info */
.tournament-info {
    background: var(--card-bg);
    border: 1px solid var(--neon-blue);
    border-radius: var(--card-border-radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
}

.tournament-info .disclaimer {
    background: rgba(255, 0, 0, 0.1);
    border-left: 4px solid #ff0000;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 4px;
}

.tournament-info .disclaimer p {
    color: #ff3333;
    margin: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tournament-structure {
    margin-top: 3rem;
}

.tournament-structure h3 {
    color: var(--neon-blue);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--neon-blue);
}

.structure-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--card-border-radius);
    position: relative;
    overflow: hidden;
}

.structure-diagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0, 243, 255, 0.1) 0%,
        transparent 20%,
        transparent 80%,
        rgba(0, 243, 255, 0.1) 100%
    );
    pointer-events: none;
}

.round {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    min-width: 180px;
    border: 1px solid var(--neon-blue);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.round:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 243, 255, 0.3);
}

.round::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--neon-blue) 50%,
        transparent 100%
    );
    animation: scanline 2s linear infinite;
}

.round h4 {
    color: var(--neon-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.matches {
    color: #ffffff;
    font-size: 1rem;
    padding: 0.5rem;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 5px;
    margin-top: 0.5rem;
}

.arrow {
    color: var(--neon-blue);
    font-size: 2rem;
    text-shadow: 0 0 10px var(--neon-blue);
    animation: pulse 2s infinite;
}

@keyframes scanline {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Responsive Design for Tournament Structure */
@media (max-width: 768px) {
    .structure-diagram {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .round {
        width: 100%;
        min-width: unset;
    }

    .tournament-info {
        padding: 1rem;
    }

    .tournament-structure h3 {
        font-size: 1.5rem;
    }
}

/* Tournaments */
.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tournament-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--neon-blue);
}

.register-btn {
    background: var(--neon-blue);
    color: var(--text-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s;
}

.register-btn:hover {
    background: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue);
}

/* Package Cards */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.package-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--card-border-radius);
    text-align: center;
    border: 1px solid var(--neon-blue);
    transition: transform var(--transition-speed);
}

.package-card.featured {
    border-color: var(--neon-blue);
    transform: scale(1.05);
}

.package-card .price {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: bold;
    margin-top: 1rem;
    text-shadow: 0 0 5px var(--neon-blue);
    letter-spacing: 0.5px;
}

.package-card ul {
    list-style: none;
    padding: 0;
}

.package-card ul li {
    margin: 0.5rem 0;
}

/* Contact Page Specific */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.info-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--card-border-radius);
    text-align: center;
    margin-bottom: 1rem;
}

.info-card i {
    font-size: 2rem;
    color: var(--neon-blue);
    margin-bottom: 1rem;
}

/* Forms */
.booking-form,
.tournament-form,
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: var(--card-border-radius);
    border: 1px solid var(--neon-blue);
}

input,
select,
textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--neon-blue);
    border-radius: 5px;
    color: var(--text-color);
    font-family: 'Orbitron', sans-serif;
}

/* Custom select styling */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--neon-blue) 50%),
                      linear-gradient(135deg, var(--neon-blue) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 2px),
                         calc(100% - 15px) calc(1em + 2px);
    background-size: 5px 5px,
                    5px 5px;
    background-repeat: no-repeat;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
}

select option {
    background-color: var(--dark-bg);
    color: var(--text-color);
    padding: 10px;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: var(--neon-blue);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Orbitron', sans-serif;
}

button[type="submit"]:hover {
    background: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue);
}

/* Hidden selects */
#durationSelect,
#matchSelect,
#gamesSelect {
    margin-top: -0.5rem;
    transition: all 0.3s ease;
}

#durationSelect.visible,
#matchSelect.visible,
#gamesSelect.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1001;
}

.modal-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--neon-blue);
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.contact-info {
    display: grid;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    color: var(--neon-blue);
    font-size: 1.5rem;
}

.info-item a {
    color: var(--text-color);
    text-decoration: none;
}

/* Footer */
footer {
    background: var(--card-bg);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: var(--neon-purple);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-color);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--neon-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        flex-direction: column;
        padding: 1rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        margin: 0.5rem 0;
    }

    .nav-links a {
        width: 100%;
        padding: 0.8rem 1rem;
    }

    .auth-buttons {
        flex-direction: column;
        margin: 1rem 0;
        gap: 0.5rem;
        width: 100%;
    }

    .login-btn, .register-btn {
        width: 100%;
        text-align: center;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .contact-value {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-info-section h3 {
        font-size: 1.5rem;
    }

    .contact-list {
        gap: 1rem;
    }

    .contact-item {
        flex-direction: row;
        align-items: center;
    }

    .contact-value {
        font-size: 0.9rem;
    }
}

/* Map Loading and Error States */
.map-loading,
.map-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: var(--neon-blue);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    z-index: 10;
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
}

.map-loading i,
.map-error i {
    margin-right: 0.5rem;
    animation: pulse 1.5s infinite;
}

.map-error {
    color: #ff6b6b;
    border-color: #ff6b6b;
    box-shadow: 0 0 10px #ff6b6b;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Make map container position relative for absolute positioning of loading/error states */
.map-container {
    position: relative;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 1rem;
    margin-left: 1rem;
}

.login-btn, .register-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-btn {
    background: transparent;
    border: 2px solid var(--neon-primary);
    color: var(--neon-primary);
}

.login-btn:hover {
    background: var(--neon-primary);
    color: var(--dark);
}

.register-btn {
    background: var(--neon-primary);
    border: 2px solid var(--neon-primary);
    color: var(--dark);
}

.register-btn:hover {
    background: transparent;
    color: var(--neon-primary);
}

/* Responsive Auth Buttons */
@media (max-width: 768px) {
    .auth-buttons {
        margin: 1rem 0;
        justify-content: center;
    }
}

/* Logo Styles */
.logo h1, .logo h1 a {
    font-family: 'Audiowide', cursive;
    color: var(--neon-blue);
    font-size: 2rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Sections */
    section {
        padding: 2rem 1rem;
    }

    /* Game Cards */
    .game-card {
        margin: 0.5rem;
    }

    .game-card:hover {
        transform: translateY(-3px);
    }

    .game-card:hover .game-img img {
        transform: scale(1.1) translateY(-5px);
    }

    /* Floating Logos */
    .floating-logo {
        transform-origin: center;
    }

    .floating-logo:nth-child(1) { transform: scale(0.8); }
    .floating-logo:nth-child(2) { transform: scale(0.7); }
    .floating-logo:nth-child(3) { transform: scale(0.9); }
    .floating-logo:nth-child(4) { transform: scale(0.6); }
    .floating-logo:nth-child(5) { transform: scale(0.8); }

    .floating-logo .cyberpunk {
        font-size: 2rem;
    }

    /* Forms and Inputs */
    input,
    select,
    textarea {
        font-size: 16px; /* Prevent zoom on mobile */
    }

    .form-group {
        margin-bottom: 1rem;
    }

    /* Buttons */
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    /* Logo Container */
    .logo-container {
        width: 200px;
        height: 70px;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 1.5rem;
    }

    /* Floating Logos */
    .floating-logo {
        opacity: 0.1;
    }

    .floating-logo:nth-child(1) { transform: scale(0.6); }
    .floating-logo:nth-child(2) { transform: scale(0.5); }
    .floating-logo:nth-child(3) { transform: scale(0.7); }
    .floating-logo:nth-child(4) { transform: scale(0.4); }
    .floating-logo:nth-child(5) { transform: scale(0.6); }

    .floating-logo .cyberpunk {
        font-size: 1.5rem;
    }

    /* Game Cards */
    .game-grid {
        grid-template-columns: 1fr;
    }

    .game-card {
        margin: 0.5rem 0;
    }

    /* Service Cards */
    .service-grid {
        grid-template-columns: 1fr;
    }

    /* Forms */
    .booking-form,
    .tournament-form,
    .contact-form {
        padding: 1rem;
    }

    /* Buttons */
    .view-more-btn {
        width: 100%;
        text-align: center;
    }
}

/* Landscape Mode */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 150vh;
    }

    .floating-logo {
        transform: scale(0.5);
    }

    .nav-links.active {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Animations */
@keyframes glow {
    0% { box-shadow: 0 0 5px var(--neon-blue); }
    50% {
        box-shadow: 0 0 20px var(--neon-blue),
                    0 0 30px var(--neon-purple);
    }
    100% { box-shadow: 0 0 5px var(--neon-blue); }
}

/* Logo Background Implementation */
.logo-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.floating-logo {
    position: absolute;
    opacity: 0.15;
    transform-origin: center;
    animation: float-around var(--float-duration, 15s) linear infinite;
}

.floating-logo:nth-child(1) {
    top: 15%;
    left: 15%;
    --float-duration: 20s;
    animation-delay: 0s;
    transform: scale(1.5);
}

.floating-logo:nth-child(2) {
    top: 65%;
    left: 75%;
    --float-duration: 25s;
    animation-delay: -5s;
    transform: scale(1.3);
}

.floating-logo:nth-child(3) {
    top: 45%;
    left: 55%;
    --float-duration: 18s;
    animation-delay: -10s;
    transform: scale(1.8);
}

.floating-logo:nth-child(4) {
    top: 75%;
    left: 25%;
    --float-duration: 22s;
    animation-delay: -15s;
    transform: scale(1.4);
}

.floating-logo:nth-child(5) {
    top: 25%;
    left: 80%;
    --float-duration: 28s;
    animation-delay: -8s;
    transform: scale(1.6);
}

.floating-logo .logo-container {
    width: 300px;
    height: 100px;
    margin: 0;
}

.floating-logo .matrix-logo-bg {
    opacity: 0.3;
}

.floating-logo .cyberpunk {
    opacity: 0.4;
    font-size: 2.5rem;
}

@keyframes float-around {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(150px, 75px) rotate(90deg) scale(1.1); }
    50% { transform: translate(0, 150px) rotate(180deg) scale(1); }
    75% { transform: translate(-150px, 75px) rotate(270deg) scale(0.9); }
    100% { transform: translate(0, 0) rotate(360deg) scale(1); }
}

/* Contact Information */
.contact-info-section {
    background: var(--card-bg);
    border: 1px solid var(--neon-blue);
    border-radius: var(--card-border-radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
}

.contact-info-section h3 {
    color: var(--neon-blue);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--neon-blue);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-item:hover {
    border-color: var(--neon-blue);
    transform: translateX(10px);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--neon-blue);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--neon-blue);
    color: var(--dark-bg);
    transform: scale(1.1);
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.2rem;
}

.contact-value {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-value:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 5px var(--neon-blue);
}

/* Responsive Design for Contacts */
@media (max-width: 768px) {
    .contact-info-section {
        padding: 1.5rem;
    }

    .contact-item {
        padding: 0.8rem;
    }

    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .contact-value {
        font-size: 0.9rem;
    }
}

/* Mobile Navigation Styles */
.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--neon-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-toggle:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: rgba(26, 26, 46, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        z-index: 999;
        padding: 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1rem 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links li:nth-child(5) { transition-delay: 0.5s; }
    .nav-links li:nth-child(6) { transition-delay: 0.6s; }
    .nav-links li:nth-child(7) { transition-delay: 0.7s; }

    .nav-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 1.5rem;
        color: var(--neon-blue);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .nav-close:hover {
        color: var(--neon-blue);
        text-shadow: 0 0 10px var(--neon-blue);
    }

    .auth-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: 2rem;
    }

    .auth-buttons a {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .game-grid, .service-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tournament-card {
        width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        margin: 1rem 0;
    }

    .auth-container {
        padding: 1rem;
    }

    .auth-box {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .game-card, .service-card {
        padding: 1rem;
    }

    .contact-info {
        padding: 1rem;
    }

    .auth-box {
        padding: 1rem;
    }

    .auth-form input {
        padding: 0.6rem;
    }

    .social-btn {
        padding: 0.8rem;
    }
}

/* Authentication States */
body.not-authenticated .auth-required {
    display: none !important;
}

body.authenticated .no-auth {
    display: none !important;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 1rem;
    margin-left: 1rem;
}

.logout-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
    background: var(--neon-primary);
    border: 2px solid var(--neon-primary);
    color: var(--dark);
}

.logout-btn:hover {
    background: transparent;
    color: var(--neon-primary);
}

/* Responsive Auth Buttons */
@media (max-width: 768px) {
    .auth-buttons {
        margin: 1rem 0;
        justify-content: center;
    }
}

/* Authentication Overlay */
.auth-check-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

.auth-matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.auth-check-content {
    position: relative;
    z-index: 2;
    background: rgba(26, 26, 46, 0.85);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    max-width: 500px;
    width: 90%;
    backdrop-filter: blur(10px);
    animation: contentFadeIn 1s ease-out;
}

.auth-check-content .logo-container {
    width: 100%;
    height: 80px;
    margin-bottom: 2rem;
    position: relative;
}

.auth-check-content .matrix-logo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

.auth-check-content h2 {
    position: relative;
    z-index: 2;
    color: var(--neon-blue);
    margin-bottom: 1rem;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--neon-blue);
}

.auth-message {
    margin: 2rem 0;
}

.auth-message .typing-text {
    color: var(--neon-blue);
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: typeWriter 2s steps(40) 0.5s forwards;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
}

.auth-message .cyberpunk-small {
    opacity: 0;
    animation: fadeIn 1s ease-out 2.5s forwards;
}

.auth-redirect-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--neon-blue);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 2px solid var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeIn 1s ease-out 3s forwards;
}

.auth-redirect-btn:hover {
    background: transparent;
    color: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue);
}

.auth-redirect-btn i {
    font-size: 1.2rem;
    animation: blink 1s infinite;
}

@keyframes typeWriter {
    from {
        width: 0;
        opacity: 1;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
