/* * assets/css/tentang-kami.css
 * Gaya Khusus Interactive Storybook (Tanpa Scroll)
 */

:root {
    --void-bg: #030305; 
    --void-text: #e0d8c8;
    --void-accent: #d4af37;
    --font-serif: 'Georgia', 'Times New Roman', serif;
    --font-ui: 'Segoe UI', Tahoma, sans-serif;
}

/* MATIKAN SCROLL SECARA MUTLAK */
html, body {
    margin: 0; padding: 0;
    background-color: var(--void-bg); 
    color: var(--void-text);
    font-family: var(--font-serif);
    overflow: hidden !important; 
    -ms-overflow-style: none; scrollbar-width: none;
}
::-webkit-scrollbar { display: none; }

.global-header { display: none !important; }

/* =========================================
   LANGIT MALAM & TRANSISI VIBE
   ========================================= */
.night-sky-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 1; pointer-events: none;
    background: radial-gradient(ellipse at center, #0a0a0f 0%, #030305 100%);
    transition: background 1.5s ease-in-out;
}

body.vibe-alam .night-sky-bg { background: radial-gradient(ellipse at center, #07170a 0%, #010301 100%); }
body.vibe-misteri .night-sky-bg { background: radial-gradient(ellipse at center, #150818 0%, #020103 100%); }
body.vibe-psiko .night-sky-bg { background: radial-gradient(ellipse at center, #09111c 0%, #010203 100%); }
body.vibe-novel .night-sky-bg { background: radial-gradient(ellipse at center, #1c140d 0%, #030201 100%); }
body.vibe-kreator .night-sky-bg { background: radial-gradient(ellipse at center, #111111 0%, #000000 100%); }
body.vibe-pakta .night-sky-bg { background: radial-gradient(ellipse at center, #1c0505 0%, #030000 100%); }

.stars-layer-1, .stars-layer-2 {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%;
}
.stars-layer-1 {
    background-image: radial-gradient(1px 1px at 15% 25%, rgba(255,255,255,0.4) 100%, transparent),
                      radial-gradient(1px 1px at 75% 15%, rgba(212,175,55,0.3) 100%, transparent);
    background-size: 250px 250px;
}

/* =========================================
   SISTEM STACKING PANGGUNG (SCENE)
   ========================================= */
.storybook-stage {
    position: relative; 
    z-index: 10; 
    width: 100vw; 
    height: 100vh;
}

.scene {
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    padding: 0 2rem; box-sizing: border-box; text-align: center;
    
    opacity: 0;
    pointer-events: none;
    transform: translateY(60px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scene.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    z-index: 20;
}

.scene.is-past {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-60px) scale(1.05);
}

/* =========================================
   TIPOGRAFI & ORNAMEN
   ========================================= */
.floating-text {
    max-width: 700px;
    position: relative;
    z-index: 25;
}

.bg-numeral {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 22rem; font-family: var(--font-serif);
    color: rgba(212, 175, 55, 0.04); z-index: -1; line-height: 1;
    pointer-events: none; user-select: none;
}

.pillar-label { font-family: var(--font-ui); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 0.5rem; opacity: 0.8;}
.floating-text h1, .floating-text h2 { color: var(--void-accent); margin: 0 0 1.5rem 0; font-weight: normal; text-shadow: 0 5px 20px rgba(0,0,0,0.9); }
.floating-text h1 { font-size: 3.5rem; letter-spacing: 8px; text-transform: uppercase; }
.floating-text h2 { font-size: 2.5rem; letter-spacing: 2px;}
.floating-text p { font-size: 1.15rem; line-height: 1.9; opacity: 0.85; margin: 0 0 1.5rem 0; text-shadow: 0 2px 10px rgba(0,0,0,0.9); }

.contact-box { margin-top: 3rem; border-top: 1px dashed rgba(212, 175, 55, 0.2); padding-top: 1.5rem; }
.contact-box p { font-size: 0.8rem; font-family: var(--font-ui); opacity: 0.5; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem; }
.contact-box a { color: var(--void-accent); text-decoration: none; font-size: 1.2rem; font-family: var(--font-ui); letter-spacing: 1px; }

/* =========================================
   TOMBOL MAGIS (AKSI NAVIGASI)
   ========================================= */
.action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.btn-next-scene, .btn-prev-scene {
    display: inline-block;
    background: transparent;
    font-family: var(--font-ui); 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 3px;
    cursor: pointer; 
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 50;
    text-decoration: none;
}

.btn-next-scene {
    padding: 1rem 2.5rem;
    color: var(--void-accent); 
    border: 1px solid var(--void-accent);
}

.btn-next-scene:hover {
    background: var(--void-accent); color: #000;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    transform: translateY(-3px) scale(1.05);
}

.btn-prev-scene {
    padding: 0.8rem 1.5rem;
    color: var(--void-text);
    border: 1px dashed rgba(224, 216, 200, 0.3);
    opacity: 0.6;
    font-size: 0.75rem;
}

.btn-prev-scene:hover {
    opacity: 1;
    border-color: var(--void-text);
    transform: translateY(-3px);
}

/* =========================================
   STIKER EFEK (VIBE PILAR)
   ========================================= */
.magic-sticker {
    position: fixed; font-size: 2.5rem; pointer-events: none; z-index: 5;
    opacity: 0; animation: floatSticker 6s ease-in-out forwards;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.2)) grayscale(0.2);
}
@keyframes floatSticker {
    0% { transform: translateY(40px) scale(0.8) rotate(-15deg); opacity: 0; }
    30% { opacity: 0.4; }
    50% { transform: translateY(-20px) scale(1.1) rotate(15deg); opacity: 0.7; filter: drop-shadow(0 0 25px rgba(255,255,255,0.4)); }
    70% { opacity: 0.4; }
    100% { transform: translateY(-60px) scale(0.8) rotate(-15deg); opacity: 0; }
}

/* =========================================
   KUPU-KUPU VOID (EASTER EGG TENTANG KAMI)
   ========================================= */
.void-butterfly-wrapper {
    position: absolute;
    z-index: 9999;
    pointer-events: none;
    transition: transform 3.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 1s ease;
    opacity: 0;
}
.void-butterfly {
    display: inline-block;
    font-size: 2rem;
    /* Pendaran magis emas khas Void Renjana */
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.8)) hue-rotate(-15deg) brightness(1.2);
    transform-origin: center;
}
/* Pas Terbang (Kepakan cepat) */
.void-butterfly.flying { animation: flapVoid 0.12s infinite alternate ease-in-out; }
/* Pas Hinggap (Kepakan lambat / bernapas) */
.void-butterfly.resting { animation: flapVoid 2.5s infinite alternate ease-in-out; }

@keyframes flapVoid {
    0% { transform: scaleX(1) rotate(0deg); }
    100% { transform: scaleX(0.15) rotate(10deg); }
}

/* Responsif Mobile */
@media (max-width: 768px) {
    .bg-numeral { font-size: 15rem; }
    .floating-text h1 { font-size: 2.2rem; letter-spacing: 4px; }
    .floating-text h2 { font-size: 1.8rem; }
    .floating-text p { font-size: 1rem; }
    .action-buttons { flex-direction: column; gap: 1rem; }
    .btn-next-scene { padding: 0.8rem 1.5rem; font-size: 0.75rem; width: 100%; }
    .btn-prev-scene { padding: 0.6rem 1rem; font-size: 0.7rem; width: 100%; }
}
/* =========================================
   RESPONSIVITAS MOBILE (FIX SCROLL LACI)
   ========================================= */
@media (max-width: 768px) {
    .bg-numeral { font-size: 15rem; }
    .floating-text h1 { font-size: 2.2rem; letter-spacing: 4px; }
    .floating-text h2 { font-size: 1.8rem; }
    .floating-text p { font-size: 1rem; }
    .action-buttons { flex-direction: column; gap: 1rem; }
    .btn-next-scene { padding: 0.8rem 1.5rem; font-size: 0.75rem; width: 100%; }
    .btn-prev-scene { padding: 0.6rem 1rem; font-size: 0.7rem; width: 100%; }

    /* KUNCI FIX SCROLL HP: Bikin Panggung bisa di-scroll vertikal khusus di HP */
    .scene {
        flex-direction: column;
        justify-content: flex-start; /* Paksa posisi mulai dari atas biar kaga kepotong */
        overflow-y: auto; /* Aktifin scroll ke bawah */
        -webkit-overflow-scrolling: touch; /* Biar scroll smooth dan licin di layar HP iOS/Android */
    }
    
    .floating-text {
        padding-top: 3.5rem; /* Kasih jarak napas dari poni HP */
        padding-bottom: 5rem; /* Ruang ekstra di bawah biar tombol ga ketutup ujung layar HP */
    }
}