
/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --pink:   #FF6B9D;
    --yellow: #FFD43B;
    --green:  #51CF66;
    --teal:   #4ECDC4;
    --purple: #A78BFA;
    --orange: #FF8C42;
    --cream:  #FFF9F4;
    --text:   #1A1A2E;
    --muted:  #6B7280;
    --white:  #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ===== NAVBAR ===== */
.navbar {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 1px 12px rgba(0,0,0,0.07);
}

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    letter-spacing: -1px;
    line-height: 1;
    display: flex;
}
.ls  { color: #FF6B9D; }
.lm  { color: #FF8C42; }
.lo1 { color: #FFD43B; }
.lk  { color: #51CF66; }
.lo2 { color: #4ECDC4; }
.ll  { color: #A78BFA; }

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.nav-links a {
    display: block;
    padding: 0.4rem 0.7rem;
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--text);
    border-radius: 8px;
    transition: all 0.18s;
}
.nav-links a:hover { background: #FFF0F6; color: var(--pink); }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }

.btn-nav-audio {
    background: var(--pink);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.4rem 0.9rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-nav-audio:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255,107,157,0.45); }

.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--white);
    padding: 0.6rem 1rem 1rem;
    border-top: 1px solid #F3F4F6;
}
.mobile-nav a {
    padding: 0.65rem 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    border-bottom: 1px solid #F9FAFB;
    transition: color 0.18s;
}
.mobile-nav a:hover { color: var(--pink); }
.mobile-nav.open { display: flex; }

/* ===== HERO ===== */
.hero {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.blob-pink {
    position: absolute;
    bottom: -90px;
    right: -110px;
    width: 580px;
    height: 500px;
    background: radial-gradient(ellipse at 40% 50%, #FFD0E5 0%, #FFB8D1 50%, transparent 80%);
    border-radius: 65% 35% 55% 45% / 45% 55% 45% 55%;
    z-index: 0;
}

.blob-blue {
    position: absolute;
    top: -20px;
    right: 220px;
    width: 170px;
    height: 170px;
    background: radial-gradient(circle, #C0F0F5 0%, #96E4ED 100%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.75;
}

.deco {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}
.deco-plus1 { top: 18px;  right: 315px; font-size: 1.4rem; color: #FFD43B; font-weight: 900; animation: pulse-deco 3s ease-in-out infinite; }
.deco-plus2 { top: 75px;  right: 148px; font-size: 0.9rem; color: #FF6B9D; font-weight: 900; animation: pulse-deco 3s ease-in-out infinite 0.5s; }
.deco-plus3 { top: 38px;  right: 80px;  font-size: 1.1rem; color: #51CF66; font-weight: 900; animation: pulse-deco 3s ease-in-out infinite 1s; }
.deco-plus4 { bottom: 110px; right: 365px; font-size: 1rem; color: #A78BFA; font-weight: 900; animation: pulse-deco 3s ease-in-out infinite 0.3s; }
.deco-plus5 { top: 95px; left: 52%; font-size: 0.9rem; color: #FF8C42; font-weight: 900; animation: pulse-deco 3s ease-in-out infinite 0.8s; }

.deco-dot { border-radius: 50%; }
.deco-dot1 { width: 10px; height: 10px; background: #FFD43B; bottom: 145px; left: 55%; }
.deco-dot2 { width: 7px;  height: 7px;  background: #FF6B9D; top: 95px;  right: 85px; }
.deco-dot3 { width: 12px; height: 12px; background: #4ECDC4; top: 50px;  right: 380px; }

@keyframes pulse-deco {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.3) rotate(20deg); }
}

.hero-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 3rem 1rem 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: clamp(1.6rem, 5vw, 3rem);
    line-height: 1.2;
    color: #FF3D8C;
    margin-bottom: 0.75rem;
}

.hero-desc {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 1.5rem;
    max-width: 430px;
}

.hero-btns {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.2rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(0.78rem, 2.5vw, 0.875rem);
    cursor: pointer;
    transition: all 0.22s;
    text-decoration: none;
}
.btn:hover { transform: translateY(-3px); }

.btn-yellow {
    background: #FFD43B;
    color: #7A5400;
    box-shadow: 0 4px 18px rgba(255,212,59,0.45);
}
.btn-yellow:hover { box-shadow: 0 7px 24px rgba(255,212,59,0.6); }

.btn-teal {
    background: #4ECDC4;
    color: #fff;
    box-shadow: 0 4px 18px rgba(78,205,196,0.4);
}
.btn-teal:hover { box-shadow: 0 7px 24px rgba(78,205,196,0.55); }

/* ===== HERO MASCOT ===== */
.hero-mascot {
    position: relative;
    height: 420px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.mascot-blob-bg {
    position: absolute;
    width: 340px;
    height: 320px;
    background: linear-gradient(135deg, #FFD6E8 0%, #FFE8CC 60%, #D6F0FF 100%);
    border-radius: 58% 42% 52% 48% / 48% 52% 48% 52%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mascot-monkey {
    position: absolute;
    width: 360px;
    right: -50px;
    bottom: -50px;
    z-index: 3;
    animation: float-char 3s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.14));
}

.mascot-seahorse {
    position: absolute;
    width: 360px;
    left: -50px;
    bottom: 50px;
    z-index: 2;
    animation: float-char 3s ease-in-out infinite 0.9s;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.11));
}

.mascot-star-a {
    position: absolute;
    top: 22px;
    right: 55px;
    font-size: 2rem;
    color: #FFD43B;
    font-weight: 900;
    animation: pulse-deco 3s ease-in-out infinite;
}

.mascot-star-b {
    position: absolute;
    top: 55px;
    left: 28px;
    font-size: 1.4rem;
    color: #FF6B9D;
    font-weight: 900;
    animation: pulse-deco 3s ease-in-out infinite 1s;
}

@keyframes float-char {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
}

.hero-wave {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    line-height: 0;
    z-index: 4;
}
.hero-wave svg { display: block; width: 100%; }

/* ===== SECTIONS ===== */
.sec {
    padding: 2.5rem 1rem;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
}

.sec-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(1rem, 4vw, 1.65rem);
    color: var(--text);
    margin-bottom: 1.25rem;
}

/* ===== EXPLORE ===== */
.explore-section { padding: 16px 16px 0; }
.explore-wrapper { position: relative; max-width: 1200px; margin: auto; }
.explore-box {
    background: #fff;
    border-radius: 28px;
    padding: 28px 20px 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.explore-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.ex-card {
    border-radius: 18px;
    padding: 18px 12px;
    text-align: center;
    transition: .3s;
    box-shadow: 0 5px 18px rgba(0,0,0,.08);
}
.ex-card:hover { transform: translateY(-8px); }
.ec-pink{background:#F97CA9;} .ec-yellow{background:#FDBE4A;} .ec-blue{background:#62C6E3;} .ec-green{background:#79CF7A;} .ec-purple{background:#A78BD9;}
.ex-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,.45);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto auto 12px;
    font-size: clamp(22px, 4vw, 34px);
}
.ex-card h3 { color: #fff; font-size: clamp(14px, 3vw, 22px); margin-bottom: 8px; }
.ex-card p  { color: #fff; font-size: clamp(11px, 2vw, 14px); line-height: 1.5; }

/* ===== WHY ===== */
.why-section { padding: 24px 16px; }
.why-wrapper { position: relative; max-width: 1200px; margin: auto; }
.why-card {
    background: #fff;
    border-radius: 28px;
    padding: 32px 28px 32px 165px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 24px; }
.why-item { display: flex; align-items: center; gap: 12px; }
.why-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFE5EE;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    flex-shrink: 0;
}
.why-label { font-weight: 700; line-height: 1.5; font-size: clamp(0.78rem, 2.5vw, 0.9rem); }
.why-monkey { position: absolute; left: 10px; bottom: 50px; width: 145px; z-index: 20; animation: float-char 4s ease-in-out infinite; }
.why-seahorse { position: absolute; right: -35px; bottom: -55px; width: 110px; z-index: 20; animation: float-char 4s ease-in-out infinite 0.9s; }

/* ===== MAJALAH POPULER ===== */
.majalah-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.mj-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 3px 16px rgba(0,0,0,0.07);
    cursor: pointer;
    transition: all 0.24s;
}
.mj-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(0,0,0,0.13); }
.mj-cover {
    height: 160px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    overflow: hidden;
}
.mjc-green  { background: linear-gradient(150deg,#72D97A 0%,#45B84B 100%); }
.mjc-yellow { background: linear-gradient(150deg,#FFD05C 0%,#FF8C42 100%); }
.mjc-blue   { background: linear-gradient(150deg,#5ECFE0 0%,#3498C6 100%); }
.mjc-pink   { background: linear-gradient(150deg,#FF8AAC 0%,#FF5050 100%); }
.mj-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(0,0,0,0.44) 0%,transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 0.6rem 0.8rem;
}
.mj-overlay-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(0.7rem, 2vw, 0.82rem);
    color: #fff;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.mj-footer { padding: 0.6rem 0.9rem; font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.mj-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .3s ease;
}

/* ===== CTA BANNER ===== */
.cta-section { padding: 0 1rem 2.5rem; }
.cta-box {
    max-width: 1180px;
    margin: 0 auto;
    background: linear-gradient(135deg,#FF7BAD 0%,#FF9B5C 100%);
    border-radius: 20px;
    padding: 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}
.cta-mascot-left { position: absolute; left: 20px; bottom: -12px; font-size: 5rem; opacity: 0.25; pointer-events: none; }
.cta-mascot-right { position: absolute; right: 190px; bottom: -10px; width: 72px; opacity: 0.25; pointer-events: none; }
.cta-text h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(0.9rem, 3vw, 1.3rem);
    color: #fff;
    margin-bottom: 0.3rem;
}
.cta-text p { font-size: clamp(0.75rem, 2vw, 0.85rem); color: rgba(255,255,255,0.88); }
.btn-cta {
    background: #FFD43B;
    color: #7A5400;
    flex-shrink: 0;
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
    font-size: clamp(0.78rem, 2.5vw, 0.9rem);
    padding: 0.7rem 1.4rem;
}
.btn-cta:hover { box-shadow: 0 8px 26px rgba(0,0,0,0.22); }

/* ===== FOOTER ===== */
.footer { background: var(--white); padding: 2.5rem 1rem 0; border-top: 1px solid #F0F0F0; }
.footer-top {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.6fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #F0F0F0;
}
.footer-brand-p { font-size: 0.78rem; color: var(--muted); line-height: 1.65; margin-top: 0.6rem; max-width: 210px; }
.footer-social { display: flex; gap: 0.5rem; margin-top: 0.9rem; }
.sico {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F3F4F6;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
}
.sico:hover { background: var(--pink); color: #fff; transform: translateY(-2px); }
.fcol h5 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--text); margin-bottom: 0.8rem; }
.fcol ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.fcol ul li a { font-size: 0.78rem; color: var(--muted); transition: color 0.18s; }
.fcol ul li a:hover { color: var(--pink); }
.footer-audio-p { font-size: 0.76rem; color: var(--muted); line-height: 1.6; margin-bottom: 0.7rem; }
.btn-footer-listen {
    background: var(--pink);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.48rem 1.1rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-footer-listen:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255,107,157,0.35); }
.footer-bottom { max-width: 1180px; margin: 0 auto; text-align: center; padding: 1rem 0; font-size: 0.73rem; color: var(--muted); }

/* ===== MODAL OVERLAY ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,15,30,0.65);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-overlay.active { display: flex; }

.modal-close {
    background: #F3F4F6;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    color: #1A1A2E;
}
.modal-close:hover { background: var(--pink); color: #fff; transform: rotate(90deg); }

/* ===== MAGAZINE PICKER ===== */
.mag-picker-box {
    background: #fff;
    border-radius: 24px;
    padding: 1.5rem;
    max-width: 840px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,0.18);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.modal-ep-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.2rem;
}

.modal-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(0.95rem, 4vw, 1.25rem);
    color: var(--text);
}

.mag-picker-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

.mag-pick-card {
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.24s;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    position: relative;
    border: 2px solid transparent;
}
.mag-pick-card:hover:not(.locked) {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: var(--pink);
}
.mag-pick-card.locked { cursor: not-allowed; opacity: 0.72; }

.mag-pick-cover {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.mag-pick-info {
    padding: 0.55rem 0.7rem 0.7rem;
    background: #fff;
}
.mag-pick-ep {
    font-size: 0.62rem;
    font-weight: 800;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mag-pick-title {
    font-size: clamp(0.68rem, 2vw, 0.76rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    margin-top: 0.15rem;
}

.mag-pick-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform .3s ease;
}

.mag-pick-card:hover .mag-pick-cover img {
    transform: scale(1.05);
}

.badge-new {
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--pink);
    color: #fff;
    font-size: 0.56rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.badge-soon {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0,0,0,0.35);
    color: #fff;
    font-size: 0.56rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 20px;
}

.lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* ===== MAGAZINE READER ===== */
.reader-box {
    background: #fff;
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    max-height: 94vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px rgba(0,0,0,0.2);
    animation: slideUp 0.3s ease;
    position: relative;
}

.reader-header {
    padding: 0.9rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #F3F4F6;
    flex-shrink: 0;
}

.reader-ep-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.12rem;
}

.reader-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(0.78rem, 3vw, 0.92rem);
    color: var(--text);
}

.reader-body {
    width: 100%;
    max-width: 100%;
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

.reader-page { display: none; }
.reader-page.active { display: block; }

.reader-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    gap: 0.4rem;
}

.page-dots {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-bottom: 0.2rem;
}
.page-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #E5E7EB;
    cursor: pointer;
    transition: all 0.2s;
}
.page-dot.active { background: var(--pink); transform: scale(1.35); }

.page-counter {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--muted);
    text-align: center;
}

.btn-page-nav {
    background: none;
    border: 2px solid #E5E7EB;
    border-radius: 50px;
    padding: 0.34rem 0.85rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(0.68rem, 2.5vw, 0.78rem);
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text);
    white-space: nowrap;
}
.btn-page-nav:hover:not(:disabled) { border-color: var(--pink); color: var(--pink); }
.btn-page-nav:disabled { opacity: 0.3; cursor: not-allowed; }

.magazine-full-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    box-sizing: border-box;
}

.page-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    position: relative;
}

.reader-page {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* ===========================
   FULLSCREEN BUTTON
=========================== */
[id^="btnFullscreen"] {
    background: #F3F4F6;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    color: #1A1A2E;
}

[id^="btnFullscreen"]:hover {
    background: var(--pink);
    color: #fff;
    transform: scale(1.1);
}

.reader-box.fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
}

.reader-box.fullscreen .reader-body {
    flex: 1 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
}

.reader-box.fullscreen .magazine-full-img {
    width: auto !important;
    max-width: 100% !important;
    height: calc(100vh - 160px) !important;
    max-height: calc(100vh - 160px) !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.reader-box.fullscreen .reader-header { flex-shrink: 0; }
.reader-box.fullscreen .reader-footer { flex-shrink: 0; }

/* =============================================
   FLOATING AUDIO NARRATOR
============================================= */

.narrator-container {
    position: fixed;
    bottom: 70px;
    right: 16px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.narrator-container.hidden { display: none !important; }

.narrator-chars {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.narrator-char-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: #fff;
    border: 3px solid #F3F4F6;
    border-radius: 18px;
    padding: 7px 9px 5px;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 18px rgba(0,0,0,0.13);
    position: relative;
}

.narrator-char-btn:hover {
    transform: translateY(-6px) scale(1.06);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

#btnTata { border-color: #FFD43B; }
#btnTata:hover, #btnTata.active {
    background: #FFF9E0;
    border-color: #FFC107;
    box-shadow: 0 8px 24px rgba(255,212,59,0.4);
}

#btnKula { border-color: #51CF66; }
#btnKula:hover, #btnKula.active {
    background: #F0FFF4;
    border-color: #28a745;
    box-shadow: 0 8px 24px rgba(81,207,102,0.4);
}

.narrator-char-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
    animation: narratorFloat 3s ease-in-out infinite;
}

#btnKula .narrator-char-img { animation-delay: 0.8s; }

@keyframes narratorFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}

.narrator-char-label {
    font-size: 0.62rem;
    font-weight: 800;
    color: #555;
    font-family: 'Nunito', sans-serif;
}

.narrator-char-wave {
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.narrator-char-wave.playing { opacity: 1; }

.narrator-char-wave span {
    display: block;
    width: 3px;
    background: #FF6B9D;
    border-radius: 2px;
    animation: soundWave 0.6s ease-in-out infinite alternate;
}
.narrator-char-wave span:nth-child(1) { height: 5px; animation-delay: 0s; }
.narrator-char-wave span:nth-child(2) { height: 10px; animation-delay: 0.15s; }
.narrator-char-wave span:nth-child(3) { height: 5px; animation-delay: 0.3s; }

@keyframes soundWave {
    from { transform: scaleY(0.4); }
    to   { transform: scaleY(1); }
}

.narrator-bubble {
    background: #fff;
    border-radius: 18px;
    padding: 12px 14px;
    max-width: 240px;
    width: 240px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.16);
    position: relative;
    display: none;
    animation: bubblePop 0.3s cubic-bezier(0.34,1.56,0.64,1);
    border: 2px solid #F3F4F6;
}

.narrator-bubble.show { display: block; }

.narrator-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 62px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
}

@keyframes bubblePop {
    from { transform: scale(0.7) translateY(10px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}

.narrator-bubble-close {
    position: absolute;
    top: 7px;
    right: 9px;
    background: #F3F4F6;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.62rem;
    cursor: pointer;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.narrator-bubble-close:hover { background: var(--pink); color: #fff; }

.narrator-bubble-avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 7px;
}
.narrator-bubble-avatar img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
}

.narrator-bubble-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    color: var(--text);
    margin-bottom: 4px;
    text-align: center;
}

.narrator-bubble-text {
    font-size: 0.75rem;
    color: #555;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 9px;
    font-weight: 600;
}

.narrator-bubble-controls {
    display: flex;
    align-items: center;
    gap: 7px;
}

.narrator-play-btn {
    flex-shrink: 0;
    background: var(--pink);
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.narrator-play-btn:hover { transform: scale(1.06); }
.narrator-play-btn.playing { background: #6c757d; }

.narrator-progress {
    flex: 1;
    height: 5px;
    background: #F0F0F0;
    border-radius: 5px;
    overflow: hidden;
}
.narrator-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--pink), var(--orange));
    border-radius: 5px;
    transition: width 0.3s;
}

.narrator-progress-wrap {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.narrator-seek {
    width: 100%;
    height: 14px;
    accent-color: var(--pink, #FF6B9D);
    cursor: pointer;
    background: transparent;
    margin: 0;
    padding: 0;
}

.narrator-time {
    font-size: 0.62rem;
    color: #999;
    text-align: right;
    font-weight: 600;
    min-width: 65px;
    white-space: nowrap;
}

.narrator-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 5px 0;
}

.narrator-nav-btn {
    background: #f3f4f6;
    border: 1.5px solid #e0e0e0;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    line-height: 1;
}
.narrator-nav-btn:hover:not(:disabled) {
    background: var(--pink, #FF6B9D);
    color: #fff;
    border-color: var(--pink, #FF6B9D);
}
.narrator-nav-btn:disabled { opacity: .35; cursor: not-allowed; }

.narrator-counter {
    font-size: .7rem;
    font-weight: 700;
    color: #888;
    min-width: 28px;
    text-align: center;
}

/* ===========================
   BACKGROUND MUSIC BUTTON
=========================== */
#btnMusic {
    position: fixed;
    bottom: 24px;
    left: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #FFD43B, #FF6B9D);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    transition: all .25s;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: musicPulse 2s ease-in-out infinite;
}

#btnMusic:hover { transform: scale(1.12); box-shadow: 0 6px 20px rgba(0,0,0,.25); }

#btnMusic.muted { background: #e0e0e0; animation: none; }

@keyframes musicPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(255,107,157,.3); }
    50%       { box-shadow: 0 4px 24px rgba(255,107,157,.6); }
}

/* ===================================================================
   RESPONSIVE — TABLET  (≤1050px)
=================================================================== */
@media (max-width: 1050px) {
    .explore-grid { grid-template-columns: repeat(3,1fr); }
    .majalah-grid { grid-template-columns: repeat(2,1fr); }
    .why-grid { grid-template-columns: repeat(2,1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

/* ===================================================================
   RESPONSIVE — MOBILE LARGE  (≤768px)
=================================================================== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }

    .hero-wrap {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1rem 4rem;
    }
    .hero-desc { margin: 0 auto 1.25rem; }
    .hero-btns { justify-content: center; }
    .hero-mascot { height: 260px; order: -1; }
    .mascot-blob-bg { width: 210px; height: 195px; }
    .mascot-monkey  { width: 160px; right: 5px; }
    .mascot-seahorse { width: 105px; left: 5px; bottom: 20px; }
    .blob-pink { width: 320px; height: 280px; right: -80px; }
    .blob-blue { width: 100px; height: 100px; right: 110px; }

    .explore-grid { grid-template-columns: repeat(2,1fr); }
    .explore-box { padding: 22px 14px 26px; border-radius: 22px; }

    .why-card { padding: 1.5rem; }

    .cta-box { flex-direction: column; text-align: center; padding: 1.75rem 1.25rem; }
    .cta-mascot-right { display: none; }

    .mag-picker-grid { grid-template-columns: repeat(2,1fr); }

    .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ===================================================================
   RESPONSIVE — MOBILE  (≤540px)
=================================================================== */
@media (max-width: 540px) {
    /* Nav */
    .nav-inner { height: 52px; padding: 0 0.85rem; }
    .btn-nav-audio { padding: 0.35rem 0.75rem; font-size: 0.72rem; }

    /* Hero */
    .hero-title { font-size: 1.6rem; }
    .hero-wrap  { padding: 1.75rem 0.9rem 3.5rem; }
    .hero-mascot { height: 220px; }
    .mascot-blob-bg { width: 175px; height: 165px; }
    .mascot-monkey  { width: 135px; right: 0; }
    .mascot-seahorse { width: 90px; left: 0; bottom: 16px; }
    .blob-pink { width: 240px; right: -50px; }
    .blob-blue { display: none; }
    .deco-plus1, .deco-plus2, .deco-plus3,
    .deco-plus4, .deco-plus5 { display: none; }

    /* Sections */
    .sec { padding: 1.75rem 0.9rem; }

    /* Explore */
    .explore-section { padding: 12px 10px 0; }
    .explore-box { padding: 18px 12px 20px; border-radius: 18px; }
    .explore-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
    .ex-icon { width: 50px; height: 50px; font-size: 22px; border-radius: 12px; }
    .ex-card { padding: 14px 10px; border-radius: 14px; }
    .ex-card h3 { font-size: 13px; }
    .ex-card p  { font-size: 11px; }

    /* Why */
    .why-section { padding: 18px 10px; }
    .why-card { padding: 1.25rem; border-radius: 22px; }
    .why-grid { grid-template-columns: 1fr; gap: 14px; }
    .why-monkey, .why-seahorse { display: none; }

    /* Majalah */
    .majalah-grid { grid-template-columns: repeat(2,1fr); gap: 0.75rem; }
    .mj-cover { height: 130px; font-size: 2.5rem; }
    .mj-footer { font-size: 0.7rem; padding: 0.5rem 0.75rem; }

    /* CTA */
    .cta-section { padding: 0 0.9rem 2rem; }
    .cta-box { border-radius: 16px; padding: 1.5rem 1.1rem; gap: 1rem; }
    .cta-mascot-left { font-size: 4rem; }
    .btn-cta { width: 100%; justify-content: center; }

    /* Footer */
    .footer { padding: 2rem 0.9rem 0; }
    .footer-top { grid-template-columns: 1fr; gap: 1.25rem; }

    /* Modal picker */
    .mag-picker-box { padding: 1rem; border-radius: 20px; }
    .mag-picker-grid { grid-template-columns: repeat(2,1fr); gap: 0.7rem; }
    .mag-pick-cover { height: 95px; }

    /* Reader */
    .reader-box { border-radius: 18px; max-height: 96vh; }
    .reader-header { padding: 0.75rem 1rem; }
    .reader-body  { padding: 0.85rem 1rem; }
    .reader-footer { padding: 0.6rem 1rem; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
    .btn-page-nav { padding: 0.3rem 0.7rem; font-size: 0.7rem; }

    /* Narrator */
    .narrator-container { bottom: 12px; right: 10px; gap: 6px; }
    .narrator-char-img  { width: 38px; height: 38px; }
    .narrator-bubble    { max-width: 210px; width: 210px; padding: 10px 12px; border-radius: 16px; }
    .narrator-char-btn  { padding: 6px 8px 4px; border-radius: 15px; }
    .narrator-bubble-avatar img { width: 38px; height: 38px; }

    /* Music */
    #btnMusic { bottom: 16px; left: 12px; width: 38px; height: 38px; font-size: 1rem; }
}

/* ===================================================================
   RESPONSIVE — MOBILE XS  (≤380px)
=================================================================== */
@media (max-width: 380px) {
    .hero-title { font-size: 1.35rem; }
    .hero-mascot { height: 190px; }
    .mascot-blob-bg { width: 150px; height: 140px; }
    .mascot-monkey { width: 115px; }
    .mascot-seahorse { width: 78px; }

    .explore-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .ex-icon { width: 44px; height: 44px; font-size: 20px; }
    .ex-card h3 { font-size: 12px; }
    .ex-card p  { display: none; }  /* hide description on tiny screens */

    .majalah-grid { grid-template-columns: repeat(2,1fr); gap: 0.6rem; }
    .mj-cover { height: 110px; }

    .mag-picker-grid { grid-template-columns: repeat(2,1fr); gap: 0.55rem; }
    .mag-pick-cover { height: 85px; }

    .narrator-bubble { max-width: 190px; width: 190px; }
    .narrator-char-img { width: 34px; height: 34px; }

    .btn-page-nav { padding: 0.28rem 0.6rem; font-size: 0.65rem; }
    .reader-header { padding: 0.65rem 0.85rem; }
    .reader-body  { padding: 0.7rem 0.85rem; }
}