@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --astral-black: #0d0f0d;
    --astral-dark: #141a14;
    --astral-green: #00c853;
    --astral-emerald: #00e676;
    --astral-silver: #b8c5b8;
    --astral-white: #e8f5e9;
    --text-light: #f5f5f5;
    --text-fade: #9e9e9e;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--astral-black);
    color: var(--text-light);
    line-height: 1.7;
}

/* Grid Background */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 200, 83, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 200, 83, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(13, 15, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 200, 83, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-link svg {
    width: 35px;
    height: 35px;
}

.logo-link .name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--astral-emerald);
    letter-spacing: -0.5px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--astral-emerald);
    margin: 6px 0;
    transition: 0.3s;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-fade);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--astral-emerald);
}

/* Main */
main {
    padding-top: 70px;
}

/* Hero */
.hero-area {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-area::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(135deg, transparent 40%, rgba(0, 200, 83, 0.05) 50%, transparent 60%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.hero-inner {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-inner h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-inner h1 .accent {
    color: var(--astral-emerald);
}

.hero-inner p {
    font-size: 1.15rem;
    color: var(--text-fade);
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 400;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--astral-emerald);
    color: var(--astral-black);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.cta-link:hover {
    background: var(--astral-green);
    transform: translateX(5px);
}

.cta-link svg {
    width: 20px;
    height: 20px;
}

/* Notice Boxes */
.notice-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    padding: 3rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.notice-box {
    background: var(--astral-dark);
    border-left: 3px solid var(--astral-emerald);
    padding: 1.5rem 2rem;
    transition: all 0.3s;
}

.notice-box:hover {
    background: rgba(20, 26, 20, 0.9);
}

.notice-box .icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.notice-box h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--astral-emerald);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.notice-box p {
    font-size: 0.9rem;
    color: var(--text-fade);
}

/* Game Section */
.game-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--astral-emerald);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-header h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 200, 83, 0.3), transparent);
}

.game-embed {
    background: var(--astral-dark);
    border: 1px solid rgba(0, 200, 83, 0.15);
    padding: 1rem;
}

.game-embed iframe {
    width: 100%;
    height: 580px;
    border: none;
    display: block;
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.detail-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--astral-silver);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-item p {
    font-size: 0.9rem;
    color: var(--text-fade);
}

/* Text Page */
.text-page {
    max-width: 850px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.text-page h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--astral-emerald);
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.text-page h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--astral-silver);
    margin: 2rem 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.text-page p {
    color: var(--text-fade);
    margin-bottom: 1rem;
}

.text-page ul {
    color: var(--text-fade);
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.text-page li {
    margin-bottom: 0.4rem;
}

/* Footer */
.footer-bar {
    background: var(--astral-dark);
    border-top: 1px solid rgba(0, 200, 83, 0.1);
    padding: 2.5rem 2rem;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-inner > p {
    color: var(--text-fade);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.resource-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.resource-links a {
    color: var(--astral-green);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
}

.resource-links a:hover {
    color: var(--astral-emerald);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-fade);
    opacity: 0.6;
}

/* Age Wall */
.age-wall {
    position: fixed;
    inset: 0;
    background: rgba(13, 15, 13, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-wall.hidden {
    display: none;
}

.age-dialog {
    background: var(--astral-dark);
    border: 2px solid var(--astral-emerald);
    padding: 2.5rem;
    max-width: 450px;
    margin: 1rem;
    text-align: center;
}

.age-dialog h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--astral-emerald);
    margin-bottom: 1rem;
}

.age-dialog p {
    color: var(--text-fade);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.age-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btns button {
    padding: 0.8rem 2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
}

.age-btns .yes {
    background: var(--astral-emerald);
    border: none;
    color: var(--astral-black);
}

.age-btns .yes:hover {
    background: var(--astral-green);
}

.age-btns .no {
    background: transparent;
    border: 2px solid var(--astral-emerald);
    color: var(--astral-emerald);
}

.age-btns .no:hover {
    background: rgba(0, 200, 83, 0.1);
}

/* Mobile Nav */
.mobile-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(13, 15, 13, 0.98);
    padding: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.3s;
    border-bottom: 1px solid rgba(0, 200, 83, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu li {
    margin: 1rem 0;
}

.mobile-menu a {
    color: var(--text-fade);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.mobile-menu a:hover {
    color: var(--astral-emerald);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
    }

    .notice-boxes {
        grid-template-columns: 1fr;
    }

    .game-embed iframe {
        height: 400px;
    }

    .navbar {
        padding: 1rem;
    }

    .logo-link .name {
        font-size: 1.2rem;
    }
}
