/* mysterious.quest - McBling Mystery Quest */
/* Colors: #8A9BB5, #D4D8E0, #F5F0E8, #1A1A1A, #0D1B2A, #1B3A5C, #B8860B, #C0C0C0 */
/* Fonts: Pathway Gothic One, Nunito Sans, Space Mono */

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

body {
    font-family: 'Nunito Sans', sans-serif;
    color: #D4D8E0;
    background: #0D1B2A;
    overflow-x: hidden;
}

.constellation-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
}

.hero__chrome-mark {
    font-family: 'Pathway Gothic One', sans-serif;
    font-size: clamp(6rem, 15vw, 12rem);
    color: transparent;
    background: linear-gradient(180deg, #C0C0C0, #8A9BB5, #C0C0C0);
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 1;
    opacity: 0;
    animation: chromeReveal 1.5s ease 0.4s forwards;
}

.hero__title {
    font-family: 'Pathway Gothic One', sans-serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #C0C0C0;
    opacity: 0;
    animation: fadeUp 1.2s ease 1.5s forwards;
}

.hero__tagline {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #8A9BB5;
    letter-spacing: 0.05em;
    margin-top: 16px;
    opacity: 0;
    animation: fadeUp 1.2s ease 2s forwards;
}

/* Clue Zones */
.clue-zone {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    z-index: 1;
}

.clue-zone--1 {
    background: linear-gradient(180deg, #0D1B2A, #1B3A5C 40%, #0D1B2A);
}

.clue-zone--2 {
    background: linear-gradient(180deg, #0D1B2A, #162840 40%, #0D1B2A);
}

.clue-zone--3 {
    background: linear-gradient(180deg, #0D1B2A, #1B3A5C 40%, #0D1B2A);
}

.clue-zone__shape {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    clip-path: polygon(0 0, 100% 0, 100% 40%, 85% 80%, 60% 50%, 40% 75%, 15% 45%, 0 70%);
    background: #0D1B2A;
}

.clue-content {
    max-width: 750px;
    width: 100%;
    position: relative;
}

.clue-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #B8860B;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.clue-title {
    font-family: 'Pathway Gothic One', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #C0C0C0;
    margin-bottom: 24px;
}

.clue-text {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.85;
    color: #D4D8E0;
    margin-bottom: 32px;
}

.clue-text--centered {
    text-align: center;
}

/* Parchment Cards */
.parchment-card {
    background: #F5F0E8;
    background-image: radial-gradient(ellipse at center, transparent 60%, rgba(13,27,42,0.08) 100%);
    padding: 28px 32px;
    border-radius: 2px;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.parchment-text {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    line-height: 1.8;
    color: #1A1A1A;
}

.parchment-stamp {
    position: absolute;
    top: 12px;
    right: 16px;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: #B8860B;
    letter-spacing: 0.1em;
    border: 1px solid #B8860B;
    padding: 2px 8px;
    transform: rotate(-6deg);
}

/* Epilogue */
.epilogue {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    z-index: 1;
    text-align: center;
    background: #0D1B2A;
}

.footer-credit {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: #8A9BB5;
    opacity: 0.4;
    margin-top: 40px;
}

/* Scroll Reveal */
.zone-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.zone-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
@keyframes chromeReveal {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 600px) {
    .parchment-card {
        padding: 20px;
    }

    .clue-zone__shape {
        display: none;
    }
}
