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

:root {
    --gold: #c9a84c;
}

html,
body {
    width: 100%;
    background: radial-gradient(ellipse at 50% 0%, #2a0610 0%, #0d0508 60%);
    min-height: 100vh;
    color: #f5e8d8;
    font-family: 'Cormorant Garamond', serif;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glow-orb {
    position: fixed;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(192, 21, 42, 0.13) 0%, transparent 70%);
    pointer-events: none;
}

.morse-text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--gold);
    letter-spacing: 0.15em;
    line-height: 2;
    text-align: center;
}

header {
    padding: 2.5rem 1.5rem 0.5rem;
    max-width: 640px;
    width: 100%;
    animation: fadeDown 1.2s ease both;
}

header .morse-text {
    font-size: clamp(0.85rem, 1.8vw, 1.05rem);
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ── ROSES ── */
.roses-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 1.5rem auto 0;
    animation: fadeIn 2s 0.4s ease both;
}

.rose-wrap {
    flex-shrink: 0;
    transform-origin: 50% 100%;
}

.rose-wrap.left {
    width: min(180px, 27vw);
    transform: rotate(-22deg) translateX(18px);
    z-index: 1;
}

.rose-wrap.center {
    width: min(220px, 34vw);
    transform: rotate(0deg);
    z-index: 3;
}

.rose-wrap.right {
    width: min(180px, 27vw);
    transform: rotate(22deg) translateX(-18px);
    z-index: 1;
}

.rose-wrap svg {
    width: 100%;
    height: auto;
    display: block;
}

.rose-wrap.center svg {
    filter: drop-shadow(0 8px 30px rgba(192, 21, 42, 0.45)) drop-shadow(0 0 50px rgba(192, 21, 42, 0.2));
}

.rose-wrap.left svg {
    filter: drop-shadow(0 6px 20px rgba(120, 40, 180, 0.35));
}

.rose-wrap.right svg {
    filter: drop-shadow(0 6px 20px rgba(30, 120, 50, 0.35));
}

/* ── PETALS ── */
.petal {
    transform-origin: 50% 90%;
    animation: bloomPetal 2s cubic-bezier(.22, .68, 0, 1.2) both;
}

.p1 {
    animation-delay: .3s;
}

.p2 {
    animation-delay: .5s;
}

.p3 {
    animation-delay: .7s;
}

.p4 {
    animation-delay: .9s;
}

.p5 {
    animation-delay: 1.1s;
}

.p6 {
    animation-delay: 1.2s;
}

.p7 {
    animation-delay: 1.3s;
}

.p8 {
    animation-delay: 1.4s;
}

.p9 {
    animation-delay: 1.5s;
}

.center-petal {
    animation-delay: 1.7s;
}

@keyframes bloomPetal {
    from {
        opacity: 0;
        transform: scale(0.3) rotate(-15deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.stem {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawStem 1.5s .1s ease forwards;
}

@keyframes drawStem {
    to {
        stroke-dashoffset: 0;
    }
}

.leaf-l {
    transform-origin: 80% 20%;
    animation: unfurlLeaf 1s 1s ease both;
}

.leaf-r {
    transform-origin: 20% 20%;
    animation: unfurlLeaf 1s 1.2s ease both;
}

@keyframes unfurlLeaf {
    from {
        opacity: 0;
        transform: scale(0) rotate(20deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.rg-c {
    animation: rSwayC 6s ease-in-out infinite 2.5s;
    transform-origin: 50% 100%;
}

.rg-l {
    animation: rSwayL 7s ease-in-out infinite 3s;
    transform-origin: 50% 100%;
}

.rg-r {
    animation: rSwayR 7s ease-in-out infinite 2s;
    transform-origin: 50% 100%;
}

@keyframes rSwayC {

    0%,
    100% {
        transform: rotate(0deg)
    }

    25% {
        transform: rotate(1.2deg)
    }

    75% {
        transform: rotate(-1.2deg)
    }
}

@keyframes rSwayL {

    0%,
    100% {
        transform: rotate(0deg)
    }

    35% {
        transform: rotate(1.5deg)
    }

    70% {
        transform: rotate(-0.8deg)
    }
}

@keyframes rSwayR {

    0%,
    100% {
        transform: rotate(0deg)
    }

    30% {
        transform: rotate(-1.5deg)
    }

    65% {
        transform: rotate(0.8deg)
    }
}

.morse-section {
    padding: 2rem 1.5rem 1rem;
    max-width: 640px;
    width: 100%;
    animation: fadeIn 1.5s 1.8s ease both;
}

.morse-section .morse-text {
    font-size: clamp(0.85rem, 1.8vw, 1.05rem);
}

.divider {
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 1.2rem auto;
}

.heart-line {
    padding: 0 1.5rem 0.5rem;
    max-width: 640px;
    width: 100%;
    animation: fadeIn 1.5s 2.2s ease both;
}

.heart-line .morse-text {
    font-size: clamp(0.85rem, 1.8vw, 1.05rem);
}

.footer-section {
    padding: 0.2rem 1.5rem 3rem;
    animation: fadeIn 1.5s 2.5s ease both;
}

.footer-morse {
    font-size: clamp(0.6rem, 1.2vw, 0.72rem);
    opacity: 0.65;
}