/* -------------------------------------------------------------
   PUSTAKA TEKNIK CILIK - COHESIVE TECH BLUE & GOLD DESIGN SYSTEM
   HERO DASHBOARD BACKGROUND WITH RICH BLUE BLUEPRINT SKY TEXTURE & OFFICIAL 3D LIBRARY GATE ARTWORK
   OPTIMIZED DOOR SIZE & BOTTOM-CENTER POSITIONING WITH PROMINENT "WELCOME TO OUR LIBRARY" VISIBILITY
   WITH INTEGRATED REFERRAL & BAGI HASIL MITRA SUBSCRIPTION STYLING
   ------------------------------------------------------------- */

:root {
    /* OFF-WHITE, KUNING LEMON & BIRU LANGIT CERAH THEME WITH 100% HIGH CONTRAST LEGIBILITY */
    --color-sky-main: #38BDF8;        /* Biru Langit Cerah (#38BDF8) */
    --color-sky-light: #E0F2FE;       /* Soft Sky Blue Tint */
    --color-sky-dark: #074766;        /* Deep Navy High Contrast Text & Border */

    --color-yellow-main: #FFEA00;     /* Kuning Lemon Cerah (#FFEA00) */
    --color-yellow-light: #FFFBE6;    /* Soft Lemon Tint */
    --color-yellow-dark: #713F12;     /* Deep Lemon Amber High Contrast Text */

    /* COLOR MAPPINGS FOR KUNING LEMON, BIRU LANGIT & OFF-WHITE THEME */
    --color-mint-main: #38BDF8;
    --color-mint-light: #E0F2FE;
    --color-mint-dark: #074766;

    --color-coral-main: #FFEA00;
    --color-coral-light: #FFFBE6;
    --color-coral-dark: #713F12;

    --color-yellow-pastel: #FEF9C3;
    --color-gold-main: #FFEA00;
    --color-gold-light: #FFFBE6;
    --color-gold-dark: #713F12;

    --color-coral: #FFEA00;
    --color-coral-dark: #713F12;

    --color-bg-light: #FAF8F5;        /* Dominant Off-White Warm Ivory (#FAF8F5) */
    --color-bg-navy: #0F172A;
    --color-bg-card-dark: #074766;
    --color-text-dark: #0F172A;       /* Maximum legibility dark slate text */
    --color-text-muted: #334155;

    --font-heading: 'Fredoka', cursive, sans-serif;
    --font-body: 'Nunito', sans-serif;

    --radius-pill: 50px;
    --radius-card: 24px;
    --shadow-pop: 0 10px 25px -5px rgba(56, 189, 248, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 14px 30px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* FLOATING BACKGROUND ENGINEERING ELEMENTS */
.bg-floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: 0.25;
}

.bg-item {
    position: absolute;
    font-size: 3.2rem;
    animation: floatItem 7s ease-in-out infinite alternate;
}

.item-1 { top: 6%; left: 4%; animation-delay: 0s; }
.item-2 { top: 15%; right: 6%; animation-delay: 1.2s; }
.item-3 { top: 38%; left: 5%; animation-delay: 2.8s; }
.item-4 { top: 52%; right: 5%; animation-delay: 2s; }
.item-5 { top: 78%; left: 10%; animation-delay: 3.5s; }
.item-6 { top: 82%; right: 12%; animation-delay: 1s; }
.item-7 { top: 22%; left: 48%; animation-delay: 2.2s; }
.item-8 { top: 68%; left: 46%; animation-delay: 3.8s; }
.item-9 { top: 88%; left: 72%; animation-delay: 0.5s; }
.item-10 { top: 8%; left: 82%; animation-delay: 1.8s; }
.item-11 { top: 32%; right: 38%; animation-delay: 2.5s; }
.item-12 { top: 62%; left: 22%; animation-delay: 4.2s; }

@keyframes floatItem {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(18deg); }
}

/* APP CONTAINER */
.app-container {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.app-container::before { display: none !important; }
.app-container::after { display: none !important; }

/* HEADER (KUNING LEMON, BIRU LANGIT CERAH & OFF-WHITE THEME) */
.main-header {
    height: 76px;
    width: 100%;
    background: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 100%);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.45);
}

.header-inner {
    width: 100%;
    height: 100%;
    padding: 0 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
}

.brand-official-logo,
.admin-brand-official-logo,
.footer-official-logo {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    background: #FFF;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
    border: 2.5px solid rgba(255, 255, 255, 0.95);
    padding: 0;
}

.brand:hover .brand-official-logo,
.admin-brand:hover .admin-brand-official-logo {
    transform: scale(1.08) rotate(4deg);
    filter: drop-shadow(0 6px 16px rgba(255, 234, 0, 0.7));
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
}

.brand-subtitle {
    font-size: 0.82rem;
    color: #E0F2FE;
    font-weight: 800;
    display: block;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-pill {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-pill:hover, .nav-pill.active {
    background: #FFEA00;
    color: #713F12;
    box-shadow: 0 4px 14px rgba(255, 234, 0, 0.5);
}

.nav-partner-glow {
    background: linear-gradient(135deg, #FFEA00, #F5D000) !important;
    color: #713F12 !important;
    border: 2px solid #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(255, 234, 0, 0.5);
    font-weight: 800;
}

.nav-partner-glow:hover {
    background: #FFFFFF !important;
    color: #0EA5E9 !important;
    transform: translateY(-2deg);
}

.user-status-pill {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* BUTTONS & BADGES */
.btn {
    font-family: var(--font-heading);
    font-weight: 700;
    border: none;
    border-radius: var(--radius-pill);
    padding: 12px 26px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.92rem;
}

.btn-login {
    background: #FAF8F5;
    color: #074766;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-weight: 800;
}

.btn-login:hover {
    background: #E0F2FE;
    color: #074766;
    transform: translateY(-2deg);
}

.btn-register {
    background: #FFEA00;
    color: #713F12;
    border: 2px solid #FFFFFF;
    box-shadow: 0 4px 14px rgba(255, 234, 0, 0.5);
    font-weight: 800;
}

.btn-register:hover {
    background: #FFFDF9;
    color: #0EA5E9;
    border-color: #38BDF8;
    box-shadow: 0 6px 18px rgba(255, 234, 0, 0.65);
    transform: translateY(-2deg);
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--color-sky-main), var(--color-sky-dark));
    color: #FFF;
    font-size: 1.1rem;
    padding: 13px 36px;
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.45);
}

.btn-hero-primary:hover {
    transform: translateY(-3deg) scale(1.02);
    box-shadow: 0 16px 32px rgba(14, 165, 233, 0.6);
}

.btn-hero-secondary {
    background: #FFF;
    border: 3px solid var(--color-gold-main);
    color: var(--color-gold-dark);
    font-size: 1.02rem;
    padding: 11px 28px;
    border-radius: var(--radius-pill);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.18);
}

.btn-hero-secondary:hover {
    background: rgba(245, 158, 11, 0.1);
    transform: translateY(-2deg);
}

.btn-bounce {
    animation: bounceBtn 2.5s infinite;
}

@keyframes bounceBtn {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5deg); }
}

.badge {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge-guest {
    background: rgba(255, 255, 255, 0.25);
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.badge-vip {
    background: var(--color-gold-light);
    color: #074766;
    box-shadow: 0 4px 14px rgba(255, 209, 102, 0.5);
}

.badge-accent {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
}

/* SCENE GENERAL */
.scene {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

.scene.hidden {
    display: none !important;
}

/* -------------------------------------------------------------
   HERO INTERACTIVE 5-SLIDE CAROUSEL SLIDESHOW
   ------------------------------------------------------------- */
.hero-slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #E0F2FE 0%, #FFEA00 45%, #38BDF8 100%);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease, transform 1s ease-out;
    transform: scale(1.02);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E0F2FE 0%, #FFEA00 45%, #38BDF8 100%);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

/* SLIDE CAPTION BADGE OVERLAY (REMOVED UPON USER REQUEST) */
.slide-caption-badge {
    display: none !important;
}

@keyframes fadeInCaption {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-caption-badge .slide-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    color: #E0F2FE;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.slide-caption-badge h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: #F8FAFC;
    margin: 0;
    line-height: 1.35;
}

/* SLIDESHOW NAVIGATION BUTTONS */
.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #074766;
    border: 3px solid #FFEA00;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.slideshow-btn:hover {
    background: #38BDF8;
    color: #FFFFFF;
    border-color: #E0F2FE;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 28px rgba(255, 127, 80, 0.45);
}

.slideshow-btn.prev-btn { left: 24px; }
.slideshow-btn.next-btn { right: 24px; }

/* SLIDESHOW INDICATOR DOTS */
.slideshow-dots-wrapper {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
    background: rgba(5, 56, 32, 0.75);
    backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: 30px;
    border: 1.5px solid rgba(255, 234, 167, 0.4);
}

.slide-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slide-dot:hover {
    background: #FFEA00;
    transform: scale(1.2);
}

.slide-dot.active {
    width: 34px;
    border-radius: 12px;
    background: #38BDF8;
    border-color: #E0F2FE;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
}

.btn-text-full {
    display: inline;
}

.btn-text-short {
    display: none;
}

/* COMPACT TOP FROSTED BANNER TO LEAVE MAXIMUM VERTICAL SPACE FOR KIDS FACES */
.frosted-glass-banner {
    background: rgba(255, 253, 240, 0.95);
    border: 3px solid #38BDF8;
    border-radius: var(--radius-card);
    padding: 8px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    margin: 2px auto 0 auto;
    text-align: center;
    max-width: 800px;
    width: 90%;
    position: relative;
    z-index: 20;
}

.frosted-glass-banner .hero-title {
    color: #074766; /* Crisp Deep Forest Mint Green - WCAG AAA 100% readable! */
    font-size: 1.65rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.frosted-glass-banner .hero-subtitle {
    color: #0EA5E9; /* Deep Coral Orange */
    font-size: 0.92rem;
    font-weight: 800;
    margin-top: 2px;
}

.hero-tag-pill {
    display: inline-block;
    background: var(--color-sky-main);
    color: #FFF;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 3px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 2px;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 120px);
    pointer-events: none;
    margin: 0 auto;
}

.hero-content-wrapper > * {
    pointer-events: auto;
}

/* OPEN SPACER LEAVING MAXIMUM VIEWPORT AREA FOR THE BOY & GIRL ENGINEERS */
.hero-kids-center-spacer {
    flex: 1;
    min-height: 260px;
    width: 100%;
    pointer-events: none !important;
}

/* BOTTOM ACTION GROUP ANCHORED AT THE BOTTOM CENTER */
.hero-bottom-action-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0 auto 4px auto;
    width: 100%;
}

/* ADJUSTED DOOR SIZE & POSITIONING AT THE BOTTOM CENTER WITH CLEAR "WELCOME TO OUR LIBRARY" VISIBILITY */
.entrance-door-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    perspective: 1000px;
    margin: 0 auto;
}

/* FLOATING 3D GOLDEN GEARS REMOVED AS REQUESTED */
.door-golden-gear {
    display: none !important;
}

/* COMPACT SAFETY YELLOW DOUBLE DOOR (WITH BLUE BORDER FRAME) */
.library-3d-gate-card.compact-yellow-door {
    position: relative;
    width: 140px; /* REDUCED COMPACT SIZE */
    height: 180px; /* REDUCED COMPACT SIZE */
    border-radius: 70px 70px 14px 14px;
    border: 4.5px solid #38BDF8; /* VIBRANT TECH BLUE OUTER FRAME BORDER */
    outline: 2px solid #0EA5E9; /* DARK TECH BLUE ACCENT OUTLINE */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.45), 0 0 25px rgba(56, 189, 248, 0.7);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(180deg, #FFEA00 0%, #38BDF8 100%);
    transform-style: preserve-3d;
}

.library-3d-gate-card.compact-yellow-door:hover {
    transform: translateY(-6deg) scale(1.05);
    border-color: #7DD3FC;
    outline-color: #38BDF8;
    box-shadow: 0 14px 40px rgba(14, 165, 233, 0.65), 0 0 35px rgba(56, 189, 248, 0.9);
}

/* WELCOME BANNER REMOVED AS REQUESTED */
.door-welcome-arch-banner {
    display: none !important;
}

/* MOCKUP DOUBLE DOOR LEAVES WRAPPER (CONSTRUCTION SAFETY YELLOW) */
.mockup-door-leaves-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    border-radius: 65px 65px 12px 12px;
    overflow: hidden;
    background: linear-gradient(180deg, #FFEA00 0%, #38BDF8 100%);
    box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.15);
}

.door-leaf {
    flex: 1;
    height: 100%;
    position: relative;
    padding: 20px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.leaf-left {
    background: linear-gradient(135deg, #FFEA00 0%, #38BDF8 100%);
    border-right: 2px solid #FFEA00;
    transform-origin: left center;
}

.leaf-right {
    background: linear-gradient(135deg, #E0F2FE 0%, #FFEA00 100%);
    border-left: 2px solid #FFEA00;
    transform-origin: right center;
}

.door-center-split-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #FFEA00 0%, #074766 100%);
    z-index: 10;
    box-shadow: 0 0 6px rgba(0,0,0,0.25);
}

/* CENTER DOOR HANDLES (TECH BLUE DISIMPAN KONTRASTING) */
.door-handle {
    position: absolute;
    top: 46%;
    width: 13px;
    height: 30px;
    background: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 100%);
    border: 2px solid #FFFFFF;
    border-radius: 8px;
    z-index: 15;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
}

.handle-left {
    right: 5px;
    border-radius: 8px 3px 3px 8px;
}

.handle-right {
    left: 5px;
    border-radius: 3px 8px 8px 3px;
}

.entrance-door-container:hover .door-handle {
    background: linear-gradient(135deg, #7DD3FC 0%, #38BDF8 100%);
    box-shadow: 0 0 14px #7DD3FC, 0 3px 8px rgba(0,0,0,0.3);
}

/* TOP ARCHED BANNER FOR WELCOME (SHARP, UNTRUNCATED) */
.door-welcome-arch-banner {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    width: 86%;
    text-align: center;
    background: linear-gradient(135deg, #38BDF8 0%, #FFEA00 100%);
    border: 2px solid #FFFDF9;
    border-radius: 20px;
    padding: 4px 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    overflow: visible;
}

.door-welcome-arch-banner span {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    letter-spacing: 1.5px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    overflow: visible;
}

.door-3d-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 8%;
    display: block;
    filter: brightness(1.25) saturate(1.4) contrast(1.08);
    transition: filter 0.3s ease, transform 0.4s ease;
}

.library-3d-gate-card:hover .door-3d-img {
    filter: brightness(1.28) saturate(1.45) contrast(1.08);
    transform: scale(1.04);
}

.door-click-overlay {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    pointer-events: none;
    width: 88%;
    display: flex;
    justify-content: center;
}

.portal-text-badge {
    background: linear-gradient(135deg, #38BDF8, #0EA5E9);
    color: #FFFFFF;
    border: 1.2px solid #FFEA00;
    border-radius: 12px;
    padding: 2px 7px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.58rem;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.4);
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.hero-action-buttons {
    display: flex;
    gap: 12px;
}

.silver-wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    pointer-events: none;
    z-index: 5;
}

.silver-wave-divider svg {
    width: 100%;
    height: 40px;
}

/* REFERRAL & BAGI HASIL MITRA STYLING */
.sub-referral-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 4px 0;
}

.sub-referral-group label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: #074766;
    display: flex;
    align-items: center;
    gap: 6px;
}

.referral-input-wrapper {
    display: flex;
    gap: 8px;
}

.referral-input-wrapper input {
    flex: 1;
    padding: 10px 16px;
    border-radius: 12px;
    border: 2px solid #7DD3FC;
    background: #FFFDF9;
    font-weight: 700;
    color: #0EA5E9;
    font-size: 0.95rem;
}

.btn-gold-pill {
    background: linear-gradient(135deg, #FFEA00, #38BDF8);
    color: #074766;
    font-family: var(--font-heading);
    font-weight: 800;
    border: none;
    border-radius: 12px;
    padding: 8px 16px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-gold-pill:hover {
    background: #FFF;
    color: #0EA5E9;
}

.referral-status-msg {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
}

.referral-status-msg.success {
    background: #E0F2FE;
    color: #074766;
    border: 1px solid #38BDF8;
}

.referral-status-msg.error {
    background: #E0F2FE;
    color: #074766;
    border: 1px solid #38BDF8;
}

.user-referral-share-box {
    background: rgba(255, 255, 255, 0.15);
    border: 2px dashed #FFEA00;
    border-radius: 18px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #FFF;
}

.user-referral-share-box h4 {
    font-family: var(--font-heading);
    color: #FFEA00;
    font-size: 1.05rem;
}

.user-referral-share-box p {
    font-size: 0.85rem;
    color: #FAF8F5;
}

.referral-share-input-group {
    display: flex;
    gap: 8px;
}

.referral-share-input-group input {
    flex: 1;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid #7DD3FC;
    background: #FFF;
    color: #0EA5E9;
    font-weight: 700;
    font-size: 0.9rem;
}

/* MEDIA QUERIES FOR WIDE & LAPTOP SCREENS */
@media (min-width: 1200px) and (max-height: 900px) {
    #sceneEntrance {
        background-size: cover, 100% 100%, 24px 24px, 48px 48px, 48px 48px;
        background-position: center top, center center, 0 0, 0 0, 0 0;
    }
}

/* SCENE 2: LIBRARY ROOM WITH CONTINUOUS DUAL-TONE BLUE & YELLOW TEXTURED BACKGROUND */
#sceneLibrary {
    position: relative;
    background-image: 
        radial-gradient(ellipse at 2% 35%, rgba(255, 209, 102, 0.65) 0%, transparent 55%),
        radial-gradient(ellipse at 98% 65%, rgba(255, 209, 102, 0.65) 0%, transparent 55%),
        repeating-linear-gradient(45deg, rgba(255, 209, 102, 0.12) 0px, rgba(255, 209, 102, 0.12) 18px, rgba(14, 165, 233, 0.10) 18px, rgba(14, 165, 233, 0.10) 36px),
        radial-gradient(circle, rgba(255, 255, 255, 0.32) 1.5px, transparent 1.5px),
        linear-gradient(180deg, #0EA5E9 0%, #38BDF8 50%, #0EA5E9 100%);
    background-size: 
        100% 100%,
        100% 100%,
        72px 72px,
        24px 24px,
        100% 100%;
    min-height: calc(100vh - 80px);
    overflow: hidden;
}

.category-carousel-section {
    position: relative;
    height: auto;
    min-height: 180px;
    box-sizing: border-box;
    background-image: 
        radial-gradient(ellipse at 2% 50%, rgba(255, 255, 255, 0.8) 0%, transparent 60%),
        radial-gradient(ellipse at 98% 50%, rgba(255, 255, 255, 0.8) 0%, transparent 60%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.40) 0px, rgba(255, 255, 255, 0.40) 18px, rgba(245, 158, 11, 0.22) 18px, rgba(245, 158, 11, 0.22) 36px),
        radial-gradient(circle, rgba(120, 53, 15, 0.18) 1.6px, transparent 1.6px),
        linear-gradient(135deg, #E0F2FE 0%, #FFEA00 35%, #38BDF8 80%, #FFEA00 100%);
    background-size: 
        100% 100%,
        100% 100%,
        72px 72px,
        24px 24px,
        100% 100%;
    background-position: 
        center center,
        center center,
        0 0,
        0 0,
        0 0;
    padding: 16px 20px 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 5px solid #38BDF8;
    border-bottom: 5px solid #FFEA00;
    box-shadow: 0 8px 24px rgba(180, 83, 9, 0.25);
    overflow: hidden;
    width: 100%;
}

.category-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: repeating-linear-gradient(90deg, #38BDF8 0px, #38BDF8 20px, #074766 20px, #074766 40px);
    z-index: 5;
}

.category-carousel-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: repeating-linear-gradient(-90deg, #38BDF8 0px, #38BDF8 20px, #074766 20px, #074766 40px);
    z-index: 5;
}

.carousel-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: #074766;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.94);
    padding: 4px 20px;
    border-radius: 20px;
    border: 2px solid #38BDF8;
    box-shadow: 0 4px 12px rgba(120, 53, 15, 0.15);
}

.category-circles-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 16px 14px 16px;
    box-sizing: border-box;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.category-circles-grid.active-drag {
    cursor: grabbing;
}

@media (max-width: 1250px) {
    .category-circles-grid {
        justify-content: flex-start;
        padding-right: 28px;
    }
}

.category-circles-grid::-webkit-scrollbar {
    display: none;
}

.cat-circle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.circle-avatar {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    box-shadow: 0 6px 18px rgba(120, 53, 15, 0.20);
    border: 4px solid #38BDF8;
    transition: all 0.3s ease;
}

.circle-label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: #074766;
    text-shadow: 0 2px 6px rgba(255, 255, 255, 0.9), 0 1px 2px rgba(255, 255, 255, 1);
}

.cat-circle-card:hover {
    transform: translateY(-8deg) scale(1.08);
}

.cat-circle-card.active .circle-avatar {
    transform: scale(1.12);
    border-color: #38BDF8;
    background: #FFFDF9;
    box-shadow: 0 0 25px rgba(14, 165, 233, 0.85);
}

.library-room {
    padding: 40px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.room-banner-playful {
    background: rgba(255, 243, 212, 0.90);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-radius: var(--radius-card);
    border-left: 8px solid var(--color-sky-main);
    border-top: 2.5px solid #38BDF8;
    border-right: 2.5px solid #38BDF8;
    border-bottom: 2.5px solid #38BDF8;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
    margin-bottom: 36px;
    gap: 20px;
}

.banner-content h3 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    color: #0F172A;
}

.banner-content p {
    font-size: 1rem;
    color: #0F172A;
    margin-top: 4px;
}

.search-box-wrapper {
    position: relative;
    width: 320px;
}

.search-box-wrapper .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #38BDF8;
    font-size: 1.1rem;
}

.search-box-wrapper input {
    width: 100%;
    padding: 14px 18px 14px 48px;
    border-radius: var(--radius-pill);
    border: 2px solid #FFEA00;
    background: #FFFDF9;
    color: #0F172A;
    font-weight: 700;
    font-family: var(--font-body);
    font-size: 1rem;
}

.search-box-wrapper input:focus {
    outline: none;
    border-color: var(--color-sky-main);
    box-shadow: 0 0 14px rgba(14, 165, 233, 0.35);
}

.btn-secondary-pill {
    background: linear-gradient(135deg, #38BDF8, #0EA5E9);
    color: #FFFFFF !important;
    border: 1.5px solid #FFEA00;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

.btn-secondary-pill:hover {
    background: linear-gradient(135deg, #7DD3FC, #38BDF8);
    transform: translateY(-2deg);
}

/* SHELF & PLAYFUL BOOK CARDS (WARM OFF-WHITE CREME WITH NO BLACK TEXT) */
.shelf-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 32px;
    width: 100%;
}

.book-card {
    background: rgba(255, 243, 212, 0.90);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border-radius: var(--radius-card);
    border: 2.5px solid #38BDF8;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16);
    perspective: 1000px;
}

.book-card:hover {
    transform: translateY(-10deg) scale(1.03);
    border-color: var(--color-sky-main);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.22);
}

.book-fav-btn {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #38BDF8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    z-index: 5;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.book-fav-btn.active {
    color: var(--color-gold-main);
}

.book-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #0F172A;
    box-shadow: inset -5px 0 12px rgba(0,0,0,0.25), 0 8px 16px rgba(0,0,0,0.12);
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-card:hover .book-cover {
    transform: rotateY(-12deg);
}

.cover-uploaded-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0F172A;
    z-index: 1;
}

.cover-icon {
    font-size: 4rem;
    margin-bottom: 14px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
    z-index: 2;
}

.cover-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: #FFF;
    line-height: 1.35;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
    z-index: 2;
    background: rgba(15, 23, 42, 0.35);
    padding: 4px 10px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.book-spine-line {
    display: none !important;
}

.book-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.book-tags-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.book-tag {
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}

.tag-free {
    background: rgba(14, 165, 233, 0.12);
    color: var(--color-sky-dark);
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.tag-vip {
    background: rgba(255, 209, 102, 0.3);
    color: #074766;
    border: 1px solid rgba(255, 209, 102, 0.6);
}

.book-audio-tag {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
    letter-spacing: 0.2px;
}

.book-pages-count {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* -------------------------------------------------------------
   MODAL OVERLAYS & AUTH / SUBSCRIPTION MODAL MATCHING MOCKUP
   ------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(14, 165, 233, 0.45);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 30px;
}

.modal-overlay.hidden {
    display: none !important;
}

/* AUTH & REGISTER MODAL CARDS */
.auth-modal-card-playful {
    background: #FFFDF9;
    border: 4px solid var(--color-sky-main);
    border-radius: 28px;
    width: 92vw;
    max-width: 580px;
    max-height: 88vh;
    padding: 32px 36px;
    position: relative;
    box-shadow: 0 25px 70px rgba(14, 165, 233, 0.45);
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    box-sizing: border-box;
}

.auth-header h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-sky-dark);
    margin-top: 8px;
}

.auth-header p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.auth-icon-badge {
    font-size: 3rem;
}

.auth-form-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.form-group input, .form-select {
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    border: 2px solid rgba(14, 165, 233, 0.3);
    background: #FFF;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
}

.btn-blue-pill {
    background: linear-gradient(135deg, var(--color-sky-main), var(--color-sky-dark));
    color: #FFF;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
    transition: all 0.2s ease;
}

.btn-blue-pill:hover {
    transform: translateY(-2deg);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.6);
}

.btn-block { width: 100%; }

.social-divider {
    text-align: center;
    position: relative;
    margin: 10px 0;
}

.social-divider span {
    background: #FFFDF9;
    padding: 0 12px;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.social-login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-social-pill {
    background: #FFF;
    border: 2px solid rgba(0, 0, 0, 0.1);
    color: var(--color-text-dark);
    font-size: 0.9rem;
    padding: 10px 16px;
}

.auth-switch-footer {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.btn-link-switch {
    background: none;
    border: none;
    color: var(--color-sky-main);
    font-weight: 800;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 4px;
}

/* -------------------------------------------------------------
   VIP SUBSCRIPTION MODAL (PIXEL PERFECT MATCH FOR USER MOCKUP IN DOMINANT TECH SKY BLUE)
   ------------------------------------------------------------- */
/* -------------------------------------------------------------
   VIP SUBSCRIPTION MODAL (HIJAU MINT & ORANYE CORAL THEME)
   ------------------------------------------------------------- */
.subscribe-modal-card-playful {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 4px solid #0EA5E9;
    border-radius: 30px;
    width: 92vw;
    max-width: 640px;
    padding: 32px 36px;
    position: relative;
    box-shadow: 0 25px 70px rgba(14, 165, 233, 0.25), 0 0 35px rgba(245, 158, 11, 0.2);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sub-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sub-icon-badge {
    font-size: 2.8rem;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
}

.sub-gold-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: #074766;
    line-height: 1.35;
    text-shadow: none;
}

.sub-sky-desc {
    font-size: 1rem;
    color: #334155;
    font-weight: 600;
    line-height: 1.45;
}

.sub-email-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sub-email-input-group label {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: #074766;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sub-email-input-group input {
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    border: 2px solid #38BDF8;
    background: #FFFFFF;
    color: #0F172A;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.sub-email-input-group input:focus {
    outline: none;
    border-color: #0EA5E9;
    box-shadow: 0 0 14px rgba(14, 165, 233, 0.4);
}

/* SIDE-BY-SIDE PLAN CARDS GRID */
.plan-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

.plan-card {
    background: #FFFFFF;
    border: 2.5px solid #0EA5E9;
    border-radius: 18px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.12);
}

.plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.22);
}

.plan-card.active {
    background: #FFFBEB;
    border: 3.5px solid #F59E0B;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.45), 0 8px 20px rgba(2, 132, 199, 0.18);
    transform: translateY(-4px);
}

.plan-badge {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 10px;
    width: fit-content;
    text-transform: uppercase;
}

/* HIGH CONTRAST BADGES */
.badge-cyan {
    background: #FEF08A;
    color: #854D0E;
    border: 1.5px solid #F59E0B;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.2);
}

.badge-popular-gold {
    background: #0284C7;
    color: #FFFFFF;
    border: 1.5px solid #0369A1;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.3);
}

.plan-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #074766;
    font-weight: 800;
}

.plan-card.active h4 {
    color: #074766;
    font-weight: 900;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 900;
    color: #0284C7;
}

.plan-card.active .plan-price {
    color: #0284C7;
    font-size: 1.5rem;
}

.plan-price span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0369A1;
}

.plan-desc {
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.4;
    font-weight: 600;
}

.plan-card.active .plan-desc {
    color: #1E293B;
    font-weight: 700;
}

/* VIBRANT CTA BUTTON */
.btn-silver-cta {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    padding: 15px 28px;
    border-radius: var(--radius-pill);
    border: 2px solid #FFEA00;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-silver-cta:hover {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    transform: translateY(-3deg) scale(1.01);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.55);
}

.sub-disclaimer {
    font-size: 0.88rem;
    color: #475569;
    font-weight: 600;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* -------------------------------------------------------------
   FLIPBOOK READER MODAL
   ------------------------------------------------------------- */
.flipbook-modal-card-playful {
    background: #FAF8F5;
    border: 5px solid var(--color-sky-main);
    border-radius: 30px;
    width: 95vw;
    max-width: 1150px;
    height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(14, 165, 233, 0.5);
}

.reader-header-playful {
    height: 74px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #0EA5E9 0%, #38BDF8 100%);
    border-bottom: 3px solid var(--color-gold-light);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.reader-title-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reader-title-info h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: #FFFFFF;
    font-weight: 700;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.audio-controls-panel {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-audio-toggle {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid var(--color-gold-light);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 7px 22px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-audio-toggle:hover {
    background: var(--color-gold-light);
    color: #074766;
}

.btn-close-modal {
    background: #FFF;
    border: none;
    color: var(--color-sky-dark);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-close-modal:hover {
    background: var(--color-gold-light);
    color: #074766;
    transform: scale(1.1);
}

.flipbook-viewport {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    position: relative;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFBE6 50%, #38BDF8 100%);
    overflow: hidden;
}

.nav-arrow {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid var(--color-gold-light);
    color: var(--color-sky-dark);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
    position: relative;
    left: auto;
    right: auto;
}

.nav-arrow:hover {
    background: var(--color-gold-light);
    color: #074766;
    border-color: #FFF;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 209, 102, 0.8);
}

.book-stage {
    flex: 0 1 auto;
    min-width: 0;
    width: auto;
    height: auto;
    max-width: calc(100% - 96px);
    max-height: 100%;
    margin: auto;
    display: flex;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.22);
    border-radius: 16px;
    perspective: 1600px !important;
    -webkit-perspective: 1600px !important;
    perspective-origin: center center !important;
    -webkit-perspective-origin: center center !important;
    transform-style: preserve-3d !important;
    -webkit-transform-style: preserve-3d !important;
    position: relative;
    aspect-ratio: 1.5 / 1;
}

/* ASPECT RATIO VARIATIONS FOR AUTHOR BOOK FORMATS (PROPORTIONAL 1600x2400 & 2400x1600) */
.book-stage[data-format="landscape_std"],
.book-stage:not([data-format]) {
    aspect-ratio: 1.5 / 1 !important; /* 2400 x 1600 px spread ratio */
    max-width: 1000px;
}

.book-stage[data-format="landscape_wide"] {
    aspect-ratio: 1.75 / 1 !important; /* 2800 x 1600 px spread ratio */
    max-width: 1100px;
}

.book-stage[data-format="portrait_std"] {
    aspect-ratio: 1.3333 / 1 !important; /* 1600 x 2400 px per page (3200x2400 spread ratio = 4:3) */
    max-width: 900px;
}

.book-stage[data-format="portrait_tall"] {
    aspect-ratio: 1.1428 / 1 !important; /* 1600 x 2800 px per page (3200x2800 spread ratio) */
    max-width: 820px;
}

/* THIN ELEGANT CENTER SPINE SEPARATOR LINE */
.book-stage::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.2) 0%, 
        rgba(0, 0, 0, 0.45) 50%, 
        rgba(0, 0, 0, 0.2) 100%
    );
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    z-index: 25;
    pointer-events: none;
}

/* -------------------------------------------------------------
   FULL IMAGE FLIPBOOK PAGE LAYOUT WITH IVORY FROSTED OVERLAY TEXT
   ------------------------------------------------------------- */
.book-page {
    flex: 1;
    background: #F8FAFC;
    color: #0F172A;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 18px 0 0 18px;
    overflow: hidden !important;
}

.page-left {
    border-radius: 18px 0 0 18px;
    border-right: 1.5px solid rgba(0, 0, 0, 0.28) !important;
    box-shadow: inset -8px 0 15px -4px rgba(0, 0, 0, 0.22) !important;
    overflow: hidden !important;
}

.page-right {
    border-radius: 0 18px 18px 0;
    border-left: 1.5px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: inset 8px 0 15px -4px rgba(0, 0, 0, 0.22) !important;
    overflow: hidden !important;
}

.page-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: inherit;
    overflow: hidden !important;
}

.full-page-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: inherit;
    overflow: hidden !important;
}

.full-page-bg-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    z-index: 1;
}

.full-page-bg-img.img-left-half {
    width: 200% !important;
    max-width: none !important;
    height: 100% !important;
    object-fit: fill !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.full-page-bg-img.img-right-half {
    width: 200% !important;
    max-width: none !important;
    height: 100% !important;
    object-fit: fill !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
}

.full-illustration-art {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bg-art-sky {
    background: linear-gradient(180deg, #7DD3FC 0%, #0EA5E9 50%, #074766 100%);
}

.bg-art-gold {
    background: linear-gradient(180deg, #E0F2FE 0%, #38BDF8 50%, #074766 100%);
}

/* LOCK SPREAD OVERLAY FRAMING STYLES */
.lock-page-artwork {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    box-sizing: border-box;
    text-align: center;
}

.bg-lock-sky {
    background: linear-gradient(135deg, #0F172A 0%, #0F172A 50%, #074766 100%);
    color: #FFFFFF;
}

.bg-lock-gold {
    background: linear-gradient(135deg, #0F172A 0%, #0F172A 50%, #074766 100%);
    color: #FFFFFF;
}

.lock-banner-card, .lock-cta-card {
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 16px 14px;
    width: 85%;
    max-width: 250px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    box-sizing: border-box;
}

.lock-icon-circle, .vip-ticket-badge {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50%;
    background: #FFFDF9;
    border: 2px solid #FFEA00;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    margin-bottom: 6px;
}

.lock-icon-circle i, .vip-ticket-badge i {
    font-size: 1.1rem !important;
}

.lock-title, .lock-cta-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 5px;
    line-height: 1.2;
    text-align: center;
}

.lock-desc, .lock-cta-desc {
    font-family: var(--font-body);
    font-size: 0.76rem;
    color: #334155;
    line-height: 1.3;
    margin-bottom: 8px;
    text-align: center;
}

.lock-feature-badges {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.badge-mini {
    background: #FEF9C3;
    color: #0F172A;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 5px 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
}

.badge-mini i {
    color: #FFEA00;
}

.btn-lock-action {
    width: 100%;
    max-width: 100%;
    background: linear-gradient(135deg, #38BDF8, #0EA5E9);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 8px 10px;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.btn-lock-action:hover {
    transform: translateY(-2deg);
    box-shadow: 0 8px 22px rgba(14, 165, 233, 0.55);
}

.btn-lock-secondary {
    background: none;
    border: none;
    color: #074766;
    font-size: 0.85rem;
    margin-top: 12px;
    cursor: pointer;
}

.btn-lock-secondary strong {
    color: #38BDF8;
    text-decoration: underline;
}

.art-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.25) 1.5px, transparent 1.5px),
        linear-gradient(45deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.08) 75%);
    background-size: 20px 20px, 40px 40px;
    z-index: 2;
}

.hero-illustration-emoji {
    font-size: 7.5rem;
    z-index: 3;
    margin-bottom: 110px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35));
    animation: floatingArt 3s ease-in-out infinite alternate;
}

@keyframes floatingArt {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(-12px) scale(1.04); }
}

/* FLOATING PAGE NUMBER BADGE - HIDDEN PER USER DIRECTIVE */
.full-page-num-badge {
    display: none !important;
}

/* ULTRA SMOOTH SEAMLESS CINEMATIC GRADIENT OVERLAY FOR STORY TEXT */
.page-text-space-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 12;
    margin: 0;
    min-height: 45%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px 22px 24px 22px;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(254, 252, 246, 0.08) 18%, 
        rgba(254, 252, 246, 0.28) 36%, 
        rgba(254, 252, 246, 0.62) 58%, 
        rgba(250, 248, 242, 0.88) 80%, 
        rgba(241, 245, 249, 0.98) 100%
    );
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 35%, black 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 35%, black 100%);
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    pointer-events: none;
}

.page-left .page-text-space-box {
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 0;
}

.page-right .page-text-space-box {
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 0;
}

.space-box-header {
    display: none !important;
}

.space-box-text {
    font-size: 1.08rem;
    line-height: 1.65;
    color: #0F172A;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
    pointer-events: auto;
}

.reader-footer-playful {
    height: 70px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #0EA5E9 0%, #38BDF8 100%);
    border-top: 3px solid var(--color-gold-light);
}

.page-indicator {
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
}

.page-indicator strong {
    color: var(--color-gold-light);
    font-size: 1.15rem;
}

.reader-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-bookmark-outline {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 9px 22px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-bookmark-outline:hover {
    background: #FFFFFF;
    color: var(--color-sky-dark);
}

.btn-download-gold {
    background: linear-gradient(135deg, #FFEA00, #38BDF8);
    color: #074766;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    padding: 10px 22px;
    border-radius: 30px;
    border: 2px solid #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.45);
    transition: all 0.2s ease;
}

.btn-download-gold:hover {
    background: #FFFFFF;
    color: #0EA5E9;
    transform: translateY(-2deg);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.6);
}

.btn-play-cyan {
    background: linear-gradient(135deg, #38BDF8, #0EA5E9);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.98rem;
    padding: 10px 26px;
    border-radius: 30px;
    border: 2px solid #FFEA00;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.5);
    transition: all 0.2s ease;
}

.btn-play-cyan:hover {
    background: #FFFFFF;
    color: var(--color-sky-dark);
    transform: translateY(-2deg);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.6);
}

/* -------------------------------------------------------------
   MODEL 1: REALISTIC 3D CENTER-SPINE PAPER LEAF TURN SYSTEM
   ------------------------------------------------------------- */
.flip-leaf-container {
    position: absolute !important;
    top: 0 !important;
    width: 50% !important;
    height: 100% !important;
    z-index: 50 !important;
    perspective: 1600px !important;
    -webkit-perspective: 1600px !important;
    perspective-origin: center center !important;
    -webkit-perspective-origin: center center !important;
    transform-style: preserve-3d !important;
    -webkit-transform-style: preserve-3d !important;
    pointer-events: none !important;
}

.flip-next {
    left: 50% !important;
}

.flip-prev {
    left: 0 !important;
}

.flip-leaf-card {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    transform-style: preserve-3d !important;
    -webkit-transform-style: preserve-3d !important;
    will-change: transform;
}

.flip-next .flip-leaf-card {
    transform-origin: left center !important;
    -webkit-transform-origin: left center !important;
    animation: flipNextPage 0.48s cubic-bezier(0.35, 0, 0.25, 1) forwards !important;
    -webkit-animation: flipNextPage 0.48s cubic-bezier(0.35, 0, 0.25, 1) forwards !important;
}

.flip-prev .flip-leaf-card {
    transform-origin: right center !important;
    -webkit-transform-origin: right center !important;
    animation: flipPrevPage 0.48s cubic-bezier(0.35, 0, 0.25, 1) forwards !important;
    -webkit-animation: flipPrevPage 0.48s cubic-bezier(0.35, 0, 0.25, 1) forwards !important;
}

.leaf-face-front,
.leaf-face-back {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    overflow: hidden !important;
    background: #FAF8F5 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25) !important;
    transform-style: preserve-3d !important;
    -webkit-transform-style: preserve-3d !important;
}

.leaf-face-front {
    z-index: 2 !important;
    transform: rotateY(0deg) translateZ(1px) !important;
    -webkit-transform: rotateY(0deg) translateZ(1px) !important;
}

.flip-next .leaf-face-front {
    border-radius: 0 18px 18px 0 !important;
}

.flip-prev .leaf-face-front {
    border-radius: 18px 0 0 18px !important;
}

.flip-next .leaf-face-back {
    z-index: 1 !important;
    transform: rotateY(180deg) translateZ(1px) !important;
    -webkit-transform: rotateY(180deg) translateZ(1px) !important;
    border-radius: 18px 0 0 18px !important;
}

.flip-prev .leaf-face-back {
    z-index: 1 !important;
    transform: rotateY(-180deg) translateZ(1px) !important;
    -webkit-transform: rotateY(-180deg) translateZ(1px) !important;
    border-radius: 0 18px 18px 0 !important;
}

@keyframes flipNextPage {
    0% {
        transform: rotateY(0deg);
        -webkit-transform: rotateY(0deg);
        box-shadow: -12px 0 30px rgba(15, 23, 42, 0.18);
        filter: brightness(1);
        -webkit-filter: brightness(1);
    }
    45% {
        transform: rotateY(-85deg);
        -webkit-transform: rotateY(-85deg);
        box-shadow: -30px 0 50px rgba(15, 23, 42, 0.38);
        filter: brightness(0.88);
        -webkit-filter: brightness(0.88);
    }
    100% {
        transform: rotateY(-180deg);
        -webkit-transform: rotateY(-180deg);
        box-shadow: 0 0 10px rgba(15, 23, 42, 0.05);
        filter: brightness(1);
        -webkit-filter: brightness(1);
    }
}

@-webkit-keyframes flipNextPage {
    0% {
        -webkit-transform: rotateY(0deg);
        box-shadow: -12px 0 30px rgba(15, 23, 42, 0.18);
        filter: brightness(1);
        -webkit-filter: brightness(1);
    }
    45% {
        -webkit-transform: rotateY(-85deg);
        box-shadow: -30px 0 50px rgba(15, 23, 42, 0.38);
        filter: brightness(0.88);
        -webkit-filter: brightness(0.88);
    }
    100% {
        -webkit-transform: rotateY(-180deg);
        box-shadow: 0 0 10px rgba(15, 23, 42, 0.05);
        filter: brightness(1);
        -webkit-filter: brightness(1);
    }
}

@keyframes flipPrevPage {
    0% {
        transform: rotateY(0deg);
        -webkit-transform: rotateY(0deg);
        box-shadow: 12px 0 30px rgba(15, 23, 42, 0.18);
        filter: brightness(1);
        -webkit-filter: brightness(1);
    }
    45% {
        transform: rotateY(85deg);
        -webkit-transform: rotateY(85deg);
        box-shadow: 30px 0 50px rgba(15, 23, 42, 0.38);
        filter: brightness(0.88);
        -webkit-filter: brightness(0.88);
    }
    100% {
        transform: rotateY(180deg);
        -webkit-transform: rotateY(180deg);
        box-shadow: 0 0 10px rgba(15, 23, 42, 0.05);
        filter: brightness(1);
        -webkit-filter: brightness(1);
    }
}

@-webkit-keyframes flipPrevPage {
    0% {
        -webkit-transform: rotateY(0deg);
        box-shadow: 12px 0 30px rgba(15, 23, 42, 0.18);
        filter: brightness(1);
        -webkit-filter: brightness(1);
    }
    45% {
        -webkit-transform: rotateY(85deg);
        box-shadow: 30px 0 50px rgba(15, 23, 42, 0.38);
        filter: brightness(0.88);
        -webkit-filter: brightness(0.88);
    }
    100% {
        transform: rotateY(180deg);
        -webkit-transform: rotateY(180deg);
        box-shadow: 0 0 10px rgba(15, 23, 42, 0.05);
        filter: brightness(1);
        -webkit-filter: brightness(1);
    }
}

/* -------------------------------------------------------------
   FAQ (FREQUENTLY ASKED QUESTIONS / Q&A SECTION WITH DUAL-TONE BG)
   ------------------------------------------------------------- */
/* -------------------------------------------------------------
   FAQ (FREQUENTLY ASKED QUESTIONS / Q&A SECTION WITH MINT & CORAL BG)
   ------------------------------------------------------------- */
.faq-section-playful {
    position: relative;
    background-image: 
        radial-gradient(ellipse at 98% 30%, rgba(255, 234, 167, 0.45) 0%, transparent 55%),
        radial-gradient(ellipse at 2% 70%, rgba(255, 234, 167, 0.45) 0%, transparent 55%),
        repeating-linear-gradient(-45deg, rgba(255, 234, 167, 0.12) 0px, rgba(255, 234, 167, 0.12) 18px, rgba(123, 237, 159, 0.10) 18px, rgba(123, 237, 159, 0.10) 36px),
        radial-gradient(circle, rgba(255, 255, 255, 0.32) 1.5px, transparent 1.5px),
        linear-gradient(180deg, #074766 0%, #0F172A 100%);
    background-size: 
        100% 100%,
        100% 100%,
        72px 72px,
        24px 24px,
        100% 100%;
    padding: 70px 20px;
    border-top: 4px dashed #E0F2FE;
    overflow: hidden;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.faq-tag {
    background: linear-gradient(135deg, #E0F2FE, #38BDF8);
    color: #074766;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 5px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(255, 127, 80, 0.4);
}

.faq-header h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 8px;
}

.faq-header p {
    color: #FAF8F5;
    font-size: 1.05rem;
    margin-bottom: 36px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.faq-accordion-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-card {
    background: rgba(255, 254, 240, 0.95);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 2.5px solid #38BDF8;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18), inset 0 1px 3px rgba(255, 255, 255, 0.9);
    transition: all 0.25s ease;
}

.faq-card:hover {
    border-color: #FFEA00;
    box-shadow: 0 12px 32px rgba(123, 237, 159, 0.25);
    transform: translateY(-2deg);
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: #074766; /* High-contrast deep forest green text */
    cursor: pointer;
    text-align: left;
    gap: 14px;
}

.faq-question span {
    display: flex;
    align-items: center;
    gap: 14px;
}

.faq-question span i {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, #38BDF8, #0EA5E9);
    color: #FFFFFF !important;
    border: 2px solid #E0F2FE;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(255, 127, 80, 0.4);
}

.faq-arrow {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: #E0F2FE;
    color: #074766;
    border: 1.5px solid #FFFFFF;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.faq-card.open .faq-arrow {
    transform: rotate(180deg);
    background: #38BDF8;
    color: #FFFFFF;
}

.faq-answer {
    padding: 0 24px 22px;
    color: #0F172A; /* Slate Black Text */
    font-size: 0.98rem;
    line-height: 1.6;
    display: none;
}

.faq-card.open .faq-answer {
    display: block;
}

/* -------------------------------------------------------------
   MAIN FOOTER (4-COLUMN FRESH MINT & CORAL IDENTITY & CONTACTS)
   ------------------------------------------------------------- */
.main-footer-playful {
    background: linear-gradient(180deg, #0F172A 0%, #0F172A 100%);
    color: #FFFFFF;
    padding-top: 60px;
    border-top: 5px solid #E0F2FE;
    position: relative;
    z-index: 10;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 30px 45px;
    display: grid;
    grid-template-columns: 1.55fr 0.95fr 1.15fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.logo-badge-sm {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #E0F2FE, #38BDF8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #074766;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-subtitle {
    font-size: 0.78rem;
    color: #FFEA00;
    font-weight: 800;
}

.footer-about {
    color: #FAF8F5;
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 18px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.footer-meta-info p {
    font-size: 0.88rem;
    color: #E0F2FE;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.footer-meta-info p i {
    color: #FFEA00;
    font-size: 1.05rem;
    width: 22px;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-meta-info a {
    color: #FFEA00;
    text-decoration: none;
    font-weight: 700;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #FFFFFF;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3.5px;
    background: #FFEA00;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #E0F2FE;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.94rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #FFEA00;
    transform: translateX(4px);
}

.help-desc {
    font-size: 0.92rem;
    color: #FAF8F5;
    margin-bottom: 14px;
    line-height: 1.55;
}

.btn-wa-help {
    background: linear-gradient(135deg, #FFEA00, #074766);
    color: #FFFFFF;
    font-weight: 800;
    padding: 11px 22px;
    border-radius: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    margin-bottom: 14px;
    border: 1.5px solid #FFFFFF;
}

.btn-wa-help:hover {
    background: linear-gradient(135deg, #38BDF8, #FFEA00);
    transform: translateY(-2deg);
}

.operational-hours {
    font-size: 0.85rem;
    color: #E0F2FE;
    font-weight: 600;
}

.legal-badge-box {
    background: rgba(255, 255, 255, 0.2);
    border: 1.5px solid #FFEA00;
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.88rem;
    margin-bottom: 14px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.legal-badge-box i {
    color: #FFEA00;
    font-size: 1.1rem;
}

.disclaimer-block {
    margin-top: 10px;
}

.disclaimer-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFEA00;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.disclaimer-text {
    font-size: 0.86rem;
    color: #FAF8F5;
    line-height: 1.55;
}

.footer-bottom {
    background: #0F172A;
    padding: 22px 30px;
    border-top: 1.5px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #E0F2FE;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-links a {
    color: #FFEA00;
    font-weight: 700;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* FLOATING WHATSAPP CS WIDGET IN BOTTOM RIGHT */
.floating-wa-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* HIDE FLOATING WA CS WIDGET WHEN FLIPBOOK READER MODAL IS OPEN */
body.reader-open .floating-wa-widget {
    display: none !important;
}

.wa-tooltip {
    background: rgba(254, 249, 235, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #0F172A;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.84rem;
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid #FFEA00;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
    animation: pulseTooltip 2.5s infinite;
}

@keyframes pulseTooltip {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.wa-icon-circle {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #FFEA00, #074766);
    border: 3px solid #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.55);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-wa-widget:hover .wa-icon-circle {
    transform: scale(1.15) rotate(12deg);
}

@media (max-width: 992px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .wa-tooltip {
        display: none;
    }
}

/* ADMIN MODAL RESPONSIVE SCROLLING & IMAGE PREVIEW FIX */
.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 37, 69, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.admin-modal-card {
    background: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2.5px solid #38BDF8;
}

.admin-modal-card.modal-lg {
    max-width: 900px;
}

.admin-modal-header {
    padding: 18px 24px;
    background: linear-gradient(135deg, #38BDF8, #0EA5E9);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.admin-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #FFFFFF;
}

.btn-close-admin {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #FFFFFF;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.btn-close-admin:hover {
    background: rgba(255, 255, 255, 0.4);
}

.admin-form-body, .admin-modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: 72vh;
}

.admin-modal-footer {
    padding: 16px 24px;
    background: #F8FAFC;
    border-top: 1.5px solid #FFFBE6;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

/* COMPLETE PIXEL-PERFECT ADMIN MODAL FORM DESIGN SYSTEM */
.admin-form-body *, .admin-modal-card * {
    box-sizing: border-box !important;
}

.admin-form-body {
    padding: 24px 28px !important;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
    max-height: 72vh;
    box-sizing: border-box !important;
}

.form-group-admin {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    box-sizing: border-box !important;
}

.form-group-admin label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-row-admin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    box-sizing: border-box !important;
}

.admin-form-body input[type="text"],
.admin-form-body input[type="number"],
.admin-form-body select.admin-select,
.admin-form-body textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1.5px solid #38BDF8;
    background: #FFFDF9;
    color: #0F172A;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-form-body input[type="text"]:focus,
.admin-form-body select.admin-select:focus,
.admin-form-body textarea:focus {
    outline: none;
    border-color: #38BDF8;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
    background: #FFFFFF;
}

/* FILE DROPZONE DESIGN */
.file-dropzone-ui {
    position: relative;
    border: 2px dashed #38BDF8;
    border-radius: 14px;
    background: #E0F2FE;
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    width: 100% !important;
    box-sizing: border-box !important;
}

.file-dropzone-ui:hover {
    background: #FAF8F5;
    border-color: #0EA5E9;
}

.file-dropzone-ui input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.dropzone-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #0EA5E9;
    font-weight: 700;
    font-size: 0.92rem;
    pointer-events: none;
}

.dropzone-text .cloud-icon {
    font-size: 2.2rem;
    color: #38BDF8;
}

.img-preview-box.hidden, .hidden {
    display: none !important;
}

.img-preview-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #E0F2FE;
    border: 1.5px dashed #38BDF8;
    padding: 12px 16px;
    border-radius: 12px;
    margin-top: 12px;
    width: 100%;
    box-sizing: border-box;
}

.img-preview-box img {
    max-height: 75px;
    max-width: 140px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #38BDF8;
    background: #FFFFFF;
}

.img-preview-box img[src=""], 
.img-preview-box img:not([src]), 
.img-preview-box img[src="null"] {
    display: none !important;
}

.btn-remove-img {
    background: #E0F2FE;
    color: #0EA5E9;
    border: 1px solid #7DD3FC;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
    margin-left: auto;
}

.btn-remove-img:hover {
    background: #7DD3FC;
    color: #074766;
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN SYSTEM (MOBILE, TABLET & LAPTOP ADAPTABILITY v6.2)
   ------------------------------------------------------------- */
/* AUTHOR PARTNER NAV GLOW & MODAL STYLES */
.nav-author-glow {
    background: linear-gradient(135deg, #FFEA00, #334155) !important;
    color: #FFFFFF !important;
    border: 1.5px solid #FFFBE6 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    animation: pulseEmeraldGlow 2.5s infinite ease-in-out;
}

@keyframes pulseEmeraldGlow {
    0%, 100% { box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(16, 185, 129, 0.8); }
}

.author-benefit-banner-light {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    background: #FAF8F5;
    border: 1.5px solid #FFEA00;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.author-benefit-banner-light .benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.author-benefit-banner-light .benefit-item i {
    font-size: 1.4rem;
    margin-top: 2px;
}

.author-benefit-banner-light .benefit-item strong {
    display: block;
    color: #0F172A;
    font-size: 0.88rem;
    font-family: var(--font-heading);
    margin-bottom: 2px;
}

.author-benefit-banner-light .benefit-item span {
    font-size: 0.78rem;
    color: #334155;
    line-height: 1.35;
    display: block;
}

.modal-tab-header {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #FFFBE6;
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.modal-tab-btn {
    flex: 1;
    background: #FEF9C3;
    border: 1.5px solid #38BDF8;
    color: #074766;
    padding: 10px 14px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-tab-btn.active {
    background: linear-gradient(135deg, #38BDF8, #0EA5E9);
    border-color: #0EA5E9;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

/* ALL TABLET LANDSCAPE & MEDIUM SCREENS (<= 1280px) - STRICT 1-ROW SINGLE LINE HEADER */
@media (max-width: 1280px) {
    .main-header {
        height: 62px !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 100 !important;
        box-shadow: 0 4px 15px rgba(82, 214, 138, 0.4);
    }

    .header-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 4px 16px !important;
        gap: 8px !important;
        height: 100% !important;
    }

    .brand {
        order: 1 !important;
        flex-shrink: 0 !important;
        gap: 8px !important;
    }

    .brand-official-logo {
        width: 40px !important;
        height: 40px !important;
    }

    .brand-title {
        font-size: 1.1rem !important;
        line-height: 1.1 !important;
    }

    .brand-subtitle {
        font-size: 0.65rem !important;
        line-height: 1 !important;
    }

    .header-nav {
        order: 2 !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        gap: 6px !important;
        padding: 2px 4px !important;
        margin: 0 !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-x !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        scroll-behavior: smooth;
    }

    .header-nav::-webkit-scrollbar {
        display: none !important;
    }

    .nav-pill {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
        border-radius: 18px !important;
        gap: 5px !important;
    }

    .user-status-pill {
        order: 3 !important;
        width: auto !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .badge-guest {
        font-size: 0.74rem !important;
        padding: 4px 10px !important;
        white-space: nowrap !important;
    }

    .header-auth-buttons {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .header-auth-buttons .btn-sm {
        padding: 5px 11px !important;
        font-size: 0.76rem !important;
        border-radius: 16px !important;
        white-space: nowrap !important;
        gap: 4px !important;
    }
}

/* TABLETS & MEDIUM MOBILE SCREENS (<= 992px) */
@media (max-width: 992px) {
    .main-header {
        height: 60px !important;
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 4px 15px rgba(82, 214, 138, 0.4);
    }

    .header-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 4px 12px !important;
        gap: 8px !important;
        height: 100% !important;
    }

    .brand {
        order: 1 !important;
        justify-content: flex-start;
        gap: 8px;
        flex-shrink: 0 !important;
    }

    .brand-official-logo {
        width: 36px !important;
        height: 36px !important;
    }

    .brand-title {
        font-size: 1.0rem !important;
        line-height: 1.1;
    }

    .brand-subtitle {
        font-size: 0.6rem !important;
        line-height: 1;
    }

    .user-status-pill {
        order: 3 !important;
        width: auto !important;
        gap: 6px !important;
        justify-content: flex-end !important;
        flex-shrink: 0 !important;
    }

    .badge-guest {
        display: none !important;
    }

    .header-auth-buttons {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .header-auth-buttons .btn-sm {
        padding: 5px 11px;
        font-size: 0.76rem;
        border-radius: 16px;
        white-space: nowrap;
        gap: 4px;
    }

    /* 1-ROW HORIZONTAL SWIPEABLE NAVIGATION STRIP */
    .header-nav {
        order: 2 !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        gap: 6px !important;
        padding: 2px 4px !important;
        margin: 0 !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-x !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        scroll-behavior: smooth;
    }

    .header-nav::-webkit-scrollbar {
        display: none !important;
    }

    .nav-pill {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        font-size: 0.76rem !important;
        padding: 5px 11px !important;
        border-radius: 16px !important;
        gap: 4px !important;
    }

    .category-circles-grid {
        justify-content: flex-start !important;
        overflow-x: auto;
        flex-wrap: nowrap !important;
        padding: 10px 16px 14px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .category-circles-grid::-webkit-scrollbar {
        display: none;
    }

    .cat-circle-item {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

/* SMARTPHONES & MOBILE PHONES (<= 768px) */
@media (max-width: 768px) {
    .slideshow-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .slideshow-btn.prev-btn { left: 8px; }
    .slideshow-btn.next-btn { right: 8px; }

    .slideshow-dots-wrapper {
        bottom: 22px;
        padding: 6px 14px;
        gap: 6px;
        z-index: 25;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    }
    .slide-dot {
        width: 8px;
        height: 8px;
    }
    .slide-dot.active {
        width: 22px;
    }

    /* HERO DASHBOARD & IMAGE UTUH (FULL VISIBILITY ON HP PORTRAIT & TABLET) */
    #sceneEntrance {
        min-height: calc(100vh - 76px);
        padding: 8px 12px 18px;
    }

    .hero-slideshow-container {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-slide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    .frosted-glass-banner {
        padding: 6px 14px;
        max-width: 96%;
        border-radius: 16px;
        margin-top: 2px;
    }

    .frosted-glass-banner .hero-title {
        font-size: 1.1rem;
        line-height: 1.25;
    }

    .frosted-glass-banner .hero-subtitle {
        font-size: 0.78rem;
        line-height: 1.25;
    }

    .door-container {
        transform: scale(0.82);
        margin: 6px 0;
    }

    #btnEnterLibrary {
        width: 100%;
        font-size: 1rem;
        padding: 14px 20px;
        border-radius: 30px;
        justify-content: center;
    }

    /* CATALOG HEADER & SEARCH */
    .room-banner-playful {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        gap: 12px;
        padding: 14px 16px;
        margin-bottom: 20px;
        border-left-width: 6px;
        border-radius: 18px;
    }

    .banner-content h3 {
        font-size: 1.15rem;
        line-height: 1.35;
        word-break: normal;
    }

    .banner-content p {
        font-size: 0.82rem;
        line-height: 1.4;
        margin-top: 4px;
    }

    .search-box-wrapper {
        width: 100%;
    }

    .search-box-wrapper input {
        font-size: 16px !important; /* Prevents auto-zoom on iOS */
        padding: 10px 14px 10px 42px;
        border-radius: 20px;
    }

    .search-box-wrapper .search-icon {
        left: 14px;
        font-size: 0.95rem;
    }

    #btnBackToEntrance {
        align-self: flex-start;
        font-size: 0.82rem;
        padding: 6px 14px;
    }

    /* BOOK SHELF GRID ON MOBILE */
    .shelf-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .book-card {
        padding: 14px;
        gap: 10px;
        border-radius: 18px;
    }

    .book-title {
        font-size: 1rem;
        line-height: 1.3;
    }

    .book-desc {
        font-size: 0.82rem;
        line-height: 1.38;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .btn-read-book {
        padding: 10px;
        font-size: 0.88rem;
    }

    /* FLIPBOOK READER MODAL ON MOBILE & TABLET (MAXIMIZED 1600x2400 PROPORTIONAL SCALING) */
    .flipbook-modal-card-playful {
        width: 98vw !important;
        max-width: 1280px !important;
        height: 96vh !important;
        max-height: 96vh !important;
        padding: 6px !important;
        border-radius: 20px !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .reader-header-playful {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 0 10px;
        height: 46px !important;
        min-height: 46px !important;
        flex-shrink: 0;
    }

    .reader-title-info {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    .reader-title-info .badge-accent {
        font-size: 0.72rem !important;
        padding: 3px 9px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        border-radius: 12px !important;
    }

    .reader-title-info h3 {
        font-size: 0.85rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin: 0 !important;
        line-height: 1 !important;
        flex: 1;
        min-width: 0;
    }

    .audio-controls-panel {
        display: flex;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
    }

    .btn-audio-toggle {
        padding: 4px 9px !important;
        font-size: 0.74rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        border-radius: 14px !important;
        gap: 4px !important;
    }

    .flipbook-viewport {
        flex: 1;
        min-height: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        padding: 4px 8px !important;
        box-sizing: border-box !important;
        height: auto !important;
        max-height: calc(100vh - 90px) !important;
        background: linear-gradient(135deg, #F8FAFC 0%, #FFFBE6 50%, #38BDF8 100%);
        overflow: hidden;
    }

    .book-stage {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        height: auto !important;
        max-width: calc(100% - 84px) !important;
        max-height: 100% !important;
        margin: auto !important;
        display: flex !important;
        position: relative !important;
        border-radius: 12px !important;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25) !important;
    }

    .full-page-bg-img {
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        object-fit: fill !important;
    }

    .full-page-bg-img.img-left-half {
        width: 200% !important;
        max-width: none !important;
        height: 100% !important;
        object-fit: fill !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }

    .full-page-bg-img.img-right-half {
        width: 200% !important;
        max-width: none !important;
        height: 100% !important;
        object-fit: fill !important;
        position: absolute !important;
        top: 0 !important;
        left: -100% !important;
    }

    .nav-arrow {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        font-size: 1.05rem !important;
        box-shadow: 0 4px 14px rgba(0,0,0,0.3);
        z-index: 100 !important;
        pointer-events: auto !important;
        touch-action: manipulation;
        flex-shrink: 0 !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
    }
    .nav-prev { left: auto !important; }
    .nav-next { right: auto !important; }

    .btn-close-modal {
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        font-size: 0.95rem !important;
        border-radius: 50% !important;
    }

    .btn-text-full {
        display: none !important;
    }

    .btn-text-short {
        display: inline !important;
    }

    .reader-footer-playful {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 8px;
        padding: 6px 10px;
        align-items: center;
        flex-shrink: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .page-indicator {
        font-size: 0.78rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .reader-actions {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
    }

    .reader-actions button {
        width: auto;
        padding: 5px 10px;
        font-size: 0.76rem;
        border-radius: 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* LOCK OVERLAY CARD ON MOBILE & TABLET (PERFECT UNTRUNCATED VISIBILITY) */
    .lock-page-artwork {
        padding: 8px 4px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        box-sizing: border-box !important;
    }

    .lock-banner-card, .lock-cta-card {
        padding: 10px 8px !important;
        width: 92% !important;
        max-width: 92% !important;
        max-height: 96% !important;
        border-radius: 14px !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        margin: auto !important;
        flex-shrink: 0 !important;
        overflow-y: auto !important;
    }

    .lock-icon-circle, .vip-ticket-badge {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        border-width: 1.5px !important;
        margin-bottom: 4px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .lock-icon-circle i, .vip-ticket-badge i {
        font-size: 0.85rem !important;
    }

    .lock-title, .lock-cta-title {
        font-size: 0.76rem !important;
        margin-bottom: 3px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        white-space: normal !important;
        word-break: normal !important;
    }

    .lock-desc, .lock-cta-desc {
        font-size: 0.66rem !important;
        line-height: 1.25 !important;
        margin-bottom: 6px !important;
        color: #334155 !important;
        text-align: center !important;
        white-space: normal !important;
    }

    .lock-feature-badges {
        gap: 3px !important;
        margin-bottom: 2px !important;
        width: 100% !important;
    }

    .badge-mini {
        font-size: 0.54rem !important;
        padding: 2px 4px !important;
        justify-content: center !important;
        text-align: center !important;
        line-height: 1.12 !important;
        white-space: nowrap !important;
    }

    .btn-lock-action {
        padding: 7px 10px !important;
        font-size: 0.68rem !important;
        font-weight: 800 !important;
        border-radius: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: normal !important;
        word-break: normal !important;
        line-height: 1.2 !important;
        box-sizing: border-box !important;
        margin-top: 2px !important;
        text-overflow: clip !important;
        overflow: visible !important;
    }

    .btn-lock-secondary {
        font-size: 0.62rem !important;
        margin-top: 5px !important;
        padding: 2px 0 !important;
        text-align: center !important;
        display: block !important;
        width: 100% !important;
        line-height: 1.2 !important;
        white-space: normal !important;
    }

    /* ALL MODALS & FORMS (LOGIN, REGISTER, SUBSCRIBE, AUTHOR, ADMIN) */
    .modal-overlay {
        padding: 12px;
    }

    .auth-modal-card-playful, 
    .subscribe-modal-card-playful, 
    .admin-modal-card {
        width: 96% !important;
        max-height: 92vh !important;
        padding: 18px 14px !important;
        border-radius: 20px !important;
        overflow-y: auto;
    }

    .form-row, .form-row-admin {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .auth-modal-card-playful input, 
    .auth-modal-card-playful select, 
    .auth-modal-card-playful textarea,
    .subscribe-modal-card-playful input,
    .admin-modal-card input,
    .admin-modal-card select,
    .admin-modal-card textarea {
        font-size: 16px !important; /* Prevents auto-zoom on iOS focus */
        padding: 12px 14px !important;
        border-radius: 12px !important;
    }

    .plan-cards {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .author-benefit-banner-light {
        grid-template-columns: 1fr !important;
        gap: 10px;
        padding: 12px;
    }
}

/* EXTRA SMALL MOBILE SCREENS (<= 480px) */
@media (max-width: 480px) {
    .slideshow-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.2rem !important;
        z-index: 999 !important;
        top: 50% !important;
    }
    .slideshow-btn.prev-btn { left: 8px !important; }
    .slideshow-btn.next-btn { right: 8px !important; }
    .slideshow-dots-wrapper {
        bottom: 12px !important;
        padding: 6px 14px !important;
        gap: 6px !important;
        z-index: 999 !important;
    }
    .slide-dot {
        width: 10px !important;
        height: 10px !important;
    }
    .slide-dot.active {
        width: 24px !important;
    }

    .header-inner {
        padding: 5px 10px 4px !important;
        gap: 3px 6px !important;
    }

    .brand-official-logo {
        width: 32px !important;
        height: 32px !important;
    }

    .brand-title {
        font-size: 0.95rem !important;
    }

    .brand-subtitle {
        display: none !important; /* Hide subtitle on extra small screens so row 1 is super compact */
    }

    .header-auth-buttons .btn-sm {
        padding: 4px 9px !important;
        font-size: 0.72rem !important;
    }

    .header-nav {
        gap: 6px !important;
        padding: 2px 0 3px 0 !important;
    }

    .nav-pill {
        font-size: 0.75rem !important;
        padding: 5px 10px !important;
        gap: 4px !important;
    }

    .room-banner-playful {
        padding: 12px 14px;
        gap: 10px;
    }

    .banner-content h3 {
        font-size: 1.02rem;
    }

    .banner-content p {
        font-size: 0.78rem;
    }

    /* SINGLE COLUMN BOOK SHELF FOR MAXIMUM LEGIBILITY */
    .shelf-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .book-card {
        padding: 16px;
    }

    .book-title {
        font-size: 1.08rem;
    }

    .book-desc {
        font-size: 0.85rem;
        -webkit-line-clamp: 3;
    }

    .wa-tooltip {
        display: none !important;
    }

    .floating-wa-widget {
        bottom: 16px;
        right: 16px;
    }

    .wa-icon-circle {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
}

/* DEDICATED OPTIMIZED FLIPBOOK READER LAYOUT FOR MOBILE LANDSCAPE MODE */
@media (orientation: landscape) and (max-height: 540px) {
    .flipbook-modal-card-playful {
        width: 100% !important;
        max-width: 100vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
        padding: 2px 6px !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .reader-header-playful {
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 10px !important;
        flex-shrink: 0 !important;
    }

    .reader-title-info h3 {
        font-size: 0.85rem !important;
        line-height: 1 !important;
    }

    .reader-title-info .badge-accent {
        font-size: 0.7rem !important;
        padding: 2px 7px !important;
    }

    .btn-audio-toggle {
        padding: 3px 8px !important;
        font-size: 0.72rem !important;
    }

    .btn-close-modal {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        font-size: 0.85rem !important;
    }

    /* MAXIMIZE SPACE FOR BOOK ILLUSTRATION IN LANDSCAPE (ZERO TOP CUT-OFF) */
    .flipbook-viewport {
        flex: 1 !important;
        min-height: 0 !important;
        padding: 2px 6px !important;
        box-sizing: border-box !important;
        max-height: calc(100vh - 76px) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
        overflow: hidden !important;
    }

    .book-stage {
        flex: 0 1 auto !important;
        max-height: 100% !important;
        max-width: calc(100% - 72px) !important;
        width: auto !important;
        height: auto !important;
        margin: auto !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }

    .nav-arrow {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        font-size: 0.85rem !important;
    }

    /* 1-ROW COMPACT PROPORTIONAL FOOTER */
    .reader-footer-playful {
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 10px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        overflow: hidden !important;
    }

    .page-indicator {
        font-size: 0.75rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        line-height: 1 !important;
    }

    .reader-actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }

    .reader-actions button {
        padding: 4px 10px !important;
        font-size: 0.74rem !important;
        border-radius: 12px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .btn-text-full {
        display: none !important;
    }

    .btn-text-short {
        display: inline !important;
    }

    .wa-tooltip, .floating-wa-widget {
        display: none !important;
    }
}

/* OPTIMIZED COMPACT LAYOUT FOR SUBSCRIPTION & AUTH MODALS IN MOBILE LANDSCAPE (SCOPED TO MOBILE LANDSCAPE ONLY) */
@media screen and (orientation: landscape) and (max-height: 600px) and (max-width: 960px) {
    .modal-overlay {
        padding: 6px 12px !important;
    }

    .subscribe-modal-card-playful {
        padding: 10px 18px !important;
        gap: 6px !important;
        border-radius: 18px !important;
        border-width: 3px !important;
        max-height: 98vh !important;
        width: 96vw !important;
        max-width: 680px !important;
    }

    .sub-header {
        gap: 2px !important;
    }

    .sub-icon-badge {
        font-size: 1.4rem !important;
    }

    .sub-gold-title {
        font-size: 1.05rem !important;
        line-height: 1.2 !important;
    }

    .sub-sky-desc {
        font-size: 0.78rem !important;
        line-height: 1.2 !important;
    }

    .sub-email-input-group,
    .sub-referral-group {
        gap: 2px !important;
    }

    .sub-email-input-group label,
    .sub-referral-group label {
        font-size: 0.75rem !important;
    }

    .sub-email-input-group input,
    .sub-referral-group input {
        padding: 5px 12px !important;
        font-size: 0.8rem !important;
        border-radius: 8px !important;
    }

    .referral-input-wrapper {
        gap: 6px !important;
    }

    .referral-input-wrapper button {
        padding: 5px 12px !important;
        font-size: 0.76rem !important;
    }

    .plan-cards {
        gap: 10px !important;
    }

    .plan-card {
        padding: 6px 10px !important;
        gap: 2px !important;
        border-radius: 12px !important;
    }

    .plan-badge {
        font-size: 0.65rem !important;
        padding: 2px 6px !important;
        border-radius: 6px !important;
    }

    .plan-card h4 {
        font-size: 0.9rem !important;
    }

    .plan-price {
        font-size: 1rem !important;
    }

    .plan-price span {
        font-size: 0.7rem !important;
    }

    .plan-desc {
        font-size: 0.72rem !important;
        line-height: 1.2 !important;
    }

    .sub-footer {
        margin-top: 0 !important;
    }

    .btn-silver-cta {
        padding: 8px 16px !important;
        font-size: 0.88rem !important;
    }

    .sub-disclaimer {
        font-size: 0.7rem !important;
        margin-top: 3px !important;
    }

    .auth-modal-card-playful {
        padding: 10px 18px !important;
        gap: 6px !important;
        border-radius: 18px !important;
        border-width: 3px !important;
        max-height: 98vh !important;
    }

    .auth-header h2 {
        font-size: 1.05rem !important;
        margin-top: 2px !important;
    }

    .auth-header p {
        font-size: 0.78rem !important;
    }

    .auth-icon-badge {
        font-size: 1.5rem !important;
    }

    .auth-form-body {
        gap: 6px !important;
    }

    .form-group {
        gap: 2px !important;
    }

    .form-group label {
        font-size: 0.75rem !important;
    }

    .form-group input,
    .form-select {
        padding: 5px 12px !important;
        font-size: 0.82rem !important;
        border-radius: 8px !important;
    }

    .btn-blue-pill {
        padding: 8px 16px !important;
        font-size: 0.88rem !important;
    }

    /* 1-ROW NAVIGATION ON HP LANDSCAPE & SHORT VIEWPORTS */
    .main-header {
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 100 !important;
    }

    .header-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 12px !important;
        height: 100% !important;
        gap: 8px !important;
    }

    .brand {
        order: 1 !important;
        flex-shrink: 0 !important;
        gap: 6px !important;
    }

    .brand-official-logo {
        width: 32px !important;
        height: 32px !important;
    }

    .brand-title {
        font-size: 0.95rem !important;
        line-height: 1 !important;
    }

    .brand-subtitle {
        font-size: 0.58rem !important;
        line-height: 1 !important;
    }

    .header-nav {
        order: 2 !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 4px !important;
        padding: 0 2px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-x !important;
        scrollbar-width: none !important;
    }

    .nav-pill {
        font-size: 0.72rem !important;
        padding: 4px 8px !important;
        border-radius: 12px !important;
        white-space: nowrap !important;
        gap: 4px !important;
        flex-shrink: 0 !important;
    }

    .user-status-pill {
        order: 3 !important;
        width: auto !important;
        flex-shrink: 0 !important;
        gap: 4px !important;
    }

    .badge-guest {
        display: none !important;
    }

    .header-auth-buttons {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 4px !important;
    }

    .header-auth-buttons .btn-sm {
        padding: 4px 9px !important;
        font-size: 0.72rem !important;
        border-radius: 12px !important;
        white-space: nowrap !important;
        gap: 4px !important;
    }

    /* MAXIMUM FULL-SCREEN EXPANDED HERO DASHBOARD SLIDE IMAGE & SMALL DOOR AT BOTTOM FOR HP LANDSCAPE */
    #sceneEntrance {
        position: relative !important;
        width: 100% !important;
        height: calc(100vh - 50px) !important;
        min-height: calc(100vh - 50px) !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    .hero-slideshow-container {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1 !important;
    }

    .hero-slide {
        width: 100% !important;
        height: 100% !important;
    }

    .hero-content-wrapper {
        position: relative !important;
        z-index: 10 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        align-items: center !important;
        pointer-events: none !important;
        padding: 0 0 2px 0 !important;
        box-sizing: border-box !important;
    }

    /* HIDE TOP WHITE BANNER BOX IN HP LANDSCAPE TO LEAVE 100% FULL VIEWPORT FOR DASHBOARD ARTWORK */
    .frosted-glass-banner {
        display: none !important;
    }

    .hero-kids-center-spacer {
        display: none !important;
    }

    /* MAXIMIZE HERO DASHBOARD SLIDE IMAGE TO EXPAND AND FILL FULL SCREEN IN HP LANDSCAPE */
    .hero-slide img {
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        object-fit: cover !important; /* 100% MAXIMIZED FULL COVER DISPLAY */
        object-position: center center !important;
        margin: 0 !important;
    }

    .hero-bottom-action-group {
        margin-bottom: 2px !important;
        pointer-events: auto !important;
    }

    /* COMPACT SMALL ENTRANCE DOOR ANCHORED AT THE BOTTOM EDGE OF DASHBOARD IMAGE */
    .entrance-door-container {
        transform: scale(0.48) !important;
        transform-origin: bottom center !important;
        margin: 0 auto !important;
        pointer-events: auto !important;
    }

    /* ULTRA COMPACT 1-ROW PROPORTIONAL ROOM BANNER FOR HP LANDSCAPE */
    .room-banner-playful {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 5px 12px !important;
        gap: 8px !important;
        margin-bottom: 10px !important;
        border-radius: 14px !important;
        border-left-width: 4px !important;
    }

    .banner-content {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .banner-content h3 {
        font-size: 0.85rem !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin: 0 !important;
    }

    .banner-content p {
        display: none !important; /* HIDE SUBTITLE ON HP LANDSCAPE FOR PROPORTIONAL 1-ROW BANNER */
    }

    .search-box-wrapper {
        width: 170px !important;
        max-width: 170px !important;
        flex: 0 0 170px !important;
        flex-shrink: 0 !important;
    }

    .search-box-wrapper input {
        padding: 5px 10px 5px 30px !important;
        font-size: 0.78rem !important;
        border-radius: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        text-overflow: ellipsis !important;
    }

    .search-box-wrapper .search-icon {
        left: 10px !important;
        font-size: 0.82rem !important;
    }

    #btnBackToEntrance,
    .btn-secondary-pill {
        white-space: nowrap !important;
        padding: 5px 11px !important;
        font-size: 0.76rem !important;
        border-radius: 16px !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        height: fit-content !important;
    }
}
