/* ============================================================
   MOBAN 8-10-39 — main.css
   "Đêm San Hô" — trang đích cuộn dài, hero toàn màn hình,
   menu phủ toàn trang, thẻ ẩn hiện dần khi cuộn.
   ============================================================ */

/* ---------- Chống tràn ngang (BẮT BUỘC) ---------- */
html, body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* ---------- Biến màu & nền tảng ---------- */
:root {
    --c-night: #14213D;
    --c-night-2: #1B263B;
    --c-teal: #2A9D8F;
    --c-teal-soft: #63c4b7;
    --c-paper: #F8F9FA;
    --c-text: #1B263B;
    --c-line: rgba(20, 33, 61, 0.12);
    --c-line-light: rgba(248, 249, 250, 0.16);
    --font-display: 'Archivo', 'Be Vietnam Pro', sans-serif;
    --font-body: 'Be Vietnam Pro', 'Archivo', sans-serif;
    --radius: 18px;
    --shadow: 0 22px 45px -22px rgba(20, 33, 61, 0.45);
    --wrap: min(1180px, 92vw);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-paper);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--c-teal); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--c-night); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .6em; color: inherit; }

.wrap { width: var(--wrap); margin-left: auto; margin-right: auto; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--c-teal); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Thanh cố định (logo + nút tải + hamburger) ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 90;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px clamp(16px, 4vw, 40px);
    transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.site-header.is-scrolled {
    background: rgba(20, 33, 61, 0.92);
    box-shadow: 0 10px 30px rgba(20, 33, 61, 0.35);
    padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { max-height: 44px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 14px; }

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display); font-weight: 700; font-size: 15px;
    padding: 12px 26px; border-radius: 999px; border: 0; cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-teal { background: var(--c-teal); color: #fff; box-shadow: 0 12px 26px -12px rgba(42, 157, 143, .8); }
.btn-teal:hover { color: #fff; background: #23897d; }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid var(--c-line-light); }
.btn-ghost:hover { background: rgba(248, 249, 250, .12); color: #fff; }
.btn-sm { padding: 9px 20px; font-size: 13px; }

/* Nút hamburger */
.hamburger {
    width: 52px; height: 52px; border-radius: 16px; border: 1.5px solid var(--c-line-light);
    background: rgba(20, 33, 61, 0.35); backdrop-filter: blur(6px);
    display: grid; place-items: center; cursor: pointer; position: relative; z-index: 110;
}
.hamburger .bars { width: 22px; height: 16px; position: relative; display: block; }
.hamburger .bars span {
    position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
    background: #fff; transition: transform .35s ease, top .35s ease, opacity .3s ease;
}
.hamburger .bars span:nth-child(1) { top: 0; }
.hamburger .bars span:nth-child(2) { top: 7px; }
.hamburger .bars span:nth-child(3) { top: 14px; }
body.nav-open .hamburger .bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
body.nav-open .hamburger .bars span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger .bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
body.nav-open .hamburger { border-color: rgba(248, 249, 250, .4); background: transparent; }

/* ---------- Menu phủ toàn trang (overlay) ---------- */
.overlay-nav {
    position: fixed; inset: 0; z-index: 100;
    background:
        radial-gradient(120% 90% at 85% 10%, rgba(42, 157, 143, 0.28), transparent 55%),
        linear-gradient(160deg, #14213D 0%, #0e1830 60%, #0a1224 100%);
    display: flex; flex-direction: column; justify-content: center;
    padding: 90px clamp(20px, 8vw, 110px) 40px;
    opacity: 0; visibility: hidden; transform: translateY(-2%);
    transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
    overflow-y: auto;
}
body.nav-open .overlay-nav {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity .45s ease, transform .45s ease;
}
body.nav-open { overflow: hidden; }
.overlay-nav__inner { width: var(--wrap); margin: 0 auto; }
.overlay-nav__label {
    font-size: 12px; letter-spacing: .35em; text-transform: uppercase;
    color: var(--c-teal-soft); margin: 0 0 22px;
    opacity: 0; transform: translateY(14px); transition: opacity .5s ease .15s, transform .5s ease .15s;
}
.overlay-nav__list { list-style: none; margin: 0; padding: 0; counter-reset: navitem; }
.overlay-nav__list li {
    counter-increment: navitem; border-bottom: 1px solid rgba(248, 249, 250, .1);
    opacity: 0; transform: translateY(26px);
    transition: opacity .55s ease, transform .55s ease;
}
body.nav-open .overlay-nav__label { opacity: 1; transform: translateY(0); }
body.nav-open .overlay-nav__list li { opacity: 1; transform: translateY(0); }
body.nav-open .overlay-nav__list li:nth-child(1) { transition-delay: .18s; }
body.nav-open .overlay-nav__list li:nth-child(2) { transition-delay: .26s; }
body.nav-open .overlay-nav__list li:nth-child(3) { transition-delay: .34s; }
body.nav-open .overlay-nav__list li:nth-child(4) { transition-delay: .42s; }
body.nav-open .overlay-nav__list li:nth-child(5) { transition-delay: .50s; }
body.nav-open .overlay-nav__list li:nth-child(6) { transition-delay: .58s; }
body.nav-open .overlay-nav__list li:nth-child(7) { transition-delay: .66s; }
.overlay-nav__link {
    display: flex; align-items: baseline; gap: 20px; padding: clamp(12px, 2.2vh, 22px) 0;
    color: var(--c-paper); font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 58px); font-weight: 800; letter-spacing: -0.01em;
}
.overlay-nav__link::before {
    content: counter(navitem, decimal-leading-zero);
    font-size: 13px; font-weight: 600; color: var(--c-teal-soft); letter-spacing: .1em;
}
.overlay-nav__link:hover { color: var(--c-teal-soft); }
.overlay-nav__foot {
    display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px;
    opacity: 0; transform: translateY(18px); transition: opacity .5s ease .7s, transform .5s ease .7s;
}
body.nav-open .overlay-nav__foot { opacity: 1; transform: translateY(0); }

/* ---------- Hiệu ứng ẩn hiện dần khi cuộn ---------- */
.reveal {
    opacity: 0; transform: translateY(34px);
    transition: opacity .75s cubic-bezier(.22, .61, .36, 1), transform .75s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Hero toàn màn hình ---------- */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: flex-end; overflow: hidden;
    background: var(--c-night);
    color: var(--c-paper);
    padding: 120px 0 70px;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; transition: opacity 1.2s ease;
}
.hero__bg img.is-active { opacity: 1; }
.hero__shade {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20, 33, 61, .55) 0%, rgba(20, 33, 61, .25) 45%, rgba(20, 33, 61, .93) 100%);
}
.hero__content { position: relative; z-index: 2; width: var(--wrap); margin: 0 auto; }
.hero__kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase;
    color: var(--c-teal-soft); margin: 0 0 18px;
}
.hero__kicker::before { content: ""; width: 34px; height: 2px; background: var(--c-teal); }
.hero__title {
    font-size: clamp(38px, 7vw, 84px); font-weight: 900; letter-spacing: -0.02em;
    margin: 0 0 18px; max-width: 15ch;
}
.hero__title em { font-style: normal; color: var(--c-teal-soft); }
.hero__lead { max-width: 58ch; font-size: clamp(15px, 1.6vw, 18px); color: rgba(248, 249, 250, .82); margin: 0 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button {
    width: 26px; height: 4px; border-radius: 4px; border: 0; cursor: pointer;
    background: rgba(248, 249, 250, .28); transition: background .3s ease, width .3s ease;
}
.hero__dots button.is-active { background: var(--c-teal); width: 40px; }
.hero__scroll {
    position: absolute; right: clamp(16px, 4vw, 40px); bottom: 70px; z-index: 2;
    writing-mode: vertical-rl; font-size: 11px; letter-spacing: .35em; text-transform: uppercase;
    color: rgba(248, 249, 250, .65); display: flex; align-items: center; gap: 12px;
}
.hero__scroll::after { content: ""; width: 2px; height: 56px; background: linear-gradient(var(--c-teal), transparent); animation: drop 1.8s ease infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Dải số liệu ---------- */
.statsbar { background: var(--c-night); color: var(--c-paper); padding: 34px 0; border-top: 1px solid rgba(248, 249, 250, .08); }
.statsbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.statsbar__cell { min-width: 0; text-align: center; }
.statsbar__num { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 42px); font-weight: 900; color: var(--c-teal-soft); display: block; }
.statsbar__cap { font-size: 13px; color: rgba(248, 249, 250, .7); letter-spacing: .06em; }

/* ---------- Khung chương chung ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--flush { padding-top: 0; padding-bottom: 0; }
.section--night { background: var(--c-night); color: var(--c-paper); }
.section--deep { background: linear-gradient(180deg, #14213D 0%, #0e1830 100%); color: var(--c-paper); }
.section-head { margin-bottom: clamp(34px, 5vw, 56px); max-width: 640px; }
.section-head--tight { margin-bottom: 24px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head__eyebrow {
    font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
    color: var(--c-teal); margin: 0 0 12px; display: flex; align-items: center; gap: 10px;
}
.section-head--center .section-head__eyebrow { justify-content: center; }
.section-head__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--c-teal); }
.section-head__title { font-size: clamp(28px, 4vw, 46px); font-weight: 800; letter-spacing: -0.015em; margin: 0 0 12px; }
.section-head__desc { margin: 0; opacity: .75; }

/* ---------- Khối giới thiệu (grid-template-areas) ---------- */
.intro { display: grid; grid-template-areas: "copy visual" "cards visual"; grid-template-columns: 1.05fr 1fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.intro__copy { grid-area: copy; }
.intro__visual { grid-area: visual; position: relative; min-width: 0; }
.intro__visual img { border-radius: var(--radius); box-shadow: var(--shadow); display: block; width: 100%; }
.intro__badge {
    position: absolute; left: -14px; bottom: -18px; background: var(--c-teal); color: #fff;
    padding: 14px 20px; border-radius: 14px; font-family: var(--font-display); font-weight: 800;
    box-shadow: var(--shadow); font-size: 14px; line-height: 1.35;
}
.intro__cards { grid-area: cards; display: grid; gap: 14px; }
.intro-point {
    display: flex; gap: 14px; align-items: flex-start; background: #fff;
    border: 1px solid var(--c-line); border-radius: 14px; padding: 16px 18px; min-width: 0;
    transition: transform .3s ease, box-shadow .3s ease;
}
.intro-point:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.intro-point__icon {
    flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px;
    background: rgba(42, 157, 143, .14); color: var(--c-teal);
    display: grid; place-items: center; font-size: 18px; font-weight: 900;
}
.intro-point h3 { font-size: 16px; margin: 0 0 4px; }
.intro-point p { margin: 0; font-size: 14px; opacity: .72; }

/* ---------- Lưới trò chơi ---------- */
.games-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.game-card {
    position: relative; border-radius: 14px; overflow: hidden; background: var(--c-night-2);
    display: block; min-width: 0; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .55);
    transition: transform .35s ease, box-shadow .35s ease;
}
.game-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 26px 44px -20px rgba(0, 0, 0, .7); }
.game-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; transition: transform .6s ease, opacity .5s ease; }
.game-card:hover img { transform: scale(1.06); }
.game-card__veil {
    position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px;
    background: linear-gradient(180deg, transparent, rgba(20, 33, 61, .92));
    color: #fff; text-align: center;
}
.game-card__name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.game-card__tag { display: block; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--c-teal-soft); margin-top: 3px; }
.games-more { text-align: center; margin-top: 38px; }

/* ---------- Băng chuyền poster ---------- */
.poster-rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: min(320px, 78vw);
    gap: 18px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory;
    min-width: 0;
}
.poster-rail::-webkit-scrollbar { height: 6px; }
.poster-rail::-webkit-scrollbar-thumb { background: rgba(42, 157, 143, .55); border-radius: 6px; }
.poster-rail::-webkit-scrollbar-track { background: rgba(248, 249, 250, .08); border-radius: 6px; }
.poster-card { scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; position: relative; min-width: 0; }
.poster-card img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.poster-card figcaption {
    position: absolute; inset: auto 0 0 0; padding: 30px 18px 14px;
    background: linear-gradient(transparent, rgba(20, 33, 61, .9));
    color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 15px;
}

/* ---------- Bộ sưu tập ảnh trượt ---------- */
.slides-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.slides-grid figure { margin: 0; border-radius: 14px; overflow: hidden; position: relative; min-width: 0; }
.slides-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform .7s ease; }
.slides-grid figure:hover img { transform: scale(1.05); }

/* ---------- Tin tức ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
    background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column; min-width: 0;
    transition: transform .3s ease, box-shadow .3s ease;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card__thumb { display: block; overflow: hidden; }
.news-card__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.news-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card__meta { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-teal); font-weight: 600; }
.news-card h3 { font-size: 17px; margin: 0; line-height: 1.4; }
.news-card h3 a { color: var(--c-text); }
.news-card h3 a:hover { color: var(--c-teal); }
.news-card__excerpt { font-size: 14px; opacity: .7; margin: 0; flex: 1; }
.news-more { text-align: center; margin-top: 36px; }

/* ---------- Lời kêu gọi tải xuống ---------- */
.cta-panel {
    position: relative; overflow: hidden; border-radius: 26px;
    background: linear-gradient(135deg, #2A9D8F 0%, #1c7a6f 55%, #14213D 130%);
    color: #fff; text-align: center; padding: clamp(46px, 7vw, 80px) clamp(20px, 5vw, 60px);
}
.cta-panel::before, .cta-panel::after {
    content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(248, 249, 250, .25);
}
.cta-panel::before { width: 420px; height: 420px; right: -160px; top: -160px; }
.cta-panel::after { width: 300px; height: 300px; left: -120px; bottom: -140px; }
.cta-panel h2 { font-size: clamp(26px, 4vw, 44px); font-weight: 900; margin-bottom: 14px; position: relative; }
.cta-panel p { max-width: 56ch; margin: 0 auto 30px; opacity: .88; position: relative; }
.cta-panel .btn { position: relative; }
.btn-paper { background: var(--c-paper); color: var(--c-night); }
.btn-paper:hover { color: var(--c-night); background: #fff; }

/* ---------- Trang con: danh sách & bài viết ---------- */
.page-hero {
    background: linear-gradient(160deg, #14213D, #0e1830);
    color: var(--c-paper); padding: clamp(120px, 16vw, 170px) 0 clamp(46px, 6vw, 66px);
}
.page-hero__crumb { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--c-teal-soft); margin: 0 0 14px; }
.page-hero__crumb a { color: inherit; }
.page-hero h1 { font-size: clamp(30px, 5vw, 54px); font-weight: 900; margin: 0; letter-spacing: -0.02em; }

.post-list { display: grid; gap: 22px; padding: clamp(50px, 7vw, 80px) 0; }
.post-row {
    display: grid; grid-template-columns: 300px 1fr; gap: 26px; min-width: 0;
    background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
    overflow: hidden; transition: transform .3s ease, box-shadow .3s ease;
}
.post-row:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-row__thumb { display: block; overflow: hidden; min-width: 0; }
.post-row__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 210px; }
.post-row__body { padding: 26px 30px 26px 4px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.post-row__meta { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-teal); font-weight: 700; }
.post-row h2 { font-size: 22px; margin: 0; }
.post-row h2 a { color: var(--c-text); }
.post-row h2 a:hover { color: var(--c-teal); }
.post-row__excerpt { margin: 0; opacity: .72; font-size: 14.5px; }
.post-row__more { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--c-teal); }

.empty-note { padding: 60px 0; text-align: center; opacity: .65; }

.article { padding: clamp(50px, 7vw, 80px) 0; }
.article__shell { max-width: 780px; margin: 0 auto; }
.article__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-teal); font-weight: 700; margin-bottom: 18px; }
.article__shell h1 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.2; }
.article__feature { border-radius: var(--radius); overflow: hidden; margin: 26px 0 30px; }
.article__content { font-size: 17px; line-height: 1.85; }
.article__content img { border-radius: 12px; }
.article__content h2 { margin-top: 1.6em; font-size: 26px; }
.article__content h3 { margin-top: 1.4em; font-size: 21px; }
.article__content a { text-decoration: underline; text-underline-offset: 3px; }
.article__content blockquote {
    margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--c-teal);
    background: rgba(42, 157, 143, .08); border-radius: 0 12px 12px 0; font-style: italic;
}
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 46px; }
.article-nav a {
    border: 1px solid var(--c-line); border-radius: 14px; padding: 16px 18px;
    font-weight: 600; font-size: 14px; color: var(--c-text); background: #fff; min-width: 0;
}
.article-nav a:hover { border-color: var(--c-teal); color: var(--c-teal); }
.article-nav .next { text-align: right; }

.pagination { display: flex; justify-content: center; gap: 8px; padding-bottom: 60px; flex-wrap: wrap; }
.pagination .page-numbers {
    min-width: 44px; height: 44px; display: inline-grid; place-items: center;
    border: 1px solid var(--c-line); border-radius: 12px; background: #fff;
    font-weight: 700; color: var(--c-text); padding: 0 12px;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--c-teal); border-color: var(--c-teal); color: #fff; }

/* ---------- Chân trang ---------- */
.site-footer { background: var(--c-night); color: rgba(248, 249, 250, .78); padding-top: clamp(56px, 8vw, 84px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 46px; }
.footer-grid h3, .footer-grid .widget-title { color: var(--c-paper); font-size: 16px; letter-spacing: .04em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: rgba(248, 249, 250, .72); }
.footer-grid a:hover { color: var(--c-teal-soft); }
.footer-brand p { font-size: 14px; line-height: 1.8; }
.footer-brand img { max-height: 42px; margin-bottom: 14px; }
.footer-legal {
    border-top: 1px solid rgba(248, 249, 250, .1); padding: 30px 0 34px; text-align: center;
    display: grid; gap: 18px; justify-items: center;
}
.footer-legal__warn {
    background: rgba(42, 157, 143, .12); border: 1px solid rgba(42, 157, 143, .35);
    border-radius: 14px; padding: 16px 22px; font-size: 13.5px; line-height: 1.8;
    color: rgba(248, 249, 250, .85); max-width: 820px; margin: 0;
}
.footer-legal__copy { font-size: 13px; opacity: .6; margin: 0; }

/* ---------- Điều chỉnh vùng lưới trên màn hình hẹp ----------
   (grid-template-areas chỉ được phép khai báo trong main.css) */
@media (max-width: 768px) {
    .intro {
        grid-template-areas: "visual" "copy" "cards";
    }
}

