/* ====================================
   BUBU & DUDU VALENTINE'S WEEK WEBSITE
   Premium CSS Styling
   ==================================== */

/* CSS Custom Properties */
:root {
    /* Valentine Color Palette */
    --pink-light: #ffe4ec;
    --pink-soft: #ffb6c1;
    --pink-medium: #ff69b4;
    --pink-deep: #ff1493;
    --red-love: #e91e63;
    --red-deep: #c2185b;
    --cream: #fff5f8;
    --white: #ffffff;
    --text-dark: #5d3a5d;
    --text-light: #8b5a8b;
    --gold: #ffd700;

    /* Gradients */
    --gradient-bg: linear-gradient(135deg, #ffeef4 0%, #ffe4ec 25%, #ffd1dc 50%, #ffb6c1 75%, #ffa6b8 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 228, 236, 0.9) 100%);
    --gradient-btn-yes: linear-gradient(135deg, #ff69b4 0%, #ff1493 50%, #e91e63 100%);
    --gradient-btn-no: linear-gradient(135deg, #b0b0b0 0%, #9e9e9e 100%);
    --gradient-special: linear-gradient(135deg, #ff6b9d 0%, #ff1493 50%, #e91e63 100%);

    /* Shadows */
    --shadow-soft: 0 8px 32px rgba(233, 30, 99, 0.15);
    --shadow-medium: 0 15px 50px rgba(233, 30, 99, 0.2);
    --shadow-glow: 0 0 30px rgba(255, 105, 180, 0.5);
    --shadow-card: 0 10px 40px rgba(233, 30, 99, 0.15);

    /* Typography */
    --font-display: 'Pacifico', cursive;
    --font-body: 'Poppins', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--gradient-bg);
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

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

.heart {
    position: absolute;
    font-size: 1.5rem;
    animation: floatUp 10s ease-in-out infinite;
    opacity: 0.5;
}

.heart:nth-child(1) {
    left: 5%;
    animation-delay: 0s;
    font-size: 1.2rem;
}

.heart:nth-child(2) {
    left: 15%;
    animation-delay: 1.5s;
    font-size: 1.8rem;
}

.heart:nth-child(3) {
    left: 25%;
    animation-delay: 3s;
    font-size: 1.4rem;
}

.heart:nth-child(4) {
    left: 35%;
    animation-delay: 0.5s;
    font-size: 2rem;
}

.heart:nth-child(5) {
    left: 45%;
    animation-delay: 4s;
    font-size: 1.3rem;
}

.heart:nth-child(6) {
    left: 55%;
    animation-delay: 2s;
    font-size: 1.6rem;
}

.heart:nth-child(7) {
    left: 65%;
    animation-delay: 3.5s;
    font-size: 1.9rem;
}

.heart:nth-child(8) {
    left: 75%;
    animation-delay: 1s;
    font-size: 1.5rem;
}

.heart:nth-child(9) {
    left: 85%;
    animation-delay: 4.5s;
    font-size: 1.7rem;
}

.heart:nth-child(10) {
    left: 95%;
    animation-delay: 5s;
    font-size: 1.4rem;
}

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

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

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

/* ====================================
   MAIN CONTAINER
   ==================================== */
.container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
    text-align: center;
    padding: 40px 20px;
    background: var(--gradient-card);
    border-radius: 30px;
    box-shadow: var(--shadow-medium);
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-image {
    margin-bottom: 20px;
}

.main-couple-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--pink-soft);
    box-shadow: var(--shadow-glow);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

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

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

.main-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--red-love);
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(233, 30, 99, 0.2);
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 500;
}

.date-range {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* ====================================
   VALENTINE'S WEEK SECTION
   ==================================== */
.valentine-week {
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--red-love);
    text-align: center;
    margin-bottom: 30px;
}

/* ====================================
   DAYS GRID
   ==================================== */
.days-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .days-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 400px) {
    .days-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ====================================
   DAY CARDS
   ==================================== */
.day-card {
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.day-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.day-card:hover::before {
    left: 100%;
}

.day-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.day-card:focus {
    outline: 3px solid var(--pink-deep);
    outline-offset: 3px;
}

.day-emoji {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

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

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

.day-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--red-love);
    margin-bottom: 5px;
}

.day-date {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.day-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 10px;
}

.day-tag.today {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    animation: tagGlow 1.5s ease-in-out infinite;
}

.day-tag.special {
    background: var(--gradient-special);
    color: white;
    animation: tagGlow 1.5s ease-in-out infinite;
}

@keyframes tagGlow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(233, 30, 99, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(233, 30, 99, 0.8);
    }
}

/* Valentine's Day Special Card */
.day-card.valentine-special {
    background: linear-gradient(145deg, #fff5f8 0%, #ffe4ec 50%, #ffd1dc 100%);
    border: 3px solid var(--pink-deep);
    animation: specialPulse 3s ease-in-out infinite;
}

@keyframes specialPulse {

    0%,
    100% {
        box-shadow: 0 10px 40px rgba(233, 30, 99, 0.2);
    }

    50% {
        box-shadow: 0 15px 50px rgba(233, 30, 99, 0.4);
    }
}

/* ====================================
   MODAL OVERLAY
   ==================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--gradient-card);
    border-radius: 30px;
    max-width: 450px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: var(--shadow-medium);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.modal-overlay.show .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(233, 30, 99, 0.1);
    color: var(--red-love);
    transform: rotate(90deg);
}

.modal-image {
    padding: 30px 30px 0;
    text-align: center;
}

.modal-image img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

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

.modal-emoji {
    font-size: 3rem;
    margin-bottom: 10px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--red-love);
    margin-bottom: 5px;
}

.modal-date {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.modal-message {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
    padding: 15px;
    background: rgba(255, 182, 193, 0.2);
    border-radius: 15px;
    border-left: 4px solid var(--pink-medium);
}

/* ====================================
   VALENTINE'S DAY INTERACTION
   ==================================== */
.valentine-interaction {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px dashed var(--pink-soft);
}

.valentine-question {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--red-love);
    margin-bottom: 20px;
}

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

.btn {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 35px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.btn-yes {
    background: var(--gradient-btn-yes);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.4);
}

.btn-yes:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 20, 147, 0.5);
}

.btn-no {
    background: var(--gradient-btn-no);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-no:hover {
    transform: scale(1.05);
}

.valentine-success {
    animation: successAppear 0.6s ease-out;
}

.valentine-success h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--red-love);
    margin-bottom: 10px;
}

.valentine-success p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.valentine-success .love-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--pink-deep);
    animation: rainbow 3s linear infinite;
}

@keyframes successAppear {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

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

@keyframes rainbow {
    0% {
        color: #ff1493;
    }

    50% {
        color: #e91e63;
    }

    100% {
        color: #ff1493;
    }
}

/* ====================================
   CONFETTI CONTAINER
   ==================================== */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2000;
    overflow: hidden;
}

.confetti {
    position: absolute;
    animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 1;
    }

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

/* ====================================
   FOOTER
   ==================================== */
.footer {
    text-align: center;
    padding: 30px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ====================================
   ANIMATION UTILITIES
   ==================================== */
.zoom-in {
    animation: zoomIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

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

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1.15);
    }
}

.vanish {
    animation: vanish 0.5s ease-out forwards;
}

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

.mega-zoom {
    animation: megaZoom 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

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

    100% {
        transform: scale(1.4);
    }
}

.wiggle {
    animation: wiggle 0.5s ease-in-out infinite;
}

@keyframes wiggle {

    0%,
    100% {
        transform: scale(1.4) rotate(-2deg);
    }

    50% {
        transform: scale(1.4) rotate(2deg);
    }
}

/* ====================================
   ACCESSIBILITY
   ==================================== */
@media (prefers-reduced-motion: reduce) {

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