* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #d4a44c;
    --gold-light: #e8c47a;
    --gold-dark: #b8872d;
    --bg-dark: #0d0b08;
    --bg-card: #1a1510;
    --bg-elevated: #252015;
    --text-light: #f5f0e6;
    --text-muted: #a89f8a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
}

/* Age Screen */
.age-screen {
    position: fixed;
    inset: 0;
    background: rgba(13, 11, 8, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.age-screen.hidden {
    display: none;
}

.age-dialog {
    background: linear-gradient(145deg, var(--bg-elevated), var(--bg-card));
    border: 2px solid var(--gold);
    padding: 60px 50px;
    max-width: 480px;
    text-align: center;
}

.age-crown {
    font-size: 54px;
    color: var(--gold);
    margin-bottom: 20px;
}

.age-dialog h2 {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.age-dialog p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.age-ask {
    color: var(--text-light) !important;
    font-weight: 500;
    margin-top: 25px !important;
}

.age-choices {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.age-choices button {
    padding: 16px 30px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.age-choices button:first-child {
    background: var(--gold);
    color: var(--bg-dark);
}

.age-choices button:first-child:hover {
    background: var(--gold-light);
}

.age-choices button:last-child {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
}

.age-choices button:last-child:hover {
    border-color: #c0392b;
    color: #c0392b;
}

/* Header */
#masthead {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 11, 8, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 164, 76, 0.2);
}

.masthead-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-light);
}

.brand-crown {
    color: var(--gold);
    font-size: 1.5rem;
}

.brand-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-btn .bar {
    width: 28px;
    height: 2px;
    background: var(--gold);
    transition: 0.3s;
}

.main-menu {
    display: flex;
    gap: 35px;
}

.main-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: color 0.3s;
}

.main-menu a:hover,
.main-menu a.active {
    color: var(--gold);
}

/* Showcase */
.showcase {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(212, 164, 76, 0.08) 0%, transparent 50%),
        var(--bg-dark);
}

.showcase-inner {
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
}

.showcase-text {
    max-width: 700px;
}

.showcase-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid var(--gold);
    padding: 6px 15px;
}

.showcase-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.15;
    margin-bottom: 25px;
    color: var(--text-light);
}

.showcase-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.showcase-cta {
    display: inline-block;
    padding: 18px 50px;
    background: var(--gold);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.showcase-cta:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 164, 76, 0.3);
}

/* Proclamations */
.proclamations {
    padding: 90px 40px;
    background: var(--bg-card);
    border-top: 1px solid rgba(212, 164, 76, 0.1);
    border-bottom: 1px solid rgba(212, 164, 76, 0.1);
}

.proclamations-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.proclamation {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-elevated);
    border: 1px solid rgba(212, 164, 76, 0.15);
}

.proc-symbol {
    font-size: 44px;
    display: block;
    margin-bottom: 20px;
}

.proclamation h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--gold);
}

.proclamation p {
    color: var(--text-muted);
}

/* Featured Game */
.featured-game {
    padding: 100px 40px;
    background: var(--bg-dark);
}

.featured-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.featured-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.featured-label {
    display: inline-block;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.featured-header h2 {
    font-size: 2.5rem;
    margin-bottom: 18px;
}

.featured-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.game-area {
    border: 2px solid rgba(212, 164, 76, 0.3);
    background: var(--bg-card);
}

.game-area iframe {
    width: 100%;
    height: 620px;
    border: none;
    display: block;
}

.game-hint {
    text-align: center;
    margin-top: 25px;
    color: var(--text-muted);
}

/* About */
.about-luminarchy {
    padding: 100px 40px;
    background: var(--bg-card);
}

.about-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-left h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--gold);
}

.about-left p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.85;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card {
    background: var(--bg-dark);
    border-left: 4px solid var(--gold);
    padding: 30px 35px;
}

.card-value {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 2.2rem;
    color: var(--gold);
}

.card-label {
    color: var(--text-muted);
    margin-top: 5px;
}

/* Qualities */
.qualities {
    padding: 100px 40px;
    background: var(--bg-dark);
}

.qualities h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.qualities-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.quality {
    text-align: center;
    padding: 45px 30px;
    background: var(--bg-card);
    border: 1px solid rgba(212, 164, 76, 0.1);
    transition: border-color 0.3s, transform 0.3s;
}

.quality:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.quality-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.quality h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--gold);
}

.quality p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
#footer {
    background: var(--bg-card);
    border-top: 1px solid rgba(212, 164, 76, 0.15);
    padding: 60px 40px 30px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-crown {
    color: var(--gold);
    font-size: 1.3rem;
}

.footer-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
}

.footer-brand p {
    margin-top: 10px;
    color: var(--text-muted);
}

.footer-links h4,
.footer-responsible h4 {
    font-size: 1rem;
    margin-bottom: 18px;
    color: var(--gold);
}

.footer-links a,
.footer-responsible a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-responsible a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    max-width: 1400px;
    margin: 45px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(212, 164, 76, 0.1);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .proclamations-inner {
        grid-template-columns: 1fr;
    }
    
    .about-inner {
        grid-template-columns: 1fr;
    }
    
    .qualities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }
    
    .main-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(13, 11, 8, 0.98);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    
    .main-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .masthead-inner {
        padding: 15px 20px;
    }
    
    .showcase {
        padding: 100px 25px 60px;
    }
    
    .proclamations,
    .featured-game,
    .about-luminarchy,
    .qualities {
        padding: 60px 25px;
    }
    
    .qualities-grid {
        grid-template-columns: 1fr;
    }
    
    .game-area iframe {
        height: 420px;
    }
    
    .age-dialog {
        padding: 40px 25px;
    }
}
