/* ============================================
   VALENTINE PROPOSAL WEBSITE - STYLES
   Soft pastel colors, smooth animations
   ============================================ */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffeef8;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

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

/* ============================================
   PAGE TRANSITIONS
   ============================================ */

.page {
    display: none;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    width: 100%;
    box-sizing: border-box;
}

.page.active {
    display: flex !important;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
}

/* ============================================
   PAGE 1: BLUE & RED THEME
   ============================================ */

.page1-blue-red {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 25%, #dc2626 50%, #ef4444 75%, #1e3a8a 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    z-index: 1;
}

.card-page1 {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.4),
                0 0 40px rgba(220, 38, 38, 0.3);
    position: relative;
    z-index: 2;
}

.card-page1 h1 {
    color: #1e3a8a;
    text-shadow: 2px 2px 4px rgba(30, 58, 138, 0.3);
}

.card-page1 p {
    color: #dc2626;
    font-weight: 600;
}

#nameInput {
    border: 3px solid #3b82f6;
    color: #1e3a8a;
}

#nameInput:focus {
    border-color: #dc2626;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
}

.btn-page1 {
    background: linear-gradient(135deg, #3b82f6 0%, #dc2626 100%);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.5);
}

.btn-page1:hover {
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.6);
}

/* ============================================
   PAGE 2: BIRTHDAY CHECK
   ============================================ */

#page2 {
    background: linear-gradient(135deg, #ffeef8 0%, #f8e8f5 25%, #ffe5f0 50%, #fff0f8 75%, #ffeef8 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    z-index: 1;
}

#page2 .card {
    position: relative;
    z-index: 10;
}

/* ============================================
   CARD STYLING (Pages 1 & 2)
   ============================================ */

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.3),
                0 0 40px rgba(255, 182, 193, 0.2);
    text-align: center;
    max-width: 500px;
    width: 100%;
    animation: cardFadeIn 0.8s ease-out;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.card h1 {
    color: #ff69b4;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(255, 105, 180, 0.2);
}

.card p {
    color: #d87093;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* ============================================
   INPUT FIELDS
   ============================================ */

input[type="text"],
input[type="date"] {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    border: 3px solid #ffb6c1;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #d87093;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    outline: none;
}

input[type="text"]:focus,
input[type="date"]:focus {
    border-color: #ff69b4;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.4);
    transform: scale(1.02);
}

input[type="date"] {
    cursor: pointer;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.4);
    font-weight: 600;
}

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

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

/* ============================================
   ERROR MESSAGES
   ============================================ */

.error-message {
    color: #ff6b6b;
    font-size: 1rem;
    margin-top: 15px;
    min-height: 25px;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

/* ============================================
   PAGE 3: CLICKABLE BOXES
   ============================================ */

.boxes-page {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 25%, #93c5fd 50%, #bfdbfe 75%, #dbeafe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding: 40px 20px;
    position: relative;
}

.boxes-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/bubu.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.boxes-page > * {
    position: relative;
    z-index: 1;
}

.boxes-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
}

.clickable-box {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: 500px;
    cursor: pointer;
    perspective: 1000px;
    transition: transform 0.3s ease;
}

.clickable-box:hover {
    transform: translateY(-10px);
}

.box-cover {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.4),
                0 0 40px rgba(255, 182, 193, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
}

.clickable-box:hover .box-cover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(255, 105, 180, 0.6),
                0 0 60px rgba(255, 182, 193, 0.5);
}

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

.clickable-box:hover .box-image {
    transform: scale(1.1);
}

.box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    transition: background 0.3s ease;
}

.clickable-box:hover .box-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.box-title {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 4rem;
    font-weight: bold;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8),
                 0 0 60px rgba(255, 182, 193, 0.6),
                 2px 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
    transition: all 0.3s ease;
    z-index: 2;
}

.clickable-box:hover .box-title {
    transform: translateX(-50%) translateY(-10px) scale(1.1);
    text-shadow: 0 0 40px rgba(255, 255, 255, 1),
                 0 0 80px rgba(255, 182, 193, 0.8),
                 2px 2px 15px rgba(0, 0, 0, 0.7);
}

.boxes-next-btn {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: fadeInUp 0.5s ease-out;
}

/* ============================================
   MODAL FOR BOX CONTENT
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 240, 248, 0.98) 100%);
    margin: 20px;
    padding: 50px 40px;
    border-radius: 30px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    font-weight: bold;
    color: #ff69b4;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: #ff1493;
    transform: rotate(90deg) scale(1.2);
    background: rgba(255, 105, 180, 0.1);
}

.modal-title {
    color: #ff69b4;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(255, 105, 180, 0.2);
}

.modal-text {
    color: #d87093;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.modal-text p {
    margin-bottom: 20px;
}

.modal-text p:last-child {
    margin-bottom: 0;
}

/* ============================================
   PAGE 4: VALENTINE QUESTION PAGE
   ============================================ */

.valentine-question-page {
    background-image: url('images/budubg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    position: relative;
}

.valentine-question-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.valentine-question-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 60px 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    text-align: center;
    max-width: 600px;
    width: 90%;
    backdrop-filter: blur(10px);
}

.valentine-question-title {
    color: #ff69b4;
    font-size: 3rem;
    margin-bottom: 40px;
    text-shadow: 2px 2px 8px rgba(255, 105, 180, 0.3);
}

/* ============================================
   PAGE 5: NO RESPONSE PAGE
   ============================================ */

.no-response-page {
    background: #000;
    padding: 0;
    overflow: hidden;
}

.crying-container {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.crying-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.crying-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 50%, transparent 100%);
    padding: 60px 20px 40px;
    z-index: 10;
}

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

.crying-text {
    color: #ff69b4;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(255, 105, 180, 0.5);
}

.crying-ok-btn {
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.4);
    font-weight: 600;
}

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

/* ============================================
   PAGE 6: VIDEO BOXES PAGE
   ============================================ */

.video-boxes-page {
    background: linear-gradient(135deg, #ffeef8 0%, #f8e8f5 25%, #ffe5f0 50%, #fff0f8 75%, #ffeef8 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding: 40px 20px;
    min-height: 100vh;
    position: relative;
}

.songs-intro {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    background: linear-gradient(135deg, #ffeef8 0%, #f8e8f5 25%, #ffe5f0 50%, #fff0f8 75%, #ffeef8 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.songs-intro-text {
    color: #ff69b4;
    font-size: 4rem;
    text-shadow: 2px 2px 8px rgba(255, 105, 180, 0.3);
    animation: textGlow 2s ease-in-out infinite alternate;
    text-align: center;
    font-weight: bold;
}

.video-boxes-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.video-box {
    position: relative;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.3);
    transition: transform 0.3s ease;
}

.video-box:hover {
    transform: translateY(-5px) scale(1.02);
}

.video-box-cover {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Square aspect ratio */
    overflow: hidden;
}

.video-box-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-box:hover .video-box-image {
    transform: scale(1.1);
}

.video-box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-box:hover .video-box-overlay {
    opacity: 1;
}

.play-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 2rem;
    color: #ff69b4;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.play-btn:hover {
    transform: scale(1.1);
    background: white;
}

.play-btn.playing {
    background: rgba(255, 105, 180, 0.9);
    color: white;
    animation: pulsePlay 1.5s ease-in-out infinite;
}

@keyframes pulsePlay {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(255, 105, 180, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(255, 105, 180, 0.7);
    }
}

.video-player-container {
    margin: 40px 0;
    text-align: center;
    display: none !important; /* Hide completely - audio only */
}

.audio-player {
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.video-player {
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.btn-yay {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 20px 60px;
    font-size: 2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
    font-weight: bold;
    display: block;
    margin: 40px auto 0;
}

.btn-yay:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.6);
}

/* ============================================
   PAGE 5: THE QUESTION
   ============================================ */

.question-page {
    background: linear-gradient(135deg, #ffeef8 0%, #f8e8f5 50%, #ffe5f0 100%);
}

.question-container {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.question-title {
    color: #ff69b4;
    font-size: 3rem;
    margin-bottom: 50px;
    text-shadow: 2px 2px 8px rgba(255, 105, 180, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

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

.button-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.btn-yes {
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
    color: white;
    border: none;
    padding: 25px 60px;
    font-size: 2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.5);
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.btn-yes:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 50px rgba(255, 105, 180, 0.7);
}

.btn-no {
    background: linear-gradient(135deg, #d3d3d3 0%, #c0c0c0 100%);
    color: #666;
    border: none;
    padding: 25px 60px;
    font-size: 2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.btn-no:hover {
    transform: translate(calc(var(--random-x, 50px)), calc(var(--random-y, -50px))) scale(0.9);
    opacity: 0.7;
}

/* ============================================
   PAGE 5: FINAL SURPRISE
   ============================================ */

.final-page {
    background: linear-gradient(135deg, #ffeef8 0%, #f8e8f5 25%, #ffe5f0 50%, #fff0f8 75%, #ffeef8 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    overflow: hidden;
    position: relative;
}

.email-note {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 0.85rem;
    color: #d87093;
    opacity: 0.7;
    z-index: 10;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

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

.heart {
    position: absolute;
    font-size: 2rem;
    color: #ff69b4;
    opacity: 0.8;
    animation: floatHeart 15s linear infinite;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

@keyframes floatHeart {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

.final-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

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

.final-title {
    color: #ff69b4;
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(255, 105, 180, 0.3);
    animation: textGlow 2s ease-in-out infinite alternate;
}

.final-title-large {
    color: #ff69b4;
    font-size: 4.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(255, 105, 180, 0.3);
    animation: textGlow 2s ease-in-out infinite alternate;
    line-height: 1.2;
}

.final-subtitle {
    color: #ff1493;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-shadow: 2px 2px 6px rgba(255, 20, 147, 0.3);
}

.final-subtitle-large {
    color: #ff1493;
    font-size: 3.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 6px rgba(255, 20, 147, 0.3);
    line-height: 1.3;
    font-weight: bold;
}

.love-letter {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.2);
    text-align: left;
}

.love-letter p {
    color: #d87093;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.love-letter p:last-child {
    margin-bottom: 0;
}

.final-media {
    margin-top: 40px;
}

.media-placeholder {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.2);
}

.media-placeholder p {
    color: #ff69b4;
    font-size: 1.5rem;
}

/* ============================================
   HEARTS EXPLOSION ANIMATION
   ============================================ */

@keyframes heartExplosion {
    0% {
        transform: scale(0) translateY(0);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(2) translateY(-200px) translateX(var(--explode-x, 0));
        opacity: 0;
    }
}

.heart-explosion {
    animation: heartExplosion 1.5s ease-out forwards;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .card {
        padding: 40px 30px;
        margin: 20px;
    }

    .card h1 {
        font-size: 2rem;
    }

    .card p {
        font-size: 1rem;
    }

    .slide-caption {
        font-size: 1.8rem;
    }

    .large-glow {
        font-size: 2.5rem;
    }

    .question-title {
        font-size: 2rem;
    }

    .btn-yes,
    .btn-no {
        padding: 20px 40px;
        font-size: 1.5rem;
    }

    .final-title {
        font-size: 2rem;
    }

    .final-subtitle {
        font-size: 1.8rem;
    }

    .love-letter {
        padding: 30px 20px;
    }

    .love-letter p {
        font-size: 1rem;
    }

    .boxes-container {
        flex-direction: column;
        gap: 30px;
        padding: 20px 0;
    }

    .clickable-box {
        width: 100%;
        max-width: 100%;
        height: 400px;
    }

    .box-title {
        font-size: 3rem;
    }

    .modal-content {
        padding: 40px 30px;
    }

    .modal-title {
        font-size: 2rem;
    }

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

@media (max-width: 480px) {
    .card {
        padding: 30px 20px;
    }

    .card h1 {
        font-size: 1.5rem;
    }

    .slide-caption {
        font-size: 1.5rem;
    }

    .large-glow {
        font-size: 2rem;
    }

    .question-title {
        font-size: 1.5rem;
    }

    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .btn-yes,
    .btn-no {
        width: 80%;
        padding: 18px 30px;
        font-size: 1.3rem;
    }

    .final-title {
        font-size: 1.5rem;
    }

    .final-subtitle {
        font-size: 1.5rem;
    }

    .valentine-question-title {
        font-size: 1.5rem;
    }

    .valentine-question-box {
        padding: 40px 30px;
    }

    .crying-text {
        font-size: 1.5rem;
    }

    .final-title-large {
        font-size: 2rem;
    }

    .final-subtitle-large {
        font-size: 1.5rem;
    }

    .email-note {
        font-size: 0.7rem;
        bottom: 10px;
        right: 10px;
    }

    .btn-yay {
        font-size: 1.3rem;
        padding: 15px 30px;
    }

    .clickable-box {
        height: 350px;
    }

    .box-title {
        font-size: 2.5rem;
        bottom: 30px;
    }

    .modal-content {
        padding: 30px 20px;
        margin: 10px;
    }

    .modal-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .modal-text {
        font-size: 0.95rem;
    }

    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 2.5rem;
    }

    .valentine-question-title {
        font-size: 2rem;
    }

    .crying-text {
        font-size: 1.8rem;
    }

    .video-boxes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .btn-yay {
        font-size: 1.5rem;
        padding: 18px 40px;
    }

    .final-title-large {
        font-size: 2.5rem;
    }

    .final-subtitle-large {
        font-size: 2rem;
    }

    .songs-intro-text {
        font-size: 2.5rem;
    }
}


