body {
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #1a1a1a, #0000);
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: white;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

html, body {
    background-color: #1a1a1a !important;
}

/* Overlay */
#start-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.80);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    isolation: isolate;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 99999;
}

.overlay-content h2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    font-size: 22px;
    gap: 20px;
}

#startBtn {
    background: #ffdd33;
    padding: 12px 25px;
    border: none;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    font-weight: bold;
}

/* Header */
header {
    text-align: center;
    margin-top: 100px;
    animation: fadeDown 1.5s ease;
    padding: 0 20px;
}

header h1 {
    font-size: 28px;
    color: #ffe97d;
}

header p {
    font-size: 15px;
    opacity: 0.8;
}

/* Floating emojis */
#floating-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.floating {
    position: absolute;
    bottom: -50px;
    font-size: 24px;
    animation: floatUp linear infinite;
    opacity: 0.8;
}

@keyframes floatUp {
    0% { transform: translateY(0) scale(1); opacity: 0.8; }
    100% { transform: translateY(-110vh) scale(1.4); opacity: 0; }
}

/* =======================
   GALERI FOTO (Mobile First)
   ======================= */

.gallery-section {
    margin-top: 60px;
}

.gallery {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 20px;
    scroll-snap-type: x mandatory;
}

.gallery::-webkit-scrollbar {
    display: none;
}

.photo {
    min-width: 85%;
    max-width: 85%;
    height: 350px;
    border-radius: 18px;
    overflow: hidden;
    scroll-snap-align: center;
    box-shadow: 0px 0px 24px rgba(102, 85, 255, 0.322);
    animation: fadeUp 2s ease;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to bottom,
        transparent 0%, black 20%, black 80%, transparent 100%
    );
}

@keyframes fadeUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* =======================
   PESAN ROMANTIS
   ======================= */

.message-section {
    text-align: center;
    padding: 50px 20px 100px 20px;
}

#showMsg {
    margin-top: 0;
    padding: 12px 25px;
    border: none;
    background: #ffd84f;
    font-size: 17px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
}

#secret-message {
    margin-top: 30px;
    display: none;
    opacity: 0;
    animation: fadeDown 1.2s forwards;
    background: rgba(255, 255, 200, 0.1);
    padding: 18px;
    border-radius: 15px;
    backdrop-filter: blur(4px);
}

@keyframes fadeDown {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ==================================
   RESPONSIVE BREAKPOINTS
   ==================================*/

/* Tablet Mode */
@media (min-width: 600px) {
    header h1 {
        font-size: 32px;
    }

    .photo {
        min-width: 60%;
        max-width: 60%;
        height: 420px;
    }

    .floating {
        font-size: 30px;
    }
}

/* Tablet Landscape / Small Laptop */
@media (min-width: 900px) {
    header h1 {
        font-size: 36px;
    }

    .gallery {
        justify-content: center;
    }

    .photo {
        min-width: 40%;
        max-width: 40%;
        height: 420px;
    }
}

/* Laptop & Desktop Besar */
@media (min-width: 1300px) {

    body {
        padding-bottom: 50px;
    }

    header h1 {
        font-size: 40px;
    }

    .gallery-section {
        margin-top: 80px;
    }

    .gallery {
        gap: 25px;
    }

    .photo {
        min-width: 28%;
        max-width: 28%;
        height: 430px;
        box-shadow: 0px 0px 35px rgba(236, 193, 1, 0.3);
    }

    #secret-message {
        width: 60%;
        margin-left: auto;
        margin-right: auto;
        font-size: 18px;
    }
}

.png-wrapper {
    text-align: center;
    margin: 20px auto;
}

.png-center {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 15px auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 15px rgba(0,0,0,0.22));
    transition: transform 0.4s ease, filter 0.4s ease;
}

@media (hover: hover) {
    .png-center:hover {
        transform: scale(1.05);
        filter: drop-shadow(0 10px 22px rgba(0,0,0,0.30));
    }
}

.nama-tanggal h4 {
    text-align: center;
    margin: 30px 0 0 0;
}

.nama-tanggal p {
    text-align: center;
    margin-top: 5px;
    font-family: 'poppins', Verdana, sans-serif;
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 70px;
}

.body-locked {
    position: fixed !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 100vh !important;
    top: 0 !important;
    left: 0 !important;
    overscroll-behavior: nonr !important;
}

#start-overlay {
    touch-action: none !important;
    -ms-touch-action: none !important;
}