/* ============================================================
   Moban 8-10-50 — main.css
   Class J: Cold-tech dark immersive theme
   Palette: bg #0B0E11 · panel #101418 · accent #00E5FF · text #E8EAED
   ============================================================ */

html, body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

:root {
    --bg: #0B0E11;
    --panel: #101418;
    --panel-2: #151b22;
    --line: #222b34;
    --accent: #00E5FF;
    --accent-dim: rgba(0, 229, 255, 0.14);
    --accent-glow: rgba(0, 229, 255, 0.45);
    --text: #E8EAED;
    --text-dim: #9aa5b1;
    --dock-h: 64px;
    --radius: 14px;
    --gap: 20px;
}

/* ---------- Nền tảng ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding-bottom: 84px; /* chừa chỗ cho dock điều hướng cố định */
    background-color: var(--bg);
    background-image:
        radial-gradient(circle at 15% 0%, rgba(0, 229, 255, 0.06), transparent 45%),
        radial-gradient(circle at 90% 35%, rgba(0, 229, 255, 0.04), transparent 40%);
    color: var(--text);
    font-family: 'Roboto', 'Segoe UI', Tahoma, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #8ff3ff;
}

::selection {
    background: var(--accent);
    color: #06131a;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--accent);
    color: #06131a;
    padding: 10px 18px;
    border-radius: 0 0 10px 0;
    font-weight: 700;
}

.skip-link:focus {
    left: 0;
    color: #06131a;
}

/* ---------- Header + thanh điều hướng ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    background: rgba(11, 14, 17, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 10px 20px;
    min-width: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    position: relative;
    min-width: 0;
    flex: 0 0 auto;
}

.brand__logo {
    height: 40px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.35));
}

.brand__glow {
    position: absolute;
    left: -8px;
    right: -8px;
    top: -8px;
    bottom: -8px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.18), transparent 70%);
    pointer-events: none;
}

/* Điều hướng trên desktop: viên nang lơ lửng */
.nav-capsule {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px;
    min-width: 0;
}

.nav-capsule__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    min-width: 0;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-capsule__item:hover {
    color: var(--text);
    background: rgba(0, 229, 255, 0.08);
}

.nav-capsule__item.is-current {
    color: var(--accent);
    background: var(--accent-dim);
    box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.35);
}

.nav-capsule__icon {
    font-size: 15px;
    line-height: 1;
}

.nav-capsule__item--cta {
    color: #06131a;
    background: var(--accent);
    font-weight: 700;
}

.nav-capsule__item--cta:hover {
    color: #06131a;
    background: #6eeeff;
    box-shadow: 0 0 18px var(--accent-glow);
}

/* ---------- Hero toàn màn hình ---------- */
.hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    overflow: hidden;
}

.hero__slides {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.2s ease;
}

.hero__slide.is-active {
    opacity: 1;
    animation: heroZoom 6s ease forwards;
}

@keyframes heroZoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1); }
}

/* Lớp phủ màu lạnh để hòa trộn ảnh nền */
.hero__vignette {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(11, 14, 17, 0.55) 0%, rgba(11, 14, 17, 0.35) 45%, rgba(11, 14, 17, 0.94) 100%);
}

/* Kết cấu đường quét (scanlines) */
.hero__scanlines {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 229, 255, 0.05) 0px,
        rgba(0, 229, 255, 0.05) 1px,
        transparent 1px,
        transparent 4px
    );
    mix-blend-mode: screen;
    animation: scanDrift 9s linear infinite;
}

@keyframes scanDrift {
    from { background-position: 0 0; }
    to   { background-position: 0 80px; }
}

.hero__content {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 60px 20px 64px;
    animation: riseIn 0.9s ease both;
}

@keyframes riseIn {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero__kicker {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 14px;
    border: 1px solid rgba(0, 229, 255, 0.4);
    border-radius: 999px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    background: rgba(0, 229, 255, 0.08);
}

.hero__title {
    margin: 0 0 16px;
    font-size: clamp(34px, 6vw, 68px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.hero__title-accent {
    color: var(--accent);
    text-shadow: 0 0 28px var(--accent-glow);
}

.hero__desc {
    max-width: 640px;
    margin: 0 0 26px;
    color: var(--text-dim);
    font-size: clamp(15px, 1.6vw, 18px);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero__dots {
    display: flex;
    gap: 8px;
    margin-top: 30px;
}

.hero__dots .dot {
    width: 26px;
    height: 4px;
    border-radius: 2px;
    background: rgba(232, 234, 237, 0.25);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.hero__dots .dot.is-active {
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* ---------- Nút ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn--accent {
    background: var(--accent);
    color: #06131a;
    box-shadow: 0 6px 24px rgba(0, 229, 255, 0.28);
}

.btn--accent:hover {
    background: #6eeeff;
    color: #06131a;
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.45);
}

.btn--ghost {
    border: 1px solid rgba(0, 229, 255, 0.45);
    color: var(--text);
    background: rgba(11, 14, 17, 0.4);
}

.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.btn--lg {
    padding: 15px 34px;
    font-size: 16px;
}

/* ---------- Tiêu đề khu vực ---------- */
.section-head {
    max-width: 1240px;
    margin: 0 auto 28px;
    padding: 0 20px;
}

.section-head__line {
    display: block;
    width: 64px;
    height: 3px;
    margin-bottom: 14px;
    background: linear-gradient(90deg, var(--accent), transparent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.section-head__title {
    margin: 0 0 8px;
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 900;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.section-head__dot {
    color: var(--accent);
    text-shadow: 0 0 14px var(--accent-glow);
}

.section-head__sub {
    margin: 0;
    color: var(--text-dim);
    max-width: 620px;
}

/* ---------- Bộ lọc tìm kiếm ---------- */
.wall-section {
    padding: 56px 0 30px;
}

.wall-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 760px;
    margin: 0 auto 34px;
    padding: 4px 6px 4px 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    min-width: 0;
}

.wall-filter:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.18), 0 0 22px rgba(0, 229, 255, 0.12);
}

.wall-filter__icon {
    color: var(--accent);
    font-size: 20px;
    flex: 0 0 auto;
}

.wall-filter__input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    padding: 12px 0;
}

.wall-filter__input::placeholder {
    color: var(--text-dim);
}

.wall-filter__count {
    flex: 0 0 auto;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* ---------- Tường áp phích 2:3 ---------- */
.poster-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--gap);
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.poster-card {
    min-width: 0;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.poster-card.is-hidden {
    display: none;
}

.poster-card__frame {
    position: relative;
    aspect-ratio: 2 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.poster-card__frame:hover,
.poster-card__frame:focus-within {
    transform: translateY(-6px);
    border-color: rgba(0, 229, 255, 0.6);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 26px rgba(0, 229, 255, 0.18);
}

.poster-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.4s ease;
}

.poster-card__frame:hover .poster-card__img {
    transform: scale(1.07);
    filter: brightness(0.65) saturate(1.1);
}

/* Lớp thông tin hiện ra khi rê chuột */
.poster-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(11, 14, 17, 0.15) 0%, rgba(11, 14, 17, 0.92) 72%);
    opacity: 0;
    transition: opacity 0.35s ease;
    min-width: 0;
}

.poster-card__frame:hover .poster-card__overlay,
.poster-card__frame:focus-within .poster-card__overlay {
    opacity: 1;
}

.poster-card__tag {
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--accent);
    color: #06131a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.poster-card__title {
    margin: 0;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0.2px;
}

.poster-card__info {
    margin: 0;
    font-size: 13px;
    color: var(--text-dim);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.poster-card__cta {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
}

.poster-card__cta:hover {
    text-decoration: underline;
}

/* Góc trang trí kiểu HUD */
.poster-card__corner {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    border-radius: 0 4px 0 0;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.poster-card__frame:hover .poster-card__corner {
    opacity: 1;
}

/* Trạng thái rỗng của bộ lọc */
.wall-empty {
    max-width: 560px;
    margin: 20px auto 40px;
    padding: 44px 24px;
    text-align: center;
    background: var(--panel);
    border: 1px dashed rgba(0, 229, 255, 0.4);
    border-radius: var(--radius);
}

.wall-empty[hidden] {
    display: none;
}

.wall-empty__icon {
    font-size: 42px;
    margin: 0 0 10px;
}

.wall-empty__title {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 700;
}

.wall-empty__hint {
    margin: 0;
    color: var(--text-dim);
    font-size: 14px;
}

.wall-empty__hint em {
    color: var(--accent);
    font-style: normal;
}

/* ---------- Dải số liệu nổi bật ---------- */
.highlight-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gap);
    max-width: 1240px;
    margin: 44px auto;
    padding: 0 20px;
}

.highlight-band__cell {
    min-width: 0;
    padding: 26px 22px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-band__cell:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.highlight-band__num {
    margin: 0 0 6px;
    font-size: 34px;
    font-weight: 900;
    color: var(--accent);
    text-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
}

.highlight-band__num span {
    font-size: 18px;
    color: var(--text-dim);
}

.highlight-band__label {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-dim);
}

/* ---------- Tin tức ---------- */
.news-strip,
.feed-section,
.related-section {
    padding: 30px 0 50px;
}

.news-strip__grid,
.feed-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-strip__grid--tri {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.45);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.news-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    min-width: 0;
}

.news-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card__img {
    transform: scale(1.06);
}

/* Tia quét sáng chạy ngang khi rê chuột */
.news-card__beam {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40%;
    width: 34%;
    background: linear-gradient(105deg, transparent, rgba(0, 229, 255, 0.28), transparent);
    transform: skewX(-18deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.news-card:hover .news-card__beam {
    left: 110%;
}

.news-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px 22px;
    min-width: 0;
    flex: 1 1 auto;
}

.news-card__meta {
    margin: 0;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--accent);
    text-transform: uppercase;
}

.news-card__title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    min-width: 0;
}

.news-card__title a {
    color: var(--text);
}

.news-card__title a:hover {
    color: var(--accent);
}

.news-card__excerpt {
    margin: 0;
    font-size: 14px;
    color: var(--text-dim);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__more {
    margin-top: auto;
    font-size: 13.5px;
    font-weight: 700;
}

.news-strip__empty,
.feed-none__hint {
    color: var(--text-dim);
}

.news-strip__empty {
    text-align: center;
    max-width: 1240px;
    margin: 0 auto;
    padding: 30px 20px;
}

.news-strip__cta {
    text-align: center;
    margin-top: 34px;
}

/* ---------- Dải tải xuống ---------- */
.download-band {
    position: relative;
    margin: 30px 0 0;
    padding: 64px 20px;
    background:
        linear-gradient(120deg, rgba(0, 229, 255, 0.1), rgba(11, 14, 17, 0.2)),
        var(--panel);
    border-top: 1px solid var(--line);
    overflow: hidden;
}

.download-band__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1240px;
    margin: 0 auto;
}

.download-band__text {
    max-width: 560px;
    min-width: 0;
}

.download-band__title {
    margin: 0 0 10px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    text-transform: uppercase;
}

.download-band__desc {
    margin: 0;
    color: var(--text-dim);
}

.download-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    min-width: 0;
}

.download-band__scan {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 229, 255, 0.04) 0,
        rgba(0, 229, 255, 0.04) 1px,
        transparent 1px,
        transparent 5px
    );
    pointer-events: none;
}

/* ---------- Hero trang trong ---------- */
.page-hero {
    padding: 64px 0 40px;
    background:
        radial-gradient(circle at 80% 20%, rgba(0, 229, 255, 0.12), transparent 55%),
        var(--panel);
    border-bottom: 1px solid var(--line);
}

.page-hero__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-hero__kicker {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.page-hero__title {
    margin: 0 0 10px;
    font-size: clamp(30px, 4.6vw, 50px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.page-hero__sub {
    margin: 0;
    max-width: 640px;
    color: var(--text-dim);
}

/* ---------- Phân trang + trạng thái rỗng ---------- */
.feed-pager {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    max-width: 1240px;
    margin: 36px auto 0;
    padding: 0 20px;
    min-width: 0;
}

.feed-pager a {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid rgba(0, 229, 255, 0.4);
    border-radius: 10px;
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
}

.feed-pager a:hover {
    background: var(--accent-dim);
}

.feed-none {
    max-width: 560px;
    margin: 0 auto;
    padding: 50px 24px;
    text-align: center;
    background: var(--panel);
    border: 1px dashed rgba(0, 229, 255, 0.4);
    border-radius: var(--radius);
}

.feed-none__icon {
    font-size: 44px;
    margin: 0 0 10px;
}

.feed-none__title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 900;
}

.feed-none .btn {
    margin-top: 16px;
}

/* ---------- Bài viết chi tiết ---------- */
.article-shell {
    max-width: 860px;
    margin: 0 auto;
    padding: 46px 20px 30px;
}

.article-head__kicker {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.article-head__title {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.article-head__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0 0 26px;
    color: var(--text-dim);
    font-size: 13.5px;
}

.article-head__meta a {
    color: var(--accent);
}

.article-media {
    position: relative;
    margin: 0 0 30px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
}

.article-media__img {
    display: block;
    width: 100%;
}

.article-media__scan {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 229, 255, 0.03) 0,
        rgba(0, 229, 255, 0.03) 1px,
        transparent 1px,
        transparent 4px
    );
    pointer-events: none;
}

.article-body {
    font-size: 16.5px;
    color: #cdd3da;
    min-width: 0;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    color: var(--text);
    font-weight: 900;
    line-height: 1.3;
    margin: 30px 0 12px;
}

.article-body h2 {
    font-size: 26px;
    border-left: 4px solid var(--accent);
    padding-left: 14px;
}

.article-body h3 {
    font-size: 21px;
}

.article-body p {
    margin: 0 0 16px;
}

.article-body blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    background: var(--panel);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text);
}

.article-body a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body ul,
.article-body ol {
    padding-left: 24px;
    margin: 0 0 16px;
}

.article-body li {
    margin-bottom: 6px;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14.5px;
}

.article-body th,
.article-body td {
    border: 1px solid var(--line);
    padding: 10px 12px;
    text-align: left;
}

.article-body th {
    background: var(--panel-2);
    color: var(--accent);
}

.article-body pre {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px;
    overflow-x: auto;
}

.article-body code {
    background: var(--panel);
    padding: 2px 6px;
    border-radius: 6px;
    color: var(--accent);
}

.article-pages {
    margin-top: 20px;
    color: var(--text-dim);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.article-tags__label {
    font-weight: 700;
    color: var(--text);
}

.article-tags a {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 999px;
    font-size: 13px;
    color: var(--accent);
}

.article-tags a:hover {
    background: var(--accent-dim);
}

.article-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    margin-top: 26px;
}

.article-nav__cell {
    min-width: 0;
    padding: 16px 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.article-nav__cell--right {
    text-align: right;
}

.article-nav__hint {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-dim);
    text-transform: uppercase;
}

.article-nav__cell a {
    font-weight: 700;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.article-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 34px;
    padding: 22px 24px;
    background: linear-gradient(120deg, rgba(0, 229, 255, 0.1), transparent 60%), var(--panel);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: var(--radius);
}

.article-cta__text {
    margin: 0;
    font-weight: 500;
    max-width: 460px;
    min-width: 0;
}

/* ---------- Footer ---------- */
.site-footer {
    margin-top: 50px;
    background: #0a0d10;
    border-top: 1px solid var(--line);
}

.site-footer__grid {
    display: grid;
    grid-template-areas:
        "brand news zone dmca";
    grid-template-columns: 1.4fr 1.2fr 1fr 1fr;
    gap: 30px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 54px 20px 36px;
}

.footer-col:nth-child(1) { grid-area: brand; }
.footer-col:nth-child(2) { grid-area: news; }
.footer-col:nth-child(3) { grid-area: zone; }
.footer-col:nth-child(4) { grid-area: dmca; }

.footer-col {
    min-width: 0;
}

.footer-col__logo {
    height: 38px;
    width: auto;
    margin-bottom: 14px;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.3));
}

.footer-col__intro {
    margin: 0 0 16px;
    font-size: 13.5px;
    color: var(--text-dim);
}

.footer-col__menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.footer-col__menu a {
    color: var(--text-dim);
    font-size: 13.5px;
}

.footer-col__menu a:hover {
    color: var(--accent);
}

.footer-col__title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
}

.footer-col__title::after {
    content: "";
    display: block;
    width: 34px;
    height: 2px;
    margin-top: 8px;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

.footer-col__posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col__posts li {
    margin-bottom: 10px;
    padding-left: 14px;
    position: relative;
}

.footer-col__posts li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.footer-col__posts a {
    color: var(--text-dim);
    font-size: 13.5px;
}

.footer-col__posts a:hover {
    color: var(--accent);
}

.footer-col__empty {
    color: var(--text-dim);
    font-size: 13.5px;
}

.footer-col__dmca {
    margin-bottom: 12px;
}

.footer-col__note {
    margin: 0;
    font-size: 12.5px;
    color: var(--text-dim);
}

.site-footer__warning {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 20px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 13px;
    color: #ffb454;
}

.site-footer__warning p {
    margin: 4px 0;
}

.site-footer__warning p + p {
    color: var(--text-dim);
}

.site-footer__copy {
    padding: 16px 20px 22px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 12.5px;
    color: var(--text-dim);
}

.site-footer__copy p {
    margin: 0;
}

/* Widget trong footer */
.widget {
    color: var(--text-dim);
    font-size: 13.5px;
}

.widget-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 900;
    color: var(--text);
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget li {
    margin-bottom: 8px;
}

/* ---------- Dock điều hướng dưới (mobile) ---------- */
.dock-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: none; /* chỉ hiện trên mobile, bật trong responsive.css */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: var(--dock-h);
    background: rgba(13, 17, 21, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(0, 229, 255, 0.35);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.55);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.dock-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    color: var(--text-dim);
    font-size: 10.5px;
    font-weight: 500;
    text-align: center;
    transition: color 0.2s ease;
}

.dock-nav__item:hover,
.dock-nav__item.is-current {
    color: var(--accent);
}

.dock-nav__icon {
    font-size: 19px;
    line-height: 1;
}

.dock-nav__label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 4px;
}

.dock-nav__item--cta {
    color: var(--accent);
    font-weight: 700;
}

/* ---------- Lớp tương thích WordPress ---------- */
.alignwide {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100%;
    max-width: none;
}

.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin: 6px 20px 14px 0;
}

.alignright {
    float: right;
    margin: 6px 0 14px 20px;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 13px;
    color: var(--text-dim);
    text-align: center;
    padding: 8px 0;
}

.sticky {
    border-color: rgba(0, 229, 255, 0.5);
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Chuyển động xuất hiện khi cuộn ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
