/* ============ RESET & BASE ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Patrick Hand', cursive;
    background: linear-gradient(135deg, #fff0f5 0%, #fce4ec 20%, #f8bbd0 40%, #f3e5f5 60%, #fce4ec 80%, #fff0f5 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #5d4037;
    overflow-x: hidden;
    position: relative;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============ FLOATING HEARTS ============ */
.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    font-size: 20px;
    animation: floatUp linear infinite;
    opacity: 0.5;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-10vh) rotate(720deg) scale(0.5);
        opacity: 0;
    }
}

/* ============ MUSIC CONTROL ============ */
.music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e91e63, #ff6090);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: pulse 2s ease-in-out infinite;
}

.music-control:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(233, 30, 99, 0.6);
}

.music-control.playing {
    animation: pulse 1s ease-in-out infinite, spin 3s linear infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============ HERO SECTION ============ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.3) 0%, transparent 70%);
}

.hero-stickers {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.sticker {
    position: absolute;
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 20px;
}

.sticker-top-left {
    top: 10%;
    left: 5%;
    animation: wiggle 3s ease-in-out infinite;
}

.sticker-top-right {
    top: 8%;
    right: 5%;
    animation: wiggle 3s ease-in-out infinite 1.5s;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.title-main {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3rem, 8vw, 7rem);
    color: #e91e63;
    text-shadow: 2px 2px 12px rgba(233, 30, 99, 0.25), 0 0 30px rgba(255, 182, 193, 0.3);
    margin-bottom: 15px;
    animation: fadeInDown 1.5s ease;
}

.title-sub {
    font-family: 'Caveat', cursive;
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: #ad1457;
    animation: fadeInUp 1.5s ease 0.5s both;
}

.scroll-indicator {
    margin-top: 50px;
    animation: fadeInUp 1.5s ease 1s both;
}

.scroll-indicator span {
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
    color: #e91e63;
}

.arrow-down {
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ LETTER CONTAINER ============ */
.letter-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* ============ FADE IN ANIMATION ============ */
.fade-in {
    /* Fallback: if JS doesn't run, keep content visible */
    opacity: 1;
    transform: none;
}

/* When JS is active, enable reveal animations */
.js .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ LETTER SECTIONS ============ */
.letter-section {
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    backdrop-filter: blur(12px);
    border: 2px solid rgba(233, 30, 99, 0.12);
    box-shadow: 0 10px 36px rgba(233, 30, 99, 0.08), 0 2px 8px rgba(255, 182, 193, 0.2);
    position: relative;
}

.letter-text {
    font-family: 'Caveat', cursive;
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    line-height: 1.8;
    color: #5d4037;
    margin-bottom: 15px;
    text-align: center;
}

.letter-text:last-child {
    margin-bottom: 0;
}

.highlight {
    background: linear-gradient(120deg, #f8bbd0 0%, #f48fb1 100%);
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: 700;
    color: #880e4f;
}

.big-text {
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
}

.love-declaration {
    font-family: 'Great Vibes', cursive !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    color: #e91e63 !important;
    margin-top: 20px !important;
}

/* ============ CUTE DIVIDER ============ */
.cute-divider {
    text-align: center;
    margin-bottom: 20px;
}

.divider-gif {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
}

/* ============ GIF DIVIDERS ============ */
.gif-divider {
    text-align: center;
    margin: 30px 0;
    padding: 10px;
}

.inline-gif {
    width: clamp(150px, 30vw, 250px);
    height: auto;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.small-gif {
    width: clamp(100px, 20vw, 150px);
}

/* ============ PHOTO SECTIONS ============ */
.photo-section {
    margin: 50px 0;
}

/* Grid Layouts */
.photo-grid {
    display: grid;
    gap: 20px;
    justify-items: center;
    align-items: center;
}

.grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
}

.grid-collage .photo-large {
    grid-row: span 2;
}

.grid-polaroid {
    grid-template-columns: repeat(2, 1fr);
}

.grid-mason {
    grid-template-columns: repeat(2, 1fr);
}

/* ============ PHOTO FRAMES ============ */
.photo-frame {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.photo-frame:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 12px 40px rgba(233, 30, 99, 0.3);
}

/* Make picture element behave like img */
.photo-frame picture {
    display: block;
    width: 100%;
    height: 100%;
}

.photo-frame picture img,
.photo-frame > img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Image placeholder when all formats fail */
.img-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
    border-radius: 10px;
}

.photo-frame img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.frame-deco {
    position: absolute;
    bottom: 5px;
    right: 8px;
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}

/* Frame Styles */
.frame-style-1 {
    border-radius: 20px;
    border: 4px solid #f48fb1;
    background: #fff;
    padding: 8px;
    box-shadow: 0 5px 20px rgba(244, 143, 177, 0.3);
}

.frame-style-1 img { border-radius: 14px; }

.frame-style-2 {
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    border: 4px solid #ce93d8;
    padding: 6px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(206, 147, 216, 0.3);
}

.frame-style-2 img {
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.frame-style-3 {
    border-radius: 15px;
    border: 4px dashed #f06292;
    padding: 8px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(240, 98, 146, 0.2);
}

.frame-style-3 img { border-radius: 10px; }

.frame-style-4 {
    border-radius: 25px;
    border: 5px double #e91e63;
    padding: 6px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.2);
}

.frame-style-4 img { border-radius: 20px; }

.frame-style-5 {
    border-radius: 20px;
    border: 4px solid #f8bbd0;
    padding: 8px;
    background: #fff;
    box-shadow: 0 5px 25px rgba(248, 187, 208, 0.4);
}

.frame-style-5 img { border-radius: 14px; height: 100%; min-height: 250px; }

.frame-style-5 picture img,
.frame-style-5 > img {
    border-radius: 14px;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
}

.frame-style-6 {
    border-radius: 15px;
    border: 3px solid #ba68c8;
    padding: 6px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(186, 104, 200, 0.3);
}

.frame-style-6 img { border-radius: 10px; }

.frame-style-7 {
    border-radius: 30px;
    border: 4px solid #ef9a9a;
    padding: 8px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(239, 154, 154, 0.3);
}

.frame-style-7 img { border-radius: 24px; }

.frame-style-8 {
    border-radius: 15px;
    border: 3px solid #f48fb1;
    padding: 6px;
    background: linear-gradient(135deg, #fce4ec, #fff);
    box-shadow: 0 5px 20px rgba(244, 143, 177, 0.3);
}

.frame-style-8 img { border-radius: 10px; }

/* Round Frame */
.frame-style-round {
    border-radius: 50%;
    border: 5px solid #f48fb1;
    padding: 6px;
    background: #fff;
    box-shadow: 0 5px 25px rgba(244, 143, 177, 0.3);
    width: 180px;
    height: 180px;
    overflow: hidden;
    margin: 0 auto;
}

.frame-style-round picture {
    display: block;
    width: 100%;
    height: 100%;
}

.frame-style-round picture img,
.frame-style-round > img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Heart Frame */
.frame-style-heart {
    border-radius: 20px;
    border: 4px solid #e91e63;
    padding: 8px;
    background: linear-gradient(135deg, #fff, #fce4ec);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.2);
    position: relative;
}

.frame-style-heart img { border-radius: 14px; }

.frame-style-heart::before {
    content: '💕';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    z-index: 2;
}

/* Polaroid Frame */
.frame-polaroid {
    background: #fff;
    padding: 12px 12px 45px 12px;
    border-radius: 5px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    position: relative;
}

.frame-polaroid img {
    border-radius: 2px;
    height: 180px;
}

.frame-polaroid picture img,
.frame-polaroid > img {
    border-radius: 2px;
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.polaroid-caption {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
    color: #e91e63;
    white-space: nowrap;
}

.tilt-left {
    transform: rotate(-4deg);
}

.tilt-left:hover {
    transform: rotate(-4deg) scale(1.05);
}

.tilt-right {
    transform: rotate(4deg);
}

.tilt-right:hover {
    transform: rotate(4deg) scale(1.05);
}

/* ============ SPECIAL CARD (Tamil Section) ============ */
.special-card {
    background: linear-gradient(135deg, #fce4ec, #f3e5f5, #e8eaf6);
    border-radius: 30px;
    padding: 40px 30px;
    border: 3px solid rgba(233, 30, 99, 0.2);
    box-shadow: 0 10px 40px rgba(233, 30, 99, 0.15);
    position: relative;
    overflow: hidden;
}

.special-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #e91e63, #9c27b0, #e91e63, #ff6090);
    background-size: 400% 400%;
    animation: gradientBorder 4s ease infinite;
    border-radius: 32px;
    z-index: -1;
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card-sparkle {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 15px;
    animation: sparkle 1.5s ease-in-out infinite;
}

.bottom-sparkle {
    margin-bottom: 0;
    margin-top: 15px;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.tamil-text {
    font-family: 'Caveat', cursive;
}

/* Choose You Card */
.choose-you-card {
    background: linear-gradient(135deg, #e3f2fd, #fce4ec, #f3e5f5) !important;
    border: 3px solid rgba(100, 181, 246, 0.3) !important;
    text-align: center;
}

.choose-you-card .letter-text {
    margin-bottom: 18px;
}

.choose-you-card .love-declaration {
    background: linear-gradient(120deg, #e1f5fe, #fce4ec);
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
}

/* ============ VALENTINE SECTION ============ */
.valentine-section {
    margin: 60px 0;
}

.valentine-card {
    background: linear-gradient(145deg, #fff8fa, #ffe8f0, #fff0f7);
    border-radius: 32px;
    padding: 50px 30px;
    text-align: center;
    border: 3px solid rgba(244, 143, 177, 0.6);
    box-shadow: 0 18px 55px rgba(233, 30, 99, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.valentine-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #e91e63;
    margin-bottom: 20px;
}

.valentine-gif {
    width: clamp(120px, 25vw, 200px);
    border-radius: 20px;
    margin-bottom: 25px;
}

.valentine-question {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #ad1457;
    margin-bottom: 30px;
    transition: all 0.5s ease;
}

.valentine-question.crossed {
    text-decoration: line-through;
    color: #ccc;
}

.valentine-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    min-height: 60px;
}

.btn-yes, .btn-no {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-family: 'Patrick Hand', cursive;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-yes {
    background: linear-gradient(135deg, #e91e63, #ff6090);
    color: white;
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.4);
}

.btn-yes:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.6);
}

.btn-no {
    background: linear-gradient(135deg, #bdbdbd, #e0e0e0);
    color: #666;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.1s ease;
}

.yes-text {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2rem, 5vw, 3rem);
    color: #e91e63;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.celebration-gif {
    width: clamp(150px, 30vw, 250px);
    border-radius: 20px;
    margin-bottom: 20px;
}

.forever-text {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.3rem, 3vw, 2rem);
    color: #ad1457;
    animation: fadeInUp 0.8s ease 0.3s both;
}

/* Confetti */
.confetti-piece {
    position: fixed;
    width: 10px;
    height: 10px;
    top: -10px;
    z-index: 9999;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ============ VOICE SECTION ============ */
.voice-section {
    margin: 60px 0;
}

.voice-card {
    background: linear-gradient(135deg, #fce4ec, #f8bbd0, #fce4ec);
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    border: 3px dashed #e91e63;
    box-shadow: 0 10px 40px rgba(233, 30, 99, 0.15);
}

.voice-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    color: #ad1457;
    margin-bottom: 10px;
}

.voice-subtitle {
    font-family: 'Caveat', cursive;
    font-size: 1.3rem;
    color: #e91e63;
    margin-bottom: 25px;
}

.voice-player {
    width: 100%;
    max-width: 400px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.voice-player::-webkit-media-controls-panel {
    background: #fce4ec;
}

.voice-gif {
    width: clamp(100px, 20vw, 150px);
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* ============ DATE TONIGHT SECTION (CUTE ENDING) ============ */
.date-tonight-section {
    margin: 50px 0 30px;
}

.date-tonight-card {
    background: linear-gradient(145deg, #fff5f8 0%, #ffe8f0 30%, #fff0f7 60%, #fce4ec 100%);
    border-radius: 35px;
    padding: 45px 30px;
    text-align: center;
    border: 3px solid rgba(244, 143, 177, 0.5);
    box-shadow: 0 15px 50px rgba(233, 30, 99, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    animation: dateCardGlow 4s ease-in-out infinite;
}

.date-tonight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 182, 193, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.date-tonight-hearts {
    font-size: 1.8rem;
    letter-spacing: 0.5em;
    margin-bottom: 20px;
    animation: dateHeartsBounce 2s ease-in-out infinite;
}

.date-tonight-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #c2185b;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(233, 30, 99, 0.2);
}

.date-tonight-ps {
    font-family: 'Caveat', cursive;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    color: #e91e63;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    font-style: italic;
    opacity: 0.95;
}

.date-tonight-gif {
    width: clamp(100px, 22vw, 160px);
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.25);
    position: relative;
    z-index: 1;
}

/* Lock the date question behind the puzzle when JS is enabled */
.js .date-tonight-section.locked-by-puzzle {
    opacity: 0;
    transform: scale(0.97);
    filter: blur(4px);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
}

.js.puzzle-solved .date-tonight-section.locked-by-puzzle {
    opacity: 1;
    transform: scale(1);
    filter: none;
    pointer-events: auto;
}

/* ============ IMAGE 24 SLIDING PUZZLE ============ */
.puzzle-section {
    margin: 60px 0 40px;
}

.puzzle-card {
    max-width: 520px;
    margin: 0 auto;
    padding: 30px 24px 32px;
    border-radius: 30px;
    background: linear-gradient(145deg, #fff8fb, #ffe3f0, #fce4ec);
    border: 3px solid rgba(244, 143, 177, 0.6);
    box-shadow: 0 16px 45px rgba(233, 30, 99, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.puzzle-card::before {
    content: '24';
    position: absolute;
    top: 10px;
    right: 18px;
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    color: rgba(173, 20, 87, 0.5);
}

.puzzle-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: #c2185b;
    margin-bottom: 6px;
}

.puzzle-subtitle {
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
    color: #ad1457;
    margin-bottom: 18px;
}

.puzzle-grid {
    margin: 0 auto 14px;
    width: min(320px, 80vw);
    aspect-ratio: 1 / 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.puzzle-tile {
    border-radius: 10px;
    background-image: url('images/24.jpg');
    background-size: 300% 300%;
    background-repeat: no-repeat;
    border: 2px solid rgba(233, 30, 99, 0.5);
    box-shadow: 0 4px 14px rgba(233, 30, 99, 0.25);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.puzzle-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(233, 30, 99, 0.3);
}

.puzzle-tile:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(233, 30, 99, 0.22);
}

.puzzle-tile.puzzle-empty {
    background: rgba(255, 255, 255, 0.8);
    border-style: dashed;
    box-shadow: none;
    cursor: default;
}

.puzzle-status {
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
    color: #e91e63;
    margin-bottom: 4px;
}

.puzzle-hint {
    font-family: 'Caveat', cursive;
    font-size: 1rem;
    color: #ad1457;
    opacity: 0.9;
}

@keyframes dateCardGlow {
    0%, 100% { box-shadow: 0 15px 50px rgba(233, 30, 99, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
    50% { box-shadow: 0 18px 55px rgba(233, 30, 99, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9); }
}

@keyframes dateHeartsBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* ============ FOOTER ============ */
.footer {
    text-align: center;
    padding: 60px 20px;
    margin-top: 40px;
}

.footer-text {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #e91e63;
    margin-bottom: 10px;
}

.footer-text.small {
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
    color: #ad1457;
}

.footer-gif {
    width: 120px;
    border-radius: 50%;
    margin-top: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 600px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .grid-collage {
        grid-template-columns: 1fr;
    }

    .grid-collage .photo-large {
        grid-row: span 1;
    }

    .grid-polaroid {
        grid-template-columns: 1fr;
    }

    .grid-mason {
        grid-template-columns: 1fr;
    }

    .frame-style-round {
        width: 150px;
        height: 150px;
    }

    .sticker {
        width: 80px;
        height: 80px;
    }

    .letter-section {
        padding: 20px 15px;
    }

    .valentine-card {
        padding: 30px 15px;
    }

    .valentine-buttons {
        flex-direction: column;
        align-items: center;
    }

    .photo-frame img {
        height: 180px;
    }

    .frame-style-5 img {
        min-height: 180px;
    }

    .date-tonight-card {
        padding: 35px 20px;
        border-radius: 28px;
    }

    .date-tonight-hearts {
        letter-spacing: 0.2em;
        font-size: 1.5rem;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #fce4ec;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f48fb1, #e91e63);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e91e63, #ad1457);
}

/* ============ SELECTION ============ */
::selection {
    background: #f48fb1;
    color: #fff;
}
