* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #0a0e27;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: rgba(10, 14, 39, 0.95);
    border-bottom: 2px solid #4a5bff;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4a5bff, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 3rem;
}

.nav-menu a {
    color: #a0a0ff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a5bff;
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #4a5bff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: linear-gradient(135deg, #4a5bff, #ff6b9d);
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #1a1d3e 0%, #0a0e27 100%);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 60px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 50px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 130px 80px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 10px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.5;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4a5bff, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.5rem;
    color: #a0a0ff;
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.mission-brief {
    background: linear-gradient(135deg, #1a1d3e 0%, #0f1229 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid #4a5bff;
    margin-bottom: 3rem;
}

.mission-brief h2 {
    color: #4a5bff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.mission-brief p {
    color: #c0c0ff;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

/* Warning Grid */
.warning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.warning-panel {
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid;
    text-align: center;
}

.blue-panel {
    background: linear-gradient(135deg, rgba(74, 91, 255, 0.1), rgba(74, 91, 255, 0.05));
    border-color: #4a5bff;
}

.purple-panel {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(138, 43, 226, 0.05));
    border-color: #8a2be2;
}

.pink-panel {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(255, 107, 157, 0.05));
    border-color: #ff6b9d;
}

.panel-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.warning-panel h3 {
    color: #4a5bff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.warning-panel p {
    color: #b0b0d0;
    font-size: 1.05rem;
}

/* Game Showcase */
.game-showcase {
    background: linear-gradient(135deg, #1a1d3e 0%, #0f1229 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid #4a5bff;
    margin-bottom: 3rem;
}

.game-showcase h2 {
    color: #ff6b9d;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.quest-desc {
    text-align: center;
    color: #c0c0ff;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.game-display {
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #4a5bff;
    box-shadow: 0 0 40px rgba(74, 91, 255, 0.4);
}

.game-display iframe {
    width: 100%;
    height: 100%;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #1a1d3e 0%, #0f1229 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid #8a2be2;
}

.features-section h2 {
    color: #8a2be2;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.features-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-block {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(74, 91, 255, 0.05);
    border: 1px solid rgba(74, 91, 255, 0.3);
    transition: all 0.3s;
}

.feature-block:hover {
    transform: translateY(-5px);
    border-color: #4a5bff;
    box-shadow: 0 10px 30px rgba(74, 91, 255, 0.3);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.feature-block h4 {
    color: #4a5bff;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.feature-block p {
    color: #b0b0d0;
    font-size: 1rem;
}

/* Play Page */
.play-briefing {
    background: linear-gradient(135deg, #1a1d3e 0%, #0f1229 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid #4a5bff;
    margin-bottom: 2.5rem;
}

.play-briefing h2 {
    color: #4a5bff;
    font-size: 2.3rem;
    margin-bottom: 1rem;
}

.play-briefing p {
    color: #c0c0ff;
    font-size: 1.1rem;
}

.control-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.control-panel {
    background: linear-gradient(135deg, rgba(74, 91, 255, 0.1), rgba(74, 91, 255, 0.05));
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #4a5bff;
    text-align: center;
}

.control-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.control-panel h3 {
    color: #4a5bff;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.control-panel p {
    color: #b0b0d0;
    font-size: 1rem;
}

.mission-reminder {
    margin-top: 2.5rem;
}

.reminder-panel {
    background: linear-gradient(135deg, #ff6b9d, #8a2be2);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.reminder-panel p {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
}

/* Legal Pages */
.legal-main {
    max-width: 1100px;
}

.legal-segment {
    background: linear-gradient(135deg, #1a1d3e 0%, #0f1229 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid #4a5bff;
    margin-bottom: 2rem;
}

.legal-segment h2 {
    color: #4a5bff;
    font-size: 1.9rem;
    margin-bottom: 1.2rem;
}

.legal-segment p {
    color: #c0c0ff;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

/* Age Check */
.age-check {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.age-check.active {
    display: flex;
}

.age-panel {
    background: linear-gradient(135deg, #1a1d3e, #0a0e27);
    padding: 3.5rem;
    border-radius: 25px;
    text-align: center;
    max-width: 550px;
    margin: 0 20px;
    border: 3px solid #4a5bff;
    box-shadow: 0 0 60px rgba(74, 91, 255, 0.5);
}

.space-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.age-panel h2 {
    color: #4a5bff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.age-panel p {
    color: #c0c0ff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.verify-text {
    color: #fff !important;
    font-weight: 600;
    font-size: 1.3rem !important;
}

.verify-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-confirm,
.btn-deny {
    padding: 1.3rem 2rem;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-confirm {
    background: linear-gradient(135deg, #4a5bff, #8a2be2);
    color: #fff;
}

.btn-deny {
    background: #555;
    color: #fff;
}

.btn-confirm:hover,
.btn-deny:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(74, 91, 255, 0.4);
}

/* Footer */
.page-footer {
    background: linear-gradient(135deg, #1a1d3e 0%, #0a0e27 100%);
    border-top: 2px solid #4a5bff;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-wrapper h3 {
    color: #4a5bff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-wrapper p {
    color: #b0b0d0;
    margin-bottom: 1.5rem;
}

.resource-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.resource-links a {
    color: #fff;
    background: linear-gradient(135deg, #4a5bff, #8a2be2);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.resource-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 91, 255, 0.4);
}

.footer-note {
    color: #808090;
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 80px);
        background: #1a1d3e;
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        box-shadow: -5px 0 20px rgba(74, 91, 255, 0.3);
        transition: right 0.3s;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu a {
        padding: 1.2rem 0;
        border-bottom: 1px solid rgba(74, 91, 255, 0.3);
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }

    .game-display {
        height: 400px;
    }

    .warning-grid,
    .features-matrix,
    .control-panels {
        grid-template-columns: 1fr;
    }
}
