:root {
    --bg-cream: #FDFBF7;
    --rose-pastel: #F4ACB7;
    --rose-deep: #D87A88;
    --mint-pastel: #CDEAC0;
    --butter-pastel: #FFF1B5;
    --lilac-pastel: #E8DFF5;
    --ink-brown: #4A3B3C;
    --muted-brown: #8A7578;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-cream);
    background-image:
        radial-gradient(circle at 12% 18%, rgba(244, 172, 183, 0.22) 0%, transparent 42%),
        radial-gradient(circle at 88% 25%, rgba(205, 234, 192, 0.25) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(232, 223, 245, 0.28) 0%, transparent 50%);
    color: var(--ink-brown);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

.font-serif-editorial {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-handwriting {
    font-family: 'Dancing Script', cursive;
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(244, 172, 183, 0.35);
    box-shadow: 0 18px 40px -15px rgba(74, 59, 60, 0.08);
}

@keyframes swaySlow {

    0%,
    100% {
        transform: rotate(-1.6deg) translateY(0px);
    }

    50% {
        transform: rotate(1.6deg) translateY(-4px);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(244, 172, 183, 0.7);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 10px rgba(244, 172, 183, 0);
    }
}

@keyframes floatPetal {
    0% {
        transform: translateY(-10vh) translateX(0) rotate(0deg);
        opacity: 0;
    }

    15% {
        opacity: 0.75;
    }

    85% {
        opacity: 0.75;
    }

    100% {
        transform: translateY(105vh) translateX(40px) rotate(360deg);
        opacity: 0;
    }
}

.bouquet-sway {
    animation: swaySlow 5.5s ease-in-out infinite;
    transform-origin: bottom center;
}

.flower-badge {
    animation: pulseGlow 2.4s infinite;
}

.petal {
    position: fixed;
    pointer-events: none;
    z-index: 1;
    animation: floatPetal linear infinite;
}

.ticket-stub {
    position: relative;
    background: linear-gradient(135deg, #FFFDF9 0%, #FFF5F7 100%);
    border: 1.5px dashed #E5B8C0;
}

.ticket-stub::before,
.ticket-stub::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 24px;
    background-color: var(--bg-cream);
    border-radius: 50%;
    transform: translateY(-50%);
    border: 1.5px solid #E5B8C0;
}

.ticket-stub::before {
    left: -13px;
}

.ticket-stub::after {
    right: -13px;
}

#boothCanvas {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #FDFBF7;
}

::-webkit-scrollbar-thumb {
    background: #EBC5CC;
    border-radius: 9999px;
}

input[type=range].pastel-slider {
    -webkit-appearance: none;
    appearance: none;
    background: #F4E3E6;
    height: 6px;
    border-radius: 999px;
}

input[type=range].pastel-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #D87A88;
    cursor: pointer;
    border: 2px solid #FFF;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}