/* ppuzzl.win - Fairycore Victory Garden */

:root {
    --earth: #A67C52;
    --linen: #E8DCC8;
    --gold: #C4A862;
    --white: #FFFFFF;
    --warm-stone: #7A7264;
    --cream: #FAF5EC;
    --moss: #6B7F5E;
    --petal: #F4EDE0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--warm-stone);
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.8;
    overflow-x: hidden;
}

/* SVG Vine */
.vine-svg {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

.vine-path {
    stroke-dasharray: 4000;
    stroke-dashoffset: 4000;
    transition: stroke-dashoffset 6s ease;
}

.vine-path.drawn {
    stroke-dashoffset: 0;
}

/* Floating Bubbles */
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(196, 168, 98, 0.15);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08), transparent);
    animation: bubbleFloat linear infinite;
}

@keyframes bubbleFloat {
    0% {
        transform: translateY(100vh) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-20vh) scale(1);
        opacity: 0;
    }
}

/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 100px 20px;
}

/* The Clearing */
.clearing {
    min-height: 100vh;
}

.clearing-content {
    text-align: center;
    position: relative;
}

.wordmark {
    font-family: 'Cormorant', serif;
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 4.5rem);
    letter-spacing: 0.12em;
    color: var(--earth);
    opacity: 0;
    transform: translateY(20px);
    animation: gentleRise 2s ease-out 0.3s forwards;
}

.subtitle {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: clamp(0.85rem, 1.5vw, 1.1rem);
    letter-spacing: 0.15em;
    color: var(--warm-stone);
    opacity: 0;
    animation: gentleFade 1.5s ease-out 1.2s forwards;
    text-transform: lowercase;
}

@keyframes gentleRise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gentleFade {
    to {
        opacity: 0.7;
    }
}

/* Dewdrop Divider */
.dewdrop-divider {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 24px 0;
    opacity: 0;
    animation: gentleFade 1.5s ease-out 0.8s forwards;
}

.dew {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.4;
}

/* Content Islands */
.content-island {
    max-width: 520px;
    width: 100%;
    padding: 48px 40px;
    position: relative;
}

.section-tag {
    display: inline-block;
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--moss);
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.section-tag::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background: var(--moss);
    opacity: 0.4;
}

.section-title {
    font-family: 'Cormorant', serif;
    font-weight: 300;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    letter-spacing: 0.08em;
    color: var(--earth);
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-body {
    font-size: 15px;
    line-height: 1.9;
    color: var(--warm-stone);
}

/* Reveal animation */
.reveal-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* Harvest items */
.harvest-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

.harvest-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(122, 114, 100, 0.1);
}

.harvest-icon {
    flex-shrink: 0;
    padding-top: 2px;
}

.harvest-name {
    font-family: 'Cormorant', serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--earth);
    margin-bottom: 4px;
    letter-spacing: 0.04em;
}

.harvest-desc {
    font-size: 13px;
    color: var(--warm-stone);
    opacity: 0.8;
}

/* The Crown */
.crown-contact {
    margin-top: 32px;
    text-align: center;
}

.contact-whisper {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--gold);
    opacity: 0.6;
}

.final-bloom {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
    animation: slowSpin 30s linear infinite;
}

@keyframes slowSpin {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

/* Meadow soft gradient background areas */
.meadow {
    background: linear-gradient(180deg, var(--cream) 0%, var(--petal) 50%, var(--cream) 100%);
}

.grove {
    background: linear-gradient(180deg, var(--cream) 0%, var(--linen) 50%, var(--cream) 100%);
}

.crown {
    background: linear-gradient(180deg, var(--cream) 0%, var(--petal) 40%, var(--white) 100%);
}
