* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fffafb;
    color: #4a4a4a;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ================= INTRO SCREEN ================= */
.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, #2b0c1e 0%, #11030b 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 9999;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1), opacity 1s ease;
}

.intro-screen.slide-up {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.intro-content {
    padding: 20px;
}

.intro-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: 8px;
    background: linear-gradient(45deg, #ff80bf, #ff1a8c, #ffd1e8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: glowText 3s ease-in-out infinite alternate, floatText 4s ease-in-out infinite;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px rgba(255, 26, 140, 0.6));
}

.intro-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.4rem);
    color: #fce4ec;
    letter-spacing: 3px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInSubtitle 2s ease forwards 0.8s;
}

.btn-enter {
    padding: 15px 40px;
    font-size: 1.1rem;
    color: #fff;
    background: transparent;
    border: 2px solid #ff1a8c;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 26, 140, 0.4);
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeInSubtitle 2s ease forwards 1.5s;
}

.btn-enter:hover {
    background: #ff1a8c;
    box-shadow: 0 0 25px rgba(255, 26, 140, 0.8);
    transform: scale(1.05);
}

@keyframes glowText {
    0% { filter: drop-shadow(0 0 5px rgba(255, 105, 180, 0.4)); }
    100% { filter: drop-shadow(0 0 20px rgba(255, 20, 147, 0.9)); }
}

@keyframes floatText {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInSubtitle {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================= SCROLL REVEAL ================= */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================= HERO SECTION (NEW BLACK & 3D BALLOONS) ================= */
.hero {
    height: 100vh;
    background: #050508; /* Background Hitam Mewah */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    overflow: hidden;
}

#balloon-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Agar tidak menghalangi tombol */
}

/* Balon Love 3D Melayang */
.love-balloon {
    position: absolute;
    bottom: -100px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    pointer-events: auto; /* Bisa diklik */
    filter: drop-shadow(0 0 12px rgba(255, 26, 140, 0.85));
    transition: transform 0.2s;
    animation: floatUp var(--duration) linear infinite;
}

.love-balloon:hover {
    transform: scale(1.15);
}

@keyframes floatUp {
    0% {
        bottom: -100px;
        transform: translateX(0) rotate(-5deg);
    }
    50% {
        transform: translateX(20px) rotate(10deg);
    }
    100% {
        bottom: 110vh;
        transform: translateX(-15px) rotate(-5deg);
    }
}

/* Teks yang meledak dari balon */
.pop-text {
    position: absolute;
    color: #ff80bf;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 2px;
    pointer-events: none;
    text-shadow: 0 0 15px #ff1a8c, 0 0 30px #ff1a8c;
    animation: popOut 1.2s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

@keyframes popOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.5);
    }
    50% {
        transform: translate(-50%, -100%) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -150%) scale(1);
    }
}

/* Teks Hero MISQAIRINI Sederhana & Menyala */
.glowing-text {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    animation: neonPulse 2s infinite alternate;
}

@keyframes neonPulse {
    0% {
        text-shadow: 0 0 7px #fff, 
                     0 0 10px #ff1a8c, 
                     0 0 21px #ff1a8c, 
                     0 0 42px #ff1a8c, 
                     0 0 82px #ff1a8c;
    }
    100% {
        text-shadow: 0 0 4px #fff, 
                     0 0 7px #ff80bf, 
                     0 0 18px #ff80bf, 
                     0 0 38px #ff1a8c, 
                     0 0 65px #ff1a8c;
    }
}

.dark-tagline {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 30px;
    font-weight: 400;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.hero-content {
    position: relative;
    z-index: 5;
}

/* ================= SECTION LAINNYA ================= */
.btn-primary, .btn-love {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(45deg, #e91e63, #ff1a8c);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(255, 26, 140, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover, .btn-love:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px rgba(255, 26, 140, 0.9);
}

.timer-section {
    text-align: center;
    padding: 80px 20px;
    background: white;
}

.timer-section h2, .story-section h2, .gallery-section h2, .interactive-section h2 {
    color: #d81b60;
    margin-bottom: 30px;
    font-size: 2rem;
}

.timer-box {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.time-unit {
    background: #fce4ec;
    padding: 20px;
    border-radius: 12px;
    min-width: 90px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.time-unit span {
    font-size: 2rem;
    font-weight: 600;
    color: #880e4f;
    display: block;
}

.story-section {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-left: 5px solid #e91e63;
    text-align: left;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateX(10px);
}

.card .date {
    color: #e91e63;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.gallery-section {
    padding: 80px 20px;
    text-align: center;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.photo-card {
    height: 300px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: white;
    font-weight: 600;
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

.photo-card:hover {
    transform: scale(1.03);
}

.interactive-section {
    padding: 80px 20px;
    text-align: center;
}

.hidden-message {
    margin-top: 25px;
    font-size: 1.2rem;
    color: #880e4f;
    font-weight: 600;
    min-height: 50px;
}

footer {
    text-align: center;
    padding: 20px;
    background: #f8bbd0;
    color: #880e4f;
    font-size: 0.9rem;
}