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

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

:root {
    --night-black: #0f0f12;
    --night-dark: #1a1a22;
    --amber: #f59e0b;
    --amber-dark: #d97706;
    --amber-glow: 0 0 30px rgba(245, 158, 11, 0.3);
    --sand: #fef3c7;
    --text-light: #e5e5e5;
    --text-dim: #9ca3af;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background: var(--night-black);
    color: var(--text-light);
    line-height: 1.75;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
}

a {
    color: var(--amber);
    text-decoration: none;
    transition: all 0.3s;
}

a:hover {
    color: var(--sand);
}

/* Navigation */
.top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 18, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(245, 158, 11, 0.15);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--amber);
    letter-spacing: 3px;
    text-shadow: var(--amber-glow);
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    color: var(--text-dim);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.main-nav a:hover {
    color: var(--amber);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.burger span {
    width: 26px;
    height: 2px;
    background: var(--amber);
}

.mobile-drawer {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 18, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 999;
}

.mobile-drawer.open {
    display: flex;
}

.mobile-drawer a {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--text-light);
    letter-spacing: 2px;
}

.drawer-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    color: var(--amber);
    cursor: pointer;
}

/* Hero */
.hero-block {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 80px;
    background: 
        linear-gradient(to bottom, rgba(245, 158, 11, 0.05) 0%, transparent 30%),
        radial-gradient(ellipse at 50% 100%, rgba(217, 119, 6, 0.15) 0%, transparent 60%),
        var(--night-black);
    text-align: center;
}

.hero-text {
    max-width: 850px;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--sand);
    letter-spacing: 2px;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.golden-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--amber-dark), var(--amber));
    color: var(--night-black);
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 2px;
    border-radius: 0;
    transition: all 0.3s;
}

.golden-btn:hover {
    box-shadow: var(--amber-glow);
    transform: translateY(-2px);
    color: var(--night-black);
}

/* Notice Section */
.notice-section {
    padding: 5rem 2rem;
    background: var(--night-dark);
}

.notice-row {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.notice-box {
    background: var(--night-black);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(245, 158, 11, 0.1);
    transition: all 0.3s;
}

.notice-box:hover {
    border-color: var(--amber);
}

.notice-box .sym {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.notice-box h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--amber);
    letter-spacing: 1px;
}

.notice-box p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Game Section */
.game-block {
    padding: 5rem 2rem;
    background: var(--night-black);
}

.game-block h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: var(--amber);
    letter-spacing: 2px;
}

.game-container {
    max-width: 1100px;
    margin: 0 auto;
    border: 2px solid rgba(245, 158, 11, 0.3);
    box-shadow: var(--amber-glow);
}

.game-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* Highlights */
.highlights {
    padding: 5rem 2rem;
    background: var(--night-dark);
}

.highlights h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--sand);
    letter-spacing: 2px;
}

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

.highlight-item {
    background: var(--night-black);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    border-left: 3px solid var(--amber);
}

.highlight-item .ico {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.highlight-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--sand);
}

.highlight-item p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Page Wrapper */
.page-wrap {
    min-height: 100vh;
    padding: 100px 2rem 4rem;
    background: var(--night-black);
}

.page-box {
    max-width: 850px;
    margin: 0 auto;
    background: var(--night-dark);
    padding: 3rem;
    border: 1px solid rgba(245, 158, 11, 0.1);
}

.page-box h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--amber);
    letter-spacing: 2px;
}

.page-box h2 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    color: var(--sand);
    letter-spacing: 1px;
}

.page-box p {
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.page-box ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-dim);
}

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

/* Play Page */
.play-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.game-info-box {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 1rem 2rem;
    margin: 2rem auto;
    max-width: 600px;
    text-align: center;
}

.game-info-box p {
    margin: 0;
    color: var(--text-light);
}

/* Footer */
.main-footer {
    background: var(--night-dark);
    padding: 4rem 2rem;
    border-top: 1px solid rgba(245, 158, 11, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--amber);
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
}

.support-links {
    margin-bottom: 1.5rem;
}

.support-links p {
    color: var(--text-dim);
    margin-bottom: 0.75rem;
}

.support-links a {
    color: var(--text-light);
    margin: 0 1rem;
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-nav a {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.copyright {
    color: var(--text-dim);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Age Modal */
.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 18, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-overlay.dismissed {
    display: none;
}

.age-panel {
    background: var(--night-dark);
    border: 2px solid var(--amber);
    padding: 3rem;
    text-align: center;
    max-width: 450px;
    margin: 1rem;
    box-shadow: var(--amber-glow);
}

.age-panel h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--amber);
    letter-spacing: 2px;
}

.age-panel p {
    color: var(--text-dim);
    margin-bottom: 2rem;
}

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

.age-actions button {
    padding: 0.9rem 2rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.confirm-btn {
    background: linear-gradient(135deg, var(--amber-dark), var(--amber));
    color: var(--night-black);
}

.confirm-btn:hover {
    box-shadow: var(--amber-glow);
}

.decline-btn {
    background: transparent;
    border: 2px solid var(--text-dim) !important;
    color: var(--text-dim);
}

.decline-btn:hover {
    border-color: var(--text-light) !important;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 992px) {
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .burger {
        display: flex;
    }
    
    .nav-inner {
        padding: 1rem;
    }
    
    .site-brand {
        font-size: 1.4rem;
    }
    
    .hero-block {
        padding: 100px 1rem 60px;
    }
    
    .game-container iframe {
        height: 400px;
    }
    
    .page-box {
        padding: 2rem 1.5rem;
    }
    
    .age-panel {
        padding: 2rem;
    }
    
    .age-actions {
        flex-direction: column;
    }
    
    .support-links a {
        display: block;
        margin: 0.5rem 0;
    }
}
