* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange: #e85d04;
    --orange-light: #f48c06;
    --bg-dark: #0f0d12;
    --bg-card: #1a171f;
    --bg-surface: #242029;
    --text-light: #f4f0e8;
    --text-muted: #a09a90;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Crimson Text', serif;
    font-weight: 600;
}

/* Entry Gate */
.entry-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 13, 18, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.entry-overlay.hidden {
    display: none;
}

.entry-box {
    background: linear-gradient(160deg, var(--bg-surface), var(--bg-card));
    border: 2px solid var(--orange);
    padding: 55px 45px;
    max-width: 480px;
    text-align: center;
}

.entry-symbol {
    font-size: 60px;
    color: var(--orange);
    margin-bottom: 20px;
}

.entry-box h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.entry-box p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.entry-question {
    color: var(--text-light) !important;
    font-weight: 500;
    margin-top: 25px !important;
}

.entry-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.entry-options button {
    padding: 15px 30px;
    border: none;
    font-family: 'Crimson Text', serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.entry-options button:first-child {
    background: var(--orange);
    color: white;
}

.entry-options button:first-child:hover {
    background: var(--orange-light);
    box-shadow: 0 5px 25px rgba(232, 93, 4, 0.4);
}

.entry-options button:last-child {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
}

.entry-options button:last-child:hover {
    border-color: #dc2626;
    color: #dc2626;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 13, 18, 0.94);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(232, 93, 4, 0.2);
}

.header-wrap {
    max-width: 1500px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-light);
}

.brand-sym {
    color: var(--orange);
    font-size: 1.6rem;
}

.brand-txt {
    font-family: 'Crimson Text', serif;
    font-size: 1.6rem;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--orange);
    transition: 0.3s;
}

.nav {
    display: flex;
    gap: 35px;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
    color: var(--orange);
}

/* Intro */
.intro {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 40px 80px;
    background: 
        radial-gradient(ellipse at 50% 40%, rgba(232, 93, 4, 0.1) 0%, transparent 55%),
        var(--bg-dark);
    text-align: center;
}

.intro-inner {
    max-width: 800px;
}

.intro h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.2;
    margin-bottom: 25px;
}

.intro p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.intro-btn {
    display: inline-block;
    padding: 16px 45px;
    background: var(--orange);
    color: white;
    text-decoration: none;
    font-family: 'Crimson Text', serif;
    font-size: 1.15rem;
    transition: all 0.3s;
}

.intro-btn:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(232, 93, 4, 0.35);
}

/* Warnings */
.warnings {
    padding: 80px 40px;
    background: var(--bg-card);
}

.warnings-flex {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.warning-item {
    background: var(--bg-surface);
    border-left: 4px solid var(--orange);
    padding: 40px 35px;
}

.warning-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 18px;
}

.warning-item h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--orange);
}

.warning-item p {
    color: var(--text-muted);
}

/* Featured */
.featured {
    padding: 100px 40px;
    background: var(--bg-dark);
}

.featured-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.featured-top {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.featured-top h2 {
    font-size: 2.5rem;
    margin-bottom: 18px;
}

.featured-top p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.game-frame {
    background: var(--bg-card);
    border: 2px solid rgba(232, 93, 4, 0.25);
}

.game-frame iframe {
    width: 100%;
    height: 620px;
    border: none;
    display: block;
}

.game-tip {
    text-align: center;
    margin-top: 25px;
    color: var(--text-muted);
}

/* Philosophy */
.philosophy {
    padding: 100px 40px;
    background: var(--bg-card);
}

.philosophy-layout {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 70px;
    align-items: center;
}

.philosophy-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.philosophy-content p {
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.85;
}

.philosophy-stats {
    display: grid;
    gap: 20px;
}

.stat-block {
    background: var(--bg-dark);
    border-left: 4px solid var(--orange);
    padding: 30px;
}

.stat-num {
    display: block;
    font-family: 'Crimson Text', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--orange);
}

.stat-desc {
    color: var(--text-muted);
    margin-top: 5px;
}

/* Attributes */
.attributes {
    padding: 100px 40px;
    background: var(--bg-dark);
}

.attributes h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 55px;
}

.attributes-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.attribute {
    background: var(--bg-card);
    border-bottom: 3px solid var(--orange);
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s;
}

.attribute:hover {
    transform: translateY(-5px);
}

.attr-icon {
    font-size: 40px;
    margin-bottom: 18px;
}

.attribute h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.attribute p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid rgba(232, 93, 4, 0.15);
    padding: 55px 40px 25px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 55px;
}

.footer-logo {
    font-family: 'Crimson Text', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-nav h4,
.footer-resources h4 {
    font-size: 1rem;
    margin-bottom: 18px;
    color: var(--text-light);
}

.footer-nav a,
.footer-resources a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-nav a:hover,
.footer-resources a:hover {
    color: var(--orange);
}

.footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(232, 93, 4, 0.1);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .warnings-flex {
        grid-template-columns: 1fr;
    }
    
    .philosophy-layout {
        grid-template-columns: 1fr;
    }
    
    .attributes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(15, 13, 18, 0.98);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    
    .nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .header-wrap {
        padding: 15px 20px;
    }
    
    .intro {
        padding: 100px 25px 60px;
    }
    
    .warnings,
    .featured,
    .philosophy,
    .attributes {
        padding: 60px 25px;
    }
    
    .attributes-grid {
        grid-template-columns: 1fr;
    }
    
    .game-frame iframe {
        height: 420px;
    }
    
    .entry-box {
        padding: 40px 25px;
    }
}
