* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #ffafcc, #ffc2d1, #ffb3c6);
    min-height: 100vh;
    overflow-x: hidden;
    color: #5a1a2e;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Background Pink dengan Love */
.pink-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #ffafcc 0%, #ffc2d1 50%, #ffb3c6 100%);
}

/* Floating Hearts */
.floating-heart {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #ff6b9d;
    transform: rotate(45deg);
    animation: floatHeart 20s infinite linear;
    opacity: 0.6;
}

.floating-heart:before,
.floating-heart:after {
    content: '';
    width: 40px;
    height: 40px;
    background: #ff6b9d;
    border-radius: 50%;
    position: absolute;
}

.floating-heart:before {
    top: -20px;
    left: 0;
}

.floating-heart:after {
    top: 0;
    left: -20px;
}

/* Love besar */
.big-heart {
    width: 80px;
    height: 80px;
    background: rgba(255, 107, 157, 0.4);
}

.big-heart:before,
.big-heart:after {
    width: 80px;
    height: 80px;
    background: rgba(255, 107, 157, 0.4);
}

.big-heart:before {
    top: -40px;
}

.big-heart:after {
    left: -40px;
}

@keyframes floatHeart {
    0% {
        transform: rotate(45deg) translateY(0) translateX(0) rotate(0);
        opacity: 0.6;
    }
    100% {
        transform: rotate(45deg) translateY(-1000px) translateX(200px) rotate(360deg);
        opacity: 0;
    }
}

/* Posisi heart acak */
.floating-heart:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 25s; }
.floating-heart:nth-child(2) { left: 90%; animation-delay: 5s; animation-duration: 22s; width: 60px; height: 60px; background: #ff8fab; }
.floating-heart:nth-child(3) { left: 20%; animation-delay: 2s; animation-duration: 30s; background: #ffc2d1; }
.floating-heart:nth-child(4) { left: 40%; animation-delay: 8s; animation-duration: 28s; width: 30px; height: 30px; }
.floating-heart:nth-child(5) { left: 60%; animation-delay: 3s; animation-duration: 24s; background: #ff8fab; }
.floating-heart:nth-child(6) { left: 30%; animation-delay: 6s; animation-duration: 26s; width: 50px; height: 50px; }
.floating-heart:nth-child(7) { left: 70%; animation-delay: 4s; animation-duration: 29s; background: #ffc2d1; }
.floating-heart:nth-child(8) { left: 50%; animation-delay: 7s; animation-duration: 23s; width: 35px; height: 35px; }
.floating-heart:nth-child(9) { left: 80%; animation-delay: 1s; animation-duration: 27s; background: #ff6b9d; }
.floating-heart:nth-child(10) { left: 15%; animation-delay: 9s; animation-duration: 21s; }

/* Bubbles */
.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: floatBubble 15s infinite linear;
}

.bubble:nth-child(11) { width: 30px; height: 30px; left: 15%; top: 100%; animation-delay: 0s; }
.bubble:nth-child(12) { width: 20px; height: 20px; left: 35%; top: 100%; animation-delay: 3s; }
.bubble:nth-child(13) { width: 40px; height: 40px; left: 55%; top: 100%; animation-delay: 6s; }
.bubble:nth-child(14) { width: 25px; height: 25px; left: 75%; top: 100%; animation-delay: 9s; }
.bubble:nth-child(15) { width: 35px; height: 35px; left: 90%; top: 100%; animation-delay: 12s; }

@keyframes floatBubble {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    100% {
        transform: translateY(-1000px) scale(1.5);
        opacity: 0;
    }
}

/* Sparkles */
.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite alternate;
    box-shadow: 0 0 10px white;
}

.sparkle:nth-child(16) { top: 20%; left: 25%; animation-delay: 0s; }
.sparkle:nth-child(17) { top: 60%; left: 65%; animation-delay: 1s; }
.sparkle:nth-child(18) { top: 40%; left: 85%; animation-delay: 2s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* Kontainer Utama */
.container {
    max-width: 1200px;
    width: 100%;
    z-index: 1;
    padding: 20px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(255, 107, 157, 0.3);
    backdrop-filter: blur(5px);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.cake-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.cake {
    position: relative;
    width: 60px;
    height: 80px;
}

.layer {
    position: absolute;
    background: #ff8fab;
    border-radius: 10px;
}

.layer-bottom {
    width: 60px;
    height: 30px;
    bottom: 0;
    background: #ff6b9d;
}

.layer-middle {
    width: 50px;
    height: 25px;
    bottom: 30px;
    left: 5px;
    background: #ff8fab;
}

.layer-top {
    width: 40px;
    height: 20px;
    bottom: 55px;
    left: 10px;
    background: #ffc2d1;
}

.candle {
    position: absolute;
    width: 5px;
    height: 25px;
    background: #ffd166;
    border-radius: 2px;
    bottom: 80px;
}

.candle:nth-child(4) { left: 15px; }
.candle:nth-child(5) { left: 30px; }
.candle:nth-child(6) { left: 45px; }

.candle:before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ff9e00;
    border-radius: 50%;
    top: -8px;
    left: -2.5px;
    animation: flicker 0.8s infinite alternate;
}

.title {
    font-family: 'Fredoka One', cursive;
    font-size: 48px;
    color: #ff6b9d;
    margin-bottom: 10px;
    text-shadow: 3px 3px 0 #ffe4ec;
}

.heart-emoji {
    animation: heartbeat 1.5s infinite;
    display: inline-block;
}

.subtitle {
    font-size: 20px;
    color: #ff8fab;
    font-weight: 600;
    margin-bottom: 15px;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes flicker {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Bagian Informasi Tanggal dan Umur */
.birthday-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 250px;
    box-shadow: 0 10px 25px rgba(255, 107, 157, 0.2);
    border: 2px solid #ffc2d1;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 32px;
    color: white;
}

.info-content h3 {
    color: #ff6b9d;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-content p {
    color: #5a1a2e;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Comic Neue', cursive;
}

.birth-date, .birth-age, .zodiac {
    color: #ff6b9d !important;
}

.special-name {
    color: #ff6b9d;
    font-weight: 700;
    text-decoration: underline;
}

/* Countdown Timer */
.birthday-countdown {
    margin: 30px 0;
    text-align: center;
}

.birthday-countdown h3 {
    color: #ff6b9d;
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.countdown-item {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    border-radius: 15px;
    padding: 20px;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(255, 107, 157, 0.3);
    border: 3px solid white;
}

.countdown-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: white;
    font-family: 'Fredoka One', cursive;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.countdown-label {
    display: block;
    font-size: 16px;
    color: white;
    font-weight: 600;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.birthday-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 28px;
    color: #ff6b9d;
    margin-top: 20px;
}

.birthday-icons i {
    animation: bounce 2s infinite alternate;
}

.birthday-icons i:nth-child(2) { animation-delay: 0.2s; color: #ff8fab; }
.birthday-icons i:nth-child(3) { animation-delay: 0.4s; color: #ffc2d1; }
.birthday-icons i:nth-child(4) { animation-delay: 0.6s; color: #ff6b9d; }
.birthday-icons i:nth-child(5) { animation-delay: 0.8s; color: #ff8fab; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Amplop Interaktif */
.envelope-section {
    margin: 40px 0;
    text-align: center;
}

.envelope-section h2 {
    color: #ff6b9d;
    font-size: 34px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: 'Fredoka One', cursive;
}

.instruction {
    color: #ff8fab;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 500;
}

.envelope-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.envelope {
    position: relative;
    width: 360px;
    height: 250px;
    cursor: pointer;
    transition: transform 0.5s;
}

.envelope:hover {
    transform: translateY(-10px);
}

.envelope-front {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #ffc2d1;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(255, 107, 157, 0.4);
    z-index: 3;
    overflow: hidden;
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 180px solid transparent;
    border-right: 180px solid transparent;
    border-top: 140px solid #ff8fab;
    border-radius: 20px 20px 0 0;
    transform-origin: top;
    transition: transform 0.8s;
}

.envelope.open .envelope-flap {
    transform: rotateX(180deg);
}

.envelope-body {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 160px;
    background: #ffc2d1;
    border-radius: 0 0 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.heart-seal {
    width: 80px;
    height: 80px;
    background: #ff6b9d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 5px solid white;
    animation: pulse 2s infinite;
}

.heart-seal i {
    font-size: 36px;
    color: white;
}

.address {
    text-align: center;
    color: #5a1a2e;
}

.address p {
    font-size: 16px;
    margin-bottom: 5px;
    color: #ff6b9d;
}

.address h3 {
    font-size: 26px;
    color: #5a1a2e;
    font-family: 'Comic Neue', cursive;
    font-weight: 700;
}

.envelope-date {
    font-size: 14px;
    color: #ff8fab;
    margin-top: 5px;
    font-style: italic;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.letter {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    height: 280px;
    background: linear-gradient(to bottom, #fff9fb, #fff0f5);
    border-radius: 20px;
    z-index: 2;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: none;
    overflow-y: auto;
    border: 3px solid #ffc2d1;
}

.envelope.open .letter {
    display: block;
    animation: slideUpLetter 0.8s forwards;
}

@keyframes slideUpLetter {
    0% {
        top: 0;
        opacity: 0;
    }
    100% {
        top: -240px;
        opacity: 1;
    }
}

.letter-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px dotted #ff8fab;
}

.letter-header h3 {
    font-family: 'Pacifico', cursive;
    color: #ff6b9d;
    font-size: 30px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.date, .age {
    color: #ff8fab;
    font-style: italic;
    font-weight: 600;
    margin: 5px 0;
}

.letter-body {
    line-height: 1.7;
    font-size: 16px;
}

.letter-body p {
    margin-bottom: 12px;
    text-align: justify;
}

.name-highlight, .age-highlight, .date-highlight {
    color: #ff6b9d;
    font-weight: 700;
    font-family: 'Fredoka One', cursive;
}

.blessing {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 194, 209, 0.3);
    border-radius: 15px;
    border: 2px dashed #ff8fab;
}

.blessing p {
    font-weight: 600;
    color: #ff6b9d;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.closing {
    margin-top: 25px;
    text-align: right;
}

.signature {
    font-family: 'Pacifico', cursive;
    font-size: 24px;
    color: #ff6b9d;
    margin-top: 5px;
}

/* ... (kode CSS sebelumnya tetap sama sampai gallery section) ... */

/* Gallery Foto 5 Berjejer */
.gallery-section {
    margin: 60px 0;
    text-align: center;
}

.gallery-section h2 {
    color: #ff6b9d;
    font-size: 34px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: 'Fredoka One', cursive;
}

.gallery-container {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 30px;
    background: linear-gradient(135deg, #fff9fb, #fff0f5);
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.2);
    border: 3px solid #ffc2d1;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.photo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 107, 157, 0.3);
}

.photo-frame {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.grid-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.photo-item:hover .grid-photo {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(255, 107, 157, 0.9), transparent);
    color: white;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-number {
    width: 30px;
    height: 30px;
    background: white;
    color: #ff6b9d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    font-family: 'Fredoka One', cursive;
}

.photo-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    text-align: right;
    font-family: 'Comic Neue', cursive;
}

.photo-info p {
    font-size: 12px;
    opacity: 0.9;
    text-align: right;
}

/* Gallery Stats */
.gallery-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 2px solid #ffc2d1;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    border-radius: 12px;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 24px;
    color: #ff6b9d;
}

.stat-content h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 5px;
    font-family: 'Fredoka One', cursive;
}

.stat-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

/* Modal untuk foto fullscreen */
.photo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.photo-modal.active {
    display: flex;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s;
    background: #ff6b9d;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-modal:hover {
    background: #ff8fab;
    transform: scale(1.1);
}

.modal-photo {
    width: auto;
    height: auto;
    max-width: 80vw;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(255, 107, 157, 0.5);
    border: 5px solid white;
}

.modal-info {
    text-align: center;
    color: white;
    padding: 20px;
    font-family: 'Comic Neue', cursive;
    max-width: 600px;
    margin: 0 auto;
}

.modal-info h3 {
    font-size: 28px;
    color: #ff6b9d;
    margin-bottom: 10px;
    font-family: 'Fredoka One', cursive;
}

.modal-info p {
    font-size: 18px;
    margin-bottom: 15px;
}

.modal-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    color: white;
    font-size: 18px;
    font-family: 'Fredoka One', cursive;
}

.modal-nav {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.modal-nav-btn {
    width: 50px;
    height: 50px;
    background: #ff6b9d;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-nav-btn:hover {
    background: #ff8fab;
    transform: scale(1.1);
}

/* ... (kode CSS setelah gallery section tetap sama) ... */

/* Responsif untuk gallery 5 foto */
@media (max-width: 1200px) {
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .photo-frame {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .photo-frame {
        height: 200px;
    }
    
    .gallery-stats {
        gap: 15px;
    }
    
    .stat-item {
        min-width: 150px;
        padding: 12px 20px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .stat-icon i {
        font-size: 20px;
    }
    
    .stat-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .photo-frame {
        height: 250px;
    }
    
    .gallery-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 250px;
    }
    
    .modal-photo {
        max-width: 95vw;
        max-height: 60vh;
    }
    
    .modal-info h3 {
        font-size: 22px;
    }
    
    .modal-info p {
        font-size: 16px;
    }
}

/* Timeline Section */
.timeline-section {
    margin: 60px 0;
    text-align: center;
}

.timeline-section h2 {
    color: #ff6b9d;
    font-size: 34px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: 'Fredoka One', cursive;
}

.timeline {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
    padding: 20px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #ffc2d1;
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    font-family: 'Fredoka One', cursive;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
    border: 5px solid white;
}

.timeline-item.current .timeline-year {
    background: linear-gradient(135deg, #ffd166, #ff9e00);
    animation: pulse 2s infinite;
    width: 120px;
    height: 120px;
    font-size: 28px;
}

.timeline-item.future .timeline-year {
    background: linear-gradient(135deg, #4cc9f0, #118ab2);
}

.timeline-content {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin: 0 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 3px solid #ffc2d1;
    text-align: left;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-content h4 {
    color: #ff6b9d;
    font-size: 22px;
    margin-bottom: 10px;
    font-family: 'Fredoka One', cursive;
}

.timeline-content p {
    color: #5a1a2e;
    font-size: 16px;
    margin-bottom: 15px;
}

.timeline-celebration {
    font-size: 30px;
    margin-top: 10px;
}

.highlight-name {
    color: #ff6b9d;
    font-weight: 700;
}

/* Pesan dan Doa */
.wishes-section {
    margin: 60px 0;
}

.wishes-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9fb, #fff0f5);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.2);
    border: 3px solid #ffc2d1;
}

.wishes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px dotted #ff8fab;
}

.wishes-header h3 {
    color: #ff6b9d;
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fredoka One', cursive;
}

.balloons {
    display: flex;
    gap: 10px;
}

.balloon-small {
    width: 25px;
    height: 30px;
    border-radius: 50%;
    position: relative;
    animation: floatUpDown 3s infinite alternate;
}

.balloon-small:before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 15px;
    background: rgba(255, 255, 255, 0.5);
}

.balloon-small.pink { background: #ff6b9d; animation-delay: 0s; }
.balloon-small.blue { background: #4cc9f0; animation-delay: 0.2s; }
.balloon-small.yellow { background: #ffd166; animation-delay: 0.4s; }

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.wishes-list {
    margin-bottom: 20px;
}

.wish-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-left: 5px solid #ff8fab;
}

.wish-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wish-icon i {
    font-size: 26px;
    color: white;
}

.wish-text h4 {
    color: #ff6b9d;
    margin-bottom: 5px;
    font-size: 20px;
}

.wish-text p {
    color: #5a1a2e;
    font-size: 15px;
}

.wishes-footer {
    text-align: center;
    padding-top: 15px;
    border-top: 2px solid #ffc2d1;
    color: #ff6b9d;
    font-weight: 600;
    font-size: 18px;
}

.pink-heart {
    color: #ff6b9d;
    margin-left: 10px;
    animation: heartbeat 1.5s infinite;
}

/* Kado Interaktif */
.gift-section {
    margin: 60px 0;
    text-align: center;
}

.gift-section h2 {
    color: #ff6b9d;
    font-size: 34px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: 'Fredoka One', cursive;
}

.gift-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 30px;
}

.gift-box {
    perspective: 1000px;
    cursor: pointer;
    position: relative;
}

.gift {
    position: relative;
    width: 220px;
    height: 220px;
    transform-style: preserve-3d;
    transition: transform 1s;
}

.gift-lid {
    position: absolute;
    width: 220px;
    height: 60px;
    background: linear-gradient(to right, #ff6b9d, #ff8fab);
    top: 0;
    left: 0;
    transform-origin: bottom;
    transition: transform 1s;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.gift-body {
    position: absolute;
    width: 220px;
    height: 160px;
    background: linear-gradient(to right, #ff8fab, #ffc2d1);
    top: 60px;
    left: 0;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ribbon-vertical {
    position: absolute;
    width: 30px;
    height: 160px;
    background: #4cc9f0;
    left: 95px;
    top: 60px;
    z-index: 1;
}

.ribbon-horizontal {
    position: absolute;
    width: 220px;
    height: 30px;
    background: #4cc9f0;
    top: 140px;
    left: 0;
    z-index: 1;
}

.bow {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.bow-center {
    width: 40px;
    height: 40px;
    background: #2a9d8f;
    border-radius: 50%;
    position: relative;
    top: -20px;
}

.bow-left, .bow-right {
    position: absolute;
    width: 50px;
    height: 30px;
    background: #2a9d8f;
    border-radius: 50%;
    top: -15px;
}

.bow-left {
    left: -60px;
    transform: rotate(-30deg);
}

.bow-right {
    right: -60px;
    transform: rotate(30deg);
}

.gift-tag {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 70px;
    height: 50px;
    background: #ffd166;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(15deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 3;
    border: 2px solid white;
}

.gift-tag i {
    color: #ff6b9d;
    font-size: 18px;
    margin-bottom: 3px;
}

.gift-tag span {
    font-size: 14px;
    font-weight: bold;
    color: #5a1a2e;
}

.confetti-explosion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
}

.gift-box.open .gift {
    transform: translateY(-30px);
}

.gift-box.open .gift-lid {
    transform: rotateX(-120deg);
}

.gift-box.open .confetti-explosion {
    animation: confettiPop 0.5s forwards;
}

@keyframes confettiPop {
    0% { opacity: 0; transform: scale(0); }
    100% { opacity: 1; transform: scale(1); }
}

.surprise-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: white;
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: none;
    border: 3px solid #ffc2d1;
}

.surprise-card.show {
    display: block;
    animation: fadeInGift 1s forwards;
}

@keyframes fadeInGift {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.surprise-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px dotted #ff8fab;
}

.surprise-header h3 {
    color: #ff6b9d;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Fredoka One', cursive;
}

.surprise-content {
    margin-bottom: 20px;
}

.surprise-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 15px;
    background: rgba(255, 194, 209, 0.2);
}

.surprise-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pink-bg {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
}

.surprise-icon i {
    font-size: 26px;
    color: white;
}

.surprise-item p {
    font-size: 18px;
    color: #5a1a2e;
    font-weight: 500;
}

.surprise-message {
    text-align: center;
    padding-top: 15px;
    border-top: 2px solid #ffc2d1;
}

.surprise-message p {
    color: #ff6b9d;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 20px;
}

.emoji-line {
    font-size: 36px;
    letter-spacing: 10px;
}

/* Birthday Quote */
.quote-section {
    margin: 60px 0;
    text-align: center;
}

.quote-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9fb, #fff0f5);
    border-radius: 25px;
    padding: 40px;
    position: relative;
    border: 3px solid #ffc2d1;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
}

.quote-heart {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: #ff6b9d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 3px solid white;
}

.quote-heart i {
    color: white;
    font-size: 24px;
    animation: heartbeat 1.5s infinite;
}

.quote-text {
    font-size: 24px;
    font-style: italic;
    color: #5a1a2e;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'Comic Neue', cursive;
    font-weight: 700;
}

.quote-author {
    color: #ff8fab;
    font-weight: 600;
    text-align: right;
    font-size: 20px;
}

/* Musik dan Kontrol */
.music-section {
    margin: 60px 0;
    text-align: center;
}

.music-section h3 {
    color: #ff6b9d;
    font-size: 28px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Fredoka One', cursive;
}

.music-player {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff9fb, #fff0f5);
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(255, 107, 157, 0.2);
    border: 3px solid #ffc2d1;
}

.player-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.player-btn {
    padding: 12px 25px;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.pink-btn {
    background: linear-gradient(to right, #ff6b9d, #ff8fab);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

.pink-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.4);
}

.pink-btn:active {
    transform: translateY(0);
}

.player-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    border: 2px solid #ffc2d1;
}

.song-title {
    font-size: 20px;
    font-weight: 600;
    color: #ff6b9d;
}

.volume-slider input[type="range"] {
    width: 200px;
    height: 8px;
    -webkit-appearance: none;
    background: linear-gradient(to right, #ffc2d1, #ff6b9d);
    border-radius: 10px;
    outline: none;
}

.volume-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    border: 3px solid #ff6b9d;
    cursor: pointer;
}

.player-note {
    text-align: center;
    color: #ff8fab;
    font-size: 16px;
    margin-top: 10px;
}

.player-note i {
    margin-right: 8px;
    color: #ff6b9d;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 0 20px;
    color: #ff6b9d;
    border-top: 3px solid #ffc2d1;
    margin-top: 30px;
}

.footer-content p {
    margin-bottom: 15px;
    font-size: 20px;
}

.heart-pulse {
    animation: heartbeat 1.5s infinite;
    color: #ff6b9d;
    margin: 0 5px;
}

.footer-message {
    font-style: italic;
    color: #ff8fab;
    margin-bottom: 20px;
    font-size: 18px;
}

/* Age Display di Footer */
.age-display {
    margin: 20px 0;
    text-align: center;
}

.age-number {
    font-size: 72px;
    font-weight: 800;
    color: #ff6b9d;
    font-family: 'Fredoka One', cursive;
    text-shadow: 3px 3px 0 #ffe4ec;
    line-height: 1;
    margin-bottom: 10px;
}

.age-label {
    font-size: 20px;
    color: #ff8fab;
    font-weight: 600;
    margin-bottom: 20px;
}

.hearts-line {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    font-size: 28px;
}

.hearts-line i {
    color: #ff6b9d;
    animation: floatUpDown 3s infinite alternate;
}

.hearts-line i:nth-child(2) { animation-delay: 0.2s; color: #ff8fab; }
.hearts-line i:nth-child(3) { animation-delay: 0.4s; color: #ffc2d1; }
.hearts-line i:nth-child(4) { animation-delay: 0.6s; color: #ff8fab; }
.hearts-line i:nth-child(5) { animation-delay: 0.8s; color: #ff6b9d; }

.copyright {
    margin-top: 20px;
    font-size: 16px;
    color: #ff8fab;
}

/* Floating Message */
.floating-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ff6b9d;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s;
}

.floating-message.show {
    opacity: 1;
    transform: translateY(0);
}

.floating-message i {
    font-size: 20px;
    animation: heartbeat 1.5s infinite;
}

/* Modal untuk foto fullscreen */
.photo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.photo-modal.active {
    display: flex;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s;
}

.close-modal:hover {
    color: #ff6b9d;
    transform: scale(1.1);
}

.modal-photo {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.modal-caption {
    text-align: center;
    color: white;
    padding: 20px;
    font-size: 20px;
    font-family: 'Comic Neue', cursive;
}

/* Modal Edit Data */
.edit-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.edit-modal.active {
    display: flex;
    animation: fadeIn 0.3s;
}

.edit-content {
    background: white;
    border-radius: 25px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 5px solid #ff6b9d;
}

.edit-content h3 {
    color: #ff6b9d;
    font-size: 28px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: 'Fredoka One', cursive;
    text-align: center;
}

.edit-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #5a1a2e;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ffc2d1;
    border-radius: 12px;
    font-size: 16px;
    color: #5a1a2e;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #ff6b9d;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.2);
}

.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.edit-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.save-btn {
    background: linear-gradient(to right, #ff6b9d, #ff8fab);
    color: white;
}

.cancel-btn {
    background: #f0f0f0;
    color: #5a1a2e;
}

.edit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.edit-btn:active {
    transform: translateY(0);
}

.edit-note {
    text-align: center;
    color: #ff8fab;
    font-size: 14px;
    margin-top: 15px;
}

.edit-note i {
    margin-right: 8px;
}

/* Tombol Edit */
.edit-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edit-button:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.6);
}

/* Responsif untuk timeline */
@media (max-width: 768px) {
    .timeline:before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-year {
        width: 80px;
        height: 80px;
        font-size: 20px;
        margin-right: 20px;
    }
    
    .timeline-item.current .timeline-year {
        width: 90px;
        height: 90px;
        font-size: 22px;
    }
    
    .timeline-content {
        margin: 0 0 0 20px;
        text-align: left !important;
    }
    
    .birthday-info {
        flex-direction: column;
        align-items: center;
    }
    
    .info-card {
        min-width: 100%;
    }
    
    .countdown-item {
        min-width: 100px;
        padding: 15px;
    }
    
    .countdown-number {
        font-size: 32px;
    }
    
    .gallery-container, .wishes-card, .quote-card, .music-player {
        max-width: 90%;
    }
    
    .gift-container {
        flex-direction: column;
        align-items: center;
    }
    
    .surprise-card {
        max-width: 90%;
    }
    
    .cake-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .player-info {
        flex-direction: column;
    }
    
    .gallery-photo {
        height: 300px;
    }
    
    .photo-caption h4 {
        font-size: 22px;
    }
    
    .photo-caption p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 15px;
        border-radius: 20px;
    }
    
    .title {
        font-size: 28px;
    }
    
    .envelope {
        width: 260px;
        height: 180px;
    }
    
    .envelope-flap {
        border-left: 130px solid transparent;
        border-right: 130px solid transparent;
        border-top: 100px solid #ff8fab;
    }
    
    .heart-seal {
        width: 60px;
        height: 60px;
    }
    
    .heart-seal i {
        font-size: 28px;
    }
    
    .address h3 {
        font-size: 22px;
    }
    
    .player-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .player-btn {
        width: 80%;
    }
    
    .volume-slider input[type="range"] {
        width: 150px;
    }
    
    .floating-message {
        top: 10px;
        right: 10px;
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .gallery-nav {
        padding: 0 10px;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .photo-counter {
        font-size: 18px;
        padding: 8px 15px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .age-number {
        font-size: 56px;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 12px;
    }
    
    .countdown-number {
        font-size: 28px;
    }
    
    .countdown-label {
        font-size: 14px;
    }
    
    .edit-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}