@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&family=Bebas+Neue&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --stella-bg: #0a0c10;
    --stella-surface: #12151c;
    --stella-primary: #f59e0b;
    --stella-secondary: #fbbf24;
    --stella-text: #fafafa;
    --stella-muted: #a1a1aa;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--stella-bg);
    color: var(--stella-text);
    line-height: 1.7;
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}

a {
    color: var(--stella-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--stella-secondary);
}

/* Nav */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--stella-bg);
    border-bottom: 1px solid rgba(245,158,11,0.2);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--stella-primary);
    letter-spacing: 4px;
}

.navigation {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navigation a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--stella-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navigation a:hover {
    color: var(--stella-text);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger-menu span {
    width: 24px;
    height: 2px;
    background: var(--stella-primary);
    transition: 0.3s;
}

@media (max-width: 800px) {
    .hamburger-menu {
        display: flex;
    }

    .navigation {
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: var(--stella-bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateX(-100%);
        transition: 0.3s;
        border-bottom: 1px solid rgba(245,158,11,0.2);
    }

    .navigation.open {
        transform: translateX(0);
    }

    .hamburger-menu.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-menu.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

main {
    padding-top: 75px;
}

.hero {
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--stella-primary);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--stella-muted);
    font-weight: 300;
}

/* Notices */
.notices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(245,158,11,0.1);
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 800px) {
    .notices {
        grid-template-columns: 1fr;
    }
}

.notice {
    background: var(--stella-bg);
    padding: 2.5rem 2rem;
    text-align: center;
}

.notice h3 {
    font-size: 1.5rem;
    color: var(--stella-primary);
    margin-bottom: 0.8rem;
}

.notice p {
    color: var(--stella-muted);
    font-size: 0.9rem;
    font-weight: 300;
}

/* Game */
.game-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.game-section h2 {
    font-size: 2.5rem;
    text-align: center;
    color: var(--stella-primary);
    margin-bottom: 2rem;
}

.game-frame {
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 680px;
    background: var(--stella-surface);
    border: 1px solid rgba(245,158,11,0.3);
}

.game-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature {
    padding: 2rem;
    border-left: 2px solid var(--stella-primary);
}

.feature h3 {
    font-size: 1.3rem;
    color: var(--stella-secondary);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--stella-muted);
    font-size: 0.9rem;
    font-weight: 300;
}

/* Content */
.content {
    padding: 3rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.content h2 {
    font-size: 2rem;
    color: var(--stella-primary);
    margin-bottom: 1.5rem;
}

.content p {
    margin-bottom: 1.2rem;
    font-weight: 300;
}

/* Page Title */
.page-title {
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.page-title h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--stella-primary);
}

/* Play */
.play-wrapper {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.play-wrapper > p {
    text-align: center;
    color: var(--stella-muted);
    margin-bottom: 2rem;
}

.controls {
    background: var(--stella-surface);
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    border-left: 2px solid var(--stella-primary);
}

.controls h3 {
    color: var(--stella-primary);
    margin-bottom: 0.5rem;
}

.controls p {
    color: var(--stella-muted);
    font-size: 0.9rem;
}

/* Legal */
.legal {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.legal h2 {
    font-size: 1.5rem;
    color: var(--stella-primary);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(245,158,11,0.2);
}

.legal h3 {
    font-size: 1.2rem;
    color: var(--stella-secondary);
    margin: 1.5rem 0 0.7rem;
}

.legal p {
    margin-bottom: 1rem;
    font-weight: 300;
}

.legal ul {
    margin: 1rem 0 1rem 1.5rem;
}

.legal ul li {
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.date {
    color: var(--stella-muted);
    font-size: 0.85rem;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(245,158,11,0.1);
}

/* Footer */
footer {
    background: var(--stella-surface);
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(245,158,11,0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: var(--stella-primary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--stella-muted);
    font-size: 0.85rem;
}

.copyright {
    color: var(--stella-muted);
    font-size: 0.8rem;
}

/* Age Popup */
.age-popup {
    position: fixed;
    inset: 0;
    background: rgba(10,12,16,0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-box {
    background: var(--stella-surface);
    border: 1px solid var(--stella-primary);
    padding: 3rem;
    max-width: 480px;
    text-align: center;
}

.popup-box h2 {
    color: var(--stella-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.popup-box p {
    margin-bottom: 1rem;
    font-weight: 300;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.popup-btn {
    padding: 0.8rem 2rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    border: 1px solid var(--stella-primary);
    letter-spacing: 2px;
    transition: 0.2s;
}

.popup-btn.yes {
    background: var(--stella-primary);
    color: var(--stella-bg);
}

.popup-btn.yes:hover {
    background: var(--stella-secondary);
}

.popup-btn.no {
    background: transparent;
    color: var(--stella-primary);
}

.popup-btn.no:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.hidden {
    display: none !important;
}
