body {
    margin: 0;
    font-family: 'Segoe Script', cursive;
    background: #000;
    color: white;
    scroll-behavior: smooth;
}

/* HERO */
.hero {
    height: 100vh;
    background: url("images/bg.jpg") center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 60px;
    color: #ffb6c1;
}

.hero p {
    font-size: 22px;
}

/* SECTIONS */
section {
    padding: 80px 20px;
    text-align: center;
}

/* QUOTES */
.quotes p {
    font-size: 20px;
    color: #ffd1dc;
    margin: 10px 0;
}

/* GALLERY */
.gallery h2 {
    margin-bottom: 30px;
}

.photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.photos img {
    width: 250px;
    height: 320px;
    object-fit: cover;
    margin: 15px;
    border-radius: 20px;
    box-shadow: 0 0 20px pink;
    transition: transform 0.4s;
}

.photos img:hover {
    transform: scale(1.1);
}

/* LETTER */
.letter p {
    font-size: 22px;
    max-width: 700px;
    margin: auto;
    color: #ffccd5;
}

/* FOOTER */
footer {
    padding: 20px;
    background: #111;
    font-size: 16px;
    color: #ffb6c1;
}


/* SONG SECTION */
.song-section {
    padding: 80px 20px;
    text-align: center;
    background: #111;
}

.song-section h2 {
    color: #ffb6c1;
    margin-bottom: 20px;
}

.song-photo {
    width: 260px;
    height: 320px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 0 30px pink;
    cursor: pointer;
    transition: transform 0.4s, box-shadow 0.4s;
}

.song-photo:hover {
    transform: scale(1.08);
    box-shadow: 0 0 40px hotpink;
}

.hint {
    margin-top: 15px;
    font-size: 18px;
    color: #ffd1dc;
}





/* LOVE QUESTION BOX */
.love-box {
    padding: 80px 20px;
    text-align: center;
    background: #0b0b0b;
}

.love-box h2 {
    color: #ffb6c1;
    font-size: 36px;
    margin-bottom: 15px;
}

.question {
    font-size: 24px;
    color: #ffd1dc;
    margin-bottom: 30px;
}

.options {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.yes-btn, .no-btn {
    padding: 15px 40px;
    font-size: 18px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s;
}

.yes-btn {
    background: hotpink;
    color: white;
}

.no-btn {
    background: #444;
    color: white;
}

.yes-btn:hover, .no-btn:hover {
    transform: scale(1.1);
}

.answer {
    margin-top: 30px;
    font-size: 22px;
    color: #ffccd5;
}



/* GALLERY ANIMATION */
.photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.photo-card {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.photo-card img {
    width: 240px;
    height: 320px;
    object-fit: cover;
    border-radius: 22px;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(255,105,180,0.6);
    transition: transform 0.4s, box-shadow 0.4s;
}

.photo-card img:hover {
    transform: scale(1.08) rotate(1deg);
    box-shadow: 0 0 40px hotpink;
}

/* POPUP VIEW */
.img-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.img-popup img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 25px;
    box-shadow: 0 0 50px pink;
}



/* BLUR BACKGROUND */
.locked > *:not(#lockScreen) {
    filter: blur(12px);
    pointer-events: none;
}

/* FULL SCREEN LOCK OVERLAY */
#lockScreen {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

/* LOCK BOX */
.lock-box {
    background: #111;
    padding: 40px 35px;
    width: 320px;
    text-align: center;
    border-radius: 25px;
    box-shadow: 0 0 40px hotpink;
    animation: popIn 0.6s ease;
}

/* POP ANIMATION */
@keyframes popIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lock-box h2 {
    color: #ffb6c1;
    margin-bottom: 10px;
}

.lock-box p {
    color: #ffd1dc;
    margin-bottom: 15px;
}

/* INPUT */
.lock-box input {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    border-radius: 20px;
    border: none;
    text-align: center;
    outline: none;
}

/* BUTTON */
.lock-box button {
    margin-top: 15px;
    padding: 12px 30px;
    background: hotpink;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    color: white;
    cursor: pointer;
}

/* ERROR */
#errorMsg {
    margin-top: 15px;
    font-size: 14px;
}

/* UNLOCK ANIMATION */
#lockScreen.unlock {
    animation: fadeOut 0.8s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}
