@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Be+Vietnam+Pro:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ============================================================
   0. GUARDS & RESET
   ============================================================ */
html, body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }
*, *::before, *::after { box-sizing: border-box; }

:root {
    --forest: #1B4332;
    --forest-deep: #10301F;
    --forest-mid: #2D6A4F;
    --lime: #B5E48C;
    --lime-soft: #D8F3DC;
    --leaf: #F6FBF4;
    --ink: #16301F;
    --white: #ffffff;
    --radius: 14px;
    --font-display: 'Baloo 2', 'Be Vietnam Pro', sans-serif;
    --font-body: 'Be Vietnam Pro', sans-serif;
    --shadow-card: 0 18px 40px rgba(16, 48, 31, 0.16);
    --shadow-pop: 0 26px 60px rgba(16, 48, 31, 0.32);
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--leaf);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
a { color: var(--forest-mid); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--forest); }
ul { padding-left: 1.2em; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lime { color: var(--lime); }

/* ============================================================
   1. BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    text-align: center;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }
.btn-sm { padding: 9px 20px; font-size: 0.92rem; }
.btn-lime { background: var(--lime); color: var(--forest-deep); box-shadow: 0 10px 26px rgba(181, 228, 140, 0.45); }
.btn-lime:hover { background: #c9f0a6; color: var(--forest-deep); box-shadow: 0 16px 34px rgba(181, 228, 140, 0.6); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(246, 251, 244, 0.55); }
.btn-ghost:hover { background: rgba(246, 251, 244, 0.12); color: var(--white); }

/* ============================================================
   2. HEADER (top bar)
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 90;
    background: rgba(16, 48, 31, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(181, 228, 140, 0.18);
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.site-logo .logo-img { max-height: 44px; width: auto; display: block; }
.main-nav { flex: 1; }
.nav-menu { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-menu a {
    display: block;
    padding: 9px 14px;
    border-radius: var(--radius);
    color: var(--lime-soft);
    font-weight: 600;
    font-size: 0.95rem;
}
.nav-menu a:hover { background: rgba(181, 228, 140, 0.14); color: var(--lime); }
.header-actions { display: flex; gap: 10px; }
.btn-login { color: var(--lime); border-color: rgba(181, 228, 140, 0.5); background: transparent; padding: 8px 18px; font-size: 0.92rem; }
.btn-login:hover { background: rgba(181, 228, 140, 0.12); color: var(--lime); }
.btn-register { background: var(--lime); color: var(--forest-deep); padding: 8px 18px; font-size: 0.92rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after {
    display: block; width: 26px; height: 2px; background: var(--lime); border-radius: 2px; position: relative; transition: transform .3s ease;
}
.nav-toggle-icon::before, .nav-toggle-icon::after { content: ''; position: absolute; left: 0; }
.nav-toggle-icon::before { top: -8px; }
.nav-toggle-icon::after { top: 8px; }

/* ============================================================
   3. DOT RAIL (chỉ mục chương, fixed bên trái)
   ============================================================ */
.section-dots {
    position: fixed;
    left: 26px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 80;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 14px;
}
.section-dots .dot { display: block; position: relative; width: 14px; height: 14px; }
.dot-core {
    display: block;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(246, 251, 244, 0.45);
    border: 2px solid rgba(246, 251, 244, 0.7);
    margin: 2px auto;
    transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}
.dot:hover .dot-core { background: var(--lime); }
.dot.is-active .dot-core {
    transform: scale(1.55);
    background: var(--lime);
    border-color: var(--lime);
    box-shadow: 0 0 0 6px rgba(181, 228, 140, 0.25);
}
.dot-label {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    background: var(--forest-deep);
    color: var(--lime);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
}
.dot:hover .dot-label { opacity: 1; transform: translateY(-50%) translateX(0); }
/* Trên nền sáng, chấm cần màu tối hơn */
.section-features + *, .section-dots.on-light .dot-core { }

/* ============================================================
   4. STORY SECTIONS (chương cuộn dài)
   ============================================================ */
.story-main { position: relative; }
.story-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 120px;
}
.story-section .container { width: 100%; }
.chapter-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.chapter-head-left { text-align: left; margin-left: 0; }
.chapter-index {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--forest-mid);
    background: var(--lime-soft);
    border-radius: 999px;
    padding: 7px 18px;
    margin-bottom: 18px;
}
.chapter-title { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--forest); font-weight: 800; }
.chapter-sub { font-size: 1.05rem; color: #3f5d4d; margin-bottom: 0; }
.chapter-head-light .chapter-index { background: rgba(181, 228, 140, 0.18); color: var(--lime); }
.chapter-head-light .chapter-title { color: var(--leaf); }
.chapter-head-light .chapter-sub { color: rgba(246, 251, 244, 0.75); }

/* --- Chương 1: Hero --- */
.section-hero { color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.hero-shade {
    position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(16, 48, 31, 0.94) 18%, rgba(27, 67, 50, 0.78) 55%, rgba(16, 48, 31, 0.55) 100%);
}
.hero-grain {
    position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: overlay;
    background-image: radial-gradient(rgba(214, 243, 220, 0.5) 1px, transparent 1px);
    background-size: 5px 5px;
}
.hero-inner {
    position: relative; z-index: 2;
    display: grid;
    grid-template-areas: 'copy posters';
    grid-template-columns: 1.35fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero-copy { grid-area: copy; }
.hero-posters { grid-area: posters; }
.eyebrow {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--lime);
    margin-bottom: 18px;
}
.hero-title { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; color: var(--white); }
.hero-title em { font-style: normal; color: var(--lime); }
.hero-desc { max-width: 520px; color: rgba(246, 251, 244, 0.85); font-size: 1.08rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 24px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-badge {
    background: rgba(246, 251, 244, 0.1);
    border: 1px solid rgba(181, 228, 140, 0.35);
    color: var(--lime-soft);
    font-size: 0.85rem;
    padding: 7px 14px;
    border-radius: 999px;
}
.hero-posters { display: flex; justify-content: center; position: relative; }
.poster-card {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-pop);
    border: 3px solid rgba(246, 251, 244, 0.2);
}
.poster-a { transform: rotate(-5deg) translateX(20px); width: 240px; z-index: 2; animation: floaty 6s ease-in-out infinite; }
.poster-b { transform: rotate(6deg) translateX(-20px) translateY(26px); width: 220px; animation: floaty 7s ease-in-out 1s infinite; }
@keyframes floaty {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -16px; }
}
.scroll-hint {
    position: absolute;
    left: 50%; bottom: 30px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--lime-soft);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.scroll-hint-line { width: 2px; height: 42px; background: linear-gradient(var(--lime), transparent); animation: dripline 1.8s ease-in-out infinite; border-radius: 2px; }
@keyframes dripline { 0% { transform: scaleY(0.2); transform-origin: top; } 60% { transform: scaleY(1); } 100% { transform: scaleY(0.2); transform-origin: bottom; } }

/* --- Chương 2: Đặc quyền --- */
.section-features {
    background:
        radial-gradient(900px 420px at 8% 0%, rgba(181, 228, 140, 0.35), transparent 60%),
        radial-gradient(700px 400px at 96% 100%, rgba(181, 228, 140, 0.25), transparent 60%),
        var(--leaf);
}
.feature-grid {
    display: grid;
    grid-template-areas: 'a b' 'c d';
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.feature-card:nth-child(1) { grid-area: a; }
.feature-card:nth-child(2) { grid-area: b; }
.feature-card:nth-child(3) { grid-area: c; }
.feature-card:nth-child(4) { grid-area: d; }
.feature-card {
    background: var(--white);
    border: 1px solid rgba(45, 106, 79, 0.12);
    border-radius: var(--radius);
    padding: 38px 32px;
    box-shadow: var(--shadow-card);
    transition: transform .35s ease, box-shadow .35s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-pop); }
.feature-icon {
    width: 64px; height: 64px;
    display: grid; place-items: center;
    font-size: 1.8rem;
    background: var(--lime-soft);
    border-radius: var(--radius);
    margin-bottom: 20px;
}
.feature-card h3 { color: var(--forest); font-size: 1.3rem; }
.feature-card p { color: #40604f; font-size: 0.97rem; }
.feature-link { font-weight: 700; color: var(--forest-mid); }
.feature-link:hover { color: var(--forest); }

/* --- Chương 3: Trò chơi --- */
.section-games {
    background:
        radial-gradient(1100px 500px at 50% -10%, rgba(45, 106, 79, 0.7), transparent 65%),
        var(--forest-deep);
}
.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.game-card {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--forest);
    box-shadow: var(--shadow-card);
    aspect-ratio: 3 / 4;
}
.game-media, .game-media img { height: 100%; width: 100%; }
.game-media img { object-fit: cover; display: block; max-width: none; transition: transform .6s ease; }
.game-card:hover .game-media img { transform: scale(1.08); }
.game-veil {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 22px;
    background: linear-gradient(to top, rgba(16, 48, 31, 0.96) 32%, rgba(16, 48, 31, 0.35) 68%, transparent);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .4s ease, transform .4s ease;
}
.game-card:hover .game-veil, .game-card:focus-visible .game-veil { opacity: 1; transform: translateY(0); }
.game-veil h3 { color: var(--white); font-size: 1.12rem; margin-bottom: 4px; }
.game-rating { color: var(--lime); font-size: 0.85rem; margin-bottom: 6px; }
.game-blurb { color: rgba(246, 251, 244, 0.8); font-size: 0.85rem; line-height: 1.5; margin-bottom: 12px; }
.chapter-cta { text-align: center; margin-top: 48px; }

/* --- Chương 4: Số liệu --- */
.section-stats {
    background:
        radial-gradient(800px 400px at 100% 0%, rgba(181, 228, 140, 0.3), transparent 55%),
        var(--leaf);
}
.stats-grid {
    display: grid;
    grid-template-areas: 's1 s2 s3 s4';
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat-block:nth-child(1) { grid-area: s1; }
.stat-block:nth-child(2) { grid-area: s2; }
.stat-block:nth-child(3) { grid-area: s3; }
.stat-block:nth-child(4) { grid-area: s4; }
.stat-block {
    background: var(--white);
    border-radius: var(--radius);
    border-top: 5px solid var(--lime);
    box-shadow: var(--shadow-card);
    text-align: center;
    padding: 36px 18px;
}
.stat-number {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    color: var(--forest);
}
.stat-label { color: #4a6a58; font-size: 0.95rem; font-weight: 600; }
.stats-quote { margin-top: 56px; text-align: center; }
.stats-quote blockquote {
    margin: 0 auto; max-width: 640px;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.4vw, 1.6rem);
    font-weight: 700;
    color: var(--forest-mid);
    position: relative;
    padding: 26px 34px;
    background: var(--lime-soft);
    border-radius: var(--radius);
}

/* --- Chương 5: Tải xuống --- */
.section-download {
    background:
        radial-gradient(900px 500px at 0% 100%, rgba(45, 106, 79, 0.65), transparent 60%),
        var(--forest-deep);
    color: var(--leaf);
}
.download-wrap {
    display: grid;
    grid-template-areas: 'copy visual';
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: center;
}
.download-copy { grid-area: copy; }
.download-visual { grid-area: visual; display: flex; justify-content: center; }
.download-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.download-perks { list-style: none; margin: 0 0 34px; padding: 0; }
.download-perks li { padding: 8px 0 8px 30px; position: relative; color: rgba(246, 251, 244, 0.85); }
.download-perks li::before { content: '🌿'; position: absolute; left: 0; top: 8px; }
.poster-c { width: 235px; transform: rotate(-4deg); z-index: 2; animation: floaty 6.5s ease-in-out infinite; }
.poster-d { width: 215px; transform: rotate(5deg) translateX(-24px) translateY(24px); animation: floaty 7.5s ease-in-out .8s infinite; }
.news-strip {
    background: rgba(246, 251, 244, 0.07);
    border: 1px solid rgba(181, 228, 140, 0.25);
    border-radius: var(--radius);
    padding: 24px;
}
.news-strip-title { color: var(--lime); font-size: 1.05rem; margin-bottom: 14px; }
.news-strip-list { display: flex; flex-direction: column; gap: 10px; }
.news-strip-item { display: flex; align-items: center; gap: 10px; color: var(--lime-soft); font-size: 0.93rem; }
.news-strip-item:hover { color: var(--lime); }
.news-strip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }
.news-strip-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-strip-date { color: rgba(216, 243, 220, 0.6); font-size: 0.8rem; }
.news-strip-more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--lime); font-size: 0.9rem; }

/* ============================================================
   5. FOOTER
   ============================================================ */
.site-footer { background: var(--forest-deep); color: rgba(246, 251, 244, 0.75); padding-top: 64px; position: relative; }
.footer-canopy {
    height: 8px;
    background: repeating-linear-gradient(90deg, var(--lime) 0 26px, var(--forest-mid) 26px 52px);
    position: absolute; top: 0; left: 0; right: 0;
}
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    padding: 20px 0 40px;
}
.footer-widget .widget-title { color: var(--lime); font-size: 1.05rem; }
.footer-widget a { color: rgba(246, 251, 244, 0.75); }
.footer-widget a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid rgba(181, 228, 140, 0.18); padding: 30px 0 40px; text-align: center; }
.disclaimer-text { font-size: 0.85rem; color: rgba(246, 251, 244, 0.65); max-width: 760px; margin: 18px auto 0; }

/* ============================================================
   6. CONTENT PAGES (index / archive / single / page)
   ============================================================ */
.page-main { padding: 140px 0 90px; min-height: 70vh; }
.page-head { margin-bottom: 44px; }
.forest-search { max-width: 560px; margin: 0 auto 44px; }
.forest-search form { display: flex; gap: 10px; }
.forest-search input, .side-search input {
    flex: 1;
    border: 2px solid rgba(45, 106, 79, 0.2);
    border-radius: var(--radius);
    padding: 12px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--white);
    color: var(--ink);
}
.forest-search input:focus, .side-search input:focus { outline: none; border-color: var(--lime); }

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.post-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform .35s ease, box-shadow .35s ease;
}
.post-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-pop); }
.post-card-link { display: block; color: inherit; }
.post-card-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--lime-soft); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; transition: transform .5s ease; }
.post-card:hover .post-card-thumb img { transform: scale(1.06); }
.post-card-body { padding: 22px; }
.post-card-date { font-size: 0.8rem; color: #7a9585; font-weight: 600; }
.post-card-title { font-size: 1.12rem; color: var(--forest); margin: 8px 0; }
.post-card-excerpt { font-size: 0.92rem; color: #4a6a58; }
.post-card-more { font-weight: 700; color: var(--forest-mid); font-size: 0.9rem; }

.archive-layout {
    display: grid;
    grid-template-areas: 'posts side';
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    align-items: start;
}
.archive-posts { grid-area: posts; }
.archive-sidebar { grid-area: side; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 96px; }
.post-row {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 22px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.post-row:hover { transform: translateX(6px); box-shadow: var(--shadow-pop); }
.post-row-link { display: grid; grid-template-areas: 'thumb body'; grid-template-columns: 240px 1fr; color: inherit; }
.post-row-thumb { grid-area: thumb; overflow: hidden; }
.post-row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.post-row-body { grid-area: body; padding: 22px 26px; }
.post-row-title { font-size: 1.25rem; color: var(--forest); margin: 6px 0 8px; }

.side-panel {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 24px;
}
.side-panel-title { font-size: 1.05rem; color: var(--forest); margin-bottom: 14px; }
.side-search { display: flex; gap: 8px; }
.side-search button {
    background: var(--lime); border: 0; border-radius: var(--radius);
    padding: 0 18px; font-size: 1.1rem; cursor: pointer; color: var(--forest-deep);
}
.side-cat-list, .side-post-list { list-style: none; margin: 0; padding: 0; }
.side-cat-list li, .side-post-list li { padding: 8px 0; border-bottom: 1px dashed rgba(45, 106, 79, 0.15); font-size: 0.93rem; }
.side-cat-list li:last-child, .side-post-list li:last-child { border-bottom: 0; }

.single-layout {
    display: grid;
    grid-template-areas: 'article side';
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    align-items: start;
}
.single-article { grid-area: article; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 44px; }
.single-sidebar { grid-area: side; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 96px; }
.single-cat a { font-size: 0.85rem; font-weight: 700; color: var(--forest-mid); text-transform: uppercase; letter-spacing: 0.08em; }
.single-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--forest); margin: 12px 0; }
.single-meta { display: flex; gap: 18px; font-size: 0.88rem; color: #7a9585; margin-bottom: 24px; }
.single-thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.single-content { font-size: 1.02rem; color: #2c4636; }
.single-content h2, .single-content h3 { color: var(--forest); }
.single-content img { border-radius: var(--radius); }
.single-content a { text-decoration: underline; }
.single-cta {
    background: var(--lime-soft);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    margin: 34px 0;
}
.single-cta p { margin-bottom: 16px; color: var(--forest); font-weight: 600; }
.single-tags { margin: 20px 0; }
.single-tags a {
    display: inline-block; background: var(--leaf); border: 1px solid rgba(45, 106, 79, 0.2);
    border-radius: 999px; padding: 5px 14px; font-size: 0.82rem; margin: 0 6px 8px 0;
}
.single-nav { display: flex; justify-content: space-between; gap: 16px; border-top: 1px dashed rgba(45, 106, 79, 0.2); padding-top: 22px; font-size: 0.92rem; }
.single-nav-item { max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-article { max-width: 860px; margin: 0 auto; }
.page-content { font-size: 1.02rem; color: #2c4636; }
.pagination-bar { margin-top: 40px; text-align: center; }
.pagination-bar .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination-bar .page-numbers {
    display: inline-block; padding: 9px 16px; border-radius: var(--radius);
    background: var(--white); box-shadow: var(--shadow-card); font-weight: 600; color: var(--forest);
}
.pagination-bar .page-numbers.current { background: var(--lime); color: var(--forest-deep); }
.empty-forest { text-align: center; padding: 60px 0; color: #4a6a58; }

/* ============================================================
   7. REVEAL ANIMATIONS (kích hoạt khi cuộn tới)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }
.reveal.delay-4 { transition-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .poster-a, .poster-b, .poster-c, .poster-d, .scroll-hint-line { animation: none; }
}
