@import url('https://fonts.googleapis.com/css2?family=Berkshire+Swash&family=Open+Sans:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --abyss: #0c0c14;
    --deep-violet: #1f1835;
    --mystic-purple: #9333ea;
    --ethereal-pink: #f472b6;
    --frost: #e2e8f0;
    --mist: #a1a1aa;
    --panel: rgba(31, 24, 53, 0.8);
    --glow: rgba(147, 51, 234, 0.4);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, var(--abyss) 0%, var(--deep-violet) 100%);
    min-height: 100vh;
    color: var(--frost);
    line-height: 1.7;
}

.top-header {
    background: rgba(12, 12, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1700px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.brand-name {
    font-family: 'Berkshire Swash', cursive;
    font-size: 1.8rem;
    color: var(--mystic-purple);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 0 20px var(--glow);
}

.brand-name img { width: 42px; height: 42px; }

.menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.menu a {
    color: var(--mist);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.menu a:hover { color: var(--ethereal-pink); }

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--mystic-purple);
    margin: 6px 0;
    transition: all 0.3s;
}

.menu-icon.on span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.menu-icon.on span:nth-child(2) { opacity: 0; }
.menu-icon.on span:last-child { transform: rotate(-45deg) translate(6px, -6px); }

.main-area { padding-top: 80px; }

.welcome-banner {
    padding: 5rem 2rem;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(147, 51, 234, 0.1) 0%, transparent 60%);
}

.welcome-banner h1 {
    font-family: 'Berkshire Swash', cursive;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    color: var(--ethereal-pink);
    margin-bottom: 1.5rem;
}

.welcome-banner p {
    font-size: 1.1rem;
    max-width: 750px;
    margin: 0 auto;
    color: var(--mist);
}

.notice-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.notice-box {
    flex: 1;
    min-width: 260px;
    max-width: 360px;
    background: var(--panel);
    border: 1px solid var(--glow);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.notice-box .symbol { font-size: 2.5rem; margin-bottom: 1rem; }

.notice-box h3 {
    font-family: 'Berkshire Swash', cursive;
    color: var(--mystic-purple);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.notice-box p { color: var(--mist); font-size: 0.9rem; }

.play-section {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.play-section h2 {
    font-family: 'Berkshire Swash', cursive;
    font-size: 1.8rem;
    text-align: center;
    color: var(--ethereal-pink);
    margin-bottom: 2rem;
}

.game-box {
    background: var(--panel);
    border: 1px solid var(--glow);
    border-radius: 20px;
    padding: 1rem;
}

.game-box iframe {
    width: 100%;
    height: 580px;
    border: none;
    border-radius: 14px;
}

.text-section {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.text-section h2 {
    font-family: 'Berkshire Swash', cursive;
    font-size: 1.5rem;
    color: var(--mystic-purple);
    margin-bottom: 1rem;
}

.text-section p { color: var(--mist); margin-bottom: 1rem; }

.card-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.card-item {
    background: var(--panel);
    border-radius: 12px;
    padding: 1.75rem;
    border-left: 3px solid var(--ethereal-pink);
}

.card-item h3 {
    font-family: 'Berkshire Swash', cursive;
    color: var(--ethereal-pink);
    margin-bottom: 0.75rem;
}

.card-item p { color: var(--mist); font-size: 0.9rem; }

.legal-content {
    padding: 6rem 2rem 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-family: 'Berkshire Swash', cursive;
    font-size: 2.2rem;
    color: var(--ethereal-pink);
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-family: 'Berkshire Swash', cursive;
    font-size: 1.2rem;
    color: var(--mystic-purple);
    margin: 2rem 0 0.75rem;
}

.legal-content p, .legal-content li { color: var(--mist); margin-bottom: 0.9rem; }
.legal-content ul { padding-left: 1.5rem; }

.bottom-footer {
    background: rgba(12, 12, 20, 0.95);
    border-top: 1px solid var(--glow);
    padding: 2.5rem 2rem;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.gaming-resources { margin-bottom: 1.5rem; }

.gaming-resources h4 {
    font-family: 'Berkshire Swash', cursive;
    color: var(--mystic-purple);
    margin-bottom: 0.75rem;
}

.gaming-resources a {
    color: var(--mist);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
}

.gaming-resources a:hover { color: var(--ethereal-pink); }

.footer-note { color: var(--mist); font-size: 0.85rem; }

.age-wall {
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 20, 0.98);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.age-wall.removed { display: none; }

.age-dialog {
    background: var(--panel);
    border: 1px solid var(--mystic-purple);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
}

.age-dialog h2 {
    font-family: 'Berkshire Swash', cursive;
    font-size: 1.6rem;
    color: var(--ethereal-pink);
    margin-bottom: 1rem;
}

.age-dialog p { color: var(--mist); margin-bottom: 1.5rem; }

.age-choices { display: flex; gap: 1rem; justify-content: center; }

.age-choice {
    padding: 0.85rem 1.75rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.age-choice.yes {
    background: linear-gradient(135deg, var(--mystic-purple), var(--ethereal-pink));
    color: white;
}

.age-choice.yes:hover { transform: scale(1.05); box-shadow: 0 5px 25px var(--glow); }

.age-choice.no {
    background: transparent;
    border: 1px solid var(--mist);
    color: var(--mist);
}

.age-choice.no:hover { border-color: var(--ethereal-pink); color: var(--ethereal-pink); }

@media (max-width: 900px) {
    .menu {
        position: fixed;
        top: 76px;
        left: 0;
        width: 100%;
        background: rgba(12, 12, 20, 0.98);
        padding: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    .menu.show { transform: translateX(0); }
    .menu ul { flex-direction: column; text-align: center; gap: 1rem; }
    .menu-icon { display: block; }
    .game-box iframe { height: 450px; }
    .gaming-resources a { display: block; margin: 0.4rem 0; }
}

@media (max-width: 600px) {
    .brand-name { font-size: 1.4rem; }
    .brand-name img { width: 34px; height: 34px; }
    .game-box iframe { height: 350px; }
    .legal-content { padding: 5rem 1.5rem 3rem; }
    .age-dialog { padding: 2rem 1.5rem; }
    .age-choices { flex-direction: column; }
}
