@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: #0a0a0a;
    color: #00ffff;
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 49%, rgba(0, 255, 255, 0.03) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(0, 255, 255, 0.03) 50%, transparent 51%);
    background-size: 20px 20px;
    z-index: -1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem 0;
    box-shadow: 0 8px 32px rgba(0, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 2.8rem;
    font-weight: 900;
    color: #00ffff;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    position: relative;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% { text-shadow: 0 0 20px rgba(0, 255, 255, 0.5); }
    100% { text-shadow: 0 0 30px rgba(0, 255, 255, 0.8), 0 0 40px rgba(0, 255, 255, 0.3); }
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 2px solid #00ffff;
    color: #00ffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: #00ffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid transparent;
    font-family: 'Orbitron', monospace;
}

.nav a:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: width 0.3s ease;
}

.nav a:hover::before {
    width: 100%;
}

/* Main Content */
.main {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

.hero {
    text-align: center;
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 2px solid rgba(0, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 255, 255, 0.05), transparent);
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero h1 {
    font-family: 'Orbitron', monospace;
    font-size: 4.5rem;
    color: #00ffff;
    margin-bottom: 2rem;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero p {
    font-size: 1.4rem;
    color: #b0e0e6;
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-weight: 300;
}

.notice-banner {
    background: linear-gradient(45deg, #ff4500, #ff6347);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 3px solid #00ffff;
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.notice-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: slide 3s infinite;
}

@keyframes slide {
    0% { left: -100%; }
    100% { left: 100%; }
}

.notice-banner h3 {
    color: #00ffff;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Orbitron', monospace;
    position: relative;
    z-index: 1;
}

.notice-banner ul {
    list-style: none;
    text-align: center;
    position: relative;
    z-index: 1;
}

.notice-banner li {
    padding: 1rem 0;
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 600;
}

.game-container {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
    position: relative;
}

.game-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffff, #0080ff, #00ffff, #0080ff);
    border-radius: 20px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.game-container h2 {
    text-align: center;
    color: #00ffff;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease;
}

.game-frame:hover {
    transform: scale(1.02);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 2px solid rgba(0, 255, 255, 0.3);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
}

.footer-content {
    text-align: center;
}

.footer h3 {
    color: #00ffff;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #b0e0e6;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 255, 0.3);
    font-family: 'Orbitron', monospace;
}

.footer-links a:hover {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.footer p {
    color: #808080;
    font-size: 0.9rem;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.age-modal.show {
    display: flex;
}

.age-modal-content {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.3);
    max-width: 600px;
    width: 90%;
    position: relative;
    overflow: hidden;
}

.age-modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 255, 255, 0.05), transparent);
    animation: rotate 10s linear infinite;
}

.age-modal h2 {
    color: #00ffff;
    font-size: 3rem;
    margin-bottom: 2rem;
    font-family: 'Orbitron', monospace;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.age-modal p {
    color: #b0e0e6;
    font-size: 1.3rem;
    margin-bottom: 3rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.age-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.age-btn {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    border: 2px solid #00ffff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.age-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.age-btn:hover::before {
    left: 100%;
}

.age-btn.yes {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
}

.age-btn.yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
}

.age-btn.no {
    background: linear-gradient(45deg, #ff4500, #ff6347);
    color: #ffffff;
}

.age-btn.no:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.6);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 8px 32px rgba(0, 255, 255, 0.1);
        border-radius: 0 0 20px 20px;
        border-top: 2px solid rgba(0, 255, 255, 0.3);
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        padding: 1.5rem;
        text-align: center;
        border-bottom: 1px solid rgba(0, 255, 255, 0.2);
        border-radius: 10px;
        margin: 0.5rem 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .age-modal-content {
        padding: 3rem 2rem;
        margin: 1rem;
    }
    
    .age-modal h2 {
        font-size: 2.5rem;
    }
    
    .age-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .game-frame {
        height: 300px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .game-container {
        padding: 2rem;
    }
}

/* Additional Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero, .game-container, .notice-banner {
    animation: fadeInUp 1s ease-out;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

/* Tech Elements */
.tech-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    animation: techLine 3s ease-in-out infinite;
}

@keyframes techLine {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}