@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8b5cf6;
    --secondary: #d97706;
    --dark: #1a0b2e;
    --light: #f5f3ff;
    --accent: #fbbf24;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 100%);
    color: var(--light);
    min-height: 100vh;
}

header {
    background: rgba(26, 11, 46, 0.95);
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

nav ul li a:hover {
    color: var(--accent);
    background: rgba(139, 92, 246, 0.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: 0.3s;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 3rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 2px solid rgba(251, 191, 36, 0.3);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    color: rgba(245, 243, 255, 0.9);
}

.notice-box {
    background: rgba(217, 119, 6, 0.15);
    border-left: 4px solid var(--secondary);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.notice-box h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.notice-box ul {
    list-style: none;
    padding-left: 0;
}

.notice-box ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.notice-box ul li:before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.game-container {
    background: rgba(26, 11, 46, 0.6);
    padding: 2rem;
    border-radius: 20px;
    margin: 2rem 0;
    text-align: center;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.game-container h2 {
    margin-bottom: 1.5rem;
    color: var(--accent);
    font-size: 2rem;
}

.game-frame {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: none;
    border-radius: 12px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.content-section {
    background: rgba(139, 92, 246, 0.1);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    line-height: 1.8;
}

.content-section h2 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.content-section h3 {
    color: var(--secondary);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.content-section p {
    margin-bottom: 1rem;
    color: rgba(245, 243, 255, 0.9);
}

footer {
    background: rgba(26, 11, 46, 0.95);
    padding: 2rem;
    margin-top: 4rem;
    border-top: 2px solid rgba(139, 92, 246, 0.3);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--accent);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.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, #1a0b2e, #2d1b4e);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 3px solid var(--accent);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.5);
}

.age-modal-content h2 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.age-modal-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-buttons button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
}

.age-yes {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.age-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.5);
}

.age-no {
    background: #666;
    color: white;
}

.age-no:hover {
    background: #555;
}

@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(26, 11, 46, 0.98);
        width: 100%;
        padding: 2rem;
        transition: 0.3s;
        gap: 0;
        border-top: 2px solid var(--accent);
    }

    nav ul.active {
        left: 0;
    }

    nav ul li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    main {
        padding: 1rem;
    }

    .game-frame {
        height: 400px;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2rem;
    }
}
