@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;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #0d0221;
    color: #e4e4e7;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
    z-index: -1;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Container */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
.header {
    background: rgba(13, 2, 33, 0.8);
    border: 2px solid #a855f7;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #a855f7, #ec4899, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.8)); }
    50% { filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.8)); }
}

/* Navigation Menu */
.menu {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
}

.menu a {
    color: #e4e4e7;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.menu a:hover,
.menu a.active {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

/* Hamburger */
.menu-btn {
    display: none;
    background: #a855f7;
    border: none;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1rem;
}

/* Content Box */
.content-box {
    background: rgba(13, 2, 33, 0.6);
    border: 2px solid #a855f7;
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
    backdrop-filter: blur(5px);
}

.content-box h2 {
    font-size: 2.5rem;
    color: #a855f7;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.content-box p {
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: 1rem;
    color: #d4d4d8;
}

.content-box ul {
    list-style: none;
    font-size: 1.2rem;
    line-height: 2.5;
    color: #d4d4d8;
}

.content-box ul li::before {
    content: "▸ ";
    color: #ec4899;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Hero */
.hero {
    text-align: center;
    padding: 5rem 2rem;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.hero p {
    font-size: 1.4rem;
    max-width: 900px;
    margin: 0 auto;
    color: #d4d4d8;
    line-height: 1.8;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-box {
    background: rgba(168, 85, 247, 0.1);
    border: 2px solid #a855f7;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
}

.info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.4);
    border-color: #ec4899;
}

.info-box-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.info-box h3 {
    font-size: 1.8rem;
    color: #ec4899;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.info-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d4d4d8;
}

/* Game Container */
.game-wrapper {
    background: rgba(0, 0, 0, 0.6);
    border: 3px solid #a855f7;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.4);
}

.game-wrapper h2 {
    font-size: 3rem;
    color: #ec4899;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.game-wrapper p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #d4d4d8;
}

.game-frame {
    width: 100%;
    max-width: 850px;
    height: 650px;
    border: none;
    border-radius: 15px;
    margin: 0 auto;
    display: block;
}

/* Footer */
.footer {
    background: rgba(13, 2, 33, 0.8);
    border: 2px solid #a855f7;
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
}

.footer p {
    margin: 0.8rem 0;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #a855f7;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: #ec4899;
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.8);
}

/* Age 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.show {
    display: flex;
}

.age-box {
    background: linear-gradient(135deg, #0d0221, #1e0342);
    border: 3px solid #a855f7;
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    max-width: 550px;
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.6);
}

.age-box h2 {
    font-size: 3rem;
    color: #ec4899;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.age-box p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #d4d4d8;
    line-height: 1.8;
}

.age-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-btns button {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.age-btns button:hover {
    transform: scale(1.08);
}

.btn-accept {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #fff;
}

.btn-reject {
    background: #333;
    color: #e4e4e7;
    border: 2px solid #666;
}

/* Mobile */
@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        margin-top: 1.5rem;
    }

    .menu.active {
        display: flex;
    }

    .logo {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .content-box {
        padding: 2rem;
    }

    .game-frame {
        height: 450px;
    }

    .age-box {
        margin: 1rem;
        padding: 2.5rem;
    }

    .age-btns {
        flex-direction: column;
    }
}
