@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cosmic-purple: #8b5cf6;
    --cosmic-pink: #ec4899;
    --cosmic-blue: #3b82f6;
    --cosmic-dark: #0f0a1e;
    --cosmic-darker: #060312;
    --cosmic-light: #e0d5ff;
    --cosmic-glow: #a78bfa;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: radial-gradient(ellipse at top, #1a0f3d 0%, #060312 100%);
    color: var(--cosmic-light);
    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-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: 300% 300%;
    background-position: 0% 0%;
    animation: stars 200s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes stars {
    from { background-position: 0% 0%; }
    to { background-position: 100% 100%; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
header {
    background: rgba(15, 10, 30, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--cosmic-purple);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--cosmic-purple) 0%, var(--cosmic-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-toggle {
    display: none;
    background: linear-gradient(135deg, var(--cosmic-purple) 0%, var(--cosmic-pink) 100%);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: bold;
}

.nav-toggle:hover {
    box-shadow: 0 0 20px var(--cosmic-glow);
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
}

nav ul li a {
    color: var(--cosmic-light);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--cosmic-purple);
    border-radius: 25px;
    transition: all 0.3s;
    display: inline-block;
}

nav ul li a:hover {
    background: linear-gradient(135deg, var(--cosmic-purple) 0%, var(--cosmic-pink) 100%);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.6);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 0;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--cosmic-purple) 0%, var(--cosmic-pink) 50%, var(--cosmic-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5)); }
    to { filter: drop-shadow(0 0 40px rgba(236, 72, 153, 0.8)); }
}

.hero p {
    font-size: 1.3rem;
    color: var(--cosmic-glow);
    max-width: 900px;
    margin: 0 auto 2rem;
    font-weight: 300;
}

/* Notice Cards */
.notices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.notice-card {
    background: rgba(15, 10, 30, 0.6);
    border: 2px solid var(--cosmic-purple);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.notice-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.notice-card:hover::before {
    opacity: 1;
}

.notice-card:hover {
    border-color: var(--cosmic-pink);
    box-shadow: 0 0 40px rgba(236, 72, 153, 0.4);
    transform: translateY(-10px) scale(1.02);
}

.notice-card h3 {
    color: var(--cosmic-purple);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.notice-card p {
    color: var(--cosmic-light);
    font-size: 1rem;
    font-weight: 300;
}

/* Game Section */
.game-section {
    margin: 5rem 0;
    text-align: center;
}

.game-section h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--cosmic-purple) 0%, var(--cosmic-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

.game-container {
    background: rgba(15, 10, 30, 0.7);
    border: 2px solid var(--cosmic-purple);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.3);
    margin: 2rem auto;
    max-width: 950px;
}

.game-container iframe {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 15px;
}

/* Content Section */
.content-section {
    margin: 5rem 0;
    padding: 4rem;
    background: rgba(15, 10, 30, 0.5);
    border-radius: 25px;
    border: 2px solid var(--cosmic-purple);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--cosmic-purple) 0%, var(--cosmic-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.content-section p {
    margin-bottom: 1.5rem;
    color: var(--cosmic-light);
    font-size: 1.05rem;
    font-weight: 300;
}

.content-section ul {
    list-style: none;
    margin: 2rem 0;
}

.content-section ul li {
    padding: 1.2rem;
    margin: 1rem 0;
    background: rgba(139, 92, 246, 0.15);
    border-left: 4px solid var(--cosmic-purple);
    border-radius: 10px;
    color: var(--cosmic-light);
    font-weight: 300;
}

.content-section ul li strong {
    color: var(--cosmic-glow);
    font-weight: 600;
}

/* Footer */
footer {
    background: rgba(15, 10, 30, 0.9);
    border-top: 2px solid var(--cosmic-purple);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--cosmic-purple);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 0.8rem 0;
}

.footer-section ul li a {
    color: var(--cosmic-light);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 300;
}

.footer-section ul li a:hover {
    color: var(--cosmic-pink);
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--cosmic-purple);
    color: var(--cosmic-glow);
    font-size: 0.95rem;
    font-weight: 300;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 3, 18, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: radial-gradient(ellipse at top, #1a0f3d 0%, #060312 100%);
    border: 3px solid var(--cosmic-purple);
    border-radius: 25px;
    padding: 4rem;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 0 80px rgba(139, 92, 246, 0.6);
    animation: modalFade 0.4s ease-out;
}

@keyframes modalFade {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.age-modal-content h2 {
    background: linear-gradient(135deg, var(--cosmic-purple) 0%, var(--cosmic-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.age-modal-content p {
    color: var(--cosmic-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 300;
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.age-buttons button {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-yes {
    background: linear-gradient(135deg, var(--cosmic-purple) 0%, var(--cosmic-pink) 100%);
    color: #fff;
}

.btn-yes:hover {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.8);
    transform: scale(1.05);
}

.btn-no {
    background: transparent;
    color: #ef4444;
    border: 2px solid #ef4444;
}

.btn-no:hover {
    background: #ef4444;
    color: #fff;
    transform: scale(1.05);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 75px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: rgba(15, 10, 30, 0.98);
        transition: right 0.4s;
        padding: 2rem;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav ul li a {
        display: block;
        padding: 1.2rem;
        font-size: 1.1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .notices {
        grid-template-columns: 1fr;
    }

    .game-container iframe {
        height: 450px;
    }

    .age-modal-content {
        margin: 1.5rem;
        padding: 2.5rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .age-buttons button {
        width: 100%;
    }

    .content-section {
        padding: 2.5rem;
    }
}