* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* Background */
body {
    background: url('../images/bak.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Overlay bawah lebih tebal */
.background-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%; /* lebih tinggi */

    background: linear-gradient(
        to top,
        rgba(8, 12, 35, 0.95),   /* sangat pekat di bawah */
        rgba(10, 20, 80, 0.85),
        rgba(0, 21, 128, 0.70),
        rgba(0, 21, 128, 0.45),
        transparent
    );

    z-index: 1;
}

/* Center content */
.content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Card utama */
.card {
    position: relative;
    backdrop-filter: blur(2px);
    background: rgba(0, 0, 0, 0.15); /* lebih jernih */

    padding: 35px 45px;
    border-radius: 20px;

    overflow: hidden;
    animation: fadeIn 1.5s ease;
}

/* Logo */
.logo {
    width: 130px;
    margin-bottom: 6px;
    animation: float 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

/* Subjudul */
.card h3 {
    color: rgba(255,255,255,0.95);
    font-weight: 500;
    margin: 5px 0;
    position: relative;
    z-index: 2;
}

/* Deskripsi */
.description {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin-top: 8px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0%,100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 992px) {

    .card{
        padding: 30px 35px;
        border-radius: 18px;
    }

    .logo{
        width:110px;
    }

    .card h3{
        font-size:18px;
    }

    .description{
        font-size:14px;
    }

}

/* Mobile besar */
@media (max-width: 768px) {

    body{
        padding:20px;
    }

    .card{
        padding:30px;
        width:100%;
        max-width:420px; /* card lebih besar */
    }

    .logo{
        width:110px;
    }

    .card h3{
        font-size:20px;
    }

    .description{
        font-size:15px;
    }

}

/* Mobile kecil */
@media (max-width: 480px) {

    .card{
        padding:28px;
        width:100%;
        max-width:360px; /* card tetap besar */
    }

    .logo{
        width:100px;
    }

    .card h3{
        font-size:18px;
    }

    .description{
        font-size:14px;
    }

}