* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f2027, #2c5364, #00c6ff);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    overflow: hidden;
}

/* BACKGROUND ANIMASI */
body::before {
    content: "";
    position: fixed;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 10%, transparent 10%);
    background-size: 40px 40px;
    animation: moveBg 20s linear infinite;
}

@keyframes moveBg {
    from { transform: translate(0,0); }
    to { transform: translate(-40px,-40px); }
}

/* CARD */
.card {
    backdrop-filter: blur(15px);
    background: rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 25px;
    width: 100%;
    max-width: 380px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeIn 1.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* TEXT */
.school {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

h1 {
    font-size: 20px;
    margin-bottom: 10px;
}

h2 {
    font-size: 18px;
}

/* COUNTDOWN */
#countdown {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

/* INPUT */
input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border-radius: 10px;
    border: none;
    font-size: 14px;
}

/* BUTTON */
button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    color: white;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

/* STATUS */
.lulus {
    font-size: 20px;
    font-weight: bold;
    color: #00ffcc;
    margin: 15px 0;
}

.tidak {
    font-size: 20px;
    font-weight: bold;
    color: #ff4d4d;
}

/* BUTTON DOWNLOAD */
.btn {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 10px;
    background: linear-gradient(45deg, #00ffcc, #00c6ff);
    color: black;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
}

/* ========================= */
/* 📱 MOBILE EXTRA SMALL */
/* ========================= */
@media (max-width: 400px) {
    .card {
        padding: 20px;
    }

    h1 {
        font-size: 18px;
    }

    #countdown {
        font-size: 16px;
    }
}

/* ========================= */
/* 💻 TABLET */
/* ========================= */
@media (min-width: 600px) {
    .card {
        max-width: 420px;
        padding: 35px;
    }

    h1 {
        font-size: 24px;
    }

    #countdown {
        font-size: 20px;
    }
}

/* ========================= */
/* 🖥️ DESKTOP */
/* ========================= */
@media (min-width: 992px) {
    .card {
        max-width: 450px;
    }
}

.subtitle {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 15px;
}


/* CONFETTI */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: red;
    top: -10px;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

.nama{
    color: violet;
}