/* BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Quicksand', sans-serif; 
    overflow: hidden; 
    background: #000; 
    color: #fff; 
}

/* HIDE AUDIO */
.audio-hide { display: none; }

/* LOADING */
.loading-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.loading-message {
    font-family: 'Caveat', cursive;
    font-size: clamp(2rem, 8vw, 4rem);
    color: #fff;
    text-align: center;
    animation: bounceLoad 1.5s infinite;
}

@keyframes bounceLoad {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* WALLPAPER */
.wallpaper {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.wallpaper img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

/* PAGES */
.page-section {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    z-index: 2;
}

.active-page {
    display: flex !important;
}

/* STICKERS - POSISI TERBAIK */
.sticker {
    position: absolute;
    width: 120px;
    height: 120px;
    z-index: 4;
}

.sticker-page1 { top: 8%; left: 5%; animation: stickerFloatLeft 4s infinite ease-in-out; }
.sticker-page2 { top: 8%; right: 5%; animation: stickerFloatRight 4s infinite ease-in-out; }
.sticker-page4 { top: 6%; left: 6%; animation: stickerFloatLeft 4s infinite ease-in-out; }
.final-sticker1 { top: 10%; right: 8%; animation: stickerFloatRight 3.5s infinite ease-in-out; }
.final-sticker2 { top: 10%; left: 8%; animation: stickerFloatLeft 3.5s infinite ease-in-out; animation-delay: 0.5s; }

@keyframes stickerFloatLeft {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-25px) rotate(5deg); }
    66% { transform: translateY(-10px) rotate(-3deg); }
}

@keyframes stickerFloatRight {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-25px) rotate(-5deg); }
    66% { transform: translateY(-10px) rotate(3deg); }
}

/* CONTENT */
.page-content {
    position: relative;
    z-index: 3;
    max-width: 90%;
    padding: 3rem 2.5rem;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 25px 70px rgba(0,0,0,0.5);
    animation: contentSlide 1s ease-out;
    margin-top: 8rem;
}

@keyframes contentSlide {
    from { opacity: 0; transform: translateY(60px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* PAGE 4 - TEKS DIKECILKAN & MUAT */
.page4-content {
    padding: 2.5rem 2rem !important;
    max-width: 88% !important;
    margin-top: 7rem !important;
}

.page4-title {
    font-size: clamp(2.2rem, 8vw, 5rem) !important;
    margin-bottom: 1rem !important;
}

.page4-text {
    font-size: clamp(1rem, 3vw, 1.4rem) !important;
    line-height: 1.5 !important;
    margin: 1.5rem 0 2.5rem 0 !important;
    padding: 0.5rem !important;
}

/* TITLES */
.page-title {
    font-family: 'Caveat', cursive;
    font-size: clamp(3rem, 12vw, 7.5rem);
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 35px rgba(0,0,0,0.9);
    line-height: 1.1;
}

.page-title:nth-of-type(2) {
    font-size: clamp(2.5rem, 10vw, 6rem);
}

/* TEXTS */
.page-text {
    font-size: clamp(1.2rem, 4.5vw, 2rem);
    color: #fff !important;
    margin: 1rem 0;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    opacity: 1 !important;
    visibility: visible !important;
}

.flip-text { animation: flipAnim 1.2s ease-out 0.5s both; }
.slide-right-text { animation: slideRightAnim 1s ease-out 0.3s both; }

@keyframes flipAnim {
    0% { opacity: 0; transform: rotateX(90deg); }
    50% { transform: rotateX(-10deg); }
    100% { opacity: 1; transform: rotateX(0); }
}

@keyframes slideRightAnim {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.bold-text { font-weight: 700; }

/* LONG TEXT PAGE 3 */
.typing-wrapper {
    position: relative;
    z-index: 3;
    width: 95vw;
    max-width: 95vw;
    padding: 2.5rem;
    margin-top: 2rem;
}

.long-page-text {
    font-size: clamp(1rem, 2.7vw, 1.3rem) !important;
    line-height: 1.7 !important;
    color: #fff !important;
    text-align: justify !important;
    text-shadow: 3px 3px 12px rgba(0,0,0,1) !important;
    max-height: 75vh !important;
    overflow-y: auto !important;
    padding: 2.5rem 2rem !important;
    background: rgba(0,0,0,0.25) !important;
    backdrop-filter: blur(15px) !important;
    border-radius: 30px !important;
    border: 3px solid rgba(255,255,255,0.3) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6) !important;
}

/* SCROLLBAR */
.long-page-text::-webkit-scrollbar { width: 10px;