/* Import Google Fonts untuk Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Body */
body {
    background: #f0f0f0; /* Fallback */
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0); /* Gradient lembut */
    color: #333;
    font-family: 'Roboto', Arial, sans-serif; /* Font modern */
    margin: 0;
    padding: 0;
    line-height: 1.6; /* Tipografi lebih readable */
}

/* Container utama */
.download-container {
    text-align: center;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    width: 95%;
    max-width: 100%;
    margin: 20px auto;
    border: 1px solid #000000; /* Border hitam */
    animation: fadeIn 0.5s ease-in; /* Animasi fade-in */
    -webkit-transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Fallback */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Efek visual */
}

/* Animasi fade-in */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Efek hover container */
.download-container:hover {
    border-color: #FFC1CC; /* Pink muda saat hover */
    box-shadow: 0 0 10px rgba(255, 193, 204, 0.5); /* Glow pink muda */
}

/* Responsif untuk desktop */
@media (min-width: 1024px) {
    .download-container {
        width: 80%;
        max-width: 1200px;
        padding: 30px;
    }
    .separator img {
        max-width: 50%; /* Gambar lebih kecil di desktop */
        margin: 0 auto;
    }
    .download-button {
        width: 50%; /* Tombol lebih pendek */
        display: inline-block; /* Biar bisa sejajar kalau mau */
        margin: 10px auto;
    }
    ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    li {
        width: 60%; /* Lebar li disesuaikan */
        margin: 15px 0; /* Jarak antar tombol lebih longgar */
    }
    h3 { font-size: 2.2rem; }
    h4 { font-size: 1.6rem; }
}

/* Responsif untuk mobile */
@media (max-width: 768px) {
    .download-container {
        padding: 15px;
        margin: 10px auto;
    }
}

/* Responsif untuk layar super kecil */
@media (max-width: 480px) {
    .download-container {
        padding: 10px;
    }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.2rem; }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background: #333; /* Fallback */
        background: linear-gradient(135deg, #333, #444);
        color: #ddd;
    }
    .download-container {
        background-color: #444;
        border: 1px solid #000000;
        box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
    }
    .download-button {
        background-color: #FF99AA; /* Pink lebih gelap di dark mode */
        border: 1px solid #000000;
        color: #fff;
    }
    .download-button:hover {
        background-color: #FF7799; /* Pink lebih gelap saat hover */
    }
}

/* Styling untuk separator (gambar) */
.separator {
    text-align: center;
    margin-bottom: 15px;
}

.separator img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    background: #ddd; /* Placeholder */
    -webkit-transition: transform 0.3s ease; /* Fallback */
    transition: transform 0.3s ease;
}

.separator img:hover {
    transform: scale(1.03); /* Efek hover */
    filter: grayscale(20%); /* Efek tambahan */
}

/* Styling untuk daftar download */
ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

li {
    margin: 10px 0;
}

/* Tombol download */
.download-button {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
    font-weight: bold;
    color: #222; /* Teks gelap untuk kontras */
    text-decoration: none;
    background-color: #FFC1CC; /* Pink muda */
    border: 1px solid #000000; /* Border hitam */
    border-radius: 5px;
    margin: 10px 0;
    position: relative;
    cursor: pointer; /* Interaksi tambahan */
    -webkit-transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; /* Fallback */
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Ikon CTA di tombol */
.download-button::after {
    content: '↓';
    margin-left: 8px;
    font-size: 14px;
}

.download-button:hover {
    background-color: #FF99AA; /* Pink lebih gelap saat hover */
    transform: scale(1.02);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.download-button:focus {
    outline: 2px solid #FFC1CC; /* Outline pink muda */
    outline-offset: 2px; /* Aksesibilitas */
}

/* Efek ripple saat klik tombol */
.download-button:active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    to { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}

/* Tipografi untuk heading */
h1, h2, h3, h4 {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 700;
    color: #333;
}
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }
