@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --moon: #c0c0c0;
    --silver: #e8e8e8;
    --night: #1a1a2e;
    --midnight: #16213e;
    --twilight: #0f3460;
    --starlight: #e94560;
    --glow: #f1f1f1;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--night);
    color: var(--glow);
    min-height: 100vh;
    line-height: 1.75;
}

.top-header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(8px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(192, 192, 192, 0.1);
}

.header-row {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    font-family: 'Marcellus', serif;
    font-size: 1.8rem;
    color: var(--moon);
    text-decoration: none;
    letter-spacing: 2px;
}

.desktop-links {
    display: flex;
    gap: 2rem;
}

.desktop-links a {
    color: var(--silver);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
    transition: opacity 0.2s, color 0.2s;
}

.desktop-links a:hover {
    opacity: 1;
    color: var(--starlight);
}

.toggle-menu {
    display: none;
    background: transparent;
    border: 1px solid var(--moon);
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
}

.toggle-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--moon);
    margin: 5px 0;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--midnight);
    padding: 1rem;
}

.mobile-nav.visible {
    display: block;
}

.mobile-nav a {
    display: block;
    color: var(--silver);
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(192, 192, 192, 0.1);
}

.lunar-hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 2rem 80px;
    background: radial-gradient(ellipse at 50% 30%, rgba(233, 69, 96, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 80%, rgba(192, 192, 192, 0.05) 0%, transparent 30%);
}

.lunar-hero h1 {
    font-family: 'Marcellus', serif;
    font-size: 3.5rem;
    color: var(--silver);
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
}

.lunar-hero p {
    font-size: 1.1rem;
    color: var(--moon);
    max-width: 700px;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.moon-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--starlight);
    color: var(--starlight);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.moon-btn:hover {
    background: var(--starlight);
    color: var(--night);
}

.info-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    border: 1px solid rgba(192, 192, 192, 0.1);
}

.info-block {
    padding: 3rem 2rem;
    text-align: center;
    border-right: 1px solid rgba(192, 192, 192, 0.1);
    background: rgba(22, 33, 62, 0.5);
}

.info-block:last-child {
    border-right: none;
}

.info-block .ico {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-block h3 {
    font-family: 'Marcellus', serif;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--silver);
}

.info-block p {
    font-size: 0.9rem;
    color: var(--moon);
    opacity: 0.8;
}

.game-section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.game-section h2 {
    font-family: 'Marcellus', serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--silver);
    letter-spacing: 2px;
}

.game-window {
    background: var(--midnight);
    padding: 1.5rem;
    border: 1px solid rgba(192, 192, 192, 0.15);
}

.game-window iframe {
    width: 100%;
    height: 550px;
    border: none;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.perk-tile {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(22, 33, 62, 0.4);
    border: 1px solid rgba(192, 192, 192, 0.1);
}

.perk-tile .symbol {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.perk-tile h4 {
    font-family: 'Marcellus', serif;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--silver);
}

.perk-tile p {
    font-size: 0.85rem;
    color: var(--moon);
    opacity: 0.75;
}

.text-page {
    padding: 100px 2rem 4rem;
    max-width: 850px;
    margin: 0 auto;
}

.text-page h1 {
    font-family: 'Marcellus', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--silver);
    text-align: center;
    letter-spacing: 2px;
}

.text-page h2 {
    font-family: 'Marcellus', serif;
    font-size: 1.3rem;
    margin: 2.5rem 0 0.75rem;
    color: var(--starlight);
}

.text-page p {
    color: var(--moon);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.text-page ul {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--moon);
    opacity: 0.9;
}

.text-page li {
    margin-bottom: 0.5rem;
}

.guide-box {
    background: rgba(22, 33, 62, 0.6);
    border: 1px solid rgba(192, 192, 192, 0.15);
    border-left: 3px solid var(--starlight);
    padding: 1.5rem;
    margin-top: 2rem;
}

.guide-box h3 {
    font-family: 'Marcellus', serif;
    color: var(--silver);
    margin-bottom: 0.5rem;
}

.guide-box p {
    font-size: 0.9rem;
    margin: 0;
}

.lunar-footer {
    background: var(--midnight);
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(192, 192, 192, 0.1);
}

.footer-layout {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    font-family: 'Marcellus', serif;
    color: var(--starlight);
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-section a {
    display: block;
    color: var(--moon);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-section p {
    color: var(--moon);
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-end {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(192, 192, 192, 0.08);
    font-size: 0.8rem;
    color: var(--moon);
    opacity: 0.5;
}

.age-screen {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-screen.hidden {
    display: none;
}

.age-box {
    background: var(--midnight);
    border: 1px solid var(--moon);
    padding: 3rem;
    text-align: center;
    max-width: 420px;
    margin: 1rem;
}

.age-box .moon-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.age-box h2 {
    font-family: 'Marcellus', serif;
    color: var(--silver);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.age-box p {
    color: var(--moon);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.age-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-controls button {
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.age-controls .enter-btn {
    background: var(--starlight);
    color: white;
}

.age-controls .exit-btn {
    background: transparent;
    border: 1px solid var(--moon);
    color: var(--silver);
}

.age-controls button:hover {
    transform: scale(1.03);
}

@media (max-width: 1024px) {
    .info-blocks {
        grid-template-columns: 1fr;
    }
    
    .info-block {
        border-right: none;
        border-bottom: 1px solid rgba(192, 192, 192, 0.1);
    }
    
    .perks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-links {
        display: none;
    }
    
    .toggle-menu {
        display: block;
    }
    
    .lunar-hero h1 {
        font-size: 2.2rem;
    }
    
    .footer-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .perks-grid {
        grid-template-columns: 1fr;
    }
    
    .game-window iframe {
        height: 380px;
    }
}
