@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600&family=Great+Vibes&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Film Grain */
.film-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' seed='2'/%3E%3C/filter%3E%3Crect width='200' height='200' fill='%23000' opacity='0.05' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 8s steps(10) infinite;
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.balloon {
    position: absolute;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: floatBalloon linear infinite;
    opacity: 0.6;
}

.balloon::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
}

.sparkle {
    position: absolute;
    background: #d4af37;
    border-radius: 50%;
    animation: sparkleAnim ease-in-out infinite;
}

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    top: -10px;
    animation: confettiDrift linear infinite;
    opacity: 0.7;
}

/* Glow Effects */
.glow-gold {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 
                 0 0 20px rgba(212, 175, 55, 0.3), 
                 0 0 40px rgba(212, 175, 55, 0.1);
}

.glow-pulse {
    animation: glowPulse 3s ease-in-out infinite;
}

/* Animations */
@keyframes grain {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-5px, -10px); }
    20% { transform: translate(-15px, 5px); }
    30% { transform: translate(7px, -25px); }
    40% { transform: translate(-5px, -5px); }
    50% { transform: translate(-15px, 8px); }
    60% { transform: translate(4px, 17px); }
    70% { transform: translate(-5px, -17px); }
    80% { transform: translate(-15px, 6px); }
    90% { transform: translate(5px, 0); }
    100% { transform: translate(0, 0); }
}

@keyframes floatBalloon {
    0% {
        transform: translateY(110vh) translateX(0) rotate(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-10vh) translateX(30px) rotate(15deg);
        opacity: 0;
    }
}

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

@keyframes confettiDrift {
    0% {
        transform: translateY(-10px) translateX(0) rotate(0);
        opacity: 0.7;
    }
    50% {
        transform: translateY(50vh) translateX(40px) rotate(180deg);
        opacity: 0.5;
    }
    100% {
        transform: translateY(105vh) translateX(-20px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.5),
                     0 0 20px rgba(212, 175, 55, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.8),
                     0 0 40px rgba(212, 175, 55, 0.5),
                     0 0 60px rgba(212, 175, 55, 0.2);
    }
}

@keyframes typewriterFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes numberReveal {
    from {
        opacity: 0;
        transform: scale(0.5) rotateY(90deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotateY(0);
    }
}

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

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

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

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-50px) translateX(30px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) translateX(-20px) scale(0);
    }
}

@keyframes flicker {
    0% {
        transform: translateX(-50%) scaleY(1) scaleX(1);
    }
    100% {
        transform: translateX(-50%) scaleY(1.15) scaleX(0.85);
    }
}

@keyframes celebrationReveal {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

@keyframes equalizerMove {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(1.6);
    }
}

/* INTRO SCREEN */
#intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #1a0a2e 0%, #0a0a0a 70%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 1s ease, transform 1s ease;
}

#intro-screen.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.1);
}

.intro-content {
    text-align: center;
    max-width: 700px;
    padding: 40px;
}

.intro-line {
    opacity: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    margin: 25px 0;
    color: #d4af37;
    line-height: 1.5;
}

.intro-line.line1 {
    animation: typewriterFadeIn 1.5s ease-out 0.5s forwards;
}

.intro-line.line2 {
    animation: typewriterFadeIn 1.5s ease-out 2s forwards;
}

.intro-number {
    font-family: 'Great Vibes', cursive;
    font-size: 10rem;
    font-weight: 400;
    margin: 30px 0;
    opacity: 0;
    background: linear-gradient(135deg, #d4af37, #f5d060, #d4af37);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: numberReveal 1.5s ease-out 3.5s forwards, gradientShift 3s ease infinite 3.5s;
}

.intro-message {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    margin: 20px 0 50px 0;
    opacity: 0;
    color: #f5f5f5;
    animation: typewriterFadeIn 1.5s ease-out 4.5s forwards;
}

.intro-button {
    display: inline-block;
    padding: 16px 50px;
    border: 2px solid #d4af37;
    background: transparent;
    color: #d4af37;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    animation: typewriterFadeIn 1.5s ease-out 5.2s forwards;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.intro-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.5s ease;
}

.intro-button:hover::before {
    left: 100%;
}

.intro-button:hover {
    background: #d4af37;
    color: #0a0a0a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* SECTIONS */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

/* HERO */
#hero {
    background: #000;
    color: #fff;
    text-align: center;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
    transition: transform 0.05s linear;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
    will-change: opacity;
    transition: opacity 0.05s linear;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    will-change: transform, opacity;
    transition: transform 0.05s linear, opacity 0.05s linear;
}

.hero-title {
    font-family: 'Great Vibes', cursive;
    font-size: 5rem;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    opacity: 0;
    animation: heroReveal 1.5s ease-out 0.3s forwards;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5), 0 0 60px rgba(212, 175, 55, 0.2);
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
    opacity: 0;
    animation: heroReveal 1.5s ease-out 0.6s forwards;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: #d4af37;
}

.hero-message {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    opacity: 0;
    animation: heroReveal 1.5s ease-out 0.9s forwards;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: #f5f5f5;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: heroReveal 1.5s ease-out 1.5s forwards, bounce 2s ease-in-out 2.5s infinite;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 3;
    color: #d4af37;
}

/* Typography */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #d4af37, #f5d060);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #d4af37;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-left.in-view {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-scale.in-view {
    opacity: 1;
    transform: scale(1);
}

/* BIRTHDAY MESSAGE */
#birthday-message {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a0a2e 50%, #0a0a0a 100%);
    text-align: center;
    flex-direction: column;
    gap: 30px;
    padding: 120px 40px;
}

.message-line {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #f5f5f5;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.message-line:nth-child(1) { transition-delay: 0s; }
.message-line:nth-child(2) { transition-delay: 0.2s; }
.message-line:nth-child(3) { transition-delay: 0.4s; }

.message-line.in-view {
    opacity: 1;
}

/* PHOTO GALLERY */
#photo-gallery {
    background: #000;
    padding: 100px 40px;
    min-height: auto;
}

.gallery-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    letter-spacing: 0.08em;
    margin-bottom: 60px;
    text-transform: uppercase;
    font-weight: 700;
    color: #d4af37;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    border-radius: 8px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item.in-view {
    opacity: 1;
    transform: scale(1);
}

.gallery-item:nth-child(1) { transition-delay: 0s; }
.gallery-item:nth-child(2) { transition-delay: 0.1s; }
.gallery-item:nth-child(3) { transition-delay: 0.2s; }
.gallery-item:nth-child(4) { transition-delay: 0.3s; }
.gallery-item:nth-child(5) { transition-delay: 0.4s; }
.gallery-item:nth-child(6) { transition-delay: 0.5s; }
.gallery-item:nth-child(7) { transition-delay: 0.6s; }
.gallery-item:nth-child(8) { transition-delay: 0.7s; }
.gallery-item:nth-child(9) { transition-delay: 0.8s; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
    filter: saturate(0.9);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: saturate(1.2);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: all 0.3s ease;
    opacity: 0;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: #d4af37;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    z-index: 9000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-caption {
    color: #d4af37;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lightbox-nav {
    display: flex;
    gap: 30px;
    margin-top: 15px;
}

.lightbox-nav button {
    padding: 12px 24px;
    border: 1px solid #d4af37;
    background: transparent;
    color: #d4af37;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
}

.lightbox-nav button:hover {
    background: #d4af37;
    color: #000;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.lightbox-close:hover {
    background: #d4af37;
    color: #000;
    transform: rotate(90deg);
}

/* VIDEO SECTION */
#video-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #0f0f1a 50%, #0a0a0a 100%);
    padding: 100px 40px;
    min-height: auto;
}

.video-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.video-card {
    position: relative;
    aspect-ratio: 16/9;
    cursor: pointer;
    overflow: hidden;
    background: #1a1a1a;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.video-card:nth-child(1) { transition-delay: 0s; }
.video-card:nth-child(2) { transition-delay: 0.15s; }

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.08);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.video-card:hover .video-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.play-button {
    width: 70px;
    height: 70px;
    border: 2px solid #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(212, 175, 55, 0.1);
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 14px solid #d4af37;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    margin-left: 4px;
}

.video-card:hover .play-button {
    transform: scale(1.15);
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.video-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d4af37;
}

.video-duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    padding: 6px 12px;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: #d4af37;
    border-radius: 4px;
}

/* VIDEO MODAL */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 9000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
}

.video-modal video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    padding: 10px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #d4af37;
    color: #000;
    transform: rotate(90deg);
}

/* MOMENTS SECTION */
#moments-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #12081f 50%, #0a0a0a 100%);
    padding: 100px 40px;
    min-height: auto;
}

.moments-container {
    max-width: 1000px;
    margin: 0 auto;
}

.moments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 50px;
}

.moment-card {
    padding: 28px 20px;
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.9), rgba(42, 42, 42, 0.9), rgba(30, 20, 50, 0.8));
    border: 1px solid rgba(212, 175, 55, 0.15);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.moment-card.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.moment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    transition: left 0.6s ease;
}

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

.moment-card:hover {
    border-color: #d4af37;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.moment-number {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 0.75rem;
    color: rgba(212, 175, 55, 0.4);
    letter-spacing: 0.05em;
    font-weight: 600;
}

.moment-text {
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    font-weight: 400;
    line-height: 1.5;
    color: #e0e0e0;
    z-index: 1;
}

/* MESSAGES SECTION */
#messages-section {
    background: #0a0a0a;
    padding: 100px 40px;
    min-height: auto;
}

.messages-container {
    max-width: 900px;
    margin: 0 auto;
}

.message-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(42, 42, 42, 0.9));
    border-left: 3px solid #d4af37;
    padding: 40px 45px;
    margin-bottom: 30px;
    border-radius: 0 12px 12px 0;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-30px);
}

.message-card::after {
    content: '\201C';
    position: absolute;
    top: 10px;
    right: 25px;
    font-family: 'Great Vibes', cursive;
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.1);
    line-height: 1;
}

.message-card.in-view {
    opacity: 1;
    transform: translateX(0);
    animation: slideInLeft 0.8s ease-out forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.message-from {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    color: #d4af37;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 600;
}

.message-text {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.02em;
    color: #d0d0d0;
}

/* THE MOMENT */
#the-moment {
    background: radial-gradient(ellipse at center, #1a0a2e 0%, #000 70%);
    position: relative;
    justify-content: center;
    align-items: center;
}

.moment-content {
    text-align: center;
    z-index: 2;
}

.large-number {
    font-family: 'Great Vibes', cursive;
    font-size: 12rem;
    font-weight: 400;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #d4af37 0%, #f5d060 50%, #d4af37 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite, numberReveal 1.5s ease-out forwards;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
}

.moment-quotes {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Particles */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #d4af37;
    border-radius: 50%;
    animation: floatParticle infinite ease-in-out;
}

/* CAKE SECTION */
#cake-section {
    background: radial-gradient(ellipse at bottom, #1a0a2e 0%, #0a0a0a 70%);
    position: relative;
    min-height: 100vh;
}

.cake-container {
    text-align: center;
    z-index: 2;
}

.cake-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    letter-spacing: 0.05em;
    margin-bottom: 60px;
    color: #d4af37;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.cake {
    width: 220px;
    height: 160px;
    margin: 0 auto 50px;
    position: relative;
}

.cake-base {
    width: 220px;
    height: 80px;
    background: linear-gradient(180deg, #d4af37 0%, #b8941f 100%);
    margin: 0 auto;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3), inset 0 -5px 10px rgba(0, 0, 0, 0.2);
}

.cake-base::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1px;
}

.cake-base::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1px;
}

.cake-frosting {
    width: 240px;
    height: 45px;
    background: linear-gradient(180deg, #e6c547 0%, #d4af37 100%);
    margin: -22px auto 0;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.candles {
    position: absolute;
    width: 100%;
    top: 18px;
    left: 0;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 15px;
}

.candle {
    width: 4px;
    height: 32px;
    background: linear-gradient(180deg, #f5f5f5, #ddd);
    position: relative;
    border-radius: 2px;
}

.flame {
    position: absolute;
    width: 8px;
    height: 14px;
    background: linear-gradient(to top, #ff6b00, #ffa500, #ffdd57);
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50% 50% 50% 0;
    animation: flicker 0.3s infinite alternate;
    box-shadow: 0 0 8px rgba(255, 165, 0, 0.6), 0 0 16px rgba(255, 165, 0, 0.3);
}

.flame.extinguished {
    animation: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cake-button {
    padding: 16px 50px;
    border: 2px solid #d4af37;
    background: transparent;
    color: #d4af37;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 4px;
}

.cake-button:hover {
    background: #d4af37;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.cake-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.celebration-text {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    letter-spacing: 0.05em;
    margin-top: 50px;
    opacity: 0;
    background: linear-gradient(135deg, #d4af37, #f5d060);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.celebration-text.show {
    animation: celebrationReveal 1.2s ease-out forwards;
}

.celebration-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    margin-top: 20px;
    opacity: 0;
    color: #f5f5f5;
}

.celebration-subtext.show {
    animation: typewriterFadeIn 1s ease-out 0.5s forwards;
}

/* ENDING */
#ending {
    background: #000;
    position: relative;
    min-height: 100vh;
}

.ending-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: slowZoom 8s ease-in-out forwards;
}

.ending-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
}

.ending-content {
    position: relative;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.ending-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    margin: 15px 0;
    opacity: 0;
    max-width: 600px;
    color: #f0f0f0;
}

.ending-text:nth-child(1) { animation: typewriterFadeIn 1.2s ease-out 0.5s forwards; }
.ending-text:nth-child(2) { animation: typewriterFadeIn 1.2s ease-out 1s forwards; }
.ending-text:nth-child(3) { animation: typewriterFadeIn 1.2s ease-out 1.5s forwards; }
.ending-text:nth-child(4) { animation: typewriterFadeIn 1.2s ease-out 2s forwards; }
.ending-text:nth-child(5) { animation: typewriterFadeIn 1.2s ease-out 2.5s forwards; }

.ending-final {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    letter-spacing: 0.05em;
    margin-top: 50px;
    opacity: 0;
    background: linear-gradient(135deg, #d4af37, #f5d060);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: celebrationReveal 1.5s ease-out 3s forwards;
}

.ending-footer {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.08em;
    margin-top: 30px;
    opacity: 0;
    animation: typewriterFadeIn 1s ease-out 3.5s forwards;
    color: #d4af37;
}

/* MUSIC PLAYER */
.music-player {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(10, 10, 10, 0.85);
    padding: 12px 22px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    opacity: 0;
    animation: typewriterFadeIn 1s ease-out 2s forwards;
    transition: all 0.3s ease;
}

.music-player:hover {
    border-color: #d4af37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.music-button {
    background: transparent;
    border: none;
    color: #d4af37;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.music-button:hover {
    transform: scale(1.15);
}

.equalizer {
    display: flex;
    gap: 3px;
    align-items: flex-end;
    height: 20px;
}

.equalizer-bar {
    width: 3px;
    background: #d4af37;
    border-radius: 2px;
    animation: equalizerMove 0.5s ease-in-out infinite;
}

.equalizer-bar:nth-child(1) {
    animation-delay: 0s;
    height: 60%;
}

.equalizer-bar:nth-child(2) {
    animation-delay: 0.1s;
    height: 80%;
}

.equalizer-bar:nth-child(3) {
    animation-delay: 0.2s;
    height: 100%;
}

.equalizer-bar:nth-child(4) {
    animation-delay: 0.1s;
    height: 80%;
}

.music-player.playing .equalizer {
    opacity: 1;
}

.music-player .equalizer {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

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

    .hero-message {
        font-size: 1rem;
    }

    .message-line {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .large-number {
        font-size: 6rem;
    }

    .moment-quotes {
        font-size: 1.2rem;
    }

    .ending-text {
        font-size: 1.2rem;
    }

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

    .intro-number {
        font-size: 6rem;
    }

    .intro-line {
        font-size: 1.3rem;
    }

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

    .celebration-text {
        font-size: 2rem;
    }

    .music-player {
        bottom: 20px;
        right: 20px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
    }
}

/* POEM TEXT */
.poem-text {
    line-height: 2;
    white-space: pre-line;
}

.poem-line {
    margin: 4px 0;
    font-style: italic;
}

/* INTRO RAIN */
.intro-rain img {
    transition: none;
}

/* ENHANCED MOMENT CARDS */
.moment-emoji {
    font-size: 2rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.4));
}

.moment-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.moment-card:hover .moment-shine {
    left: 150%;
}

.moment-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.9), rgba(42, 42, 42, 0.9), rgba(30, 20, 50, 0.8));
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.moment-card.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ENHANCED CAKE */
.cake-top-tier {
    width: 180px;
    height: 60px;
    background: linear-gradient(135deg, #e8c84a 0%, #d4af37 50%, #c9a227 100%);
    margin: 0 auto;
    border-radius: 10px 10px 0 0;
    position: relative;
    box-shadow: 0 -5px 15px rgba(212, 175, 55, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.cake-decorations {
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    font-size: 0.7rem;
    z-index: 2;
}

.cake-star {
    animation: twinkle 2s ease-in-out infinite;
}

.cake-star:nth-child(odd) { animation-delay: 0.5s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.5; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.candle-stripe {
    width: 100%;
    height: 100%;
    border-radius: 2px;
}

.cake-plate {
    width: 260px;
    height: 12px;
    background: linear-gradient(180deg, #e0e0e0 0%, #bbb 50%, #999 100%);
    margin: 0 auto;
    border-radius: 0 0 50% 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }

    .moments-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   IMPROVEMENT 1: SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f5d060, #d4af37);
    background-size: 200% 100%;
    z-index: 99999;
    transition: width 0.1s linear;
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

/* ============================================================
   IMPROVEMENT 2: SIDE-DOT NAVIGATION
   ============================================================ */
#side-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    animation: typewriterFadeIn 1s ease-out 1.5s forwards;
}

.side-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid rgba(212, 175, 55, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.side-nav-dot::after {
    content: attr(data-label);
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d4af37;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(-50%) translateX(4px);
}

.side-nav-dot:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.side-nav-dot:hover,
.side-nav-dot.active {
    background: #d4af37;
    border-color: #d4af37;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.side-nav-dot.active {
    width: 10px;
    height: 10px;
}

@media (max-width: 768px) {
    #side-nav {
        display: none;
    }
}

/* ============================================================
   IMPROVEMENT 3: INTRO SKIP BUTTON + BREATHING RING
   ============================================================ */
.intro-skip {
    position: absolute;
    top: 24px;
    right: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.5);
    cursor: pointer;
    border: none;
    background: transparent;
    transition: color 0.3s ease;
    opacity: 0;
    animation: typewriterFadeIn 0.8s ease-out 2s forwards;
    z-index: 10;
}

.intro-skip:hover {
    color: #d4af37;
}

.intro-button-wrap {
    position: relative;
    display: inline-block;
}

.intro-button-wrap::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 8px;
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    animation: breatheRing 2.5s ease-in-out infinite 5.5s;
    opacity: 0;
    pointer-events: none;
}

.intro-button-wrap::after {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    animation: breatheRing 2.5s ease-in-out 0.4s infinite 5.5s;
    opacity: 0;
    pointer-events: none;
}

@keyframes breatheRing {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50%       { transform: scale(1.04); opacity: 0; }
}

/* ============================================================
   IMPROVEMENT 4: HERO LETTER-BY-LETTER NAME
   ============================================================ */
.hero-subtitle-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: letterDrop 0.5s ease-out forwards;
}

@keyframes letterDrop {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   IMPROVEMENT 5: TYPEWRITER EFFECT (message section)
   ============================================================ */
.typewriter-line {
    overflow: hidden;
    white-space: pre-wrap;
    border-right: none;
}

.typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #d4af37;
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: cursorBlink 0.8s step-end infinite;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ============================================================
   IMPROVEMENT 6: MOMENT CARD FLIP
   ============================================================ */
.moment-card {
    perspective: 800px;
}

.moment-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 160px;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.moment-card:hover .moment-card-inner {
    transform: rotateY(180deg);
}

.moment-card-front,
.moment-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 12px;
}

.moment-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.moment-card-back-text {
    font-family: 'Great Vibes', cursive;
    font-size: 1.6rem;
    color: #d4af37;
    text-align: center;
    line-height: 1.4;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

/* ============================================================
   IMPROVEMENT 7: MASONRY GALLERY
   ============================================================ */
.gallery-container {
    grid-template-rows: auto;
}

/* Featured items that span 2 rows for visual weight */
.gallery-item.gallery-featured {
    grid-row: span 2;
}

/* ============================================================
   IMPROVEMENT 8: MUSIC PLAYER UPGRADE
   ============================================================ */
.music-player {
    flex-direction: column;
    gap: 8px;
    padding: 14px 18px;
    border-radius: 16px;
    min-width: 200px;
    align-items: stretch;
}

.music-player-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.music-track-info {
    flex: 1;
    overflow: hidden;
}

.music-track-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #f5f5f5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-track-artist {
    font-family: 'Inter', sans-serif;
    font-size: 0.64rem;
    letter-spacing: 0.04em;
    color: rgba(212, 175, 55, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.music-progress-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.music-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.music-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #f5d060);
    border-radius: 2px;
    width: 0%;
    transition: width 0.5s linear;
}

.music-time {
    font-size: 0.6rem;
    color: rgba(212, 175, 55, 0.5);
    letter-spacing: 0.03em;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

/* ============================================================
   IMPROVEMENT 9: LIGHTBOX SWIPE HINT
   ============================================================ */
.lightbox-swipe-hint {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: rgba(212, 175, 55, 0.35);
    text-transform: uppercase;
    display: none;
}

@media (hover: none) {
    .lightbox-swipe-hint {
        display: block;
    }
}

/* ============================================================
   IMPROVEMENT 10: MOBILE RESPONSIVENESS FIXES
   ============================================================ */
@media (max-width: 1024px) and (min-width: 769px) {
    .gallery-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .gallery-item.gallery-featured {
        grid-row: span 1;
    }

    /* Bigger touch targets for lightbox */
    .lightbox-nav button {
        padding: 16px 30px;
        font-size: 0.9rem;
        min-width: 100px;
    }

    .lightbox-close {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }

    /* Music player compact on mobile */
    .music-player {
        min-width: 160px;
        padding: 10px 14px;
    }

    .music-track-name,
    .music-track-artist {
        max-width: 100px;
    }

    /* Moments grid 2-col on tablet */
    .moments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .moments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .moment-card {
        min-height: 130px;
    }

    .section {
        padding: 60px 20px;
    }

    #birthday-message {
        padding: 80px 20px;
    }

    .message-card {
        padding: 28px 24px;
    }
}