/* dilemma.quest — Botanical Dark-Neon
   Palette: #0C0E08 #30B040 #C030A0 #D0A020 #D8E0D0 #1A2818 #0A1408
*/

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0C0E08;
    color: #D8E0D0;
    font-family: 'Bitter', serif;
    font-weight: 400;
    font-size: clamp(0.95rem, 1.15vw, 1.1rem);
    line-height: 1.85;
    overflow-x: hidden;
}

/* Scroll Progress Indicator */
#scroll-indicator {
    position: fixed;
    top: 0;
    right: 16px;
    width: 4px;
    height: 100vh;
    z-index: 100;
    pointer-events: none;
}

#scroll-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #30B040;
    box-shadow: 0 0 6px rgba(48, 176, 64, 0.6);
    position: absolute;
    top: 0;
    transition: top 0.1s linear;
}

/* Garden Gate (Hero) */
#garden-gate {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vine-arch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.vine {
    filter: drop-shadow(0 0 4px rgba(48, 176, 64, 0.4));
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 3s ease;
}

.vine.grow {
    stroke-dashoffset: 0;
}

.leaf {
    filter: drop-shadow(0 0 3px rgba(48, 176, 64, 0.3));
    opacity: 0;
    transform-origin: center;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(0);
}

.leaf.sprout {
    opacity: 1;
    transform: scale(1);
}

.bloom {
    filter: drop-shadow(0 0 6px currentColor);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.bloom.sprout {
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-family: 'Righteous', cursive;
    font-weight: 400;
    font-size: clamp(3rem, 7vw, 5.5rem);
    color: #30B040;
    text-shadow: 0 0 20px rgba(48, 176, 64, 0.4), 0 0 40px rgba(48, 176, 64, 0.2);
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.8s ease, filter 0.8s ease;
}

.hero-title.visible {
    opacity: 1;
    filter: blur(0);
}

.hero-dot {
    color: #C030A0;
    text-shadow: 0 0 20px rgba(192, 48, 160, 0.5);
}

.hero-tagline {
    font-family: 'Righteous', cursive;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: #D0A020;
    text-shadow: 0 0 8px rgba(208, 160, 32, 0.3);
    margin-top: 16px;
    opacity: 0;
    transition: opacity 1s ease 0.5s;
}

.hero-tagline.visible {
    opacity: 1;
}

/* Garden Path */
#garden-path {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px 120px;
}

.content-column {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 0;
}

.quest-text {
    margin-bottom: 24px;
}

.quest-closing {
    font-family: 'Righteous', cursive;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: #D0A020;
    text-shadow: 0 0 8px rgba(208, 160, 32, 0.3);
    margin-top: 48px;
    text-align: center;
}

.last-column {
    padding-bottom: 80px;
}

/* Botanical Elements */
.botanical-el {
    position: relative;
    width: 80px;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.botanical-el.visible {
    opacity: 1;
    transform: scale(1);
}

.botanical-el svg {
    filter: drop-shadow(0 0 4px rgba(48, 176, 64, 0.3));
}

.botanical-left {
    margin-left: 5%;
    margin-bottom: -20px;
}

.botanical-right {
    margin-left: auto;
    margin-right: 5%;
    margin-bottom: -20px;
}

/* Neon Bloom Points */
.neon-bloom {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    margin: -60px auto;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
}

.neon-bloom.visible {
    animation: bloomPulse 4s ease-in-out infinite;
}

.bloom-green {
    background: radial-gradient(circle, rgba(48, 176, 64, 0.12) 0%, transparent 70%);
}

.bloom-magenta {
    background: radial-gradient(circle, rgba(192, 48, 160, 0.12) 0%, transparent 70%);
}

.bloom-amber {
    background: radial-gradient(circle, rgba(208, 160, 32, 0.12) 0%, transparent 70%);
}

@keyframes bloomPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Fork Points */
.fork-point {
    padding: 40px 0;
    margin: 40px 0;
}

.fork-heading {
    font-family: 'Righteous', cursive;
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #30B040;
    text-shadow: 0 0 12px rgba(48, 176, 64, 0.3);
    text-align: center;
    margin-bottom: 40px;
}

.fork-paths {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.fork-path {
    flex: 1;
    max-width: 320px;
    background: #1A2818;
    border-radius: 16px;
    padding: 32px 28px;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fork-path.path-a {
    transform: rotate(-2deg) translateX(-10px);
}

.fork-path.path-b {
    transform: rotate(2deg) translateX(10px);
}

.fork-path.visible {
    opacity: 1;
}

.fork-path.visible.path-a {
    transform: rotate(-2deg) translateX(0);
}

.fork-path.visible.path-b {
    transform: rotate(2deg) translateX(0);
}

.path-label {
    font-family: 'Righteous', cursive;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: #D0A020;
    text-shadow: 0 0 6px rgba(208, 160, 32, 0.3);
    margin-bottom: 12px;
}

.path-title {
    font-family: 'Righteous', cursive;
    font-weight: 400;
    font-size: 1.3rem;
    color: #C030A0;
    text-shadow: 0 0 8px rgba(192, 48, 160, 0.3);
    margin-bottom: 12px;
}

.path-body {
    color: #D8E0D0;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 640px) {
    .fork-paths {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .fork-path {
        max-width: 100%;
        transform: none !important;
    }

    .fork-path.visible {
        transform: none !important;
    }

    .vine-arch {
        opacity: 0.5;
    }

    .botanical-left,
    .botanical-right {
        display: none;
    }
}
