body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 20px;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #0056b3;
    margin-bottom: 20px;
}

p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    list-style: none;
    margin: 0;
}

.app-item {
    background-color: #e9f5ff;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

/* Style untuk gambar yang bisa diklik untuk display */
.app-item .clickable-image {
    display: block;
    /* Agar gambar mengambil seluruh lebar yang tersedia */
    margin-bottom: 10px;
    /* Jarak antara gambar dan judul */
    cursor: zoom-in;
    /* Menunjukkan bahwa gambar bisa di-zoom/diklik */
    max-width: 80px;
    /* Ukuran default gambar ikon */
    height: auto;
    border-radius: 15%;
    transition: transform 0.2s ease;
    /* Efek transisi saat hover */
}

.app-item .clickable-image:hover {
    transform: scale(1.05);
    /* Gambar sedikit membesar saat di-hover */
}

.app-item strong {
    font-size: 1.1em;
    color: #007bff;
    margin-bottom: 5px;
}

.app-description {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1;
}

.download-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.download-button:hover {
    background-color: #218838;
}

.warning {
    margin-top: 30px;
    font-size: 0.9em;
    color: #666;
    padding: 15px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    text-align: left;
}

/* --- Styles untuk Image Overlay/Modal --- */
.image-overlay {
    display: none;
    /* Sembunyikan secara default */
    position: fixed;
    /* Tetap di atas konten lain */
    z-index: 1000;
    /* Pastikan di atas segalanya */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* Aktifkan scroll jika gambar terlalu besar */
    background-color: rgba(0, 0, 0, 0.8);
    /* Latar belakang gelap transparan */
    backdrop-filter: blur(5px);
    /* Efek blur pada latar belakang (opsional) */
    -webkit-backdrop-filter: blur(5px);
    /* Dukungan browser lama */
    justify-content: center;
    align-items: center;
}

.image-overlay-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}