/* ========= BODY / BACKGROUND ========= */
body.night-stars {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(#00241e, #000c0a);
    margin: 0;
    height: 100vh;
    overflow-x: hidden;
    color: #fff;
    position: relative;
}

/* Fade-in halus */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0);   }
}

/* ========= BULAN ========= */
#moon {
    position: fixed;
    top: 55px;
    right: 28px;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background: radial-gradient(circle,#fff 40%,#b5e7ff 75%,transparent);
    box-shadow: 0 0 35px #b5e7ff, 0 0 70px #b5e7ff;
    animation: moonFloat 5s ease-in-out infinite alternate;
    z-index: 2;
}
@keyframes moonFloat {
    from { transform: translateY(0); }
    to   { transform: translateY(9px); }
}

/* ========= BINTANG 3 LAYER (UKURAN ACAK) ========= */
.stars, .stars2, .stars3 {
    position: fixed;
    width: 200%;
    height: 200%;
    top: 0; left: 0;
    background-repeat: repeat;
    z-index: 0;
}

/* layer 1 - putih */
.stars {
    background-image:
        radial-gradient(2px 2px at 20px 50px,#ffffff,transparent),
        radial-gradient(1.5px 1.5px at 200px 150px,#ffffff,transparent),
        radial-gradient(2.5px 2.5px at 350px 420px,#ffffff,transparent),
        radial-gradient(1.5px 1.5px at 120px 320px,#ffffff,transparent);
    background-size: 550px 550px;
    opacity: .85;
    animation: starsMove 110s linear infinite;
}

/* layer 2 - keemasan */
.stars2 {
    background-image:
        radial-gradient(2px 2px at 120px 90px,#ffd9a1,transparent),
        radial-gradient(1.5px 1.5px at 350px 300px,#ffd9a1,transparent),
        radial-gradient(2.5px 2.5px at 60px 230px,#ffd9a1,transparent),
        radial-gradient(1.5px 1.5px at 250px 410px,#ffd9a1,transparent);
    background-size: 520px 520px;
    opacity: .7;
    animation: twinkle 6s ease-in-out infinite alternate;
}

/* layer 3 - kebiruan */
.stars3 {
    background-image:
        radial-gradient(2px 2px at 80px 350px,#b8ffff,transparent),
        radial-gradient(1.5px 1.5px at 280px 140px,#b8ffff,transparent),
        radial-gradient(2.5px 2.5px at 180px 240px,#b8ffff,transparent);
    background-size: 540px 540px;
    opacity: .6;
}

@keyframes starsMove {
    from { transform: translateY(0); }
    to   { transform: translateY(-350px); }
}
@keyframes twinkle {
    0%,100% { opacity: .4; }
    50%     { opacity: 1;   }
}

/* ========= SHOOTING STAR ========= */
.shooting-star {
    position: fixed;
    top: -20px;
    width: 2px;
    height: 90px;
    background: linear-gradient(white, rgba(255,255,255,0));
    transform: rotate(45deg);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}
@keyframes shooting {
    0% {
        transform: translateX(0) translateY(0) rotate(45deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateX(-520px) translateY(520px) rotate(45deg);
        opacity: 0;
    }
}

/* ========= FIREFLIES (KUNANG-KUNANG) ========= */
.firefly {
    position: fixed;
    width: 7px;
    height: 7px;
    background: radial-gradient(#ffe88a, #ffb300);
    border-radius: 50%;
    filter: drop-shadow(0 0 7px #ffd36c);
    z-index: 3;
    pointer-events: none;
    animation: fly 6s infinite ease-in-out alternate;
}
@keyframes fly {
    0%   { transform: translate(0,0) scale(1);   opacity:.4; }
    50%  { transform: translate(25px,-35px) scale(1.4); opacity:1; }
    100% { transform: translate(-20px,25px) scale(.9); opacity:.6; }
}

/* ========= CARD & FORM ========= */
.container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 90px;
}

.card-mobile {
    max-width: 460px;
    width: 100%;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    border-radius: 22px;
    padding: 30px 26px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 10px 28px rgba(0,0,0,.5);
    z-index: 4;
}

/* Header card */
.card-mobile .text-center {
    margin-bottom: 24px;
}

/* Form layout */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-label {
    font-size: .95rem;
    font-weight: 600;
    color: #e7fff4;
}

.form-control {
    border-radius: 14px;
    height: 48px;
    padding: 12px 14px;
    border: none;
    font-size: .92rem;
    background: rgba(255,255,255,.92);
}

textarea.form-control {
    min-height: 130px;
    resize: none;
}

/* Button */
.btn-success {
    background-color: #ffd36c !important;
    color: #003b32 !important;
    font-weight: 700;
    border-radius: 14px;
    padding: 12px;
    font-size: 1rem;
    border: none;
    margin-top: 6px;
    transition: .25s;
}
.btn-success:hover {
    background-color: #ffe49d !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255,211,108,.45);
}
