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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #ffeef8 0%, #ffe0f0 25%, #ffd1e8 50%, #ffc2e0 75%, #ffb3d9 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text x="0" y="20" font-size="20">🍓</text></svg>') 12 12, auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .floating-heart,
    .petal,
    .balloon,
    .confetti {
        display: none !important;
    }
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

/* Image Loading Placeholder */
img {
    background: linear-gradient(110deg, #ffeef8 8%, #ffd1e8 18%, #ffeef8 33%);
    background-size: 200% 100%;
}

img.loaded {
    background: none;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffeef8 0%, #ffd1e8 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-cake {
    font-size: 5rem;
    animation: bounce 1s ease-in-out infinite;
}

.preloader-text {
    font-family: 'Pacifico', cursive;
    color: #ff1493;
    font-size: 1.5rem;
    margin-top: 20px;
}

.preloader-hearts {
    margin-top: 15px;
    font-size: 1.5rem;
}

.preloader-hearts span {
    display: inline-block;
    animation: pulse 0.6s ease-in-out infinite;
    margin: 0 5px;
}

.preloader-hearts span:nth-child(2) {
    animation-delay: 0.2s;
}

.preloader-hearts span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Click to Start Overlay */
.start-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffeef8 0%, #ffd1e8 50%, #ffb3d9 100%);
    display: none;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.start-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.start-content {
    text-align: center;
    padding: 40px;
    animation: startPulse 2s ease-in-out infinite;
}

@keyframes startPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.start-icon {
    font-size: 6rem;
    margin-bottom: 20px;
    animation: musicBounce 1s ease-in-out infinite;
}

@keyframes musicBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.start-title {
    font-family: 'Pacifico', cursive;
    color: #ff1493;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(255, 20, 147, 0.2);
}

.start-subtitle {
    font-family: 'Poppins', sans-serif;
    color: #ff69b4;
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.start-hearts {
    font-size: 2rem;
}

.start-hearts span {
    display: inline-block;
    animation: heartBeat 1s ease-in-out infinite;
    margin: 0 8px;
}

.start-hearts span:nth-child(2) {
    animation-delay: 0.2s;
}

.start-hearts span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Mobile responsive for start overlay */
@media (max-width: 768px) {
    .start-title {
        font-size: 1.8rem;
    }

    .start-subtitle {
        font-size: 1.1rem;
    }

    .start-icon {
        font-size: 4rem;
    }

    .start-content {
        padding: 20px;
    }
}



/* Floating Hearts Background */
#hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    font-size: 24px;
    animation: floatUp 8s ease-in infinite;
    opacity: 0.6;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
        transform: translateY(90vh) rotate(72deg) scale(1);
    }

    50% {
        transform: translateY(50vh) rotate(360deg) scale(1.1);
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg) scale(0.8);
        opacity: 0;
    }
}

/* Rising Hearts - Float up from bottom */
.rising-heart {
    position: absolute;
    font-size: 24px;
    animation: riseUp 10s ease-out infinite;
    opacity: 0.7;
    filter: drop-shadow(0 0 10px rgba(255, 105, 180, 0.5));
}

@keyframes riseUp {
    0% {
        transform: translateY(100vh) scale(0) rotate(0deg);
        opacity: 0;
    }

    5% {
        opacity: 0.8;
        transform: translateY(95vh) scale(0.8) rotate(45deg);
    }

    25% {
        transform: translateY(75vh) scale(1) rotate(180deg) translateX(20px);
    }

    50% {
        transform: translateY(50vh) scale(1.1) rotate(360deg) translateX(-20px);
    }

    75% {
        transform: translateY(25vh) scale(1) rotate(540deg) translateX(20px);
        opacity: 0.6;
    }

    100% {
        transform: translateY(-20vh) scale(0.6) rotate(720deg);
        opacity: 0;
    }
}

/* Falling Hearts - Fall from top like rain */
.falling-heart {
    position: absolute;
    font-size: 20px;
    animation: fallDown 7s ease-in infinite;
    opacity: 0.6;
}

@keyframes fallDown {
    0% {
        transform: translateY(-10vh) rotate(0deg) scale(0.3);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
        transform: translateY(10vh) rotate(180deg) scale(1);
    }

    50% {
        transform: translateY(50vh) rotate(360deg) scale(1.1) translateX(30px);
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(110vh) rotate(720deg) scale(0.8) translateX(-30px);
        opacity: 0;
    }
}

.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.heart {
    position: absolute;
    font-size: 30px;
    animation: floatHeart 6s ease-in-out infinite;
}

.heart:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.heart:nth-child(2) {
    left: 30%;
    animation-delay: 1s;
}

.heart:nth-child(3) {
    left: 50%;
    animation-delay: 2s;
}

.heart:nth-child(4) {
    left: 70%;
    animation-delay: 3s;
}

.heart:nth-child(5) {
    left: 90%;
    animation-delay: 4s;
}

@keyframes floatHeart {

    0%,
    100% {
        transform: translateY(100vh) scale(1);
    }

    50% {
        transform: translateY(50vh) scale(1.2);
    }
}

/* Main Container */
.container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.2);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Animated Cake */
.cake-container {
    margin-bottom: 30px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.cake {
    width: 120px;
    height: 140px;
    margin: 0 auto;
    position: relative;
}

.cake-base {
    width: 120px;
    height: 50px;
    background: linear-gradient(145deg, #f4a460, #d2691e);
    border-radius: 10px;
    position: absolute;
    bottom: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cake-middle {
    width: 100px;
    height: 45px;
    background: linear-gradient(145deg, #ffb6c1, #ff69b4);
    border-radius: 10px;
    position: absolute;
    bottom: 45px;
    left: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cake-top {
    width: 80px;
    height: 40px;
    background: linear-gradient(145deg, #fff0f5, #ffb6c1);
    border-radius: 10px;
    position: absolute;
    bottom: 85px;
    left: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.candle {
    width: 10px;
    height: 30px;
    background: linear-gradient(145deg, #ff1493, #ff69b4);
    position: absolute;
    bottom: 125px;
    left: 55px;
    border-radius: 5px;
}

.flame {
    width: 15px;
    height: 20px;
    background: radial-gradient(ellipse at center, #ffff00 0%, #ffa500 50%, #ff4500 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: absolute;
    top: -25px;
    left: -2.5px;
    animation: flicker 0.5s ease-in-out infinite alternate;
    box-shadow: 0 0 20px #ffa500, 0 0 40px #ff4500;
}

@keyframes flicker {
    0% {
        transform: scale(1) rotate(-2deg);
    }

    100% {
        transform: scale(1.1) rotate(2deg);
    }
}

/* Title */
.title {
    font-family: 'Pacifico', cursive;
    font-size: 4rem;
    margin: 20px 0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
}

.happy {
    display: block;
    background: linear-gradient(45deg, #ff1493, #ff69b4, #ff1493);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

.birthday {
    display: block;
    background: linear-gradient(45deg, #da70d6, #ff1493, #da70d6);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite reverse;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Name Container */
.name-container {
    margin-top: 30px;
}

.to-text {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 15px;
    font-family: 'Pacifico', cursive;
}

.hero-name {
    font-family: 'Pacifico', cursive;
    font-size: 3rem;
    background: linear-gradient(45deg, #ff1493, #ff69b4, #da70d6, #ff1493);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite, nameGlow 2s ease-in-out infinite alternate;
    margin: 10px 0 20px 0;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(255, 20, 147, 0.2);
}

@keyframes nameGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(255, 20, 147, 0.3));
    }

    to {
        filter: drop-shadow(0 0 20px rgba(255, 20, 147, 0.6));
    }
}

.birthday-tagline {
    font-family: 'Pacifico', cursive;
    color: #ff69b4;
    font-size: 1.3rem;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out 0.5s both;
}

/* Birthday Countdown */
.birthday-countdown {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
}

.countdown-label {
    font-family: 'Pacifico', cursive;
    color: #ff69b4;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.countdown-item {
    background: linear-gradient(145deg, #ff69b4, #ff1493);
    color: white;
    padding: 15px 20px;
    border-radius: 15px;
    min-width: 80px;
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3);
}

.countdown-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
}

.countdown-unit {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.surprise-btn {
    display: block;
    margin: 20px auto;
    padding: 15px 40px;
    font-size: 1.2rem;
    background: linear-gradient(145deg, #ff69b4, #ff1493);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3);
}

.surprise-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.4);
}

/* Envelope Section */
.message-section {
    margin: 60px 0;
    display: flex;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.envelope {
    width: 420px;
    height: 280px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.envelope:hover {
    transform: scale(1.05);
}

.envelope-front {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #ffb6c1, #ff69b4);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transition: all 0.5s ease;
}

.envelope-icon {
    font-size: 5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.envelope-front p {
    color: white;
    font-family: 'Pacifico', cursive;
    font-size: 1.5rem;
    margin-top: 15px;
}

.envelope-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
    z-index: 1;
}

.envelope.opened .envelope-front {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.envelope.opened .envelope-back {
    opacity: 1;
    transform: scale(1);
    z-index: 3;
}

.letter {
    padding: 40px;
    text-align: left;
    background: white;
    border-radius: 15px;
    max-height: 260px;
    overflow-y: auto;
}

.letter h2 {
    font-family: 'Pacifico', cursive;
    color: #ff1493;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.letter-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

.signature {
    font-family: 'Pacifico', cursive;
    color: #ff69b4;
    text-align: right;
    margin-top: 15px;
    font-size: 1rem;
}

/* Gallery Section */
.gallery-section {
    margin: 60px 0;
    animation: fadeInUp 1s ease-out 1s both;
}

.section-title {
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem;
    color: #ff1493;
    text-align: center;
    margin-bottom: 30px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.photo-slot {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px dashed #ff69b4;
    overflow: hidden;
    position: relative;
}

.photo-slot:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.3);
    background: rgba(255, 255, 255, 0.8);
}

.photo-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 17px;
}

.add-photo {
    font-family: 'Pacifico', cursive;
    color: #ff69b4;
    font-size: 1.2rem;
}

/* Balloons */
.balloons-section {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.balloon {
    position: absolute;
    font-size: 50px;
    animation: balloonFloat 15s ease-in infinite;
    opacity: 0.7;
}

.balloon-1 {
    left: 5%;
    animation-delay: 0s;
}

.balloon-2 {
    left: 25%;
    animation-delay: 3s;
}

.balloon-3 {
    left: 50%;
    animation-delay: 6s;
}

.balloon-4 {
    left: 75%;
    animation-delay: 9s;
}

.balloon-5 {
    left: 95%;
    animation-delay: 12s;
}

@keyframes balloonFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Interactive Section */
.interactive-section {
    margin: 60px 0;
    text-align: center;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.gift-box {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: giftBoxPulse 2s ease-in-out infinite;
}

@keyframes giftBoxPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 105, 180, 0.4);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(255, 105, 180, 0);
    }
}

.gift-box:hover {
    transform: scale(1.1);
    animation: none;
}

.gift-box.opened {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

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

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

.gift-lid {
    width: 160px;
    height: 40px;
    background: linear-gradient(145deg, #ff69b4, #ff1493);
    position: absolute;
    top: 0;
    left: -5px;
    border-radius: 10px 10px 5px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
    z-index: 2;
}

.gift-box.opened .gift-lid {
    transform: translateY(-60px) rotate(-15deg);
}

.ribbon {
    font-size: 2rem;
}

.gift-body {
    width: 150px;
    height: 110px;
    background: linear-gradient(145deg, #ffb6c1, #ff69b4);
    position: absolute;
    bottom: 0;
    border-radius: 0 0 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gift-text {
    font-family: 'Pacifico', cursive;
    color: white;
    font-size: 1.2rem;
    animation: giftTextPulse 1.5s ease-in-out infinite;
}

@keyframes giftTextPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.gift-box:hover .gift-text {
    animation: none;
}

.gift-hint {
    font-family: 'Pacifico', cursive;
    color: #ff69b4;
    font-size: 1.1rem;
    margin-top: 15px;
    animation: hintPulse 2s ease-in-out infinite;
}

@keyframes hintPulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.surprise-message {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.3);
}

.surprise-message.show {
    opacity: 1;
    transform: translateY(0);
}

.surprise-message h3 {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    color: #ff1493;
    margin-bottom: 15px;
}

.countdown-text {
    font-size: 1.2rem;
    color: #666;
}

#daysCount {
    font-weight: bold;
    color: #ff1493;
    font-size: 1.5rem;
}

/* Footer */
.footer {
    margin-top: 60px;
    padding: 30px;
    text-align: center;
    animation: fadeInUp 1s ease-out 2s both;
}

.footer-text {
    font-family: 'Pacifico', cursive;
    font-size: 1.3rem;
    color: #ff69b4;
}

/* Music Control */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #ff69b4, #ff1493);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.music-control:hover {
    transform: scale(1.1);
}

.music-control.playing {
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Confetti */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    top: -10px;
    animation: confettiFall 3s ease-out forwards;
    z-index: 999;
}

@keyframes confettiFall {
    to {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }

    .envelope {
        width: 340px;
        height: 240px;
    }

    .letter {
        padding: 25px;
        max-height: 220px;
    }

    .letter h2 {
        font-size: 1.5rem;
    }

    .letter-text {
        font-size: 0.9rem;
    }

    .envelope-icon {
        font-size: 4rem;
    }

    .envelope-front p {
        font-size: 1.3rem;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Custom Heart Cursor */
.heart-cursor {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><text x="2" y="26" font-size="26">🍓</text></svg>') 16 16, auto;
}

/* Strawberry cursor on interactive elements */
button,
.envelope,
.gift-box,
.photo-slot,
.carousel-btn,
.timeline-item,
.next-reason-btn,
.big-cake,
.add-wish-btn,
.carousel-dot {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><text x="2" y="26" font-size="26">🍓</text></svg>') 16 16, pointer;
}

input,
textarea {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text x="0" y="20" font-size="20">🍓</text></svg>') 12 12, text;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 182, 193, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(145deg, #ff69b4, #ff1493);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(145deg, #ff1493, #ff69b4);
}

/* Rose Petals */
#petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.petal {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #ffb6c1 0%, #ff69b4 100%);
    border-radius: 50% 0 50% 50%;
    animation: petalFall linear infinite;
    opacity: 0.7;
}

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

    10% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(110vh) rotate(720deg) translateX(50px);
        opacity: 0;
    }
}

/* Fireworks */
#fireworks-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.firework {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    animation: explode 1s ease-out forwards;
}

@keyframes explode {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Heart Trail */
#heart-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

.trail-heart {
    position: absolute;
    font-size: 20px;
    animation: trailFade 1s ease-out forwards;
    pointer-events: none;
}

@keyframes trailFade {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.5);
    }
}

/* Carousel Section */
.gallery-section {
    margin: 60px 0;
    animation: fadeInUp 1s ease-out;
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.3);
    aspect-ratio: 4/3;
    /* Standard photo aspect ratio */
    background: #000;
}

.carousel-slide {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure whole image is visible */
    background: #000;
    /* Black background for letterboxing */
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: #ff1493;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.carousel-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.4);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ff1493;
    transform: scale(1.2);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

.lightbox-nav {
    position: absolute;
    background: rgba(255, 105, 180, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 20, 147, 0.9);
    transform: scale(1.1);
}

.lightbox-nav.prev {
    left: 30px;
}

.lightbox-nav.next {
    right: 30px;
}

/* Typewriter Quotes */
.quotes-section {
    margin: 60px 0;
    animation: fadeInUp 1s ease-out;
}

.typewriter-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.2);
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.quote-display {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    color: #ff1493;
    text-align: center;
    line-height: 1.6;
}

.quote-cursor {
    font-size: 2rem;
    color: #ff1493;
    animation: blink 1s infinite;
    margin-left: 5px;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Memory Book */
.memory-book-section {
    margin: 60px 0;
    animation: fadeInUp 1s ease-out;
}

.memory-book {
    max-width: 800px;
    margin: 0 auto;
    perspective: 1000px;
}

.book-container {
    background: linear-gradient(145deg, #fff5f8, #ffe8f0);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.3),
        inset 0 0 60px rgba(255, 255, 255, 0.5);
    position: relative;
    min-height: 300px;
}

.book-page {
    display: none;
    animation: pageTurn 0.6s ease-out;
}

.book-page.active {
    display: block;
}

@keyframes pageTurn {
    0% {
        opacity: 0;
        transform: rotateY(-20deg);
    }

    100% {
        opacity: 1;
        transform: rotateY(0);
    }
}

.page-content {
    text-align: center;
    padding: 30px;
}

.page-content h3 {
    font-family: 'Pacifico', cursive;
    color: #ff1493;
    font-size: 2rem;
    margin-bottom: 20px;
}

.page-content p {
    color: #666;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

.memory-date {
    font-family: 'Pacifico', cursive;
    color: #ff69b4;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: block;
}

.book-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.book-btn {
    background: linear-gradient(145deg, #ff69b4, #ff1493);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 20, 147, 0.3);
}

.book-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 20, 147, 0.4);
}

.book-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-indicator {
    font-family: 'Pacifico', cursive;
    color: #ff1493;
    font-size: 1.3rem;
}

/* Reasons Section */
.reasons-section {
    margin: 60px 0;
    animation: fadeInUp 1s ease-out;
}

.reasons-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.reason-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.2);
    transition: transform 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(255, 105, 180, 0.3);
}

.reason-number {
    font-family: 'Pacifico', cursive;
    font-size: 1.5rem;
    color: #ff69b4;
    margin-bottom: 20px;
}

.reason-text {
    font-size: 1.5rem;
    color: #ff1493;
    line-height: 1.6;
    font-weight: 300;
}

.next-reason-btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    background: linear-gradient(145deg, #ff69b4, #ff1493);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3);
}

.next-reason-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.4);
}

/* Cake Cutting Section */
.cake-cutting-section {
    margin: 60px 0;
    animation: fadeInUp 1s ease-out;
}

.cake-interactive {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.2);
}

.big-cake {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.big-cake:hover {
    transform: scale(1.05);
}

.big-cake.cut {
    animation: cakeWiggle 0.5s ease;
}

@keyframes cakeWiggle {

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

    25% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(5deg);
    }
}

.big-cake-base {
    font-size: 150px;
    line-height: 1;
    animation: cakeBounce 2s ease-in-out infinite;
}

@keyframes cakeBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.big-candle {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 40px;
    background: linear-gradient(145deg, #ff1493, #ff69b4);
    border-radius: 7px;
    z-index: 10;
}

.big-candle .flame {
    width: 20px;
    height: 30px;
    top: -35px;
    left: -2.5px;
    animation: flicker 0.3s ease-in-out infinite alternate;
}

.big-candle .flame.flickering {
    animation: flicker 0.3s ease-in-out infinite alternate, flameDie 0.5s ease forwards;
    animation-delay: 0s, 2s;
}

.big-candle .flame.blowout {
    animation: flameOut 0.5s ease forwards;
}

@keyframes flameDie {
    to {
        transform: scale(0);
        opacity: 0;
    }
}

@keyframes flameOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }

    100% {
        transform: scale(0);
        opacity: 0;
    }
}

.cake-instruction {
    font-family: 'Pacifico', cursive;
    font-size: 1.3rem;
    color: #ff69b4;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.wish-reveal {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    background: linear-gradient(145deg, #ffeef8, #ffd1e8);
    border-radius: 20px;
    padding: 0 20px;
}

.wish-reveal.show {
    opacity: 1;
    max-height: 300px;
    padding: 30px 20px;
    margin-top: 20px;
}

.wish-reveal h3 {
    font-family: 'Pacifico', cursive;
    color: #ff1493;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.wish-reveal p {
    color: #666;
    font-size: 1.2rem;
}

/* Wish Box Section */
.wishbox-section {
    margin: 60px 0;
    animation: fadeInUp 1s ease-out;
}

.wishbox-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.2);
}

.star-jar {
    text-align: center;
    margin-bottom: 30px;
}

.jar {
    display: inline-block;
    background: linear-gradient(145deg, #ffd700, #ffed4e);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    transition: transform 0.3s ease;
    animation: jarFloat 3s ease-in-out infinite;
}

@keyframes jarFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.jar:hover {
    transform: scale(1.1);
}

.jar-icon {
    font-size: 2.5rem;
    animation: starTwinkle 1s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
    from {
        opacity: 0.7;
        transform: scale(1);
    }

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

.jar-label {
    font-family: 'Pacifico', cursive;
    font-size: 0.9rem;
    color: #b8860b;
    margin-top: 5px;
}

.star-count {
    font-size: 0.8rem;
    color: #daa520;
    margin-top: 2px;
}

.wish-input-area {
    margin-bottom: 30px;
}

#wishInput {
    width: 100%;
    padding: 20px;
    font-size: 1.1rem;
    border: 3px solid #ff69b4;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    color: #ff1493;
    font-family: 'Poppins', sans-serif;
    resize: vertical;
    min-height: 120px;
    outline: none;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

#wishInput:focus {
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.3);
    transform: scale(1.02);
}

#wishInput::placeholder {
    color: #ffb6c1;
}

.add-wish-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    background: linear-gradient(145deg, #ff69b4, #ff1493);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3);
}

.add-wish-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.4);
}

.wishes-display {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.wish-bubble {
    background: linear-gradient(145deg, #ffeef8, #ffd1e8);
    padding: 15px;
    border-radius: 20px;
    font-size: 0.95rem;
    color: #ff1493;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.2);
    animation: popIn 0.5s ease;
    position: relative;
}

.wish-bubble::before {
    content: '⭐';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.5rem;
    animation: starTwinkle 1s ease-in-out infinite alternate;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }

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

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-btn.prev {
        left: -15px;
    }

    .carousel-btn.next {
        right: -15px;
    }

    .timeline::before {
        left: 20px;
    }

    .photo-grid {
        column-count: 2;
        column-gap: 15px;
        padding: 10px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-nav.prev {
        left: 10px;
    }

    .lightbox-nav.next {
        right: 10px;
    }

    .book-container {
        padding: 20px;
    }

    .page-content {
        padding: 20px;
    }

    .page-content h3 {
        font-size: 1.5rem;
    }

    .page-content p {
        font-size: 1rem;
    }

    .book-controls {
        gap: 15px;
    }

    .book-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .quote-display {
        font-size: 1.3rem;
    }

    .reason-text {
        font-size: 1.2rem;
    }

    .big-cake-base {
        font-size: 100px;
    }

    /* Birthday Countdown Mobile */
    .birthday-countdown {
        padding: 15px;
        margin: 15px 0;
    }

    .countdown-timer {
        gap: 10px;
    }

    .countdown-item {
        min-width: 60px;
        padding: 10px 12px;
    }

    .countdown-value {
        font-size: 1.5rem;
    }

    .countdown-unit {
        font-size: 0.7rem;
    }

    .countdown-label {
        font-size: 1rem;
    }

    .birthday-tagline {
        font-size: 1.1rem;
    }



    /* Gift box mobile */
    .gift-box {
        width: 130px;
        height: 130px;
    }

    .gift-lid {
        width: 140px;
        height: 35px;
    }

    .gift-body {
        width: 130px;
        height: 95px;
    }

    .gift-text {
        font-size: 1rem;
    }

    .gift-hint {
        font-size: 0.95rem;
    }
}

/* ============================================
   FLOATING LOVE NOTES - Click to Collect!
   ============================================ */
.love-notes-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
}

.love-note {
    position: absolute;
    font-size: 35px;
    cursor: pointer;
    pointer-events: auto;
    animation: floatNote 7s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(255, 105, 180, 0.6));
    transition: transform 0.3s ease, filter 0.3s ease;
    z-index: 1000;
}

.love-note:hover {
    transform: scale(1.3);
    filter: drop-shadow(0 0 25px rgba(255, 105, 180, 0.9));
}

@keyframes floatNote {

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

    25% {
        transform: translateY(-20px) rotate(5deg);
    }

    50% {
        transform: translateY(0) rotate(-3deg);
    }

    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

/* Love Jar Container */
.love-jar-container {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 1000;
}

.love-jar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700 0%, #ffec8b 50%, #ffd700 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    border: 3px solid #daa520;
    position: relative;
    overflow: hidden;
}

.love-jar:hover {
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.5);
}

.love-jar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shineRotate 3s linear infinite;
}

@keyframes shineRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.jar-emoji {
    font-size: 2rem;
    z-index: 1;
}

.jar-count {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff1493;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.jar-label {
    font-size: 0.65rem;
    color: #b8860b;
    font-weight: 600;
    margin-top: -2px;
    z-index: 1;
}

/* Notes Modal */
.notes-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.notes-modal.active {
    opacity: 1;
    visibility: visible;
}

.notes-modal-content {
    background: linear-gradient(135deg, #ffeef8 0%, #ffd1e8 100%);
    border-radius: 25px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.notes-modal.active .notes-modal-content {
    transform: scale(1);
}

.notes-modal-content h3 {
    font-family: 'Pacifico', cursive;
    color: #ff1493;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 20px;
}

.notes-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff69b4;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notes-close:hover {
    background: #ff1493;
    transform: rotate(90deg);
}

.collected-notes {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.collected-note {
    background: white;
    padding: 15px 20px;
    border-radius: 15px;
    border-left: 5px solid #ff69b4;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInNote 0.5s ease forwards;
    opacity: 0;
    transform: translateX(-30px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@keyframes slideInNote {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.note-number {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.note-text {
    color: #333;
    font-size: 1rem;
    line-height: 1.4;
}

/* ============================================
   LOVE SPINNER WHEEL
   ============================================ */
.spinner-section {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    padding: 40px 20px;
    margin: 40px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.2);
}

.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.wheel-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.1);
    border: 8px solid #ff69b4;
    background: conic-gradient(#ff69b4 0deg 45deg,
            #ffb6c1 45deg 90deg,
            #ff69b4 90deg 135deg,
            #ffb6c1 135deg 180deg,
            #ff69b4 180deg 225deg,
            #ffb6c1 225deg 270deg,
            #ff69b4 270deg 315deg,
            #ffb6c1 315deg 360deg);
}

.wheel-segment {
    position: absolute;
    width: 50%;
    height: 50%;
    top: 0;
    left: 50%;
    transform-origin: 0% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.wheel-segment:nth-child(1) {
    transform: rotate(0deg);
}

.wheel-segment:nth-child(2) {
    transform: rotate(45deg);
}

.wheel-segment:nth-child(3) {
    transform: rotate(90deg);
}

.wheel-segment:nth-child(4) {
    transform: rotate(135deg);
}

.wheel-segment:nth-child(5) {
    transform: rotate(180deg);
}

.wheel-segment:nth-child(6) {
    transform: rotate(225deg);
}

.wheel-segment:nth-child(7) {
    transform: rotate(270deg);
}

.wheel-segment:nth-child(8) {
    transform: rotate(315deg);
}

.wheel-segment span {
    transform: rotate(22.5deg) translateX(60px);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.wheel-pointer {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: #ff1493;
    z-index: 10;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}

.spin-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff1493, #ff69b4);
    color: white;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.4);
    z-index: 20;
    transition: all 0.3s ease;
    font-family: 'Pacifico', cursive;
}

.spin-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.6);
}

.spin-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: translate(-50%, -50%) scale(1);
}

.prize-display {
    text-align: center;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prize-text {
    font-size: 1.3rem;
    color: #ff69b4;
    font-family: 'Pacifico', cursive;
}

.prize-winner {
    animation: prizePop 0.5s ease;
}

@keyframes prizePop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.prize-emoji {
    font-size: 4rem;
    display: block;
    margin-bottom: 10px;
    animation: bounce 1s ease infinite;
}

.prize-title {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    color: #ff1493;
    margin-bottom: 10px;
}

.prize-desc {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    padding: 0 20px;
}

.claim-prize-btn {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.4);
}

.claim-prize-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .love-jar-container {
        bottom: 80px;
        right: 10px;
    }

    .love-jar {
        width: 65px;
        height: 65px;
    }

    .jar-emoji {
        font-size: 1.6rem;
    }

    .jar-label {
        font-size: 0.55rem;
    }

    .wheel-wrapper {
        width: 280px;
        height: 280px;
    }

    .spin-button {
        width: 85px;
        height: 85px;
        font-size: 1rem;
    }

    .wheel-segment span {
        transform: rotate(22.5deg) translateX(50px);
        font-size: 2rem;
    }

    .prize-title {
        font-size: 1.6rem;
    }
}