* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #ffe4e1, #ffc0cb, #dda0dd, #ffb6c1);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    font-family: 'Poppins', sans-serif;
    color: #8b0000;
    overflow-x: hidden;
    position: relative;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 🎵 Music Button */
.music-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.8);
    font-size: 26px;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(255,105,180,0.6);
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.music-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 12px 35px rgba(255,105,180,0.8);
}

/* ❤️ Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 20px;
}

.hero h1 {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 30px;
    text-shadow: 3px 3px 10px rgba(255,105,180,0.5);
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10% { transform: scale(1.05); }
    20% { transform: scale(1); }
    30% { transform: scale(1.05); }
    40% { transform: scale(1); }
}

.animate-fade-in {
    animation: fadeInDown 1.5s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-button {
    padding: 18px 40px;
    border-radius: 50px;
    border: none;
    font-size: clamp(1rem, 3vw, 1.4rem);
    font-weight: 600;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255,20,147,0.4);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: buttonGlow 2s ease-in-out infinite;
}

@keyframes buttonGlow {
    0%, 100% { box-shadow: 0 10px 30px rgba(255,20,147,0.4); }
    50% { box-shadow: 0 15px 40px rgba(255,20,147,0.8); }
}

.hero-button:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 20px 50px rgba(255,20,147,0.6);
}

.hero-button:active {
    transform: scale(1.05);
}

/* 💕 Floating Hearts */
.floating-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.heart {
    position: absolute;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    animation: float 8s infinite ease-in-out;
    filter: drop-shadow(0 5px 15px rgba(255,105,180,0.5));
}

.heart:nth-child(1) { left: 10%; top: 80%; animation-delay: 0s; }
.heart:nth-child(2) { left: 80%; top: 70%; animation-delay: 1s; }
.heart:nth-child(3) { left: 50%; top: 90%; animation-delay: 2s; }
.heart:nth-child(4) { left: 30%; top: 85%; animation-delay: 3s; }
.heart:nth-child(5) { left: 70%; top: 15%; animation-delay: 1.5s; }
.heart:nth-child(6) { left: 20%; top: 20%; animation-delay: 2.5s; }

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-100px) rotate(180deg); opacity: 1; }
    100% { transform: translateY(0) rotate(360deg); opacity: 0.6; }
}

/* ✨ Sections */
.section {
    padding: 80px 20px;
    text-align: center;
    animation: fadeUp 1.2s ease;
    position: relative;
}

.container {
    max-width: 1100px;
    margin: auto;
}

h2 {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 40px;
    text-shadow: 2px 2px 8px rgba(255,105,180,0.4);
    animation: slideIn 1s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.love-text {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    line-height: 2;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.8);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: fadeUp 1.5s ease;
}

/* 📸 Gallery */
.gallery-section {
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.gallery-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: zoomIn 0.8s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-img:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 20px 50px rgba(255,105,180,0.6);
    z-index: 10;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(5px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(255,105,180,0.8);
    animation: modalZoom 0.4s ease;
}

@keyframes modalZoom {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

#close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 45px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
}

#close-modal:hover {
    transform: rotate(90deg) scale(1.2);
    color: #ff69b4;
}

/* 💖 Love List */
.love-section {
    background: rgba(255,182,193,0.2);
}

.love-list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.love-item {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,182,193,0.9));
    padding: 25px;
    border-radius: 20px;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(255,105,180,0.3);
    transition: all 0.4s ease;
    animation: popIn 0.6s ease backwards;
}

.love-item:nth-child(1) { animation-delay: 0.1s; }
.love-item:nth-child(2) { animation-delay: 0.2s; }
.love-item:nth-child(3) { animation-delay: 0.3s; }
.love-item:nth-child(4) { animation-delay: 0.4s; }
.love-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.love-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255,105,180,0.5);
}

/* 💘 Buttons */
.question-section {
    background: rgba(255,255,255,0.4);
}

.button-container {
    position: relative;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.btn {
    padding: 20px 50px;
    border-radius: 50px;
    border: none;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.yes {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.yes:hover {
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 20px 50px rgba(255,20,147,0.6);
}

.no {
    background: linear-gradient(135deg, #dda0dd, #ba55d3);
    color: white;
    position: absolute;
    transition: all 0.1s ease;
}

.no:hover {
    transform: scale(1.1);
}

/* 💍 Proposal */
.proposal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.5s ease;
}

.proposal-box {
    background: linear-gradient(135deg, #fff, #ffe4e1);
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(255,105,180,0.8);
    animation: proposalPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 90%;
}

@keyframes proposalPop {
    from {
        transform: scale(0.5) rotate(-10deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.proposal-box h1 {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 30px;
    color: #8b0000;
}

.ring {
    font-size: clamp(3rem, 10vw, 5rem);
    animation: ringPulse 1.5s infinite;
    margin: 30px 0;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.3) rotate(15deg); }
}

.proposal-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.proposal-buttons .btn {
    margin: 0;
}

/* 💖 Tiny Heart */
#tiny-heart {
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-size: 24px;
    opacity: 0.6;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

#tiny-heart:hover {
    transform: scale(1.5) rotate(20deg);
    opacity: 1;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.8);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-family: 'Dancing Script', cursive;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-img {
        height: 300px;
    }
    
    .love-list {
        grid-template-columns: 1fr;
    }
    
    .music-toggle {
        width: 50px;
        height: 50px;
        font-size: 22px;
        top: 15px;
        right: 15px;
    }
    
    .proposal-box {
        padding: 30px 20px;
    }
    
    #tiny-heart {
        font-size: 20px;
        bottom: 15px;
        left: 15px;
    }
    
    .btn {
        padding: 15px 35px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 15px;
    }
    
    .hero {
        padding: 15px;
    }
    
    .gallery-img {
        height: 250px;
    }
    
    .love-text {
        padding: 20px;
        font-size: 1rem;
    }
    
    h2 {
        margin-bottom: 25px;
    }
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255,182,193,0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff1493, #c71585);
}

/*yes file*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #ffafbd, #ffc3a0, #ee9ca7, #ffdde1);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
    font-family: 'Poppins', sans-serif;
    color: #8b0000;
    overflow-x: hidden;
    text-align: center;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Anniversary Title */
.hero-anniversary {
    padding: 100px 20px 40px;
}

.hero-anniversary h1 {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.4;
    text-shadow: 2px 2px 10px rgba(255,255,255,0.5);
}

.animate-fade-in {
    animation: fadeInUp 2s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Big Frame Gallery */
.gallery-single-frame {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.main-gallery-img {
    width: 100%;
    max-width: 600px; /* Big Size */
    border: 15px solid white;
    border-bottom: 60px solid white; /* Polaroid style */
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
}

.main-gallery-img:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Love Letter Section */
.section {
    padding: 60px 20px;
}

.container {
    max-width: 800px;
    margin: auto;
}

h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.love-text {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 30px;
    line-height: 1.8;
    font-size: 1.15rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.5);
}

footer {
    padding: 40px;
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
}