/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
    position: relative;
    cursor: none;
    color: #333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px 0;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    height: 100%;
    overflow-x: hidden;
}

/* Custom Cursor */
body::before {
    content: '💖';
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    font-size: 24px;
    transform: translate(-50%, -50%);
    transition: all 0.08s cubic-bezier(0.23, 1, 0.32, 1);
    filter: drop-shadow(0 0 5px rgba(255, 105, 180, 0.7));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ===== HEART TRAIL ANIMATION ===== */
#heart-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.heart-trail {
    position: absolute;
    font-size: 20px;
    color: #ff69b4;
    pointer-events: none;
    animation: heartFloat 2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    filter: drop-shadow(0 0 3px rgba(255, 105, 180, 0.5));
    will-change: transform, opacity;
}

@keyframes heartFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-50px) scale(0.8) rotate(15deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(0.3) rotate(30deg);
    }
}

/* ===== FLOATING BACKGROUND HEARTS ===== */
.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.heart-bg {
    position: absolute;
    font-size: 30px;
    opacity: 0.15;
    animation: floatHeart 15s infinite cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(1px);
    will-change: transform, opacity;
}

.heart-1 { left: 10%; animation-delay: 0s; font-size: 35px; }
.heart-2 { left: 20%; animation-delay: 2s; font-size: 25px; }
.heart-3 { left: 30%; animation-delay: 4s; font-size: 40px; }
.heart-4 { left: 70%; animation-delay: 6s; font-size: 30px; }
.heart-5 { left: 80%; animation-delay: 8s; font-size: 45px; }
.heart-6 { left: 90%; animation-delay: 10s; font-size: 28px; }
.heart-7 { left: 40%; animation-delay: 12s; font-size: 32px; }
.heart-8 { left: 60%; animation-delay: 14s; font-size: 38px; }

@keyframes floatHeart {
    0% {
        transform: translateY(100vh) rotate(0deg) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
        transform: translateY(80vh) rotate(36deg) translateX(10px);
    }
    50% {
        transform: translateY(50vh) rotate(180deg) translateX(-10px);
    }
    90% {
        opacity: 0.15;
        transform: translateY(20vh) rotate(324deg) translateX(10px);
    }
    100% {
        transform: translateY(-100px) rotate(360deg) translateX(0);
        opacity: 0;
    }
}

/* ===== CONTAINER STYLES ===== */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 30px 20px;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100%;
}

/* ===== MAIN BIRTHDAY CARD ===== */
.birthday-card, .memories-card, .date-planner-card, .confirmation-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.3),
                0 10px 30px rgba(255, 20, 147, 0.2),
                0 0 10px rgba(255, 182, 193, 0.5);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 182, 193, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    height: auto;
}

.birthday-card:hover, .memories-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(255, 105, 180, 0.4),
                0 15px 35px rgba(255, 20, 147, 0.3),
                0 0 15px rgba(255, 182, 193, 0.6);
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
        box-shadow: 0 0 0 rgba(255, 105, 180, 0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 20px 60px rgba(255, 105, 180, 0.3),
                    0 10px 30px rgba(255, 20, 147, 0.2),
                    0 0 10px rgba(255, 182, 193, 0.5);
    }
}

/* ===== SPARKLE EFFECTS ===== */
.sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    font-size: 20px;
    animation: sparkle 4s infinite;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.7));
    will-change: transform, opacity;
}

.sparkle-1 { top: 10%; left: 10%; animation-delay: 0s; font-size: 22px; }
.sparkle-2 { top: 20%; right: 10%; animation-delay: 0.5s; font-size: 18px; }
.sparkle-3 { bottom: 30%; left: 15%; animation-delay: 1s; font-size: 24px; }
.sparkle-4 { bottom: 20%; right: 20%; animation-delay: 1.5s; font-size: 20px; }
.sparkle-5 { top: 50%; left: 50%; animation-delay: 2s; font-size: 26px; }
.sparkle-6 { top: 70%; right: 30%; animation-delay: 2.5s; font-size: 19px; }
.sparkle-7 { bottom: 10%; left: 40%; animation-delay: 3s; font-size: 21px; }

@keyframes sparkle {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }
    25% {
        opacity: 0.3;
        transform: scale(0.8) rotate(45deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(90deg);
    }
    75% {
        opacity: 0.3;
        transform: scale(0.8) rotate(135deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) rotate(180deg);
    }
}

/* ===== CARD CONTENT ===== */
.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

/* ===== TYPOGRAPHY ===== */
.main-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    /* Fallback color for browsers that don't support gradient text */
    color: #000000; /* Set to black for visibility test */
    line-height: 1.2;
    filter: drop-shadow(0 2px 4px rgba(255, 20, 147, 0.3));
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (-webkit-background-clip: text) {
    .main-title {
        color: #ff1493;
        text-shadow: 2px 2px 4px rgba(255, 20, 147, 0.3);
    }
}



.subtitle {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #ff1493;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.word {
    display: inline-block;

    transform-origin: bottom center;
    max-width: 100%;

}

.word-1 { animation-delay: 0s; }
.word-2 { animation-delay: 0.2s; }
.word-3 { animation-delay: 0.4s; }
.word-4 { animation-delay: 0.6s; }
.word-5 { animation-delay: 0.8s; }

@keyframes wordBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-15px) scale(1.05);
    }
    60% {
        transform: translateY(-5px) scale(1.02);
    }
}

/* ===== PROFILE SECTION ===== */
.profile-section {
    margin: 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    flex-wrap: wrap;
}

.profile-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    max-width: 100%;
    text-align: center;
    width: 100%;
}

.image-frame {
    position: relative;
    width: 280px;
    height: 280px;
    max-width: 100%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.4),
                inset 0 0 0 8px rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 0 auto;
}

.image-frame:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.6),
                inset 0 0 0 12px rgba(255, 255, 255, 0.8);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.image-frame:hover .profile-image {
    transform: scale(1.1);
}

.image-caption {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #ff1493;
    font-weight: 500;
    text-align: center;
    font-style: italic;
}

/* ===== PARTICLES BACKGROUND ===== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

/* ===== FLOATING MESSAGE ===== */
.floating-message {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 105, 180, 0.9);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    box-shadow: 0 5px 20px rgba(255, 20, 147, 0.4),
                inset 0 2px 5px rgba(255, 255, 255, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-message.show {
    bottom: 30px;
    opacity: 1;
}

.floating-message i {
    margin: 0 5px;
    animation: pulse 2s infinite;
    text-shadow: 0 0 5px rgba(255, 20, 147, 0.5);
}

.floating-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 50%);
    border-radius: 30px;
    pointer-events: none;
}

/* ===== LOVE METER ===== */
.love-meter-container {
    margin: 40px 0;
    text-align: center;
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.love-meter-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.3);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #ff69b4, #ff1493, #ff69b4);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 3s ease infinite;
    font-weight: 700;
    text-align: center;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
    font-family: 'Dancing Script', cursive;
}

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

.section-title::before,
.section-title::after {
    content: '💖';
    font-size: 1.5rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    filter: drop-shadow(0 0 5px rgba(255, 105, 180, 0.5));
}

.section-title::before {
    left: -40px;
    animation: floatHeart 3s ease-in-out infinite;
}

.section-title::after {
    right: -40px;
    animation: floatHeart 3s ease-in-out infinite 1.5s;
}

@keyframes floatHeart {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-65%) scale(1.2); }
}

.love-meter {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 20px;
    position: relative;
}

.meter-bar {
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1),
                0 5px 15px rgba(255, 105, 180, 0.2),
                0 0 20px rgba(255, 20, 147, 0.2);
    margin-bottom: 15px;
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.meter-bar:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1),
                0 8px 25px rgba(255, 105, 180, 0.4),
                0 0 30px rgba(255, 20, 147, 0.3);
}

.meter-bar:active {
    transform: translateY(-1px) scale(0.99);
}

.meter-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%; /* Initial width, will be controlled by JS */
    background: linear-gradient(90deg, #ff69b4, #ff1493, #dc143c, #ff1493, #ff69b4);
    background-size: 300% 100%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: shimmer 5s infinite linear;
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.6);
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.meter-value {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.meter-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 5;
}

.meter-icon {
    position: absolute;
    font-size: 16px;
    animation: floatIcon 3s ease-out forwards;
    opacity: 0;
}

@keyframes floatIcon {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.5);
    }
    20% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateY(-30px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px) scale(0.5);
    }
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    padding: 0 5px;
    font-size: 0.9rem;
    color: #ff1493;
    font-weight: 500;
}

.meter-labels span {
    position: relative;
    transition: all 0.3s ease;
}

.meter-labels span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff69b4, #ff1493);
    transition: width 0.3s ease;
}

.meter-labels span:hover {
    transform: translateY(-3px);
    color: #dc143c;
}

.meter-labels span:hover::after {
    width: 100%;
}

.meter-message {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #ff1493;
    font-weight: 500;
    font-style: italic;
    text-shadow: 0 1px 3px rgba(255, 105, 180, 0.3);
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.meter-message::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff69b4, transparent);
    animation: underlineGlow 3s infinite;
}

@keyframes underlineGlow {
    0%, 100% { opacity: 0.5; width: 50%; left: 25%; }
    50% { opacity: 1; width: 80%; left: 10%; }
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards 3s;
}

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

.meter-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 15px;
}

.meter-icon {
    position: absolute;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    animation: floatUp 3s ease-out forwards;
    opacity: 0;
}

@keyframes floatUp {
    0% { transform: translateY(30px); opacity: 0; }
    50% { opacity: 0.8; }
    100% { transform: translateY(-30px); opacity: 0; }
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    margin-top: 5px;
    font-size: 0.9rem;
    color: #ff1493;
    font-weight: 500;
}

.meter-message {
    margin-top: 25px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 25px;
    border: 1px solid rgba(255, 105, 180, 0.5);
    font-size: 1.3rem;
    color: #ff1493;
    font-weight: 700;
    animation: fadeInUp 1s ease-out 3s forwards;
    opacity: 0;
    transform: translateY(20px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.2);
    text-shadow: 0 1px 3px rgba(255, 20, 147, 0.2);
    display: inline-block; /* To make padding and border work correctly */
}

.meter-message::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff1493, transparent);
}

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

/* ===== BUTTON STYLES ===== */
.button-container {
    margin: 40px 0 20px;
    text-align: center;
}

.continue-btn {
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(255, 105, 180, 0.3),
                0 6px 6px rgba(255, 20, 147, 0.2),
                0 0 0 5px rgba(255, 182, 193, 0.1);
    transform: translateY(0);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.continue-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 105, 180, 0.4),
                0 10px 10px rgba(255, 20, 147, 0.3),
                0 0 0 8px rgba(255, 182, 193, 0.2);
    background: linear-gradient(45deg, #ff1493, #ff69b4);
}

.continue-btn:active {
    transform: translateY(2px);
    box-shadow: 0 5px 10px rgba(255, 105, 180, 0.3);
}

.continue-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    transform: scale(0);
    transition: transform 0.5s;
}

.continue-btn:hover::before {
    transform: scale(1);
}

.btn-text {
    position: relative;
    z-index: 1;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.btn-hearts i {
    position: absolute;
    opacity: 0;
    font-size: 16px;
    animation: btnHeartFloat 3s ease-out infinite;
}

.continue-btn:hover .btn-hearts i {
    opacity: 1;
}

.btn-hearts i:nth-child(1) { left: 10%; animation-delay: 0.1s; }
.btn-hearts i:nth-child(2) { left: 30%; animation-delay: 0.5s; }
.btn-hearts i:nth-child(3) { left: 50%; animation-delay: 0.9s; }
.btn-hearts i:nth-child(4) { left: 70%; animation-delay: 0.3s; }
.btn-hearts i:nth-child(5) { left: 90%; animation-delay: 0.7s; }

@keyframes btnHeartFloat {
    0% {
        bottom: -20%;
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 0.8;
        transform: scale(1);
    }
    100% {
        bottom: 120%;
        opacity: 0;
        transform: scale(0.5);
    }
}

@keyframes btnHeartBeat {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.5); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

.page-transition {
    animation: pageTransition 0.5s ease-out;
}

@keyframes pageTransition {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/* ===== MUSIC CONTROL ===== */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.music-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4),
                0 0 0 5px rgba(255, 182, 193, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.music-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.5),
                0 0 0 8px rgba(255, 182, 193, 0.3);
}

.music-btn:active {
    transform: scale(0.95);
}

.music-btn i {
    transition: transform 0.5s ease;
}

.music-btn.playing i {
    animation: musicPulse 1s infinite alternate;
}

@keyframes musicPulse {
    0% {
        transform: scale(0.8);
    }
    100% {
        transform: scale(1.2);
    }
}

.music-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.music-btn:hover::after {
    opacity: 1;
}

.tooltip {
    position: absolute;
    bottom: 60px;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    color: #ff1493;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3),
                inset 0 2px 5px rgba(255, 255, 255, 0.5);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    white-space: nowrap;
    border: 1px solid rgba(255, 182, 193, 0.3);
    backdrop-filter: blur(5px);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.tooltip::before {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.95);
    transform: rotate(45deg);
    border-right: 1px solid rgba(255, 182, 193, 0.3);
    border-bottom: 1px solid rgba(255, 182, 193, 0.3);
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.05);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 50%);
    border-radius: 20px;
    pointer-events: none;
}

.music-btn:hover + .tooltip {
    opacity: 1;
    transform: translateY(0);
}

.floating-message {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #ff1493;
    padding: 15px 20px;
    border-radius: 20px;
    font-size: 1rem;
    box-shadow: 0 10px 25px rgba(255, 105, 180, 0.3);
    transform: translateX(200%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 300px;
}

.floating-message.show {
    transform: translateX(0);
}

.floating-message i {
    font-size: 1.5rem;
    animation: messageIconPulse 1.5s infinite alternate;
}

@keyframes messageIconPulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2) rotate(10deg);
    }
}
 
.subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #ff69b4;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pulse-heart {
    animation: pulse 1.5s ease-in-out infinite;
    color: #ff1493;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* ===== IMAGE STYLES ===== */
.image-container {
    text-align: center;
    margin: 40px 0;
}

.image-frame {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(45deg, #ff69b4, #ff1493, #dc143c);
    animation: rotate 10s linear infinite;
}

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

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.profile-image:hover {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 105, 180, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-frame:hover .image-overlay {
    opacity: 1;
}

.heart-burst {
    display: flex;
    gap: 10px;
    font-size: 30px;
    color: white;
}

.heart-burst i {
    animation: heartBurst 0.6s ease-out infinite;
}

.heart-burst i:nth-child(1) { animation-delay: 0s; }
.heart-burst i:nth-child(2) { animation-delay: 0.1s; }
.heart-burst i:nth-child(3) { animation-delay: 0.2s; }
.heart-burst i:nth-child(4) { animation-delay: 0.3s; }
.heart-burst i:nth-child(5) { animation-delay: 0.4s; }

@keyframes heartBurst {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

.image-caption {
    margin-top: 15px;
    font-style: italic;
    color: #ff69b4;
    font-size: 1.1rem;
}

/* ===== INTERACTIVE ELEMENTS ===== */
.love-meter {
    text-align: center;
    margin: 30px 0;
}

.love-meter label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #ff1493;
    font-size: 1.1rem;
}

.meter-container {
    position: relative;
    width: 300px;
    height: 30px;
    background: #ffe4e1;
    border-radius: 15px;
    margin: 0 auto;
    overflow: hidden;
    border: 2px solid #ff69b4;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff69b4, #ff1493, #dc143c);
    border-radius: 15px;
    animation: fillMeter 3s ease-in-out infinite;
    position: relative;
}

@keyframes fillMeter {
    0% {
        width: 0%;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 100%;
    }
}

.meter-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* ===== BUTTON STYLES ===== */
.button-container {
    text-align: center;
    margin-top: 40px;
}

.continue-btn {
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.continue-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.6);
}

.continue-btn:active {
    transform: translateY(-1px);
}

.btn-hearts {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.continue-btn:hover .btn-hearts {
    opacity: 1;
}

.continue-btn:hover .btn-text {
    opacity: 0;
}

.btn-hearts i {
    position: absolute;
    font-size: 20px;
    animation: heartFloat 1s ease-in-out infinite;
}

.btn-hearts i:nth-child(1) {
    left: -30px;
    animation-delay: 0s;
}

.btn-hearts i:nth-child(2) {
    left: 0;
    animation-delay: 0.2s;
}

.btn-hearts i:nth-child(3) {
    left: 30px;
    animation-delay: 0.4s;
}

/* ===== MUSIC CONTROL ===== */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.music-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.4);
    transition: all 0.3s ease;
    animation: musicPulse 2s ease-in-out infinite;
}

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

@keyframes musicPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(255, 105, 180, 0.4);
    }
    50% {
        box-shadow: 0 10px 30px rgba(255, 105, 180, 0.8);
    }
}

/* ===== MEMORIES PAGE STYLES ===== */
.memories-page {
    background: linear-gradient(135deg, #ffeef8 0%, #ffe0f0 50%, #ffd1e8 100%);
}

.page-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #ff69b4, #ff1493, #dc143c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.romantic-quote {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 182, 193, 0.2);
    border-radius: 20px;
    border-left: 5px solid #ff69b4;
}

.romantic-quote blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: #8b4b8a;
    line-height: 1.6;
    margin-bottom: 10px;
}

.romantic-quote cite {
    font-size: 0.9rem;
    color: #ff69b4;
    font-weight: 600;
}

.romantic-message {
    margin: 40px 0;
}

.message-container {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.1), rgba(255, 105, 180, 0.1));
    padding: 30px;
    border-radius: 20px;
    border: 2px solid rgba(255, 105, 180, 0.2);
}

.message-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    text-align: center;
    color: #ff1493;
    margin-bottom: 20px;
}

.message-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #8b4b8a;
    margin-bottom: 20px;
    text-align: justify;
}

.signature {
    text-align: right;
    margin-top: 30px;
}

.signature-name {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #ff1493;
    font-weight: 600;
}

/* ===== PHOTO GALLERY ===== */
.photo-gallery {
    margin: 50px 0;
}

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

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.photo-item {
    text-align: center;
}

.photo-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(255, 105, 180, 0.3),
                0 5px 15px rgba(255, 20, 147, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center bottom;
}

.photo-frame:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.4),
                0 10px 20px rgba(255, 20, 147, 0.3);
}

.memory-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-frame:hover .memory-photo {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 105, 180, 0.8), rgba(255, 20, 147, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.3s ease;
    transform: translateY(10px);
}

.photo-frame:hover .photo-overlay {
    opacity: 1;
    transform: translateY(0);
}

.photo-info {
    text-align: center;
    color: white;
    padding: 0 15px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.photo-frame:hover .photo-info {
    transform: scale(1);
}

.photo-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-family: 'Dancing Script', cursive;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.photo-info p {
    font-size: 1rem;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.photo-caption {
    margin-top: 15px;
    font-style: italic;
    color: #ff69b4;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.photo-item:hover .photo-caption {
    color: #ff1493;
}

/* ===== LOVE STATS ===== */
.love-stats {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.1), rgba(255, 105, 180, 0.1));
    padding: 30px;
    border-radius: 20px;
    margin: 40px 0;
    text-align: center;
}

.love-stats h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #ff1493;
    margin-bottom: 30px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(255, 105, 180, 0.2);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff1493;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #8b4b8a;
    font-weight: 500;
}

/* ===== DATE PLANNER STYLES ===== */
.date-planner-page {
    background: linear-gradient(135deg, #fff0f5 0%, #ffe4e6 50%, #ffd8dc 100%);
}

.planning-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.1);
}

.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #ff1493;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-input-container {
    position: relative;
}

.date-input-container label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #8b4b8a;
}

.date-input-container input[type="date"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #ffb6c1;
    border-radius: 10px;
    font-size: 1.1rem;
    background: white;
    transition: border-color 0.3s ease;
}

.date-input-container input[type="date"]:focus {
    outline: none;
    border-color: #ff69b4;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
}

/* ===== TIME OPTIONS ===== */
.time-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.time-option input[type="radio"] {
    display: none;
}

.time-label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border: 2px solid #ffb6c1;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-label:hover {
    border-color: #ff69b4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.2);
}

.time-option input[type="radio"]:checked + .time-label {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    border-color: #ff1493;
}

.time-icon {
    font-size: 2rem;
}

.time-text {
    flex: 1;
}

.time-title {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.time-desc {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== ACTIVITY OPTIONS ===== */
.activity-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.activity-option input[type="radio"] {
    display: none;
}

.activity-label {
    display: block;
    cursor: pointer;
}

.activity-card {
    background: white;
    border: 2px solid #ffb6c1;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.activity-card:hover {
    border-color: #ff69b4;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
}

.activity-option input[type="radio"]:checked + .activity-label .activity-card {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    border-color: #ff1493;
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.activity-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.activity-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
    opacity: 0.9;
}

.activity-features {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.feature {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.activity-option input[type="radio"]:checked + .activity-label .feature {
    background: rgba(255, 255, 255, 0.3);
}

/* ===== SPECIAL REQUESTS ===== */
.special-requests {
    position: relative;
}

.special-requests textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ffb6c1;
    border-radius: 15px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    resize: vertical;
    min-height: 120px;
    background: white;
    transition: border-color 0.3s ease;
}

.special-requests textarea:focus {
    outline: none;
    border-color: #ff69b4;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
}

.special-requests textarea::placeholder {
    color: #ffb6c1;
    font-style: italic;
}

/* ===== DATE PREVIEW ===== */
.date-preview {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    padding: 25px;
    border-radius: 20px;
    margin-top: 30px;
    text-align: center;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.date-preview h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    margin-bottom: 20px;
}

.preview-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.preview-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.preview-item i {
    font-size: 1.3rem;
}

/* ===== CONFIRMATION PAGE STYLES ===== */
.confirmation-page {
    background: linear-gradient(135deg, #fff5f8 0%, #ffe8f0 50%, #ffdbe8 100%);
}

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

.confetti {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23ff69b4"/><circle cx="80" cy="30" r="2" fill="%23ff1493"/><circle cx="40" cy="60" r="2" fill="%23dc143c"/><circle cx="70" cy="80" r="2" fill="%23ff69b4"/></svg>') repeat;
    animation: confettiFall 3s linear infinite;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh);
    }
    100% {
        transform: translateY(100vh);
    }
}

.balloons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.balloon {
    position: absolute;
    font-size: 40px;
    animation: balloonFloat 6s ease-in-out infinite;
}

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

.balloon-2 {
    left: 30%;
    animation-delay: 1s;
}

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

.balloon-4 {
    left: 90%;
    animation-delay: 3s;
}

@keyframes balloonFloat {
    0%, 100% {
        transform: translateY(100vh);
    }
    50% {
        transform: translateY(-20px);
    }
}

.confirmation-header {
    text-align: center;
    margin-bottom: 40px;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
    animation: successPulse 2s ease-in-out infinite;
}

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

.confirmation-subtitle {
    font-size: 1.2rem;
    color: #8b4b8a;
    font-style: italic;
}

/* ===== DATE CARD ===== */
.date-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 182, 193, 0.1));
    border: 2px solid #ff69b4;
    border-radius: 25px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 15px 35px rgba(255, 105, 180, 0.2);
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.card-header h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #ff1493;
    margin-bottom: 10px;
}

.card-decoration {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    color: #ff69b4;
}

.date-details {
    display: grid;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.1);
    transition: transform 0.3s ease;
}

.detail-item:hover {
    transform: translateX(10px);
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.detail-content h3 {
    font-size: 1.2rem;
    color: #ff1493;
    margin-bottom: 5px;
    font-weight: 600;
}

.detail-content p {
    font-size: 1.1rem;
    color: #8b4b8a;
    margin: 0;
}

/* ===== ACTIVITY PREVIEW ===== */
.activity-preview {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    border-radius: 20px;
    color: white;
    text-align: center;
}

.preview-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.preview-icon {
    font-size: 3rem;
}

.preview-text h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-family: 'Dancing Script', cursive;
}

.preview-text p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* ===== COUNTDOWN TIMER ===== */
.countdown-section {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 182, 193, 0.1);
    border-radius: 20px;
}

.countdown-section h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #ff1493;
    margin-bottom: 25px;
}

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

.time-unit {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(255, 105, 180, 0.2);
    min-width: 80px;
    text-align: center;
}

.time-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #ff1493;
    margin-bottom: 5px;
}

.time-label {
    font-size: 0.9rem;
    color: #8b4b8a;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== LOVE MESSAGE ===== */
.love-message {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.1), rgba(255, 105, 180, 0.1));
    border-radius: 20px;
    border-left: 5px solid #ff69b4;
}

.love-message h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #ff1493;
    text-align: center;
    margin-bottom: 20px;
}

.love-message p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #8b4b8a;
    margin-bottom: 15px;
    text-align: justify;
}

/* ===== ACTION BUTTONS ===== */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.action-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.action-btn.primary {
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

.action-btn.secondary {
    background: white;
    color: #ff1493;
    border: 2px solid #ff69b4;
}

.action-btn.special {
    background: linear-gradient(45deg, #ff1493, #dc143c);
    color: white;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
}

/* ===== CALENDAR SECTION ===== */
.calendar-section {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
}

.calendar-section h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #ff1493;
    margin-bottom: 25px;
}

.calendar-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.calendar-btn {
    padding: 12px 20px;
    background: white;
    border: 2px solid #ff69b4;
    border-radius: 20px;
    color: #ff1493;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.calendar-btn:hover {
    background: #ff69b4;
    color: white;
    transform: translateY(-2px);
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 15% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #ff69b4;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ff1493;
}

.modal-content h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #ff1493;
    text-align: center;
    margin-bottom: 25px;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.share-btn {
    padding: 15px;
    background: white;
    border: 2px solid #ff69b4;
    border-radius: 15px;
    color: #ff1493;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.share-btn:hover {
    background: #ff69b4;
    color: white;
    transform: translateY(-2px);
}

.share-btn i {
    font-size: 1.5rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .container {
        padding: 25px 20px;
        margin: 20px;
    }
    
    .birthday-card, .memories-card, .date-planner-card, .confirmation-card {
        padding: 20px;
        margin: 10px;
        height: auto;
        max-height: none;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .page-title {
        font-size: 2rem;
        /* Fix gradient text visibility on mobile */
        background: none !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: unset !important;
        background-clip: unset !important;
        color: #ff1493 !important;
    }
    
    .message-title {
        font-size: 2rem;
        color: #ff1493 !important;
    }
    
    .message-text {
        font-size: 1rem;
        line-height: 1.6;
        color: #333 !important;
        text-align: left;
        margin-bottom: 15px;
    }
    
    .page-subtitle {
        font-size: 1.2rem;
    }
    
    .profile-image {
        width: 180px;
        height: 180px;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .love-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .profile-image-container {
        width: 200px;
        height: 200px;
    }
    
    .image-frame {
        width: 200px;
        height: 200px;
    }
    
    .heart-burst {
        font-size: 1.5rem;
    }
    
    .sparkle {
        font-size: 1.5rem;
    }
    
    .time-options {
        grid-template-columns: 1fr;
    }
    
    .time-option {
        margin-bottom: 10px;
    }
    
    .activity-options {
        grid-template-columns: 1fr;
    }
    
    .activity-option {
        margin-bottom: 10px;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .time-unit {
        min-width: 60px;
        padding: 15px 10px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .calendar-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floating-message {
        max-width: 250px;
        font-size: 0.9rem;
        padding: 12px 15px;
    }
    
    .romantic-message {
        padding: 20px;
        font-size: 1.1rem;
    }
    
    .memories-title {
        font-size: 2.2rem;
    }
    
    .memories-subtitle {
        font-size: 1.1rem;
    }
    
    .continue-btn {
        padding: 12px 25px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    body {
        height: auto;
        min-height: 100vh;
        padding: 10px 0;
        overflow-y: auto;
    }
    
    .container {
        padding: 20px 15px;
        margin: 15px;
        min-height: auto;
        overflow-y: visible;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .page-title {
        font-size: 1.8rem;
        /* Ensure text visibility on small mobile devices */
        background: none !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: unset !important;
        background-clip: unset !important;
        color: #ff1493 !important;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .message-title {
        font-size: 1.8rem;
        color: #ff1493 !important;
    }
    
    .message-text {
        font-size: 0.95rem;
        line-height: 1.5;
        color: #333 !important;
        text-align: left;
        margin-bottom: 12px;
    }
    
    .romantic-quote blockquote {
        font-size: 1rem;
        color: #333 !important;
        line-height: 1.5;
    }
    
    .romantic-quote cite {
        color: #ff1493 !important;
    }
    
    .profile-image-container {
        width: 180px;
        height: 180px;
    }
    
    .image-frame {
        width: 180px;
        height: 180px;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }
    
    .love-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .memories-card {
        padding: 25px 20px;
    }
    
    .memories-title {
        font-size: 1.8rem;
    }
    
    .memories-subtitle {
        font-size: 1rem;
    }
    
    .romantic-message {
        padding: 15px;
        font-size: 1rem;
    }
    
    .continue-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .floating-message {
        max-width: 220px;
        font-size: 0.85rem;
        padding: 10px 12px;
        bottom: 70px;
    }
    
    .tooltip {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .heart-burst {
        font-size: 1.2rem;
    }
    
    .sparkle {
        font-size: 1.2rem;
    }
    
    .meter-message {
        font-size: 1rem;
    }
    
    .meter-bar {
        height: 25px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .image-caption {
        font-size: 1rem;
    }
    
    .time-unit {
        min-width: 50px;
        padding: 12px 8px;
    }
    
    .time-number {
        font-size: 1.2rem;
    }
    
    .time-label {
        font-size: 0.6rem;
    }
    
    .music-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .word {
        display: block;
        margin-bottom: 5px;
        max-width: 100%;
        font-size: 2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .countdown-timer {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .preview-content {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-item {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .floating-hearts,
    .heart-trail,
    .sparkles,
    .music-control,
    .celebration {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .birthday-card, .memories-card, .date-planner-card, .confirmation-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}