:root {
    --primary-color: #007bff;
    --dark-bg: #121212;
    --light-bg: #1e1e1e;
    --text-color: #e0e0e0;
    --text-muted: #888;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px 0;
    text-align: center;
    box-sizing: border-box;
}

.age-gate-container {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 450px;
    width: 90%;
}

.logo-image {
    display: block;
    width: 100px;
    height: auto;
    border-radius: 10px;
    margin: 0 auto 20px auto;
    object-fit: contain;
}

h1 {
    margin-bottom: 10px;
    font-weight: 700;
}

p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-grow: 1;
}

.btn-confirm {
    background-color: var(--primary-color);
    color: white;
}

.btn-confirm:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

.btn-deny {
    background-color: #444;
    color: var(--text-color);
}

.btn-deny:hover {
    background-color: #555;
}

.btn:disabled {
    background-color: #333;
    color: #777;
    cursor: not-allowed;
    transform: none;
}

.btn:disabled:hover {
    background-color: #333;
}

/* GAYA FINAL UNTUK PANEL INFO YANG KOMPAK */
.visitor-info-panel {
    display: none; /* Sembunyikan secara default untuk efek cepat */
    background-color: #2a2a2e;
    border-left: 4px solid #FFC107; /* Aksen kuning */
    border-radius: 6px;
    padding: 10px 15px;
    margin: 30px auto 0 auto; /* Jarak dari tombol di atas */
    width: fit-content;
    max-width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.info-container {
    display: flex;
    flex-wrap: wrap; /* Responsif: akan turun baris jika tidak muat */
    justify-content: center;
    align-items: center;
    gap: 8px 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #cccccc;
}

.info-item .value {
    font-weight: 700;
    color: #ffffff;
}

.info-separator {
    color: #555;
    display: block; /* Hanya tampil jika tidak dalam satu baris */
}

.footer {
    margin-top: 30px;
    font-size: 12px;
    color: var(--text-muted);
}

/* ATURAN RESPONSIVE UNTUK SEMUA PERANGKAT */
@media (max-width: 480px) {
    .age-gate-container {
        padding: 30px 20px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .button-group {
        flex-direction: column; /* Tumpuk tombol secara vertikal */
    }

    .btn {
        width: 100%;
    }

    /* Di layar kecil, sembunyikan pemisah agar lebih rapi */
    .info-separator {
        display: none;
    }
}