@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Source+Sans+Pro:wght@300;400;600&display=swap');

:root {
    --fire-orange: #f97316;
    --amber: #f59e0b;
    --deep-red: #991b1b;
    --sand: #fef3c7;
    --obsidian: #1c1917;
    --charred: #292524;
    --smoke: #a8a29e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: var(--obsidian);
    color: var(--sand);
    line-height: 1.7;
}

.header-bar {
    background: linear-gradient(90deg, var(--obsidian), var(--charred), var(--obsidian));
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--fire-orange);
}

.header-layout {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--fire-orange);
    text-decoration: none;
    letter-spacing: 4px;
}

.menu-icon {
    display: none;
    background: none;
    border: 2px solid var(--fire-orange);
    color: var(--fire-orange);
    padding: 0.5rem;
    font-size: 1.2rem;
    cursor: pointer;
}

.main-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.main-links a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    color: var(--sand);
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.main-links a:hover {
    color: var(--fire-orange);
}

.content-wrap {
    padding-top: 80px;
}

.intro-section {
    min-height: 85vh;
    background: 
        linear-gradient(180deg, rgba(28, 25, 23, 0.9), rgba(41, 37, 36, 0.95)),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0L40 20L20 40L0 20z' fill='%23f97316' fill-opacity='0.03'/%3E%3C/svg%3E");
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
}

.intro-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4.5rem;
    color: var(--sand);
    letter-spacing: 3px;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.intro-text h1 span {
    color: var(--fire-orange);
}

.intro-text .subtitle {
    font-size: 1.3rem;
    color: var(--smoke);
    margin-bottom: 2.5rem;
}

.status-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.status-badge {
    background: linear-gradient(135deg, var(--deep-red), var(--charred));
    border: 1px solid var(--fire-orange);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-badge .emoji {
    font-size: 1.5rem;
}

.status-badge .label {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--fire-orange);
    letter-spacing: 1px;
}

.status-badge .desc {
    font-size: 0.85rem;
    color: var(--smoke);
}

.intro-visual {
    background: linear-gradient(145deg, var(--charred), var(--obsidian));
    border: 2px solid var(--amber);
    padding: 3rem;
    text-align: center;
}

.intro-visual .big-icon {
    font-size: 5rem;
    display: block;
    margin-bottom: 1rem;
}

.intro-visual h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--amber);
    letter-spacing: 2px;
}

.game-area {
    padding: 5rem 2rem;
    background: var(--charred);
}

.area-heading {
    text-align: center;
    margin-bottom: 2.5rem;
}

.area-heading h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--amber);
    letter-spacing: 3px;
}

.game-frame {
    max-width: 1200px;
    margin: 0 auto;
    border: 3px solid var(--fire-orange);
    box-shadow: 0 0 50px rgba(249, 115, 22, 0.2);
}

.game-frame iframe {
    width: 100%;
    height: 620px;
    border: none;
    display: block;
}

.feature-row {
    display: flex;
    gap: 0;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.feature-tile {
    flex: 1;
    background: var(--obsidian);
    border: 1px solid var(--charred);
    padding: 2.5rem;
    text-align: center;
    border-left: none;
}

.feature-tile:first-child {
    border-left: 1px solid var(--charred);
}

.feature-tile .f-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-tile h4 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--fire-orange);
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.feature-tile p {
    color: var(--smoke);
    font-size: 0.95rem;
}

.story-block {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--obsidian), var(--charred));
}

.story-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.story-inner h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: var(--fire-orange);
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

.story-inner p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--smoke);
}

.site-footer {
    background: var(--obsidian);
    border-top: 2px solid var(--fire-orange);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-title {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--fire-orange);
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-nav a {
    color: var(--sand);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--amber);
}

.footer-copy {
    color: var(--smoke);
    font-size: 0.8rem;
    opacity: 0.7;
}

.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 23, 0.98);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-box {
    background: linear-gradient(145deg, var(--charred), var(--obsidian));
    border: 2px solid var(--fire-orange);
    padding: 3rem;
    max-width: 480px;
    margin: 1rem;
    text-align: center;
}

.age-box h2 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--fire-orange);
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.age-box p {
    color: var(--smoke);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.age-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.fire-btn {
    font-family: 'Bebas Neue', sans-serif;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.fire-btn.enter {
    background: linear-gradient(135deg, var(--fire-orange), var(--amber));
    color: var(--obsidian);
}

.fire-btn.exit {
    background: transparent;
    border: 1px solid var(--smoke);
    color: var(--smoke);
}

.fire-btn:hover {
    transform: scale(1.05);
}

.hidden {
    display: none !important;
}

.page-header {
    padding: 4rem 2rem;
    background: var(--charred);
    text-align: center;
    border-bottom: 2px solid var(--fire-orange);
}

.page-header h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--sand);
    letter-spacing: 3px;
}

.doc-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.doc-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--fire-orange);
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin: 2.5rem 0 1rem;
}

.doc-content p {
    margin-bottom: 1.2rem;
    color: var(--smoke);
    font-size: 1.05rem;
}

.doc-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.doc-content li {
    margin-bottom: 0.8rem;
    color: var(--smoke);
}

.play-tip {
    background: linear-gradient(90deg, var(--deep-red), var(--charred));
    border-left: 4px solid var(--fire-orange);
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.play-tip h3 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--amber);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
    .intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .status-badges {
        justify-content: center;
    }

    .feature-row {
        flex-direction: column;
    }

    .feature-tile {
        border-left: 1px solid var(--charred);
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .main-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--obsidian);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        text-align: center;
        display: none;
        border-bottom: 2px solid var(--fire-orange);
    }

    .main-links.active {
        display: flex;
    }

    .intro-text h1 {
        font-size: 2.8rem;
    }

    .game-frame iframe {
        height: 400px;
    }

    .age-btns {
        flex-direction: column;
    }
}
