/* Trelithor - Futuristic Space Gaming Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-cyan: #00d4ff;
    --secondary-cyan: #00b4d8;
    --deep-space: #001d3d;
    --medium-space: #003566;
    --light-space: #0077b6;
    --neon-blue: #0096c7;
    --neon-purple: #7209b7;
    --neon-pink: #f72585;
    --space-gold: #ffd60a;
    --text-space: #e8f4fd;
    --text-neon: #b8e6ff;
    --text-dark: #001d3d;
    --accent-orange: #ff8500;
    --warning-red: #ff006e;
}

body {
    font-family: 'Orbitron', 'Courier New', monospace;
    background: linear-gradient(135deg, var(--deep-space) 0%, var(--medium-space) 50%, var(--light-space) 100%);
    color: var(--text-space);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(114, 9, 183, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(247, 37, 133, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: spaceGlow 10s ease-in-out infinite alternate;
}

@keyframes spaceGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: linear-gradient(90deg, var(--deep-space) 0%, var(--medium-space) 50%, var(--deep-space) 100%);
    border-bottom: 2px solid var(--primary-cyan);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-toggle{display:none}
.hamburger{display:none;cursor:pointer;width:34px;height:28px;flex-shrink:0;align-items:center;justify-content:center;gap:5px}
.hamburger span{display:block;width:100%;height:3px;background:var(--text-space);border-radius:3px;transition:transform .3s ease,opacity .3s ease}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--primary-cyan);
    text-shadow: 
        0 0 15px rgba(0, 212, 255, 0.8),
        0 0 30px rgba(0, 212, 255, 0.6),
        0 0 45px rgba(0, 212, 255, 0.4);
    letter-spacing: 3px;
    position: relative;
}

.logo h1::before {
    content: '🚀';
    margin-right: 10px;
    animation: rocketPulse 2s ease-in-out infinite alternate;
}

@keyframes rocketPulse {
    0% { transform: scale(1); filter: brightness(1); }
    100% { transform: scale(1.2); filter: brightness(1.5); }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: var(--text-space);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 20px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    background: rgba(0, 212, 255, 0.1);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--neon-blue) 100%);
    border-color: var(--neon-purple);
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.6),
        0 0 40px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

.main-content {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.hero-section {
    text-align: center;
    padding: 70px 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(114, 9, 183, 0.1) 50%, rgba(247, 37, 133, 0.1) 100%);
    border-radius: 25px;
    margin-bottom: 45px;
    border: 3px solid var(--primary-cyan);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        inset 0 0 35px rgba(0, 212, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    color: var(--primary-cyan);
    margin-bottom: 25px;
    text-shadow: 
        0 0 25px rgba(0, 212, 255, 0.8),
        0 0 50px rgba(0, 212, 255, 0.6);
    animation: titleNeon 4s ease-in-out infinite alternate;
    background: linear-gradient(45deg, var(--primary-cyan), var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes titleNeon {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-neon);
    margin-bottom: 30px;
    font-weight: 400;
}

.notice-banner {
    background: linear-gradient(135deg, var(--medium-space) 0%, var(--light-space) 100%);
    color: white;
    padding: 25px;
    border-radius: 20px;
    margin: 35px 0;
    border: 3px solid var(--space-gold);
    box-shadow: 
        0 10px 25px rgba(0, 53, 102, 0.4),
        inset 0 0 25px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.notice-banner h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    text-align: center;
    color: var(--space-gold);
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.notice-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.notice-item:hover {
    transform: translateY(-5px);
}

.game-section {
    background: var(--medium-space);
    border: 3px solid var(--primary-cyan);
    border-radius: 25px;
    padding: 40px;
    margin: 45px 0;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        inset 0 0 35px rgba(0, 212, 255, 0.1);
    position: relative;
}

.game-title {
    font-size: 2.4rem;
    color: var(--primary-cyan);
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.game-container {
    background: #000;
    border: 2px solid var(--secondary-cyan);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: inset 0 0 30px rgba(0, 212, 255, 0.2);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 12px;
    background: #000;
}

.footer {
    background: var(--deep-space);
    border-top: 3px solid var(--primary-cyan);
    padding: 40px 0;
    margin-top: 70px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--primary-cyan);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-neon);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section ul li a:hover {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--medium-space);
    color: var(--text-neon);
}

.age-verification-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 29, 61, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.age-verification-content {
    background: linear-gradient(135deg, var(--deep-space) 0%, var(--medium-space) 100%);
    border: 3px solid var(--primary-cyan);
    border-radius: 25px;
    padding: 50px;
    max-width: 550px;
    width: 90%;
    text-align: center;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.age-verification-header h2 {
    color: var(--primary-cyan);
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.age-verification-body {
    margin: 30px 0;
}

.age-verification-body p {
    margin-bottom: 20px;
    color: var(--text-space);
    font-size: 1.1rem;
}

.age-verification-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--neon-blue) 100%);
    color: var(--text-dark);
    box-shadow: 
        0 8px 25px rgba(0, 212, 255, 0.4),
        0 0 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(0, 212, 255, 0.6),
        0 0 30px rgba(0, 212, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-space);
    border: 2px solid var(--primary-cyan);
}

.btn-outline:hover {
    background: var(--primary-cyan);
    color: var(--text-dark);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

@media (max-width: 768px) {
    .hamburger{display:flex;margin-left:auto}
    .nav{width:100%}
    .nav-list{display:none;flex-direction:column;gap:0;background:var(--medium-space);border:1px solid var(--neon-blue);border-radius:12px;padding:10px;margin-top:10px}
    .nav-list li{list-style:none}
    .nav-link{display:block;width:100%;text-align:center;margin:4px 0}
    .nav-toggle:checked ~ .hamburger span:nth-child(1){transform:translateY(8px) rotate(45deg)}
    .nav-toggle:checked ~ .hamburger span:nth-child(2){opacity:0}
    .nav-toggle:checked ~ .hamburger span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
    .nav-toggle:checked ~ .nav .nav-list{display:flex}

    .header-content{flex-wrap:wrap}
    .hero-title{font-size:2.8rem}
    .age-verification-actions{flex-direction:column}
    .notice-grid{grid-template-columns:1fr}
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .game-frame {
        height: 400px;
    }
}