.elementor-1823 .elementor-element.elementor-element-444c484{--display:flex;}.elementor-1823 .elementor-element.elementor-element-5d5c6c5{--display:flex;}/* Start custom CSS for html, class: .elementor-element-8d33a6c *//* Pengaturan Dasar */
body {
    font-family: 'Nunito', sans-serif;
    background-image: url('https://res.cloudinary.com/dodvhhfkj/image/upload/v1754917948/wtu8_q2za_210511_xffzbf.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    overflow-x: hidden; /* Mencegah scroll horizontal */
}

/* --- Tampilan Layar (Start, Quiz, Finish) --- */
.screen { display: none; }
.screen.active { display: flex; width: 100%; flex-direction: column; justify-content: center; align-items: center; }
.screen-box { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(5px); padding: 30px 40px; border-radius: 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); text-align: center; max-width: 450px; }
.screen-box h1 { font-size: 32px; font-weight: 900; color: #4A4A4A; margin-bottom: 10px; }
.screen-box p { font-size: 18px; color: #555; margin-bottom: 30px; }
.quiz-btn { background-color: #FF86B2; color: white; border: none; padding: 15px 40px; border-radius: 50px; font-size: 18px; font-family: 'Nunito', sans-serif; font-weight: 700; cursor: pointer; box-shadow: 0 4px 10px rgba(255, 134, 178, 0.4); transition: all 0.3s ease; }
.quiz-btn:hover { background-color: #F06A9A; transform: translateY(-2px); }

/* --- Tampilan Kuis Utama (Default untuk DESKTOP) --- */
.app-container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.app-header {
    background: white;
    padding: 20px 25px;
    border-radius: 20px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
    text-align: center;
}
.app-header h2 { font-size: 24px; font-weight: 900; color: #4A4A4A; margin: 0; }
.app-header .subtitle { font-size: 14px; color: #777; margin: 2px 0 0 0; }
.card-area {
    width: 100%;
    flex-grow: 1;
    display: flex;
}
.flashcard-container {
    width: 100%;
    aspect-ratio: 4 / 5;
    perspective: 1500px;
    cursor: pointer;
}
.flashcard-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.flashcard-container.is-flipped .flashcard-inner { transform: rotateY(180deg); }
.flashcard-front, .flashcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
.flashcard-front { background-color: #ffffff; padding: 20px; box-sizing: border-box; }
#cardImage { width: 100%; height: 100%; object-fit: contain; }
.flashcard-back {
    background-color: #0056b3;
    color: white;
    transform: rotateY(180deg);
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}
#cardEnglish { font-size: 38px; font-weight: 900; }
#cardIndonesian { font-size: 22px; }
.navigation { display: flex; justify-content: space-between; }
.nav-btn {
    background-color: #FF86B2;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 134, 178, 0.4);
    transition: all 0.3s ease;
    flex-grow: 1;
}
.nav-btn:first-child { margin-right: 10px; }
.nav-btn:last-child { margin-left: 10px; }
.nav-btn:hover { background-color: #F06A9A; transform: translateY(-2px); }


/* --- DIUBAH TOTAL: RESPONSIVE DESIGN UNTUK MOBILE --- */
/* Aturan ini hanya aktif untuk layar dengan lebar 600px ke bawah */
@media (max-width: 800px) {
    body {
        padding: 15px; /* Kurangi padding di layar kecil */
    }
    .app-container {
        max-width: 125%; /* Gunakan lebar penuh di mobile */
        gap: 15px; /* Kurangi jarak antar elemen */
    }
    .app-header {
        padding: 15px;
    }
    .app-header h2 {
        font-size: 20px;
    }
    .app-header .subtitle {
        font-size: 12px;
    }
    
    /* Aturan font di belakang kartu untuk mobile */
    #cardEnglish {
        font-size: 34px; /* Disesuaikan agar pas */
    }
    #cardIndonesian {
        font-size: 20px; /* Disesuaikan agar pas */
    }

    /* Aturan tombol navigasi untuk mobile */
    .nav-btn {
        padding: 15px 20px; /* Tombol lebih tinggi */
        font-size: 16px; /* Font lebih besar */
    }
}/* End custom CSS */