/* Reset & Dasar */
:root {
    --bg-color: #f4f7f6;
    --surface-color: #ffffff;
    --primary-color: #007bff;
    --text-color: #333333;
    --text-muted: #666666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header */
header {
    background-color: var(--surface-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 1rem;
}

/* Konten Utama */
.container {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Judul Video */
.video-title {
    font-size: 1rem;
    margin: 0 0 20px 0; 
    color: var(--text-color); 
    font-weight: 600;
    text-align: center; /* Judul dipusatkan */
}

/* Kartu Video */
.video-card {
    background-color: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Pemutar Video Responsif */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Rasio 16:9 */
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Style .video-details sudah dihapus */

/* (BARU) Kontainer untuk tombol download */
.download-container {
    padding: 25px 0; /* Memberi jarak atas/bawah */
    text-align: center; /* Memusatkan tombol */
}

/* Tombol Download */
.download-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
    cursor: pointer;
}

.download-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.4);
}

.download-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

/* Footer */
footer {
    text-align: center;
    padding: 25px;
    background-color: var(--bg-color);
    color: var(--text-muted);
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
}

/* Media Queries */
@media (max-width: 600px) {
    header h1 {
        font-size: 1rem;
    }

    .video-title {
        font-size: 1rem;
    }
}

/* ================================== */
/* === GAYA POP-UP BANNER BARU === */
/* ================================== */

.simple-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Latar belakang sedikit transparan */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0; /* Mulai tersembunyi */
    visibility: hidden; /* Mulai tersembunyi */
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Transisi halus */
}

.simple-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.simple-popup-content {
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
    transform: translateY(20px); /* Mulai sedikit di bawah */
    opacity: 0; /* Mulai tersembunyi */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.simple-popup-overlay.active .simple-popup-content {
    transform: translateY(0); /* Kembali ke posisi normal */
    opacity: 1;
}

.simple-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 38px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.simple-popup-close:hover {
    color: #333;
}

.simple-popup-content h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.simple-popup-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.popup-banner-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.simple-popup-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.simple-popup-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}



