* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0f;
    color: #e2e8f0;
    line-height: 1.7;
    min-height: 100vh;
}

/* Age Gate Modal */
.age-gate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-gate-modal.hidden {
    display: none;
}

.age-gate-inner {
    background: linear-gradient(135deg, #06b6d4 0%, #ec4899 100%);
    padding: 3.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 550px;
    box-shadow: 0 0 60px rgba(6, 182, 212, 0.5);
}

.gate-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.gate-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.gate-message {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.8rem;
}

.gate-prompt {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 1.5rem 0;
}

.gate-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.btn-grant,
.btn-deny {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.btn-grant {
    background: white;
    color: #06b6d4;
}

.btn-grant:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-deny {
    background: #1e293b;
    color: #cbd5e1;
}

.btn-deny:hover {
    background: #0f172a;
}

/* Site Header */
.site-header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #06b6d4;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navigation {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #06b6d4 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #cbd5e1;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    background: linear-gradient(135deg, #06b6d4 0%, #ec4899 100%);
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: linear-gradient(135deg, #06b6d4 0%, #ec4899 100%);
    border: none;
    padding: 0.8rem;
    border-radius: 10px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #7c2d12 50%, #06b6d4 100%);
    padding: 6rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.hero-h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(6, 182, 212, 0.7);
}

.hero-desc {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    font-weight: 700;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #7c2d12 100%);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.hero-content-slim h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.8rem;
}

.hero-content-slim p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Content Box */
.content-box {
    max-width: 1200px;
    margin: 0 auto 3rem;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(6, 182, 212, 0.3);
}

.content-box h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #06b6d4 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-align: center;
}

.content-box p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 1.2rem;
}

/* Principle Grid */
.principle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.principle-card {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid rgba(6, 182, 212, 0.3);
    transition: all 0.3s;
}

.principle-card:hover {
    transform: translateY(-5px);
    border-color: #06b6d4;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.principle-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.principle-emoji {
    font-size: 2.5rem;
}

.principle-card h3 {
    font-size: 1.5rem;
    color: #06b6d4;
}

.principle-card p {
    color: #cbd5e1;
}

/* Game Viewport */
.mission-brief {
    text-align: center;
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

.game-viewport {
    margin: 2.5rem 0;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #06b6d4;
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.4);
}

.game-viewport iframe {
    width: 100%;
    height: 650px;
    border: none;
}

.mission-footer {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ec4899;
}

/* Spec Modules */
.specs-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.spec-module {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(6, 182, 212, 0.2);
    text-align: center;
}

.spec-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.spec-module h4 {
    font-size: 1.4rem;
    color: #06b6d4;
    margin-bottom: 0.8rem;
}

.spec-module p {
    color: #cbd5e1;
}

/* Play Zone */
.play-description {
    margin-bottom: 2.5rem;
}

.system-requirements {
    background: rgba(6, 182, 212, 0.1);
    padding: 1.8rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.system-requirements h3 {
    color: #06b6d4;
    margin-bottom: 1rem;
}

.system-requirements ul {
    list-style: none;
    padding-left: 0;
}

.system-requirements li {
    margin-bottom: 0.6rem;
    color: #cbd5e1;
}

.alert-box {
    background: linear-gradient(135deg, #06b6d4 0%, #ec4899 100%);
    padding: 1.5rem;
    border-radius: 12px;
    color: white;
    margin: 1.5rem 0;
}

.game-container-play iframe {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 12px;
    border: 3px solid #06b6d4;
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.4);
}

/* Legal Text */
.legal-text {
    max-width: 950px;
    margin: 0 auto;
}

.legal-text h2 {
    font-size: 2rem;
    color: #06b6d4;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.legal-text h3 {
    font-size: 1.5rem;
    color: #ec4899;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
}

.legal-text ul {
    margin-left: 2rem;
    margin-bottom: 1.2rem;
}

.legal-text li {
    margin-bottom: 0.6rem;
    color: #cbd5e1;
}

.terms-agreement,
.privacy-summary,
.warning-block,
.acknowledgment-block {
    background: linear-gradient(135deg, #06b6d4 0%, #ec4899 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2.5rem 0;
    color: white;
}

.warning-block h2,
.acknowledgment-block h3 {
    color: white;
    text-align: center;
    margin-top: 0;
}

.acknowledgment-block ul {
    color: white;
}

.acknowledgment-block li {
    color: white;
}

/* Footer */
.site-footer {
    background: rgba(15, 23, 42, 0.95);
    border-top: 2px solid #06b6d4;
    padding: 3rem 2rem;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-column h5 {
    font-family: 'Orbitron', sans-serif;
    color: #06b6d4;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-column p {
    color: #94a3b8;
    line-height: 1.7;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.6rem;
}

.footer-column a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #06b6d4;
}

.footer-bar {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(6, 182, 212, 0.3);
    color: #64748b;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 90px;
        right: 2rem;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 1.5rem;
        border-radius: 15px;
        border: 2px solid #06b6d4;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        transform: translateX(20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s;
        gap: 0;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links li {
        margin-bottom: 0.5rem;
    }

    .hero-h1 {
        font-size: 3rem;
    }

    .hero-desc {
        font-size: 1.3rem;
    }

    .hero-content-slim h1 {
        font-size: 2.5rem;
    }

    .content-box {
        padding: 1.8rem;
    }

    .content-box h2 {
        font-size: 2rem;
    }

    .game-viewport iframe {
        height: 450px;
    }

    .game-container-play iframe {
        height: 500px;
    }

    .principle-grid,
    .specs-layout {
        grid-template-columns: 1fr;
    }
}
