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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Color Variables */
:root {
    --neon-cyan: #00FFFF;
    --electric-purple: #8A2BE2;
    --hot-pink: #FF1493;
    --lime-green: #32CD32;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: rgba(20, 20, 20, 0.9);
    --border-glow: rgba(0, 255, 255, 0.3);
}

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

.header.scrolled {
    box-shadow: 0 5px 30px rgba(0, 255, 255, 0.3);
}

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

.logo h1 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-cyan);
    letter-spacing: 3px;
}

.logo-tagline {
    font-size: 0.8rem;
    color: var(--hot-pink);
    letter-spacing: 2px;
    display: block;
    margin-top: -5px;
}

.logo-link {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-link:hover h1 {
    text-shadow: 0 0 30px var(--neon-cyan);
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--hot-pink));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.7rem 1.5rem;
    display: block;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, var(--neon-cyan), var(--electric-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-menu a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 1.8rem;
}

.dropdown-menu a:hover::before {
    opacity: 1;
}

/* Add a subtle glow effect to the dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, var(--neon-cyan), var(--electric-purple));
    border-radius: 8px;
    z-index: -1;
    opacity: 0.1;
}

/* Hamburger Menu */
.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;
    border-radius: 2px;
}

.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);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, #1a1a2e 0%, #0a0a0a 100%);
    overflow: hidden;
}

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

/* Hexagonal Grid */
.hex-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: -2px;
    transform: rotate(30deg);
}

.hex-row {
    display: flex;
    gap: -2px;
    margin-top: -15px;
}

.hex {
    width: 100px;
    height: 115px;
    background: rgba(0, 255, 255, 0.03);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    position: relative;
    transition: all 0.3s ease;
}

.hex::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: rgba(0, 255, 255, 0.05);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: all 0.3s ease;
}

.hex:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: scale(1.1);
    z-index: 2;
}

.hex:hover::before {
    background: rgba(0, 255, 255, 0.15);
}

/* Energy Particles */
.energy-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(138, 43, 226, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 40% 80%, rgba(255, 20, 147, 0.2) 0%, transparent 20%);
    filter: blur(20px);
    animation: particleFloat 15s ease-in-out infinite;
}

/* Cyber Lines */
.cyber-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(0, 255, 255, 0.1) 49%, rgba(0, 255, 255, 0.1) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(0, 255, 255, 0.1) 49%, rgba(0, 255, 255, 0.1) 51%, transparent 52%);
    background-size: 50px 50px;
    animation: cyberLinesMove 20s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 30px;
    color: var(--neon-cyan);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    animation: badgeGlow 2s ease-in-out infinite;
}

.badge-icon {
    animation: iconPulse 1.5s ease-in-out infinite;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform: translateY(0);
    opacity: 1;
    animation: titleReveal 0.8s ease-out forwards;
}

.title-line.highlight {
    color: var(--neon-cyan);
    text-shadow: 0 0 30px var(--neon-cyan);
    animation: titleReveal 0.8s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateY(20px);
}

/* Cyber Sphere */
.cyber-sphere {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sphere-core {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at center, var(--neon-cyan) 0%, transparent 70%);
    border-radius: 50%;
    animation: corePulse 3s ease-in-out infinite;
}

.sphere-ring {
    position: absolute;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    animation: ringRotate 10s linear infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    animation-duration: 15s;
}

.ring-2 {
    width: 300px;
    height: 300px;
    animation-duration: 20s;
    animation-direction: reverse;
}

.ring-3 {
    width: 400px;
    height: 400px;
    animation-duration: 25s;
}

.sphere-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--neon-cyan) 0%, transparent 70%);
    filter: blur(20px);
    opacity: 0.3;
    animation: particlePulse 4s ease-in-out infinite;
}

/* Floating Elements */
/* .floating-elements { 
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}*/

.float-element {
    position: absolute;
    font-size: 2rem;
    animation: floatElement 6s ease-in-out infinite;
}

.elem-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.elem-2 {
    top: 60%;
    left: 70%;
    animation-delay: 2s;
}

.elem-3 {
    top: 40%;
    left: 40%;
    animation-delay: 4s;
}

/* Animations */
@keyframes cyberLinesMove {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(50px) rotate(360deg); }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes corePulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 0.6; }
}

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

@keyframes particlePulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

@keyframes floatElement {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(5deg); }
    50% { transform: translate(0, -40px) rotate(0deg); }
    75% { transform: translate(-20px, -20px) rotate(-5deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .cyber-sphere {
        width: 300px;
        height: 300px;
    }

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

    .hex {
        width: 80px;
        height: 92px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .cyber-sphere {
        width: 250px;
        height: 250px;
    }

    .hex {
        width: 60px;
        height: 69px;
    }

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

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
}

.title-glow {
    background: linear-gradient(45deg, var(--neon-cyan), var(--hot-pink), var(--lime-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

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

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.game-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(45deg, var(--neon-cyan), var(--hot-pink), var(--lime-green), var(--electric-purple));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    padding: 2px;
}

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

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

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

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

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

.game-info {
    padding: 1.5rem;
    text-align: center;
}

.game-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.game-info p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.play-btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--hot-pink), var(--electric-purple));
    color: #000;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 20, 147, 0.4);
}

/* System Features Section */
.system-features {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.95), rgba(22, 27, 34, 0.95));
    position: relative;
    overflow: hidden;
}

.system-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 255, 255, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--electric-purple));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.feature-icon i {
    font-size: 1.8rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

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

.feature-card h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    background: linear-gradient(45deg, #ffffff, var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
    font-weight: bold;
}

@keyframes iconShine {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }
    100% {
        transform: rotate(45deg) translateX(100%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--darker-bg);
}

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

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 2rem;
}

.about-text p:first-child {
    color: var(--neon-cyan);
    font-weight: 600;
}

/* Disclaimer Section */
.disclaimer {
    padding: 4rem 0;
    background: var(--dark-bg);
}

.disclaimer-panel {
    background: var(--card-bg);
    border: 2px solid var(--hot-pink);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.3);
}

.disclaimer-panel h3 {
    font-family: 'Orbitron', monospace;
    color: var(--hot-pink);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.disclaimer-content p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #cccccc;
}

/* Footer Styles */
.footer {
    background: linear-gradient(to bottom, var(--dark-bg), #0a0d14);
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        var(--neon-cyan),
        var(--electric-purple),
        transparent
    );
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.logo-link {
    text-decoration: none;
    display: inline-block;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--neon-cyan), var(--electric-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.logo-link:hover .logo-text {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--electric-purple));
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    color: #ffffff;
    background: linear-gradient(45deg, var(--neon-cyan), var(--electric-purple));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-logo {
        margin-bottom: 0.5rem;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--neon-cyan);
        padding: 2rem 0;
    }

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

    .nav-menu li {
        margin: 1rem 0;
    }

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

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

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

    .nav-container {
        padding: 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }

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

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

    .cta-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .game-card {
        margin: 0 0.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--neon-cyan);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth scrolling enhancements */
@media (prefers-reduced-motion: no-preference) {
    .game-card {
        animation: fadeInUp 0.6s ease-out forwards;
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-btn {
    position: relative;
    padding: 0.8rem 2rem;
    background: linear-gradient(45deg, var(--neon-cyan), var(--electric-purple));
    border: none;
    color: #ffffff;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border-radius: 30px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    animation: buttonPulse 2s infinite;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    background: linear-gradient(45deg, var(--electric-purple), var(--neon-cyan));
}

.cta-btn:active {
    transform: translateY(1px);
}

.btn-text {
    position: relative;
    z-index: 2;
    display: inline-block;
    animation: textGlow 2s infinite;
}

.btn-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-btn:hover .btn-glow {
    left: 100%;
}

.btn-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    border-radius: 30px;
}

.btn-particles::before,
.btn-particles::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: particleFloat 3s infinite;
}

.btn-particles::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.btn-particles::after {
    top: 60%;
    left: 60%;
    animation-delay: 1.5s;
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8),
                     0 0 20px rgba(0, 255, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    }
}

@keyframes particleFloat {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(15px, -15px) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
}

/* Add hover effect for the entire CTA container */
.hero-cta {
    position: relative;
    display: inline-block;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(45deg, var(--neon-cyan), var(--electric-purple));
    border-radius: 40px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-cta:hover::before {
    opacity: 0.3;
    animation: ctaGlow 2s infinite;
}

@keyframes ctaGlow {
    0% {
        opacity: 0.3;
        filter: blur(4px);
    }
    50% {
        opacity: 0.5;
        filter: blur(8px);
    }
    100% {
        opacity: 0.3;
        filter: blur(4px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-btn {
        padding: 0.7rem 1.8rem;
        font-size: 0.85rem;
    }
}