/* ===== ROOT VARIABLES ===== */
:root {
    --primary-dark: #1a1a2e;
    --secondary-dark: #16213e;
    --gold: #d4af37;
    --rose-gold: #b76e79;
    --light-gold: #f4e5c3;
    --white: #ffffff;
    --text-light: #f0f0f0;
    --text-gray: #b0b0b0;
    --shadow: rgba(0, 0, 0, 0.3);
}

/* ===== GENERAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ===== PARTICLES BACKGROUND ===== */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 10px var(--gold);
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-20px) translateX(10px) rotate(90deg); }
    50% { transform: translateY(-10px) translateX(-10px) rotate(180deg); }
    75% { transform: translateY(-30px) translateX(5px) rotate(270deg); }
}

/* ===== MUSIC PLAYER ===== */
.music-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px var(--shadow);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.music-btn {
    background: linear-gradient(135deg, var(--gold), var(--rose-gold));
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}

.music-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    border-radius: 5px;
    -webkit-appearance: none;
    appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--gold);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--gold);
    cursor: pointer;
    border-radius: 50%;
    border: none;
}

/* ===== CONTAINER ===== */
.container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px;
}

/* ===== TYPOGRAPHY ===== */
.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 4em;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, var(--gold), var(--rose-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    text-align: center;
    color: var(--light-gold);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 15px auto 0;
}

.decorative-line {
    width: 150px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 0 auto 60px;
}

/* ===== SECTIONS ===== */
section {
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-section {
    text-align: center;
    padding: 40px 0;
}

/* ===== COUNTDOWN SECTION ===== */
.countdown-section {
    text-align: center;
}

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

.countdown-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 30px 40px;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px var(--shadow);
}

.countdown-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

.countdown-value {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 10px;
}

.countdown-label {
    font-size: 1em;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    text-align: center;
}

.gallery-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.gallery-slider {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
    border: 3px solid rgba(212, 175, 55, 0.3);
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-item {
    min-width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2em;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: -25px;
}

.gallery-nav.next {
    right: -25px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: var(--gold);
    width: 30px;
    border-radius: 6px;
}

/* ===== PHOTO ALBUM SECTION ===== */
.photo-album-section {
    text-align: center;
    margin-bottom: 80px;
}

.album-subtitle {
    font-size: 1.1em;
    color: var(--text-gray);
    margin-bottom: 40px;
    font-weight: 300;
    font-style: italic;
}

/* Filter Buttons */
.album-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.filter-btn:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--gold), var(--rose-gold));
    border-color: var(--gold);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* Masonry Grid Layout */
.photo-grid.masonry {
    column-count: 3;
    column-gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.photo-card {
    break-inside: avoid;
    margin-bottom: 25px;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
    width: 100%;
}

.photo-card.hidden {
    opacity: 0;
    transform: scale(0.9);
    height: 0;
    margin: 0;
    overflow: hidden;
}

/* Photo Frame with Ornate Corners */
.photo-frame {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border: 3px solid rgba(212, 175, 55, 0.4);
    transition: all 0.4s ease;
    cursor: pointer;
}

.photo-frame:hover {
    transform: scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.photo-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: all 0.4s ease;
}

.photo-frame:hover img {
    transform: scale(1.05);
}

/* Decorative Frame Corners */
.frame-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 2;
    pointer-events: none;
}

.frame-corner.tl {
    top: 5px;
    left: 5px;
    border-top: 3px solid var(--gold);
    border-left: 3px solid var(--gold);
    border-top-left-radius: 10px;
}

.frame-corner.tr {
    top: 5px;
    right: 5px;
    border-top: 3px solid var(--gold);
    border-right: 3px solid var(--gold);
    border-top-right-radius: 10px;
}

.frame-corner.bl {
    bottom: 5px;
    left: 5px;
    border-bottom: 3px solid var(--gold);
    border-left: 3px solid var(--gold);
    border-bottom-left-radius: 10px;
}

.frame-corner.br {
    bottom: 5px;
    right: 5px;
    border-bottom: 3px solid var(--gold);
    border-right: 3px solid var(--gold);
    border-bottom-right-radius: 10px;
}

.photo-frame:hover .frame-corner {
    border-color: var(--light-gold);
}

/* Photo Overlay */
.photo-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    border-radius: 0 0 8px 8px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    opacity: 0;
}

.photo-frame:hover .photo-overlay {
    transform: translateY(0);
    opacity: 1;
}

.photo-caption {
    text-align: left;
}

.photo-caption h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3em;
    color: var(--gold);
    margin-bottom: 5px;
}

.photo-caption p {
    font-size: 0.9em;
    color: var(--text-light);
    margin: 0;
}

.photo-zoom {
    position: absolute;
    top: -45px;
    right: 20px;
    background: rgba(212, 175, 55, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.3em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.photo-frame:hover .photo-zoom {
    opacity: 1;
    top: -50px;
}

.photo-zoom:hover {
    background: var(--gold);
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
}

/* ===== LIGHTBOX MODAL ===== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

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

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(212, 175, 55, 0.3);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 3em;
    color: var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    font-weight: 300;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--light-gold);
    transform: rotate(90deg) scale(1.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.8);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2.5em;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

.lightbox-nav:hover {
    background: var(--gold);
    transform: translateY(-50%) scale(1.15);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--light-gold);
    font-size: 1.2em;
    max-width: 80%;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

/* ===== BIRTHDAY SURPRISE MODAL ===== */
.birthday-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,26,46,0.98), rgba(22,33,62,0.98));
    backdrop-filter: blur(15px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
}

.birthday-modal.active {
    display: flex;
}

.birthday-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--gold);
    font-size: 3em;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    line-height: 1;
}

.birthday-close:hover {
    color: var(--rose-gold);
    transform: rotate(90deg) scale(1.2);
}

/* Progress Bar Container */
.birthday-progress-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.birthday-progress-container.hidden {
    opacity: 0;
    transform: translate(-50%, -60%);
    pointer-events: none;
}

.progress-bar-outer {
    width: 500px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--rose-gold));
    border-radius: 10px;
    transition: width 0.1s linear;
    box-shadow: 0 0 20px var(--gold);
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
    animation: shimmer 1s infinite;
}

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

.progress-percentage {
    margin-top: 20px;
    font-size: 2em;
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Circular Photo Layout */
.birthday-photos-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    pointer-events: none;
}

.circle-photo {
    position: absolute;
    width: 120px;
    height: 160px;
    border: 4px solid var(--gold);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    pointer-events: auto;
    background: var(--secondary-dark);
}

.circle-photo.revealed {
    opacity: 1;
    transform: scale(1);
}

.circle-photo:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
    z-index: 10;
}

.circle-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Birthday Message Card */
.birthday-message-card {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid var(--gold);
    border-radius: 25px;
    padding: 40px 50px;
    max-width: 700px;
    text-align: center;
    opacity: 0;
    transform: translateX(-50%) translateY(30px);
    transition: all 0.8s ease;
    pointer-events: none;
}

.birthday-message-card.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.birthday-message-card h2 {
    font-size: 2.5em;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, var(--gold), var(--rose-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.wish-text {
    font-size: 1.2em;
    font-style: italic;
    color: var(--light-gold);
    margin-bottom: 15px;
    line-height: 1.6;
}

.prayer-text {
    font-size: 1.1em;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.view-album-btn {
    background: linear-gradient(135deg, var(--gold), var(--rose-gold));
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.view-album-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}

/* ===== MESSAGE CAROUSEL ===== */
.messages-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.message-carousel {
    position: relative;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.message-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.message-text {
    font-size: 1.4em;
    line-height: 1.8;
    color: var(--light-gold);
    font-weight: 300;
    font-style: italic;
    padding: 0 30px;
}

.message-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.message-nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.message-nav-btn.active {
    background: var(--gold);
    width: 35px;
    border-radius: 6px;
}

/* ===== CAKE SECTION ===== */
.cake-section {
    text-align: center;
}

.cake-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.cake {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.cake-tier {
    border-radius: 10px 10px 0 0;
    position: relative;
    box-shadow: 0 5px 15px var(--shadow);
}

.cake-tier-1 {
    width: 300px;
    height: 80px;
    background: linear-gradient(135deg, #8b6f47, #a0826d);
    border-bottom: 5px solid var(--gold);
}

.cake-tier-2 {
    width: 240px;
    height: 70px;
    background: linear-gradient(135deg, #9d7f58, #b8997a);
    border-bottom: 5px solid var(--gold);
}

.cake-tier-3 {
    width: 180px;
    height: 60px;
    background: linear-gradient(135deg, #b89968, #d4af84);
    border-bottom: 5px solid var(--gold);
    border-radius: 10px 10px 0 0;
}

.candles {
    position: absolute;
    top: -50px;
    display: flex;
    gap: 20px;
}

.candle {
    position: relative;
    width: 12px;
    height: 60px;
    background: linear-gradient(to bottom, var(--light-gold), var(--gold));
    border-radius: 3px 3px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.candle:hover {
    transform: scale(1.1);
}

.candle.blown-out .flame {
    opacity: 0;
    transform: scale(0);
}

.flame {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 25px;
    background: radial-gradient(circle, #ffcc00, #ff6600);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flicker 0.5s ease-in-out infinite alternate;
    box-shadow: 0 0 20px #ff6600, 0 0 30px #ffcc00;
    transition: all 0.3s ease;
}

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

.cake-hint {
    font-size: 1em;
    color: var(--text-gray);
    font-style: italic;
}

/* Unlit candle state - before countdown reaches zero */
.flame.unlit {
    opacity: 0;
    transform: translateX(-50%) scale(0);
    animation: none;
    box-shadow: none;
}

/* Lighting animation - magical glow effect */
.flame.lighting {
    animation: candleLighting 1s ease-out forwards, flicker 0.5s ease-in-out infinite alternate 1s;
}

@keyframes candleLighting {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0);
        box-shadow: none;
    }
    50% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1.3);
        box-shadow: 0 0 30px #ff6600, 0 0 40px #ffcc00, 0 0 50px #ffd700;
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 20px #ff6600, 0 0 30px #ffcc00;
    }
}

/* Sparkle effect when lighting */
.candle.sparkling::before {
    content: '✨';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5em;
    animation: sparkle 0.8s ease-out forwards;
    pointer-events: none;
}

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

/* Cake container positioning in countdown section */
.countdown-section .cake-container {
    margin-bottom: 40px;
}

/* ===== SURPRISE SECTION ===== */
.surprise-section {
    text-align: center;
}

.surprise-btn {
    background: linear-gradient(135deg, var(--gold), var(--rose-gold));
    color: var(--white);
    border: none;
    padding: 20px 50px;
    font-size: 1.3em;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.surprise-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
}

.surprise-btn:disabled {
    background: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
    transform: none;
}

.surprise-message {
    margin-top: 40px;
}

.surprise-message h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    color: var(--gold);
    margin-bottom: 15px;
}

.surprise-message p {
    font-size: 1.3em;
    color: var(--light-gold);
}

/* ===== UTILITIES ===== */
.hidden {
    display: none;
    opacity: 0;
}

.show {
    display: block;
    animation: fadeIn 1s forwards;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CONFETTI (from original) ===== */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    z-index: 9999;
    pointer-events: none;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5em;
    }

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

    .countdown-container {
        gap: 15px;
    }

    .countdown-card {
        padding: 20px 25px;
        min-width: 100px;
    }

    .countdown-value {
        font-size: 2.5em;
    }

    .gallery-item {
        height: 350px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }

    .gallery-nav.prev {
        left: -20px;
    }

    .gallery-nav.next {
        right: -20px;
    }

    .message-text {
        font-size: 1.1em;
        padding: 0 15px;
    }

    .cake-tier-1 {
        width: 240px;
        height: 70px;
    }

    .cake-tier-2 {
        width: 190px;
        height: 60px;
    }

    .cake-tier-3 {
        width: 140px;
        height: 50px;
    }

    .candles {
        top: -45px;
        gap: 15px;
    }

    .candle {
        width: 10px;
        height: 50px;
    }

    .music-player {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px;
        gap: 10px;
    }

    .music-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .volume-slider {
        width: 60px;
    }

    .surprise-btn {
        padding: 15px 35px;
        font-size: 1.1em;
    }

    /* Photo Album Responsive */
    .photo-grid.masonry {
        column-count: 2;
        column-gap: 15px;
        padding: 0 15px;
    }

    .album-filters {
        gap: 10px;
        padding: 0 15px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .photo-caption h3 {
        font-size: 1.1em;
    }

    .photo-caption p {
        font-size: 0.85em;
    }

    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 2.5em;
    }

    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 2em;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-caption {
        font-size: 1em;
        padding: 12px 20px;
        max-width: 90%;
    }

    /* Birthday Modal Responsive */
    .birthday-close {
        top: 20px;
        right: 25px;
        font-size: 2.5em;
    }

    .birthday-photos-circle {
        width: 400px;
        height: 400px;
    }

    .circle-photo {
        width: 80px;
        height: 110px;
    }

    .progress-bar-outer {
        width: 350px;
    }

    .progress-percentage {
        font-size: 1.6em;
    }

    .birthday-message-card {
        max-width: 90%;
        padding: 30px 35px;
        bottom: 40px;
    }

    .birthday-message-card h2 {
        font-size: 2em;
    }

    .wish-text {
        font-size: 1em;
    }

    .prayer-text {
        font-size: 0.95em;
    }

    .view-album-btn {
        padding: 12px 30px;
        font-size: 1em;
    }
}

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

    .main-title {
        font-size: 2em;
    }

    .section-title {
        font-size: 1.5em;
    }

    .countdown-container {
        gap: 10px;
    }

    .countdown-card {
        padding: 15px 20px;
        min-width: 80px;
    }

    .countdown-value {
        font-size: 2em;
    }

    .countdown-label {
        font-size: 0.8em;
    }

    .gallery-item {
        height: 280px;
    }

    .message-text {
        font-size: 1em;
    }

    section {
        margin-bottom: 60px;
    }

    /* Photo Album Mobile */
    .photo-grid.masonry {
        column-count: 1;
        column-gap: 0;
    }

    .photo-card {
        margin-bottom: 20px;
    }

    .album-subtitle {
        font-size: 1em;
        padding: 0 15px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85em;
    }

    .frame-corner {
        width: 30px;
        height: 30px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 80vh;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 2em;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.8em;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-caption {
        font-size: 0.9em;
        padding: 10px 15px;
        bottom: 20px;
    }

    /* Birthday Modal Mobile */
    .birthday-close {
        top: 15px;
        right: 15px;
        font-size: 2em;
    }

    .birthday-photos-circle {
        width: 300px;
        height: 300px;
    }

    .circle-photo {
        width: 60px;
        height: 90px;
        border-width: 3px;
    }

    .progress-bar-outer {
        width: 280px;
        height: 6px;
    }

    .progress-percentage {
        font-size: 1.4em;
        margin-top: 15px;
    }

    .birthday-message-card {
        max-width: 90%;
        padding: 25px 20px;
        bottom: 30px;
    }

    .birthday-message-card h2 {
        font-size: 1.6em;
    }

    .wish-text {
        font-size: 0.95em;
    }

    .prayer-text {
        font-size: 0.9em;
    }

    .view-album-btn {
        padding: 10px 25px;
        font-size: 0.95em;
    }
}

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

/* Bentuk dasar confetti */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    z-index: 1;
}