@font-face {
    font-family: 'Dream Orphans Regular';
    src: url('assets/fonts/DreamOrphans-Regular.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html,
body {
    width: 100vw;
    height: 100vh;
    background-color: #000;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

#player-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: #a6f2eb;
    overflow: hidden;
}

/* Fullscreen Button */
#fullscreen-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: #FFFFFF;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    padding: 0;
}

#fullscreen-btn svg {
    width: 28px;
    height: 28px;
    fill: #52B2EC;
}

/* Responsive Scaling */
@media (max-width: 768px) {
    #start-app-btn {
        padding: 15px 40px;
        font-size: 1.6rem;
    }

    .menu-title {
        font-size: 3.5rem;
    }

    .menu-subtitle {
        font-size: 5.5rem;
    }

    .menu-btn {
        width: 260px;
        height: 55px;
        font-size: 1.8rem;
    }

    .chapter-buttons-container {
        height: 260px;
        margin-top: 40px;
    }

    .chapter-card-btn {
        width: 320px;
        height: 75px;
    }

    .card-label {
        font-size: 1.5rem;
    }

    .card-icon-circle {
        width: 75px;
        height: 75px;
    }

    .sub-menu-grid {
        gap: 20px 40px;
        margin-top: 30px;
    }

    .sub-menu-btn {
        height: 75px;
        font-size: 1.4rem;
    }
}

/* 0. START SCREEN OVERLAY */
#start-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/Start.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 450px 0 100px 0;
    box-sizing: border-box;
    z-index: 999;
}

#start-app-btn {
    padding: 24px 60px;
    font-size: 2.2rem;
    font-family:"Arial Rounded MT Bold", "Arial Rounded MT", Arial, sans-serif;
    font-weight: bold;
    color: #990184;
    background-color: #CFE1F7;
    border: 4px solid #CC3399;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

#start-app-btn:hover {
    transform: translateY(-4px) scale(1.02);
    background-color: #FFFFCC;
}

.first-header {
    position: absolute;
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 9999;
    width: 100%;
}

.first-title {
    color: #990184;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-weight: bold;
    font-size: 5.2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    line-height: 0.9;
}

.first-subtitle {
    color: #E70B90;
    font-family: "Bell MT", "Garamond", "Georgia", serif;
    font-style: italic;
    font-weight: normal;
    font-size: 9.5rem;
    margin-top: -20px;
    line-height: 0.9;
}

/* VIDEO LAYERS */
.video-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
}

.video-layer.active {
    opacity: 1;
    z-index: 2;
}

/* SCENE 2: LANGUAGE SELECTION OVERLAY */
#language-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/Language.jpg');
    background-size: cover;
    background-position: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 100;
}

.lang-btn {
    position: relative;
    border: 5px solid #CC3399;
    color: #E70B90;
    height: 90px;
    font-size: 2.5rem;
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", "Arial Black", sans-serif;
    font-weight: 900;
    border-radius: 65px;
    cursor: pointer;
    width: 550px;
    max-width: 90vw;
    text-align: center;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

#btn-bm {
    background-color: #CFE1F7;
}

#btn-en {
    background-color: #CCFFFF;
}

.lang-btn:hover {
    transform: translateY(-4px);
    background-color: #FFCCFF !important;
}

#language-overlay .flag-icon {
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 5px solid #CC3399;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.18);
    z-index: 5;
}

.footer-logo {
    position: absolute;
    bottom: 35px;
    text-align: center;
    pointer-events: none;
}

.footer-title {
    color: #990184;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-weight: bold;
    font-size: 1.4rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 0.9;
}

.footer-subtitle {
    color: #DC03A0;
    font-family: "Bell MT", "Garamond", "Georgia", serif;
    font-style: italic;
    font-weight: normal;
    font-size: 2.8rem;
    margin-top: 4px;
    line-height: 0.5;
}

/* SKIP BUTTON */
#skip-btn {
    display: none;
    position: absolute;
    top: 25px;
    right: 35px;
    z-index: 9999 !important;
    width: 160px;
    height: 52px;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #FFFFCC;
    border: 4px solid #339933;
    color: #009966;
    font-family: "Arial Rounded MT Bold", "Arial Rounded MT", Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

#skip-btn:hover {
    transform: translateY(-4px);
    background-color: #FFCCFF;
}

/* GEAR / SETTINGS BUTTON */
.gear-btn {
    position: absolute;
    top: 28px;
    right: 42px;
    width: 50px;
    height: 50px;
    background-color: #FFFFFF;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
    z-index: 210;
    padding: 0;
}

.gear-btn .gear-icon {
    width: 42px;
    height: 42px;
    fill: #52B2EC;
    transition: fill 0.2s ease;
}

.gear-btn:hover {
    transform: translateY(-4px) rotate(15deg);
}

.gear-btn:hover .gear-icon {
    fill: #B033FF;
}

/* SCENE 4: MAIN MENU STYLING */
#scene4-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/bg-homepage.jpg');
    background-size: cover;
    background-position: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 200;
}

.menu-header {
    text-align: center;
    margin-bottom: 110px;
    margin-top: -120px;
}

.menu-title {
    color: #990184;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-weight: bold;
    font-size: 5.2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    line-height: 0.9;
}

.menu-subtitle {
    color: #E70B90;
    font-family: "Bell MT", "Garamond", "Georgia", serif;
    font-style: italic;
    font-weight: normal;
    font-size: 9.5rem;
    margin-top: -20px;
    line-height: 0.9;
}

.menu-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.menu-btn {
    width: 320px;
    height: 68px;
    background-color: #CFE1F7;
    border: 4px solid #CC3399;
    color: #990184;
    font-family: "Arial Rounded MT Bold", "Arial Rounded MT", Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: bold;
    border-radius: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.menu-btn:hover {
    transform: translateY(-4px);
    background-color: #FFFFCC !important;
}

/* SCENE 5: SETTINGS OVERLAY SCREEN */
#settings-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/Setting Page.png');
    background-size: cover;
    background-position: center;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    z-index: 300;
}

#settings-title {
    font-family: "Cooper Black", "Arial Black", sans-serif;
    color: #E70B90;
    font-size: 5rem;
    text-align: center;
    margin-bottom: 25px;
}

#home-btn,
.home-circle-btn {
    position: absolute;
    bottom: 25px;
    left: 35px;
    width: 50px;
    height: 50px;
    background-color: #FFFFFF;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
    z-index: 310;
}

#home-btn:hover,
.home-circle-btn:hover {
    transform: translateY(-4px) scale(1.05);
}

#home-btn svg,
.home-circle-btn svg {
    width: 48px;
    height: 48px;
    fill: #52B2EC;
    transition: fill 0.2s ease;
}

#home-btn:hover svg,
.home-circle-btn:hover svg {
    fill: #B033FF;
}

.settings-grid {
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: stretch;
    width: 92%;
    max-width: 1220px;
    margin-top: 35px;
}

.settings-box {
    flex: 1;
    position: relative;
    border: 4.5px solid #CC3399;
    border-radius: 40px;
    padding: 40px 25px 20px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.box-header-badge {
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 65px;
    border: 4.5px solid #CC3399;
    border-radius: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #E70B90;
    font-family: "Berlin Sans FB", "Arial Rounded MT Bold", sans-serif;
    font-size: 2.6rem;
}

.header-audio {
    background-color: #E7F7A8;
}

.header-lang {
    background-color: #CFE1F7;
}

.audio-control-body {
    display: flex;
    gap: 45px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.volume-slider-container {
    position: relative;
    width: 60px;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    margin-top: -15px;
}

#volume-slider {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    top: 42%;
    left: 50%;
    width: 150px;
    height: 22px;
    background: linear-gradient(to right, #E70B90 100%, #FFCCE5 0%);
    border-radius: 11px;
    outline: none;
    cursor: pointer;
    transform: translate(-50%, -50%) rotate(-90deg);
    margin: 0;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFCC;
    border: 4px solid #CC3399;
    cursor: pointer;
}

#volume-percentage {
    font-family: "Franklin Gothic Heavy", "Arial Black", sans-serif;
    color: #E70B90;
    font-size: 1.6rem;
    font-weight: bold;
    height: 25px;
    line-height: 25px;
    z-index: 2;
}

.audio-btn-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.settings-action-btn {
    width: 290px;
    height: 62px;
    background-color: #E7F7A8;
    border: 4px solid #CC3399;
    color: #E70B90;
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", "Arial Black", sans-serif;
    font-size: 1.85rem;
    border-radius: 35px;
    display: grid;
    grid-template-columns: 50px 1fr;
    align-items: center;
    padding-left: 25px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.settings-action-btn:hover {
    transform: translateY(-4px);
    background-color: #FFCCFF !important;
}

.btn-icon {
    font-size: 1.7rem;
    text-align: center;
}

.settings-action-btn span:not(.btn-icon) {
    text-align: left;
    padding-left: 10px;
}

.lang-btn-group {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    align-items: center;
}

.lang-option-btn {
    position: relative;
    width: 330px;
    height: 68px;
    background-color: #CFE1F7;
    border: 4px solid #CC3399;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 65px;
    padding-right: 20px;
}

.flag-icon {
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 4px solid #CC3399;
    z-index: 5;
    background-size: cover;
    background-position: center;
}

.flag-my {
    background-image: url('assets/flag-malaysia.png');
    background-size: cover;
    background-position: 20% center;
    background-color: #000066;
}

.flag-uk {
    background-image: url('assets/flag-uk.png');
    background-size: cover;
    background-position: center;
    background-color: #CC0000;
}

#back-btn {
    position: absolute;
    bottom: 25px;
    right: 35px;
    width: 160px;
    height: 46px;
    background-color: #FFFFCC;
    border: 4px solid #339933;
    color: #009966;
    font-family: "Arial Rounded MT Bold", Arial, sans-serif;
    font-size: 1.65rem;
    font-weight: bold;
    border-radius: 32px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

#back-btn:hover {
    transform: translateY(-4px);
    background-color: #FFCCFF;
}

/* SCENE 6: CHAPTER MENU OVERLAY SCREEN */
#scene6-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/bg fyp.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 45px;
    z-index: 200;
}

#chapter-title {
    font-family: "Cooper Black", "Arial Black", sans-serif;
    color: #E70B90;
    font-size: 3.8rem;
    font-weight: 900;
    text-align: center;
    margin: 0;
}

.chapter-buttons-container {
    position: relative;
    width: 130%;
    max-width: 1100px;
    height: 380px;
    margin-top: 100px;
}

.chapter-card-btn {
    position: absolute;
    width: 420px;
    height: 100px;
    background-color: #FABFD7;
    border: 4px solid #E680CC;
    border-radius: 50px;
    display: flex;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.chapter-card-btn:hover {
    transform: translateY(-6px);
    background-color: #FFFF99;
}

.card-left {
    top: 20px;
    left: 40px;
}

.card-right {
    top: 20px;
    right: 40px;
}

.card-center {
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.card-center:hover {
    transform: translate(-50%, -6px);
}

.card-icon-circle {
    position: absolute;
    left: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

.icon-bg-blue {
    background-color: #CCFFFF;
}

.icon-bg-cyan {
    background-color: #CCEAFF;
}

.icon-bg-purple {
    background-color: #CFDEFC;
}

.card-emoji {
    font-size: 2.6rem;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.health-svg-icon {
    width: 46px;
    height: 46px;
    fill: #DC03A0;
    display: block;
    margin: auto;
}

.card-label {
    flex: 1;
    text-align: center;
    padding-left: 55px;
    padding-right: 20px;
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", "Arial Black", sans-serif;
    color: #E70B90;
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1.1;
}

/* SCENE 7: SUB-MENU ASAS OVERLAY SCREEN */
#scene7-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/bg fyp.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 45px;
    z-index: 200;
}

#asas-title {
    font-family: "Cooper Black", "Arial Black", sans-serif;
    color: #E70B90;
    font-size: 3.8rem;
    font-weight: 900;
    text-align: center;
    margin: 0;
}

.sub-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px 100px;
    width: 85%;
    max-width: 1000px;
    margin-top: 100px;
}

.sub-menu-btn {
    height: 110px;
    background-color: #B4D4F0;
    border: 4px solid #E680CC;
    border-radius: 30px;
    font-family: "Franklin Gothic Heavy", "Arial Black", sans-serif;
    color: #E70B90;
    font-size: 2.2rem;
    font-weight: 900;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px 25px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.sub-menu-btn:hover {
    transform: translateY(-5px);
    background-color: #FFCCFF;
}

.sub-back-btn {
    position: absolute;
    bottom: 25px;
    right: 20px;
    width: 160px;
    height: 46px;
        background-color: #FFFFCC;
    border: 4px solid #339933;
    color: #28A745;
    font-family: "Arial Rounded MT Bold", Arial, sans-serif;
    font-size: 1.50rem;
    font-weight: bold;
    border-radius: 32px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    z-index: 220;
}

.sub-back-btn:hover {
    transform: translateY(-4px);
    background-color: #FFCCFF;
}
/* ==========================================
   NORMAL VS TIDAK NORMAL VIDEO PLAYER OVERLAY (FULLSCREEN)
   ========================================== */
#normal-lawan-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000; /* Latar belakang hitam untuk mod video penuh */
    z-index: 250;
    overflow: hidden;
}

/* Central Video Display Area - Memenuhi Seluruh Skrin */
.video-display-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.video-display-area video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gunakan 'cover' untuk penuhi seluruh skrin tanpa margin putih */
    background-color: #000000;
}

/* Vertical Toolbar On Right - Lapisan Atas Video */
.video-controls-toolbar {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.vcontrol-btn {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.75); /* Latar belakang hitam lutsinar */
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.15s ease, background-color 0.15s ease;
    padding: 0;
}

.vcontrol-btn svg {
    width: 30px;
    height: 30px;
    fill: #FFFFFF;
}

.vcontrol-btn:hover {
    transform: scale(1.1);
    background-color: #E70B90; /* Warna penyerlah semasa hover */
    border-color: #E70B90;
}

.vcontrol-btn:active {
    transform: scale(0.95);
}

/* Pelapisan Butang Navigasi (Settings, Home & Kembali) di Atas Video */
#normal-lawan-settings-btn {
    z-index: 10;
}

#normal-lawan-home-btn {
    position: absolute;
    bottom: 25px;
    left: 35px;
    z-index: 10;
}

#normal-lawan-back-btn {
    position: absolute;
        background-color: #FFFFCC;
    border: 4px solid #339933;
    bottom: 25px;
    right: 20px;
    width: 160px;
    height: 46px;
    z-index: 10;
}

.normal-lawan-back-btn:hover {
    transform: translateY(-4px);
    background-color: #FFCCFF;
}

/* SCENE 8: SUB-MENU PENJAGAAN OVERLAY SCREEN */
#scene8-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/bg fyp.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 45px;
    z-index: 200;
}

#penjagaan-title {
    font-family: "Cooper Black", "Arial Black", sans-serif;
    color: #E70B90;
    font-size: 3.8rem;
    font-weight: 900;
    text-align: center;
    margin: 0;
}

.sub-menu-btn.green-btn {
    background-color: #CFE4D1;
    border: 4px solid #E680CC;
}

.sub-menu-btn.green-btn:hover {
    background-color: #FFCCCC;
}

/* SCENE 9: SUB-MENU KESIHATAN & KESEDARAN */
#scene9-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/bg fyp.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 30px;
    z-index: 200;
}

#kesihatan-title {
    font-family: "Cooper Black", "Arial Black", sans-serif;
    color: #E70B90;
    font-size: 3.2rem;
    font-weight: 900;
    text-align: center;
    margin: 0;
    line-height: 1.1;
}

.sub-menu-btn.yellow-btn {
    background-color: #FFED96;
    border: 4px solid #EFA6CC;
}

.sub-menu-btn.yellow-btn:hover {
    background-color: #CCFF99;
}

/* SCENE 10: QUIZ MENU OVERLAY SCREEN */
#scene10-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/bg fyp.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 45px;
    z-index: 200;
}

#quiz-title {
    font-family: "Cooper Black", "Arial Black", sans-serif;
    color: #E70B90;
    font-size: 3.8rem;
    font-weight: 900;
    text-align: center;
    margin: 0;
}

/* SCENE 11: QUIZ INTERFACE STYLING */
#scene11-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/quiz bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 25px;
    z-index: 200;
}

.question-container {
    position: relative;
    z-index: 210;
    width: 80%;
    max-width: 1100px;
    margin-top: 40px;
    text-align: center;
}

#quiz-question-text {
    font-family: "Dream Orphans Regular", "Dream Orphans", sans-serif;
    font-size: 2.6rem;
    font-weight: normal;
    color: #000;
    line-height: 1.3;
}

.options-grid {
    position: relative;
    z-index: 210;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 40px;
    width: 85%;
    max-width: 950px;
    margin-top: 100px;
}

.option-btn {
    min-height: 110px;
    background-color: #FFED96;
    border: 4px solid #E680CC;
    border-radius: 25px;
    font-family: "Franklin Gothic Demi Cond", "Franklin Gothic Medium Condensed", "Arial Narrow", sans-serif;
    font-size: 1.6rem;
    font-weight: normal;
    color: #000;
    padding: 15px 20px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.option-btn:hover {
    transform: translateY(-4px);
    background-color: #FFCC99;
}

.score-board {
    position: absolute;
    top: 25px;
    left: 90px;
    font-family: "Arial Rounded MT Bold", "Arial Rounded MT", sans-serif;
    font-size: 2.2rem;
    font-weight: bold;
    color: #FF0000;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 5px 18x;
    border-radius: 12px;
    border: 2px solid #FF0000;
    z-index: 220;
}

/* SCENE 12: QUIZ RESULT OVERLAY SCREEN */
#scene12-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/quiz bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.result-box {
    text-align: center;
    margin-bottom: 50px;
}

#result-congrats {
    font-family: "Dream Orphans Regular", "Dream Orphans", sans-serif;
    font-size: 4.5rem;
    color: #000;
    font-weight: normal;
    margin-bottom: 67px;
}

#result-motto {
    font-family: "Dream Orphans Regular", "Dream Orphans", sans-serif;
    font-size: 3.5rem;
    color: #000;
    font-weight: normal;
    margin-bottom: 60px;
}

.score-display-line {
    font-family: "Dream Orphans Regular", "Dream Orphans", sans-serif;
    font-size: 3.5rem;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

#final-score-val {
    font-weight: bold;
}