/* --- 1. RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body, html { 
    height: 100%; width: 100%; 
    background-color: #000; 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    overflow: hidden; 
}
.hide { display: none !important; }

/* --- 2. GLOBAL VIDEO BACKGROUND --- */
.global-video-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background-color: #000; }
.video-blur-fill {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    width: 100%; height: 100%; object-fit: cover; 
    filter: blur(20px) brightness(0.5); opacity: 0.8; z-index: 1;
}
#bg-video {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%; object-fit: contain; 
    z-index: 2; display: block !important;
}
.video-mask-global { position: absolute; inset: 0; z-index: 3; background: transparent; }

/* --- 3. MAIN LAYOUT (HP & GLOBAL) --- */
.main-split-container { 
    display: flex; flex-direction: column; height: 100vh; width: 100%; 
    padding: 60px 15px; /* Padding HP diperkecil agar tidak terlalu turun */
    align-items: center; justify-content: center; 
    position: relative; z-index: 10; 
}

/* Container untuk Box 1 dan Box 2 */
.info-content-inner {
    display: flex; flex-direction: column; align-items: center; 
    width: 100%; max-width: 1200px; 
    gap: 10px !important; /* MERAPATKAN JARAK BOX DI HP */
}

/* --- 4. FOTO CONTROLLER GLOBAL --- */
div[style*="width: 55px"] {
    width: 85px !important; 
    height: 85px !important;
    border: 3px solid #fff !important;
}
div[style*="width: 55px"] img { width: 100% !important; height: 100% !important; object-fit: cover !important; }

/* --- 5. MODE PC (SPLIT & UKURAN KHUSUS) --- */
@media (min-width: 992px) {
    .main-split-container { padding: 80px 20px; }
    .info-content-inner {
        flex-direction: row !important;
        justify-content: space-between !important;
        width: 95% !important; 
        max-width: 1500px !important; 
        margin: 0 auto;
        height: 80vh;
        align-items: center;
        gap: 0 !important;
    }
    .profile-video-box {
        margin: 0 !important;
        flex: 0 1 500px !important;
        min-height: 600px !important; 
        display: flex !important; flex-direction: column !important; justify-content: center !important;
        padding: 40px 25px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(10px);
    }
    .right-column-wrapper {
        margin: 0 !important;
        flex: 0 1 400px !important;
        display: flex; flex-direction: column; align-items: center;
    }
    .right-column-wrapper > div:first-child { 
        width: 100% !important;
        min-height: 500px !important;
        display: flex !important; flex-direction: column !important; justify-content: center !important;
        padding: 40px 25px !important;
        border-radius: 25px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(10px);
    }
    /* Foto lebih besar di PC */
    div[style*="width: 55px"] { width: 120px !important; height: 120px !important; }
    
    /* Tombol Connect di Tengah Bawah Layar PC */
    .right-column-wrapper div[style*="justify-content: center"] {
        position: fixed !important;
        left: 50% !important;
        bottom: 80px !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        z-index: 100;
    }
}

/* --- 6. BUTTONS & UI --- */
.rj-btn-primary {
    width: 300px; height: 60px; font-size: 17px; font-weight: 800;
    background: #ed1c24 !important; color: #fff; border: none; border-radius: 50px;
    box-shadow: 0 10px 30px rgba(237, 28, 36, 0.4) !important; cursor: pointer;
}
.luxury-header { position: fixed; top: 0; width: 100%; height: 50px; background: rgba(0, 0, 0, 0.7); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.top-logo { height: 50px; }
.luxury-footer { position: fixed; bottom: 0; width: 100%; height: 35px; background: rgba(0, 0, 0, 0.7); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.footer-text { font-size: 9px; color: #bbb; letter-spacing: 1.5px; text-transform: uppercase; }

/* --- 7. MODAL & ANIMATIONS --- */
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); align-items: center; justify-content: center; }
.modal-content { width: 100%; max-width: 360px; position: relative; animation: modalPop 0.4s ease-out forwards; }
@keyframes modalPop { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.login-card { background: #fff; padding: 25px; border-radius: 24px; color: #333; }
.rj-input { width: 100%; height: 50px; background: #f5f5f5; border: 1.5px solid #eee; border-radius: 12px; margin-bottom: 10px; text-align: center; }
.blink-animation { animation: blink-effect 2s infinite ease-in-out; }
@keyframes blink-effect { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.fullview-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 100000; align-items: center; justify-content: center; }
#fullImageContent { max-width: 90%; max-height: 85%; border-radius: 10px; }
.body-loading { position: fixed; inset: 0; background: #fff; display: flex; align-items: center; justify-content: center; z-index: 10000; }
