@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lora:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --midnight: #0d1321;
    --deep-blue: #1d2d44;
    --twilight: #3e5c76;
    --amber: #f0a500;
    --soft-gold: #d4af37;
    --moonlight: #e8e8e8;
    --mist: #b0b0b0;
}

body {
    font-family: 'Lora', serif;
    background: var(--midnight);
    color: var(--moonlight);
    line-height: 1.7;
}

.night-overlay {
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse at 80% 10%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 20% 90%, rgba(62, 92, 118, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--midnight) 0%, var(--deep-blue) 100%);
    z-index: -1;
}

header {
    background: rgba(13, 19, 33, 0.9);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 500;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-emblem {
    width: 55px;
    height: 55px;
}

.site-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--soft-gold);
    letter-spacing: 3px;
}

.menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--amber);
    padding: 10px 12px;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--amber);
    margin: 4px 0;
}

.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.primary-nav a {
    font-family: 'Cinzel', serif;
    color: var(--moonlight);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.primary-nav a:hover {
    color: var(--amber);
}

.wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem;
}

.welcome-section {
    text-align: center;
    padding: 6rem 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.welcome-section h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--soft-gold);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.welcome-section .lead {
    font-size: 1.2rem;
    color: var(--mist);
    max-width: 750px;
    margin: 0 auto 2.5rem;
}

.enter-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--amber), var(--soft-gold));
    color: var(--midnight);
    padding: 1rem 3rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.enter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 165, 0, 0.3);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}

.info-card {
    background: linear-gradient(145deg, var(--deep-blue), rgba(62, 92, 118, 0.3));
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: border-color 0.3s;
}

.info-card:hover {
    border-color: var(--amber);
}

.info-card .emblem {
    font-size: 3rem;
    margin-bottom: 1.2rem;
}

.info-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--amber);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-card p {
    color: var(--mist);
    font-size: 0.95rem;
}

.game-showcase {
    background: var(--deep-blue);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 4rem 0;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.game-showcase h2 {
    font-family: 'Cinzel', serif;
    text-align: center;
    color: var(--soft-gold);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.game-window {
    width: 100%;
    height: 580px;
    border: none;
    border-radius: 8px;
    background: #000;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.highlight-box {
    padding: 2rem;
    border-left: 3px solid var(--amber);
    background: rgba(29, 45, 68, 0.5);
}

.highlight-box .symbol {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.highlight-box h3 {
    font-family: 'Cinzel', serif;
    color: var(--amber);
    margin-bottom: 1rem;
}

.highlight-box p {
    color: var(--mist);
}

.story-section {
    background: rgba(29, 45, 68, 0.4);
    border-radius: 8px;
    padding: 3.5rem;
    margin: 4rem 0;
}

.story-section h2 {
    font-family: 'Cinzel', serif;
    color: var(--soft-gold);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.story-section p {
    color: var(--mist);
    margin-bottom: 1.2rem;
}

.page-banner {
    text-align: center;
    padding: 4rem 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    margin-bottom: 3rem;
}

.page-banner h1 {
    font-family: 'Cinzel', serif;
    color: var(--soft-gold);
    font-size: 2.4rem;
}

.text-section {
    background: rgba(29, 45, 68, 0.3);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 6px;
    border-left: 4px solid var(--amber);
}

.text-section h2 {
    font-family: 'Cinzel', serif;
    color: var(--amber);
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.text-section p {
    color: var(--mist);
    margin-bottom: 1rem;
}

.text-section ul {
    color: var(--mist);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.text-section li {
    margin-bottom: 0.6rem;
}

footer {
    background: rgba(13, 19, 33, 0.95);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 3.5rem 2rem;
    margin-top: 5rem;
}

.footer-wrap {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    font-family: 'Cinzel', serif;
    color: var(--mist);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--amber);
}

.support-section {
    padding: 2rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    margin-top: 2rem;
}

.support-section p {
    color: var(--mist);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.support-section a {
    color: var(--amber);
    text-decoration: none;
    margin: 0 1rem;
}

.support-section a:hover {
    text-decoration: underline;
}

.copyright-text {
    color: var(--mist);
    font-size: 0.85rem;
    margin-top: 2rem;
}

.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 19, 33, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-dialog {
    background: var(--deep-blue);
    border: 2px solid var(--amber);
    padding: 3.5rem;
    max-width: 520px;
    text-align: center;
    border-radius: 8px;
    margin: 1rem;
}

.age-dialog h2 {
    font-family: 'Cinzel', serif;
    color: var(--soft-gold);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.age-dialog p {
    color: var(--mist);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.age-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-actions button {
    font-family: 'Cinzel', serif;
    padding: 0.9rem 2.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-accept {
    background: var(--amber);
    border: none;
    color: var(--midnight);
    font-weight: 600;
}

.btn-accept:hover {
    background: var(--soft-gold);
}

.btn-decline {
    background: transparent;
    border: 2px solid var(--mist);
    color: var(--mist);
}

.btn-decline:hover {
    border-color: var(--amber);
    color: var(--amber);
}

.hidden {
    display: none !important;
}

@media (max-width: 900px) {
    .info-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }
    
    .primary-nav ul {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(13, 19, 33, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.2rem;
        transform: translateY(-150%);
        transition: transform 0.3s;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .primary-nav ul.visible {
        transform: translateY(0);
    }
    
    .primary-nav a {
        display: block;
        padding: 0.8rem 0;
    }
    
    .game-window {
        height: 400px;
    }
    
    .header-inner {
        padding: 1rem;
    }
    
    .wrapper {
        padding: 1rem;
    }
}
