*,
html,
body {
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
    box-sizing: border-box;
}

.container {
    min-height: 100dvh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    opacity: 1;
    background-image: repeating-radial-gradient(circle at 0 0, transparent 0, #000000 40px), repeating-linear-gradient(#0805a555, #2417b0a1);
    padding: 20px;
}

.navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px 20px;
    background-color: #060d6d62;
    min-height: 800px;
    width: 100%;
    max-width: 444px;
    box-shadow: 0 9px 26px 0 #1a2fb6af;
    border: 3px solid #000000;
    border-radius: 20px;
    box-sizing: border-box;
}

img {
    display: block;
    height: auto;
    max-height: 450px;
    width: 150px;
    border-radius: 100px;
    border: 4px solid #ffffffcf;
    margin: 5px;
    object-fit: cover;
}

.navbar>p {
    padding: 10px;
    font-size: clamp(18px, 4vw, 24px);
    font-weight: bold;
    color: rgb(219, 225, 231);
    text-align: center;
    margin: 10px 0;
}

.link {
    display: flex;
    flex-direction: column;
    padding: 14px;
    width: 100%;
    max-width: 399px;
    box-sizing: border-box;
    gap: 15px;
}

.link>a {
    text-decoration: none;
    text-align: center;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    color: #ffffff;
    font-size: clamp(11px, 2.5vw, 13px);
    text-transform: uppercase;
    border: 2px solid rgb(198, 198, 198);
    border-radius: 9px;
    background-color: #0000004d;
    margin: 2px 0;
    padding: clamp(15px, 3vw, 20px);
    transition: all 0.3s ease;
    box-sizing: border-box;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link>a:hover {
    background-color: #ffffffe2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    color: #000000;
    font-weight: bold;
}

.pmz {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 19px 0;
    font-size: clamp(11px, 2.5vw, 13px);
    color: rgb(225, 225, 225);
    text-align: center;
}

/* Tablet Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .navbar {
        padding: 25px 15px 15px;
        min-height: 700px;
    }

    img {
        max-height: 200px;
        width: 120px;
    }

    .link {
        padding: 10px;
        gap: 15px;
    }

    .link>a {
        padding: 12px;
        margin: 6px 0;
        min-height: 60px;
    }
    
    .pmz {
        margin: 15px 0;
    }

    .popup-content {
        padding: 25px;
    }
    .popup-content h2 {
        font-size: 22px;
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .navbar {
        padding: 20px 10px 10px;
        min-height: 650px;
        border-radius: 15px;
    }

    img {
        max-height: 150px;
        width: 100px;
        border-radius: 50px;
        border-width: 4px;
    }

    .navbar>p {
        font-size: 18px;
        margin: 8px 0;
    }

    .link {
        padding: 8px;
        gap: 10px;
    }

    .link>a {
        padding: 10px;
        margin: 2px 0;
        border-radius: 6px;
        min-height: 49px;
    }
    
    .pmz {
        margin: 12px 0;
        font-size: 11px;
    }

    .popup-content {
        width: 90%;
        padding: 20px;
    }
    .popup-content h2 {
        font-size: 20px;
    }
    .popup-content p {
        font-size: 14px;
    }
    /* Mengubah ukuran font countdown untuk layar kecil */
    .popup-content p[style] {
        font-size: 12px !important;
    }
}

/* Small Mobile Responsive */
@media (max-width: 320px) {
    .container {
        padding: 5px;
    }
    
    .navbar {
        padding: 15px 8px 8px;
        min-height: 590px;
        border-radius: 12px;
    }

    img {
        max-height: 120px;
        width: 80px;
        border-radius: 40px;
        border-width: 3px;
    }

    .navbar>p {
        font-size: 16px;
        margin: 6px 0;
    }

    .link>a {
        padding: 8px;
        margin: 4px 0;        font-size: 10px;
        min-height: 40px;
    }
    
    .pmz {
        margin: 10px 0;
        font-size: 10px;
    }

    .popup-content h2 {
        font-size: 18px;
    }
    .popup-content p {
        font-size: 12px;
    }
    /* Mengubah ukuran font countdown untuk layar sangat kecil */
    .popup-content p[style] {
        font-size: 11px !important;
    }
}

/* Landscape Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .container {
        padding: 10px;
    }
    
    .navbar {
        min-height: 450px;
        padding: 15px 20px;
    }
    
    img {
        max-height: 100px;
        width: 80px;
    }
    
    .link {
        padding: 8px;
        gap: 8px;
    }
    
    .link>a {
        padding: 8px;
        margin: 5px 0;
        min-height: 30px;
    }
}

.popup-container {
    display: none; /* Awalnya disembunyikan, JS akan menampilkannya */
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000000df;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #060651a2; /* Warna ungu */
    color: white;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 85%;
    max-width: 450px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-btn {
    color: #ccc;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 35px;
    font-weight: bold;
    line-height: 1;
}

.close-btn:hover,
.close-btn:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}