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

:root {
    --vintage-cream: #f5efe6;
    --dusty-lavender: #d4c5d9;
    --faded-rose: #c4868b;
    --muted-gold: #c9a96e;
    --warm-espresso: #3d2f2f;
    --soft-mauve: #7d6b7d;
    --washed-denim: #8fa3b8;
    --peach-gloss: #e8b89d;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--vintage-cream);
    color: var(--warm-espresso);
    overflow-x: hidden;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.rhinestone-border {
    text-align: center;
    padding: 3rem;
    border-radius: 24px;
    position: relative;
    background-image:
        radial-gradient(circle, rgba(201,169,110,0.6) 2px, transparent 2px);
    background-size: 12px 12px;
    background-position: 0 0, 0 100%;
    border: 2px solid rgba(201,169,110,0.2);
}

#hero-title {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    background: linear-gradient(105deg, #c9a96e 0%, #e8b89d 35%, #c4868b 65%, #d4c5d9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    animation: fadeIn 800ms ease forwards 300ms;
}

#marquee-container {
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    margin-top: 1.5rem;
    opacity: 0;
    animation: fadeIn 800ms ease forwards 600ms;
}

.marquee-text {
    font-family: 'Grandstander', cursive;
    font-size: 1rem;
    color: var(--faded-rose);
    display: inline-block;
    white-space: nowrap;
    animation: marqueeScroll 20s linear infinite;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Butterflies */
.butterfly {
    position: absolute;
    opacity: 0;
}

.butterfly-1 {
    top: 15%;
    right: 15%;
    animation: fadeIn 600ms ease forwards 800ms, floatButterfly 3s ease-in-out infinite 800ms;
}

.butterfly-2 {
    bottom: 20%;
    left: 12%;
    animation: fadeIn 600ms ease forwards 1100ms, floatButterfly 3s ease-in-out infinite 1100ms;
}

.butterfly-3 {
    top: 40%;
    right: 25%;
    animation: fadeIn 600ms ease forwards 1400ms, floatButterfly 3.5s ease-in-out infinite 1400ms;
}

@keyframes floatButterfly {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Philosophy Panel */
#philosophy {
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    position: relative;
    max-width: 65%;
    margin-left: 5%;
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 500ms ease-out, transform 500ms ease-out;
}

#philosophy.visible {
    opacity: 1;
    transform: translateX(0);
}

.panel-content {
    background: var(--vintage-cream);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    background-image: repeating-linear-gradient(
        transparent, transparent 31px,
        rgba(61, 47, 47, 0.06) 31px,
        rgba(61, 47, 47, 0.06) 32px
    );
    border: 1px solid rgba(201,169,110,0.2);
}

#philosophy h2,
#offerings .section-title,
#story-scroll h2 {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(1.5rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--faded-rose);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.panel-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--warm-espresso);
    margin-bottom: 1rem;
}

/* Lens Flare */
.lens-flare {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.4) 0%, transparent 70%);
    top: -20px;
    right: 30%;
    animation: pulseLensFlare 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseLensFlare {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Chain Connector */
.chain-connector {
    padding: 2rem 0;
    text-align: center;
    overflow: hidden;
}

/* Offerings Section */
#offerings {
    padding: 4rem 2rem;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.flare-offerings {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.cards-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding-right: 5%;
}

.offering-card {
    background: var(--vintage-cream);
    border: 2px solid rgba(201,169,110,0.3);
    border-radius: 24px;
    padding: 2.5rem;
    width: 70%;
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 500ms ease-out, transform 500ms ease-out, border-color 300ms, box-shadow 300ms;
}

.offering-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.card-1 { transform: translateX(30px) rotate(-2deg); }
.card-1.visible { transform: translateX(0) rotate(-2deg); }
.card-2 { transform: translateX(30px) rotate(1deg); }
.card-2.visible { transform: translateX(0) rotate(1deg); }
.card-3 { transform: translateX(30px) rotate(-1.5deg); }
.card-3.visible { transform: translateX(0) rotate(-1.5deg); }

.offering-card:hover {
    transform: scale(1.03) rotate(0deg) !important;
    border-color: var(--peach-gloss);
    box-shadow: 0 8px 32px rgba(196,134,139,0.15);
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), border-color 300ms, box-shadow 300ms;
}

.offering-card h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.4rem;
    color: var(--faded-rose);
    margin-bottom: 0.75rem;
}

.offering-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--warm-espresso);
}

.card-butterfly {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.6;
}

/* Story Scroll */
#story-scroll {
    min-height: 100vh;
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #f5efe6 0%, #e8b89d 50%, #d4c5d9 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flare-story {
    top: 2rem;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 160px;
    height: 160px;
    transition: transform 1s ease-out;
}

.flare-story.visible {
    transform: translateX(-50%) scale(1);
}

.story-content {
    max-width: 600px;
    text-align: center;
}

.story-content h2 {
    margin-bottom: 2rem;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 2rem;
    color: var(--warm-espresso);
}

.story-butterfly,
.story-leaf {
    display: block;
    margin: 2rem auto;
    animation: floatButterfly 4s ease-in-out infinite;
}

.reveal-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms ease, transform 600ms ease;
}

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

/* Footer Charm Bar */
#footer-charm {
    padding: 3rem 2rem;
    text-align: center;
    background: var(--dusty-lavender);
    backdrop-filter: blur(4px);
}

.charm-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 1.5rem;
}

.charm {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(125,107,125,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vintage-cream);
}

.charm-link {
    width: 24px;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        rgba(125,107,125,0.3) 0px,
        rgba(125,107,125,0.3) 4px,
        transparent 4px,
        transparent 8px
    );
}

.footer-text {
    font-family: 'Grandstander', cursive;
    font-size: 0.9rem;
    color: var(--soft-mauve);
}

/* Responsive */
@media (max-width: 768px) {
    #philosophy {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .cards-container {
        align-items: center;
        padding-right: 0;
    }

    .offering-card {
        width: 90%;
    }

    .card-1.visible { transform: translateX(0) rotate(-1deg); }
    .card-2.visible { transform: translateX(0) rotate(0.5deg); }
    .card-3.visible { transform: translateX(0) rotate(-0.75deg); }

    .marquee-text {
        animation-duration: 30s;
    }
}
