* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f4f7f6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header & Logo */
header {
    background: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
    width: auto;
}

.divider {
    width: 1.5px;
    height: 25px;
    background: #ddd;
}

/* Timer */
.timer-wrapper {
    text-align: right;
    color: #d9534f;
}

.timer-wrapper span {
    font-size: 0.7rem;
    font-weight: bold;
    display: block;
}

#countdown {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
}

/* Layout Utama */
.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Kolom Visual */
.visual-ref {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.visual-ref h3 {
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #666;
    border-left: 4px solid #007bff;
    padding-left: 10px;
}

.image-box {
    flex: 1;
    background: #fafafa;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Kolom Instruksi */
.instructions {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    display: inline-block;
    background: #e7f1ff;
    color: #007bff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 10px;
    align-self: flex-start;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #2d3436;
    line-height: 1.2;
}

p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #636e72;
    margin-bottom: 15px;
}

.points {
    list-style: none;
    margin-bottom: 20px;
}

.points li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
    color: #2d3436;
    font-size: 0.9rem;
}

.points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Tombol Aksi */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 1px dashed #ccc;
    padding-top: 20px;
}

.btn {
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: 0.3s;
    font-size: 0.9rem;
}

.btn-download {
    background: #2d3436;
    color: white;
}

.btn-upload {
    background: #007bff;
    color: white;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.upload-section p {
    font-size: 0.8rem;
    margin-bottom: 5px;
    text-align: center;
}

/* --- RESPONSIVE BREAKPOINT (HP) --- */
@media (max-width: 768px) {
    body {
        overflow-y: auto;
    }

    /* Aktifkan scroll di HP */

    header {
        padding: 10px;
    }

    .logo {
        height: 30px;
    }

    #countdown {
        font-size: 1.2rem;
    }

    .container {
        grid-template-columns: 1fr;
        /* Jadi satu kolom */
        padding: 15px;
        gap: 15px;
    }

    .visual-ref {
        order: 1;
    }

    /* Gambar di atas */
    .instructions {
        order: 2;
    }

    /* Teks di bawah */

    h1 {
        font-size: 1.5rem;
    }

    .image-box {
        min-height: 250px;
    }
}