@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@300;400;500;600;700;800&family=Spectral:wght@300;400;500;600;700;800&display=swap');

:root {
    --gold: #c9a227;
    --gold-bright: #e6c14f;
    --gold-dark: #9a7b1a;
    --teal-deep: #0d4f4f;
    --teal-medium: #1a7575;
    --sand: #e8d5b0;
    --sand-dark: #c4a76e;
    --obsidian: #1a1a1a;
    --papyrus: #f5f0e1;
    --text-dark: #2d2d2d;
    --text-light: #f5f5f5;
}

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

body {
    font-family: 'Crimson Pro', serif;
    background: linear-gradient(170deg, var(--obsidian) 0%, #2a2520 50%, var(--obsidian) 100%);
    color: var(--text-light);
    line-height: 1.75;
    min-height: 100vh;
}

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

a {
    color: var(--gold);
    text-decoration: none;
    transition: all 0.35s ease;
}

a:hover {
    color: var(--gold-bright);
}

/* Header */
.main-header {
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(13, 79, 79, 0.95) 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--gold);
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px;
    max-width: 1380px;
    margin: 0 auto;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-mark {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Spectral', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--obsidian);
}

.logo-title {
    font-family: 'Spectral', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 3px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-menu span {
    width: 28px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    font-family: 'Spectral', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--sand);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 0;
}

.nav-menu a:hover {
    color: var(--gold-bright);
}

/* Hero */
.hero-section {
    padding: 170px 28px 110px;
    text-align: center;
    position: relative;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 90,90 10,90" fill="none" stroke="%23c9a227" stroke-width="0.3" opacity="0.2"/></svg>') repeat;
    background-size: 100px 100px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.08) 0%, transparent 60%);
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.4rem;
    color: var(--gold);
    margin-bottom: 22px;
    text-shadow: 0 4px 20px rgba(201, 162, 39, 0.3);
}

.hero-section p {
    font-size: 1.35rem;
    color: var(--sand);
    max-width: 780px;
    margin: 0 auto;
}

/* Pillars */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 60px 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.pillar {
    background: linear-gradient(180deg, rgba(13, 79, 79, 0.4) 0%, rgba(26, 26, 26, 0.6) 100%);
    border: 2px solid rgba(201, 162, 39, 0.3);
    border-radius: 8px;
    padding: 38px 28px;
    text-align: center;
    transition: all 0.4s ease;
}

.pillar:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(201, 162, 39, 0.15);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 18px;
}

.pillar h3 {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.pillar p {
    color: var(--sand);
    font-size: 1.05rem;
}

/* Game Area */
.game-area {
    padding: 80px 28px;
    text-align: center;
}

.game-area h2 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.game-frame {
    max-width: 950px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--teal-deep) 0%, var(--obsidian) 100%);
    border: 4px solid var(--gold);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 20px 60px rgba(201, 162, 39, 0.2);
}

.game-frame iframe {
    width: 100%;
    height: 590px;
    border: none;
    border-radius: 6px;
}

/* Features */
.features-section {
    padding: 90px 28px;
    background: linear-gradient(180deg, transparent 0%, rgba(13, 79, 79, 0.2) 50%, transparent 100%);
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 55px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-block {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-num {
    width: 45px;
    height: 45px;
    background: var(--gold);
    color: var(--obsidian);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Spectral', serif;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-block h3 {
    font-size: 1.15rem;
    color: var(--gold-bright);
    margin-bottom: 6px;
}

.feature-block p {
    color: var(--sand);
    font-size: 1rem;
}

/* Page Content */
.page-top {
    padding: 155px 28px 70px;
    text-align: center;
    background: linear-gradient(180deg, var(--obsidian) 0%, var(--teal-deep) 100%);
    border-bottom: 3px solid var(--gold);
}

.page-top h1 {
    font-size: 2.9rem;
    color: var(--gold);
    margin-bottom: 14px;
}

.page-top p {
    color: var(--sand);
    font-size: 1.2rem;
}

.page-body {
    padding: 60px 28px;
    max-width: 880px;
    margin: 0 auto;
}

.page-body h2 {
    font-size: 1.75rem;
    color: var(--gold);
    margin: 42px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.4);
}

.page-body h2:first-child {
    margin-top: 0;
}

.page-body p {
    color: var(--sand);
    font-size: 1.15rem;
    margin-bottom: 18px;
}

.page-body ul {
    list-style: none;
    margin: 22px 0;
}

.page-body li {
    padding: 14px 0 14px 35px;
    position: relative;
    color: var(--sand);
    font-size: 1.1rem;
}

.page-body li::before {
    content: '𓂀';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 1.1rem;
}

/* Footer */
.main-footer {
    background: linear-gradient(180deg, var(--teal-deep) 0%, var(--obsidian) 100%);
    border-top: 3px solid var(--gold);
    padding: 55px 28px 40px;
    margin-top: 80px;
}

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

.footer-title {
    color: var(--gold);
    font-size: 1.15rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-nav a {
    color: var(--sand);
    margin: 0 20px;
    font-size: 1rem;
}

.footer-nav a:hover {
    color: var(--gold-bright);
}

.footer-copy {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(201, 162, 39, 0.3);
    color: var(--sand);
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Age Gate */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-gate.closed {
    display: none;
}

.age-panel {
    background: linear-gradient(180deg, var(--teal-deep) 0%, var(--obsidian) 100%);
    border: 3px solid var(--gold);
    border-radius: 16px;
    padding: 50px 45px;
    text-align: center;
    max-width: 480px;
    margin: 20px;
    box-shadow: 0 25px 70px rgba(201, 162, 39, 0.25);
}

.age-panel h2 {
    font-size: 1.9rem;
    color: var(--gold);
    margin-bottom: 18px;
}

.age-panel p {
    color: var(--sand);
    font-size: 1.1rem;
    margin-bottom: 35px;
    line-height: 1.65;
}

.age-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.age-btn {
    padding: 16px 42px;
    font-family: 'Spectral', serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.age-btn.enter {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--obsidian);
}

.age-btn.enter:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.4);
}

.age-btn.leave {
    background: transparent;
    border: 2px solid var(--sand);
    color: var(--sand);
}

.age-btn.leave:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Responsive */
@media (max-width: 900px) {
    .pillars {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--obsidian);
        padding: 25px;
        display: none;
        border-top: 2px solid var(--gold);
    }
    
    .nav-menu.shown {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.4rem;
    }
    
    .game-frame iframe {
        height: 470px;
    }
    
    .age-buttons {
        flex-direction: column;
    }
    
    .age-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo-title {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .game-frame iframe {
        height: 370px;
    }
}
