/* SpinPluto - Space & Planetary Theme */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800&family=Space+Grotesk:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --space-blue: #0a1628;
    --deep-purple: #1a0b2e;
    --neon-cyan: #00f0ff;
    --neon-purple: #b829ff;
    --planet-orange: #ff6b35;
    --star-white: #ffffff;
    --text-gray: #b0b8c4;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: radial-gradient(ellipse at bottom, var(--space-blue) 0%, var(--deep-purple) 100%);
    color: var(--star-white);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent);
    background-size: 200% 200%;
    animation: stars 60s linear infinite;
    opacity: 0.5;
    z-index: 0;
}

@keyframes stars {
    from { background-position: 0 0; }
    to { background-position: -200% 200%; }
}

/* Header */
header {
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--neon-cyan);
    padding: 1.2rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 240, 255, 0.2);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--neon-cyan);
    text-decoration: none;
    text-shadow: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-purple);
    letter-spacing: 3px;
    position: relative;
}

.nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: var(--neon-cyan);
    color: var(--space-blue);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-family: 'Orbitron', sans-serif;
}

nav a:hover {
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    text-shadow: 0 0 10px var(--neon-cyan);
}

/* Main Content */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero-section {
    text-align: center;
    padding: 5rem 2rem;
    background: rgba(26, 11, 46, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 2px solid var(--neon-purple);
    box-shadow: 0 0 50px rgba(184, 41, 255, 0.3);
}

.hero-section h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px var(--neon-cyan);
    font-weight: 800;
}

.hero-section p {
    font-size: 1.3rem;
    color: var(--text-gray);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.content-card {
    background: rgba(26, 11, 46, 0.4);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--neon-purple);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(184, 41, 255, 0.4);
}

.content-card h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.notice-panel {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(184, 41, 255, 0.1));
    border: 2px solid var(--planet-orange);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.notice-panel h3 {
    color: var(--planet-orange);
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
}

.notice-panel ul {
    list-style: none;
    padding-left: 0;
}

.notice-panel li {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.8;
}

.notice-panel li:before {
    content: "★";
    position: absolute;
    left: 0;
    color: var(--planet-orange);
    font-size: 1.2rem;
}

/* Game Container */
.game-wrapper {
    margin: 4rem auto;
    text-align: center;
    padding: 3rem;
    background: rgba(10, 22, 40, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 3px solid var(--neon-cyan);
    box-shadow: 0 0 60px rgba(0, 240, 255, 0.3);
}

.game-wrapper h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-cyan);
    margin-bottom: 2rem;
    font-size: 2.8rem;
    text-shadow: 0 0 20px var(--neon-cyan);
}

.game-frame {
    width: 100%;
    max-width: 1000px;
    height: 700px;
    border: 3px solid var(--neon-purple);
    border-radius: 15px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 0 40px rgba(184, 41, 255, 0.4);
}

/* Footer */
footer {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--neon-cyan);
    padding: 2.5rem;
    text-align: center;
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--neon-cyan);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple);
}

footer p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

/* 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;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--space-blue), var(--deep-purple));
    padding: 3.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 550px;
    border: 3px solid var(--neon-cyan);
    box-shadow: 0 0 80px rgba(0, 240, 255, 0.6);
    position: relative;
}

.age-modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-cyan);
    font-size: 2.8rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 30px var(--neon-cyan);
}

.age-modal-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-button {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
}

.age-button.yes {
    background: var(--neon-cyan);
    color: var(--space-blue);
    box-shadow: 0 0 20px var(--neon-cyan);
}

.age-button.yes:hover {
    background: var(--star-white);
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--neon-cyan);
}

.age-button.no {
    background: var(--planet-orange);
    color: var(--star-white);
}

.age-button.no:hover {
    background: #ff4500;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(10px);
        transition: right 0.3s ease;
        padding-top: 5rem;
        border-left: 2px solid var(--neon-cyan);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem;
    }

    nav li {
        border-bottom: 1px solid var(--neon-purple);
    }

    nav a {
        display: block;
        padding: 1.5rem;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section {
        padding: 3rem 1.5rem;
    }

    .game-frame {
        height: 500px;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2.5rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* Text Pages */
.text-page {
    background: rgba(26, 11, 46, 0.6);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    margin: 2rem auto;
    max-width: 950px;
    border: 2px solid var(--neon-purple);
}

.text-page h1 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-cyan);
    font-size: 2.8rem;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 0 20px var(--neon-cyan);
}

.text-page h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-cyan);
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.text-page p {
    margin-bottom: 1.2rem;
    line-height: 1.9;
    color: var(--text-gray);
}

.text-page ul {
    margin: 1rem 0 1rem 2rem;
}

.text-page li {
    margin: 0.7rem 0;
    color: var(--text-gray);
}
