* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #333; 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* --- FRAME MOBILE --- */
.mobile-frame {
    width: 360px; 
    height: 640px; /* aspek rasio 16:9 */
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden; 
}

/* --- KONTROL HALAMAN  --- */
.page {
    display: none; 
    width: 100%;
    height: 100%;
    position: absolute; 
    top: 0;
    left: 0;
    transition: opacity 0.4s ease; /* Transisi fade  */
    opacity: 0;
}

.page.active {
    display: block; /* Tampilkan halaman aktif */
    opacity: 1;
}

/* --- HALAMAN 1 --- */
.splash-page {
    background-image: url('assets/1.gif'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* --- TOMBOL START TRANSPARAN --- */
.invisible-start-btn {
    position: absolute;
    bottom: 12%;       
    left: 50%;    
    transform: translateX(-50%); 
    
    width: 160px;      
    height: 60px;       
    border-radius: 30px; 
    
    background: transparent;
    border: none;
    color: transparent; 
    cursor: pointer;
    z-index: 10;       
    outline: none; 
}

/* Efek tekan tombol  */
.invisible-start-btn:active {
    background-color: rgba(255, 255, 255, 0.2); 
}


/* --- HALAMAN 2 --- */
.main-menu-page {
    background-color: #2c3e50; 
    color: white;
    padding: 30px;
}

.main-menu-page h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #f1c40f; 
}

.content-box {
    text-align: center;
    padding-top: 50px;
}

/* Tombol Kembali */
.btn-back {
    margin-top: 40px;
    padding: 10px 20px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* --- GAMBAR PROTECTION  --- */
.protected-media {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Style semua halaman */
.page {
    display: none;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.active {
    display: flex;
}

.content {
    background: rgba(255, 255, 255, 0.8); 
    padding: 20px;
    margin: 20px;
    border-radius: 15px;
    backdrop-filter: blur(5px); /* Efek blur */
}

.btn-nav {
    background-color: #d88194;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 15px;
}


/* --- SIDEBAR MENU --- */
.side-menu {
    position: absolute;
    top: 0;
    left: -100%; 
    width: 250px;
    height: 100%;
    background: rgba(44, 62, 80, 0.95); 
    backdrop-filter: blur(10px);
    z-index: 100; 
    transition: 0.4s ease-in-out;
    color: white;
    padding: 20px;
    overflow-y: auto;          
    scrollbar-width: none;    
}


/* geser menu */
.side-menu.open {
    left: 0;
}

.side-menu h3 {
    margin-top: 40px;
    border-bottom: 2px solid #e4fd00;
    padding-bottom: 10px;
    color: #e4fd00;
}

.side-menu ul {
    list-style: none;
    margin-top: 20px;
}

.side-menu li {
    padding: 15px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    font-size: 1.1rem;
}

.side-menu li:hover {
    background: rgba(228, 253, 0, 0.2);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* posisi btn */
.btn-menu {
    position: absolute;
    bottom: 91%;      
    left: 3%;        
    transform: translateX(-50%);
    width: 40px;      
    height: 40px;      
    border-radius: 30px; 
    background: transparent; 
    border: none;
    color: transparent; 
    font-size: 24px;
    cursor: pointer;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-pg2 {
    position: absolute;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
    
    width: 60px;
    height: 60px;
    border-radius: 30px;
    

    background: rgb(228, 253, 0);
    border: none;
    color: white;
    font-size: xx-large;
    cursor: pointer;
    z-index: 10;
    outline: none; 
}

.btn-menu-forall {
    position: absolute;
    bottom: 91%;      
    left: 3%;        
    transform: translateX(-50%);
    width: 40px;      
    height: 40px;      
    border-radius: 30px; 
    background: black; 
    border: none;
    color: white; 
    font-size: 24px;
    cursor: pointer;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-nav-next {
    position: absolute;
    bottom: 5%;
    left: 95%;
    transform: translateX(-50%);
    
    width: 50px;
    height: 50px;
    border-radius: 30px;
    

    background: rgba(0, 253, 0, 0);
    border: none;
    color: white;
    font-size: xx-large;
    cursor: pointer;
    z-index: 10;
    outline: none; 
}

.btn-nav-back {
    position: absolute;
    bottom: 4%;
    left: 8%;
    transform: translateX(-50%);
    
    width: 50px;
    height: 50px;
    border-radius: 30px;
    

    background: rgba(253, 0, 0, 0);
    border: none;
    color: white;
    font-size: xx-large;
    cursor: pointer;
    z-index: 10;
    outline: none; 
}

.btn-nav-eval {
    position: absolute;
    bottom: 47%;
    left: 50%;
    transform: translateX(-50%);
    
    width: 176px;
    height: 50px;
    border-radius: 30px;
    

    background: rgba(255, 196, 1, 0);
    border: none;
    color: white;
    font-size: xx-large;
    cursor: pointer;
    z-index: 10;
    outline: none; 
}