@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --neb-bg: #070b14;
    --neb-card: #0d1320;
    --neb-blue: #60a5fa;
    --neb-indigo: #818cf8;
    --neb-teal: #2dd4bf;
    --neb-white: #f1f5f9;
    --neb-muted: #94a3b8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--neb-bg);
    color: var(--neb-white);
    line-height: 1.8;
    min-height: 100vh;
    background-image: 
        radial-gradient(ellipse at 30% 10%, rgba(96,165,250,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 90%, rgba(129,140,248,0.08) 0%, transparent 50%);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    color: var(--neb-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--neb-teal);
}

/* Header */
.site-nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--neb-bg) 0%, rgba(7,11,20,0.97) 100%);
    border-bottom: 1px solid rgba(96,165,250,0.2);
}

.nav-wrapper {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.brand-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--neb-blue);
    letter-spacing: 1px;
}

.nav-items {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-items a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--neb-muted);
}

.nav-items a:hover {
    color: var(--neb-white);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.mobile-menu-btn span {
    width: 28px;
    height: 2px;
    background: var(--neb-blue);
    transition: all 0.3s ease;
}

@media (max-width: 880px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-items {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--neb-bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1.2rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(96,165,250,0.2);
    }

    .nav-items.revealed {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-btn.revealed span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.revealed span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.revealed span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Main */
main {
    padding-top: 85px;
}

.intro-section {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(96,165,250,0.06) 0%, transparent 100%);
}

.intro-section h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 1.5rem;
    color: var(--neb-blue);
}

.intro-section p {
    font-size: 1.15rem;
    max-width: 880px;
    margin: 0 auto;
    color: var(--neb-muted);
}

/* Highlight Boxes */
.highlight-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem 2rem;
    max-width: 1500px;
    margin: 0 auto;
}

.h-box {
    flex: 1 1 320px;
    max-width: 420px;
    padding: 2.2rem;
    background: var(--neb-card);
    border-radius: 12px;
    border: 1px solid rgba(96,165,250,0.15);
    text-align: center;
    transition: all 0.4s ease;
}

.h-box:hover {
    transform: translateY(-8px);
    border-color: var(--neb-blue);
    box-shadow: 0 20px 50px rgba(96,165,250,0.1);
}

.h-box h3 {
    font-size: 1.15rem;
    color: var(--neb-blue);
    margin-bottom: 0.8rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}

.h-box p {
    color: var(--neb-muted);
    font-size: 0.95rem;
}

/* Game Display */
.game-display {
    padding: 4rem 2rem;
    max-width: 1500px;
    margin: 0 auto;
}

.game-display h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--neb-blue);
    margin-bottom: 2rem;
}

.game-box {
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 720px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(96,165,250,0.3);
    background: var(--neb-card);
    box-shadow: 0 0 80px rgba(96,165,250,0.15);
}

.game-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Text Area */
.text-area {
    padding: 3rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.text-area h2 {
    font-size: 1.8rem;
    color: var(--neb-blue);
    margin-bottom: 1.5rem;
}

.text-area p {
    margin-bottom: 1.2rem;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 3rem 2rem;
    max-width: 1500px;
    margin: 0 auto;
}

.i-card {
    padding: 1.8rem;
    background: rgba(96,165,250,0.04);
    border-radius: 10px;
    border-top: 3px solid var(--neb-indigo);
}

.i-card h3 {
    color: var(--neb-indigo);
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}

.i-card p {
    color: var(--neb-muted);
    font-size: 0.9rem;
}

/* Page Title */
.page-title-area {
    padding: 4rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(96,165,250,0.05) 0%, transparent 100%);
}

.page-title-area h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--neb-blue);
}

/* Play Page */
.play-area {
    padding: 2rem;
    max-width: 1500px;
    margin: 0 auto;
}

.play-area > p {
    text-align: center;
    color: var(--neb-muted);
    margin-bottom: 2rem;
}

.control-info {
    background: var(--neb-card);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    border: 1px solid rgba(96,165,250,0.15);
}

.control-info h3 {
    color: var(--neb-blue);
    margin-bottom: 0.5rem;
    font-family: 'DM Sans', sans-serif;
}

.control-info p {
    color: var(--neb-muted);
    font-size: 0.9rem;
}

/* Legal */
.legal-area {
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.legal-area h2 {
    font-size: 1.4rem;
    color: var(--neb-blue);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(96,165,250,0.2);
}

.legal-area h3 {
    font-size: 1.1rem;
    color: var(--neb-indigo);
    margin: 1.5rem 0 0.7rem;
    font-family: 'DM Sans', sans-serif;
}

.legal-area p {
    margin-bottom: 1rem;
}

.legal-area ul {
    margin: 1rem 0 1rem 1.5rem;
}

.legal-area ul li {
    margin-bottom: 0.5rem;
}

.timestamp {
    color: var(--neb-muted);
    font-size: 0.85rem;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(96,165,250,0.15);
}

/* Footer */
.site-footer {
    background: var(--neb-card);
    border-top: 1px solid rgba(96,165,250,0.2);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1500px;
    margin: 0 auto;
    text-align: center;
}

.footer-inner h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--neb-blue);
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-nav a {
    color: var(--neb-muted);
    font-size: 0.9rem;
}

.footer-note {
    color: var(--neb-muted);
    font-size: 0.85rem;
}

/* Age Verification */
.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(7,11,20,0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-box {
    background: var(--neb-card);
    border: 2px solid var(--neb-blue);
    border-radius: 16px;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
}

.modal-box h2 {
    color: var(--neb-blue);
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.modal-box p {
    margin-bottom: 1.2rem;
}

.modal-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.m-btn {
    padding: 0.9rem 2.2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.m-btn.confirm {
    background: var(--neb-blue);
    color: var(--neb-bg);
}

.m-btn.confirm:hover {
    background: var(--neb-teal);
}

.m-btn.deny {
    background: transparent;
    border: 2px solid var(--neb-muted);
    color: var(--neb-muted);
}

.m-btn.deny:hover {
    border-color: #f87171;
    color: #f87171;
}

.hidden {
    display: none !important;
}
