* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

:root {
    --primary: #ff6b8b;
    --secondary: #ffccd5;
    --accent: #ffacc7;
    --dark: #5d2e46;
    --light: #fff9fb;
    --bg: #fff9fb;
    --text: #5d2e46;
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.9);
    --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-theme="dark"] {
    --primary: #8db600;
    --secondary: #1a1a1a;
    --accent: #a8c74e;
    --dark: #c9d787;
    --light: #2d2d2d;
    --bg: #121212;
    --text: #e0e0e0;
    --card-bg: #1e1e1e;
    --nav-bg: rgba(30, 30, 30, 0.9);
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    transition: var(--transition);
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    filter: drop-shadow(0 0 5px rgba(255, 107, 139, 0.7));
}

.cursor-inner {
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23ff6b8b" d="M12 21.593c-5.63-5.539-11-10.297-11-14.402 0-3.791 3.068-5.191 5.281-5.191 1.312 0 4.151.501 5.719 4.457 1.59-3.968 4.464-4.447 5.726-4.447 2.54 0 5.274 1.621 5.274 5.181 0 4.069-5.136 8.625-11 14.402m5.726-20.583c-2.203 0-4.446 1.042-5.726 3.238-1.285-2.206-3.522-3.248-5.719-3.248-3.183 0-6.281 2.187-6.281 6.191 0 4.661 5.571 9.429 12 15.809 6.43-6.38 12-11.148 12-15.809 0-4.011-3.095-6.181-6.274-6.181"/></svg>') no-repeat center;
    background-size: contain;
    transform: rotate(-10deg);
}

[data-theme="dark"] .cursor-inner {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%238db600" d="M12 21.593c-5.63-5.539-11-10.297-11-14.402 0-3.791 3.068-5.191 5.281-5.191 1.312 0 4.151.501 5.719 4.457 1.59-3.968 4.464-4.447 5.726-4.447 2.54 0 5.274 1.621 5.274 5.181 0 4.069-5.136 8.625-11 14.402m5.726-20.583c-2.203 0-4.446 1.042-5.726 3.238-1.285-2.206-3.522-3.248-5.719-3.248-3.183 0-6.281 2.187-6.281 6.191 0 4.661 5.571 9.429 12 15.809 6.43-6.38 12-11.148 12-15.809 0-4.011-3.095-6.181-6.274-6.181"/></svg>') no-repeat center;
}

.cursor.clicked {
    transform: scale(0.8);
}

.cursor-follower {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-element {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.05;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-1000px) rotate(360deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: var(--card-bg);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: rotate(30deg);
}

.theme-toggle i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Header Styles */
header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

.hearts-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.heart {
    position: absolute;
    color: var(--accent);
    opacity: 0.7;
    font-size: 20px;
    animation: float 15s infinite linear;
}

h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 5.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
    color: var(--dark);
}

.subtitle {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 300;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.8s;
    color: var(--dark);
}

.countdown-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 40px;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 1s;
}

.countdown {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 15px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    min-width: 100px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.countdown-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 1);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--dark);
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    transform: translateY(-100%);
    animation: slideDown 0.8s ease forwards 0.3s;
}

@keyframes slideDown {
    to {
        transform: translateY(0);
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    color: var(--dark);
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    opacity: 0;
    transform: translateY(-10px);
}

.nav-links a:nth-child(1) { animation: fadeInDown 0.8s ease forwards 0.6s; }
.nav-links a:nth-child(2) { animation: fadeInDown 0.8s ease forwards 0.7s; }
.nav-links a:nth-child(3) { animation: fadeInDown 0.8s ease forwards 0.8s; }
.nav-links a:nth-child(4) { animation: fadeInDown 0.8s ease forwards 0.9s; }

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Section Styles */
section {
    padding: 120px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
    background: var(--bg);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 80px;
    color: var(--dark);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* Love Notes Section */
.love-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.note {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.note.visible {
    opacity: 1;
    transform: translateY(0);
}

.note:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
}

.note-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.note h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-family: 'Playfair Display', serif;
}

/* Interactive Photo Gallery */
.gallery-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item i {
    opacity: 0.8;
}

/* Love Letter with Typewriter Effect */
.love-letter {
    max-width: 850px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid rgba(255, 107, 139, 0.2);
    opacity: 0;
    transform: translateY(30px);
}

[data-theme="dark"] .love-letter {
    border: 1px solid rgba(141, 182, 0, 0.2);
}

.love-letter.visible {
    opacity: 1;
    transform: translateY(0);
}

.love-letter::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    z-index: -1;
    border-radius: 25px;
    opacity: 0.1;
}

.letter-content {
    font-size: 1.15rem;
    line-height: 1.8;
}

.typewriter-text {
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    opacity: 0;
    border-right: 2px solid var(--primary);
}

.typewriter-text.typing {
    opacity: 1;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary) }
}

.letter-content p {
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.letter-content p.visible {
    opacity: 1;
    transform: translateY(0);
}

.signature {
    text-align: right;
    margin-top: 40px;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--primary);
    font-family: 'Dancing Script', cursive;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 1s;
}

.signature.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Memory Lane - Interactive Timeline */
.memory-lane {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.memory-lane::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--accent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 10px;
}

.memory-item {
    padding: 15px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
}

.memory-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.memory-item:nth-child(odd) {
    left: 0;
}

.memory-item:nth-child(even) {
    left: 50%;
}

.memory-content {
    padding: 25px;
    background-color: var(--card-bg);
    position: relative;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
    cursor: pointer;
}

.memory-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.memory-item:nth-child(odd) .memory-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--card-bg);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--primary);
}

.memory-item:nth-child(even) .memory-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: -10px;
    background-color: var(--card-bg);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--primary);
}

.memory-date {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.memory-content h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-family: 'Playfair Display', serif;
}

/* Promise Section */
.promises {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.promise {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.promise.visible {
    opacity: 1;
    transform: translateY(0);
}

.promise:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.promise i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.promise h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-family: 'Playfair Display', serif;
}

/* Enhanced Love Lock */
.love-lock-container {
    text-align: center;
    margin: 60px auto;
    max-width: 600px;
}

.love-lock {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.lock-body {
    width: 120px;
    height: 90px;
    background: var(--primary);
    border-radius: 10px;
    position: absolute;
    bottom: 0;
    left: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.lock-shackle {
    width: 80px;
    height: 50px;
    border: 12px solid var(--accent);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 35px;
    transform-origin: 50% 0;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.love-lock.unlocked .lock-shackle {
    transform: rotate(90deg);
}

.love-lock.unlocked .lock-body {
    background: var(--accent);
    transform: scale(1.05);
}

.lock-message {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    background: var(--card-bg);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    max-height: 0;
    overflow: hidden;
}

.love-lock.unlocked .lock-message {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
    transition: all 1s ease;
}

.lock-keyhole {
    width: 20px;
    height: 25px;
    background: var(--card-bg);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.lock-key {
    position: absolute;
    width: 40px;
    height: 20px;
    background: var(--accent);
    border-radius: 5px;
    top: 50%;
    left: -50px;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.5s ease;
}

.love-lock:hover .lock-key {
    opacity: 1;
    left: -60px;
}

/* Interactive Music Player */
.music-player {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    background: var(--card-bg);
    border-radius: 50px;
    padding: 15px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.music-player:hover {
    transform: translateY(-5px);
}

.music-control {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.music-control:hover {
    transform: scale(1.1);
}

.music-info {
    font-size: 0.9rem;
    color: var(--text);
}

/* Heart Confetti */
.heart-confetti {
    position: fixed;
    font-size: 20px;
    opacity: 0;
    z-index: 9999;
    pointer-events: none;
}

/* Popup Modal */
.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.popup-modal.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8);
    transition: var(--transition);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.popup-modal.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.popup-close:hover {
    transform: rotate(90deg);
}

.popup-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--dark);
    text-align: center;
}

.popup-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.popup-gallery-item {
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2.5rem;
    transition: var(--transition);
}

.popup-gallery-item:hover {
    transform: translateY(-5px);
}

.memory-details {
    margin-top: 30px;
}

.memory-details p {
    margin-bottom: 15px;
    line-height: 1.7;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: white;
    text-align: center;
    padding: 60px 0 40px;
    margin-top: 100px;
}

.heart-beat {
    color: var(--accent);
    font-size: 2.5rem;
    animation: heartbeat 1.5s infinite;
    margin-bottom: 20px;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.footer-text {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--dark);
    transform: translateY(-5px);
}

/* Animation Keyframes */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating animation for decorative elements */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translate(0, 0px); }
    50% { transform: translate(0, 15px); }
    100% { transform: translate(0, -0px); }
}

/* Click Effect */
.click-effect {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    z-index: 9999;
    animation: clickAnimation 0.5s ease-out forwards;
}

@keyframes clickAnimation {
    0% {
        transform: scale(0);
        opacity: 0.7;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 4rem;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 15px 10px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .gallery, .popup-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3.2rem;
    }
    
    .subtitle {
        font-size: 1.4rem;
    }
    
    .memory-lane::after {
        left: 31px;
    }
    
    .memory-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .memory-item:nth-child(even) {
        left: 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .popup-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .countdown {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .love-letter {
        padding: 30px 20px;
    }
    
    .love-notes, .promises {
        grid-template-columns: 1fr;
    }
}