/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: #0b0000;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    /* Masukkan gambar Anda di sini agar mengunci total di layar */
    background-image: url('gatotkaca.png'); 
    background-size: cover;
    background-position: center top; /* Mengunci bagian atas gambar agar logo bawaan tidak turun */
    background-repeat: no-repeat;
    background-attachment: fixed; /* Kunci permanen terhadap layar kaca monitor */
}

/* Header */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: linear-gradient(180deg, #1f0202 0%, #000000 100%);
    border-bottom: 2px solid #ff0000;
    height: 60px;
}

.logo img {
    height: 70px; /* Sesuaikan dengan tinggi header */
    width: auto;
    display: block;
    object-fit: contain;
}

.auth-buttons button {
    padding: 8px 15px;
    margin-left: 10px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.btn-login-top { background-color: #333; color: white; }
.btn-register-top { background-color: #ff0000; color: white; box-shadow: 0 0 10px #ff0000; }

/* Marquee */
.announcement {
    background-color: #800000;
    padding: 5px 0;
    font-size: 13px;
    border-bottom: 1px solid #ff0000;
}

/* =======================================================
   1. KONTAINER UTAMA (FOKUS MENJAGA POSISI TENGAH)
   ======================================================= */
.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 40px 20px;
    
    /* Membuat efek lapisan kaca blur di atas background body */
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    background: rgba(11, 0, 0, 0.3); /* Gelapkan sedikit agar teks tengah lebih menonjol */
}

/* =======================================================
   2. ELEMEN PALSU (KHUSUS UNTUK MEMBUAT LAPISAN BLUR SAJA)
   ======================================================= */
.hero-container::before {
    display: none; /* Kita matikan karena fungsinya sudah digantikan oleh kode di atas */
}

/* Panel Utama Berbentuk Kotak di Tengah */
.main-panel {
    position: relative; /* Agar berada di atas efek blur */
    z-index: 2;
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid #ff0000;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    width: 100%;
    max-width: 480px; /* Membatasi lebar agar tetap berbentuk kotak proporsional */
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.5);
}

.brand-title {
    font-size: 36px;
    color: #ff0000;
    text-shadow: 0 0 15px #ff0000;
    margin: 5px 0;
}

.subtitle { font-weight: bold; letter-spacing: 2px; color: #ffcccc; font-size: 14px; }
.sub-info { font-size: 11px; margin-bottom: 15px; color: #aaa; }

/* Kotak Tempat Foto Model (Tengah) */
.model-box {
    width: 100%;
    height: 360px;
    background: #1a0202;
    border: 2px solid #ff3333;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: inset 0 0 15px rgba(255, 0, 0, 0.3);
    /* GANTI 'model.jpg' dengan nama file gambar model Anda */
    background-image: url('model.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Area Tombol LOGIN / DAFTAR */
.cta-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.cta-actions a {
    flex: 1;
    padding: 12px 0;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    transition: 0.3s;
    font-size: 16px;
}

.btn-main-login {
    background: #ff0000;
    color: #fff;
    box-shadow: 0 0 15px #ff0000;
}

.btn-main-login:hover { background: #b30000; }

.btn-main-daftar {
    background: transparent;
    color: #fff;
    border: 2px solid #ff0000;
}

.btn-main-daftar:hover { background: rgba(255, 0, 0, 0.2); }

.panel-footer-text {
    display: flex;
    justify-content: space-around;
    font-size: 11px;
    color: #ccc;
}

/* Sembunyikan elemen karakter samping yang merusak layout jika belum di-slice */
.char-left, .char-right {
    display: none;
}

/* Trust Badges Baris Bawah */
.trust-badges {
    display: flex;
    justify-content: space-around;
    background: #120101;
    padding: 25px 5%;
    border-top: 2px solid #ff0000;
    text-align: center;
    font-size: 11px;
    width: 100%;
}

.badge-item strong {
    color: #ff0000;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 3px;
}

/* Optimasi Layar HP */
@media (max-width: 480px) {
    .trust-badges {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}