/* Mystryxor - Smoky Mystery Theme */
@import url('https://fonts.googleapis.com/css2?family=Spectral:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --smoke-black: #0d0d0d;
    --charcoal: #1c1c1c;
    --ash-gray: #888888;
    --ember-red: #c0392b;
    --ghost-white: #f5f5f5;
    --dim-gold: #b8860b;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--smoke-black);
    color: var(--ghost-white);
    min-height: 100vh;
    line-height: 1.8;
}

/* Shadow Header */
.shadow-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.97);
    border-bottom: 1px solid rgba(136, 136, 136, 0.2);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shadow-logo {
    font-family: 'Spectral', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--ghost-white);
    text-decoration: none;
    letter-spacing: 4px;
    text-transform: lowercase;
}

.shadow-nav {
    display: flex;
    gap: 2.5rem;
}

.shadow-nav a {
    color: var(--ash-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.shadow-nav a:hover {
    color: var(--ghost-white);
}

.shadow-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.shadow-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ghost-white);
    margin: 6px 0;
    transition: all 0.3s;
}

.shadow-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 6px);
}

.shadow-toggle.active span:nth-child(2) {
    opacity: 0;
}

.shadow-toggle.active span:last-child {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mist Hero */
.mist-hero {
    min-height: 100vh;
    padding: 140px 2rem 100px;
    background: 
        radial-gradient(ellipse at bottom, rgba(184, 134, 11, 0.08) 0%, transparent 60%),
        var(--smoke-black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-box {
    max-width: 800px;
}

.hero-box h1 {
    font-family: 'Spectral', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--ghost-white);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    line-height: 1.2;
}

.hero-box .lead {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--ash-gray);
    margin-bottom: 3rem;
    line-height: 1.9;
}

.smoke-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: transparent;
    border: 1px solid var(--ghost-white);
    color: var(--ghost-white);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    transition: all 0.4s;
}

.smoke-btn:hover {
    background: var(--ghost-white);
    color: var(--smoke-black);
}

/* Notices Row */
.notices-row {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.notice-item {
    text-align: center;
    max-width: 220px;
}

.notice-item h4 {
    color: var(--dim-gold);
    font-family: 'Spectral', serif;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.notice-item p {
    font-size: 0.85rem;
    color: var(--ash-gray);
    font-weight: 300;
}

/* Game Chamber */
.game-chamber {
    padding: 6rem 2rem;
    background: var(--charcoal);
}

.chamber-title {
    font-family: 'Spectral', serif;
    font-size: 2rem;
    color: var(--ghost-white);
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: 3px;
}

.chamber-frame {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--smoke-black);
    border: 1px solid rgba(136, 136, 136, 0.3);
}

.chamber-frame iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* Features Mist */
.features-mist {
    padding: 6rem 2rem;
    background: var(--smoke-black);
}

.mist-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mist-card {
    background: var(--charcoal);
    border: 1px solid rgba(136, 136, 136, 0.15);
    padding: 2.5rem;
    transition: all 0.4s;
}

.mist-card:hover {
    border-color: rgba(136, 136, 136, 0.4);
}

.mist-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}

.mist-card h3 {
    font-family: 'Spectral', serif;
    color: var(--ghost-white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.mist-card p {
    color: var(--ash-gray);
    font-weight: 300;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* About Shadow */
.about-shadow {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, var(--charcoal), var(--smoke-black));
}

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

.about-shadow h2 {
    font-family: 'Spectral', serif;
    color: var(--ghost-white);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.about-shadow p {
    color: var(--ash-gray);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 2;
    margin-bottom: 1.5rem;
}

/* Footer */
.shadow-footer {
    background: var(--smoke-black);
    padding: 2.5rem 2rem;
    border-top: 1px solid rgba(136, 136, 136, 0.2);
}

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

.resource-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.resource-links a {
    color: var(--ash-gray);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.resource-links a:hover {
    color: var(--ghost-white);
}

.footer-line {
    color: var(--ash-gray);
    opacity: 0.5;
    font-size: 0.8rem;
}

/* Age Veil */
.age-veil {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.98);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-veil.hidden {
    display: none;
}

.veil-box {
    background: var(--charcoal);
    border: 1px solid rgba(136, 136, 136, 0.3);
    padding: 3.5rem;
    text-align: center;
    max-width: 480px;
    width: 90%;
}

.veil-box h2 {
    font-family: 'Spectral', serif;
    color: var(--ghost-white);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.veil-box p {
    color: var(--ash-gray);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.8;
}

.veil-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-proceed {
    padding: 1rem 2.5rem;
    background: var(--ghost-white);
    color: var(--smoke-black);
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.btn-proceed:hover {
    background: var(--dim-gold);
}

.btn-retreat {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--ghost-white);
    border: 1px solid rgba(136, 136, 136, 0.5);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.btn-retreat:hover {
    border-color: var(--ghost-white);
}

/* Inner Pages */
.page-layer {
    padding: 140px 2rem 80px;
    min-height: 100vh;
    background: var(--smoke-black);
}

.page-inner {
    max-width: 850px;
    margin: 0 auto;
}

.page-layer h1 {
    font-family: 'Spectral', serif;
    color: var(--ghost-white);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.page-layer h2 {
    font-family: 'Spectral', serif;
    color: var(--ghost-white);
    font-size: 1.2rem;
    margin: 2.5rem 0 1rem;
    letter-spacing: 1px;
}

.page-layer p {
    color: var(--ash-gray);
    font-weight: 300;
    line-height: 2;
    margin-bottom: 1.5rem;
}

.page-layer ul {
    margin: 0 0 1.5rem 1.5rem;
    color: var(--ash-gray);
}

.page-layer li {
    margin-bottom: 0.6rem;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 992px) {
    .mist-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    .shadow-toggle {
        display: block;
    }

    .shadow-nav {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        background: rgba(13, 13, 13, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.4s;
        border-bottom: 1px solid rgba(136, 136, 136, 0.2);
    }

    .shadow-nav.visible {
        transform: translateY(0);
    }

    .hero-box h1 {
        font-size: 2.5rem;
    }

    .notices-row {
        flex-direction: column;
        align-items: center;
    }

    .chamber-frame iframe {
        height: 450px;
    }
}

@media (max-width: 480px) {
    .shadow-logo {
        font-size: 1.5rem;
    }

    .hero-box h1 {
        font-size: 2rem;
    }

    .chamber-frame iframe {
        height: 380px;
    }

    .veil-btns {
        flex-direction: column;
    }
}
