/*
Theme Name: DOLA789 Theme
Theme URI: https://dola789.bet/
Author: DOLA789
Description: Theme DOLA789 từ HTML tĩnh, tích hợp ACF.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dola789thems
*/

/* DOLA789 — menu + hero */

:root {
  --color-accent: #ff6600;
  --color-accent-dark: #e65c00;
  --color-text: #1a1a1a;
  --color-muted: #5c5c5c;
  --color-border: #e8e8e8;
  --color-topbar-bg: #fffaf5;
  --color-topbar-text: #333;
  --color-topbar-divider: rgba(0, 0, 0, 0.08);
  --color-surface: #fff;
  --font-sans: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --container: min(92vw, 1440px);
  --space-sm: 0.6rem;
  --space-md: 1rem;
  --radius-sm: 0.35rem;
  --transition: 0.2s ease;
  --z-backdrop: 40;
  --z-drawer: 50;
  --about-cream: #fff9f4;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-surface);
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
i {
  font-size: 1.5rem;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--color-surface);
  font-family: var(--font-sans);
}

.top-bar {
  background: var(--color-topbar-bg);
  font-size: 0.8125rem;
  color: var(--color-topbar-text);
  border-bottom: 1px solid var(--color-topbar-divider);
}

.top-bar__inner {
  padding-block: 0.45rem;
  min-height: 2.5rem;
}

.top-bar__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem clamp(0.75rem, 3vw, 2rem);
  width: 100%;
}

.top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 1.25rem;
  font-weight: 500;
  color: var(--color-topbar-text);
}

.top-bar__icon-fa {
  color: var(--color-accent);
  font-size: 0.875rem;
  width: 1em;
  text-align: center;
}

.top-bar__item a {
  color: var(--color-topbar-text);
  font-weight: 500;
  text-decoration: none;
}

.top-bar__item a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.top-bar__item strong {
  font-weight: 800;
  color: inherit;
}

/* Ẩn top bar trên mobile (cùng ngưỡng menu drawer) */
@media (max-width: 60rem) {
  .top-bar {
    display: none;
  }
}

.nav-bar {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.nav-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: 0.55rem;
  min-height: 3.75rem;
}

/* Desktop: logo + mobile CTA wrapper hoàn toàn trong luồng flex (chỉ logo hiện) */
.nav-bar__center {
  display: contents;
  min-width: 0;
}

.nav-bar__mobile-cta {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 19rem;
}

.nav-bar__spacer {
  display: none;
  width: 2.5rem;
  flex: 0 0 2.5rem;
  pointer-events: none;
}

.brand {
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand--header {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand__logo-img {
  display: block;
  height: clamp(2.35rem, 4.2vw, 3rem);
  width: auto;
  max-width: min(42vw, 12.5rem);
  object-fit: contain;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: calc(var(--z-drawer) + 1);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 1.35rem;
  margin-inline: auto;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: var(--z-backdrop);
}

.nav-backdrop[hidden] {
  display: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 0.5rem;
}

.primary-nav__list {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 clamp(0.02rem, 0.35vw, 0.28rem);
}

.primary-nav__list > li > a {
  position: relative;
  display: inline-block;
  padding: 0.55rem clamp(0.2rem, 0.45vw, 0.42rem) 0.7rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.primary-nav__list > li > a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.primary-nav__list > li > a.is-active {
  color: var(--color-accent);
}

.primary-nav__list > li > a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  transform: translateX(-50%);
  width: min(100%, 3.25rem);
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

/* Dropdown — Khuyến mãi (desktop: hover / focus-within) */
.primary-nav__item--dropdown {
  position: relative;
}

.primary-nav__item--dropdown > .primary-nav__trigger {
  padding-right: 1.1rem;
}

.primary-nav__item--dropdown > .primary-nav__trigger::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 0.28rem;
  height: 0.28rem;
  margin-top: -0.12rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.65;
  pointer-events: none;
}

.primary-nav__dropdown {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  position: absolute;
  left: 50%;
  top: calc(100% - 4px);
  transform: translateX(-50%) translateY(0);
  min-width: 12.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 0.45rem 1.15rem rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
  z-index: calc(var(--z-drawer) + 3);
}

.primary-nav__item--dropdown:hover > .primary-nav__dropdown,
.primary-nav__item--dropdown:focus-within > .primary-nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.primary-nav__dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #222;
  text-decoration: none;
  border-radius: 0;
}

.primary-nav__dropdown a:hover {
  background: #fff8f2;
  color: var(--color-accent);
  text-decoration: none;
}

.primary-nav__dropdown li + li a {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.primary-nav__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn--nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.15rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-accent);
  background: #fff;
  border: 1px solid var(--color-accent);
  border-radius: 0.4rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn--nav-login:hover {
  background: #fff8f2;
  color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  text-decoration: none;
}

.btn--nav-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #ff8a3d 0%, #ff6600 45%, #e85d00 100%);
  border: 1px solid rgba(255, 140, 60, 0.5);
  border-radius: 0.4rem;
  box-shadow: 0 0.2rem 0.65rem rgba(255, 102, 0, 0.35);
  text-decoration: none;
  white-space: nowrap;
  gap: 0.45rem;
  transition: background var(--transition), box-shadow var(--transition);
}

.btn--nav-register:hover {
  background: linear-gradient(180deg, #ff7a2e 0%, #f56200 45%, #d65500 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0.25rem 0.85rem rgba(255, 102, 0, 0.45);
}

.btn--nav-register i {
  font-size: 0.75rem;
  opacity: 0.95;
}

/* Hero — section banner tỉ lệ 21:9 (khung = .hero__shell) */
.hero {
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.hero__shell {
  position: relative;
  aspect-ratio: 21 / 9;
}

.hero__card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 22px;
  background-color: #fff4e8;
  box-shadow:
    0 0.35rem 0.9rem rgba(0, 0, 0, 0.08),
    0 0.85rem 2rem rgba(255, 94, 0, 0.12);
}

.hero__picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
  pointer-events: none;
}

.hero__front {
  position: absolute;
  inset: 0;
  z-index: 1;
  font-family: var(--font-sans);
  pointer-events: none;
}

.hero__panel {
  pointer-events: auto;
  position: absolute;
  left: clamp(58px, 4.8vw, 70px);
  top: 50%;
  transform: translateY(-50%);
  width: min(720px, calc(100% - clamp(58px, 4.8vw, 70px) - clamp(36%, 34vw, 48%)));
  max-height: calc(100% - clamp(1rem, 3vh, 1.75rem));
  overflow-y: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  padding: 0;
}

.hero__copy {
  position: relative;
  flex: 0 1 auto;
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(0.65rem, 1.6vw, 1.1rem) clamp(0.85rem, 2vw, 1.35rem) clamp(0.65rem, 1.6vw, 1.1rem)
    calc(3 * clamp(0.85rem, 2vw, 1.35rem));
}

.hero__title {
  margin: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero__title-line {
  display: block;
}

.hero__title-line--dark {
  font-size: 36px;
  font-weight: 900;
  color: #2b2b2b;
  letter-spacing: 0.02em;
}

.hero__title-line--brand {
  margin-top: 0.12em;
  font-size: clamp(2.5rem, 4.2vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #ff7a52 0%, #ff5c32 38%, #f04418 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title-line--split {
  margin-top: 0.1em;
  font-size: clamp(2.25rem, 3.6vw, 3.25rem);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.hero__title-top {
  color: #222;
}

.hero__title-year {
  display: inline-block;
  margin-left: 0.12em;
  background: linear-gradient(180deg, #ffa040 0%, #ff7d1a 42%, #ff6a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 1rem 0 0;
  font-size: clamp(0.98rem, 1.1vw, 1.125rem);
  line-height: 1.5;
  color: #333;
  font-weight: 500;
}

.hero__kw {
  font-weight: 800;
  color: #f04418;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem 0.75rem;
  margin-top: clamp(24px, 2.2vw, 26px);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 62px;
  padding: 0.4rem 0.85rem 0.4rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.hero-cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.hero-cta--primary {
  width: clamp(190px, 14vw, 210px);
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(180deg, #ff5c2d 0%, #f04418 48%, #e23a12 100%);
  box-shadow: 0 0.35rem 0.85rem rgba(240, 68, 24, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-cta--primary:hover {
  color: #fff;
  filter: brightness(1.03);
  box-shadow: 0 0.45rem 1rem rgba(240, 68, 24, 0.45);
}

.hero-cta--secondary {
  width: clamp(210px, 15vw, 230px);
  flex: 0 0 auto;
  color: #f04418;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(255, 122, 45, 0.65);
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.06);
}

.hero-cta--secondary:hover {
  color: #d63a10;
  border-color: rgba(255, 122, 45, 0.9);
  background: #fff;
}

.hero-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
  flex-shrink: 0;
  font-size: 1rem;
}

.hero-cta--primary .hero-cta__icon {
  color: #fff;
}

.hero-cta--secondary .hero-cta__icon {
  color: #f04418;
}

.hero-cta__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  line-height: 1.15;
  min-width: 0;
}

.hero-cta__label {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-cta__sub {
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.92;
}

.hero-cta--secondary .hero-cta__sub {
  color: #666;
  font-weight: 600;
}

.hero__trust {
  pointer-events: auto;
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  margin: clamp(0.5rem, 1.2vw, 0.85rem) 0 0;
  padding: clamp(0.45rem, 1vw, 0.65rem) 0.25rem;
  min-height: 56px;
  height: auto;
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 122, 45, 0.18);
  border-radius: 12px;
  box-shadow: 0 0.25rem 0.85rem rgba(0, 0, 0, 0.07);
}

.hero__trust-item {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.35rem 0.5rem 0.35rem 0.65rem;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.hero__trust-item:last-child {
  border-right: 0;
}

.hero__trust-ic {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  color: #f45a1f;
  font-size: 1.1rem;
}

.hero__trust-copy {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.hero__trust-title {
  font-size: clamp(0.68rem, 0.95vw, 0.78rem);
  font-weight: 800;
  color: #222;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__trust-sub {
  font-size: clamp(0.58rem, 0.75vw, 0.65rem);
  font-weight: 600;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tablet — layout desktop thu gọn: panel rộng hơn, CTA một hàng, bớt padding thừa */
@media (max-width: 64rem) and (min-width: 42.01rem) {
  .hero__title-line--dark {
    font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  }

  .hero__title-line--brand {
    font-size: clamp(2.1rem, 4vw, 3.25rem);
  }

  .hero__title-line--split {
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  }

  .hero__panel {
    left: clamp(36px, 3.2vw, 56px);
    width: min(
      720px,
      calc(100% - clamp(36px, 3.2vw, 56px) - clamp(16%, 18vw, 26%))
    );
  }

  .hero__copy {
    max-width: none;
    padding: clamp(0.5rem, 1.2vw, 0.75rem) clamp(0.65rem, 1.4vw, 0.95rem) clamp(0.5rem, 1.2vw, 0.75rem)
      clamp(0.75rem, 1.6vw, 1.1rem);
  }

  .hero__cta-row {
    flex-wrap: nowrap;
    gap: 0.45rem;
    align-items: stretch;
  }

  .hero-cta {
    gap: 0.45rem;
    min-height: 54px;
    padding: 0.32rem 0.5rem;
  }

  .hero-cta--primary,
  .hero-cta--secondary {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: none;
  }

  .hero-cta__icon {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.9rem;
  }

  .hero-cta__label {
    font-size: clamp(0.76rem, 1.05vw, 0.88rem);
  }

  .hero-cta__sub {
    font-size: clamp(0.58rem, 0.8vw, 0.64rem);
  }

  .hero__trust-title {
    font-size: 0.68rem;
  }

  .hero__trust-sub {
    font-size: 0.58rem;
  }
}

/* Mobile — banner dọc 10:16, ảnh mobile (src trong <picture>), copy padding đều */
@media (max-width: 42rem) {
  .hero {
    margin-top: 1rem;
    margin-bottom: 2rem;
  }

  .hero__shell {
    aspect-ratio: 10 / 18;
    max-height: 80vh;
    width: 100%;

  }

  .hero__front {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: clamp(0.5rem, 2.5vw, 0.85rem);
    padding-top: 1rem;
    box-sizing: border-box;
  }

  .hero__bg-img {
    object-position: center bottom;
  }

  .hero__panel {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    width: calc(100% - clamp(0.75rem, 3vw, 1.25rem) * 2);
    max-width: 22rem;
    max-height: none;
    overflow-y: visible;
    margin: 0 auto;
    padding: 0;
  }

  .hero__copy {
    padding: clamp(0.55rem, 2.5vw, 0.85rem) clamp(0.75rem, 3vw, 1.1rem);
    background: none;
    text-align: center;
    align-items: center;
  }

  .hero__lead {
    margin: 0.5rem 0 0;
    font-size: clamp(0.95rem, 1.5vw, 1.125rem);
  }
  .hero__lead br {
    display: none;
  }

  .hero__title-line--dark {
    font-size: clamp(1.25rem, 5.2vw, 1.85rem);
  }

  .hero__title-line--brand {
    font-size: clamp(2rem, 7.5vw, 2.5rem);
  }

  .hero__title-line--split {
    font-size: clamp(1.55rem, 6.5vw, 2.1rem);
  }

  .hero__cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    margin-top: 1rem;
  }

  .hero-cta {
    gap: 0.45rem;
    min-height: 0;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
  }

  .hero-cta--primary,
  .hero-cta--secondary {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
  }

  .hero-cta__icon {
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.85rem;
    border-radius: 6px;
  }

  .hero-cta__text {
    align-items: center;
    gap: 0.04rem;
    line-height: 1.1;
  }

  .hero-cta__label {
    font-size: 0.8rem;
  }

  .hero-cta__sub {
    font-size: 0.58rem;
  }

  .hero__trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: clamp(0.45rem, 2vw, 0.65rem);
    padding: clamp(0.35rem, 1.5vw, 0.5rem) 0.2rem 0 0;
  }

  .hero__trust-item {
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.5rem 0.45rem;
  }

  .hero__trust-item:nth-child(2n) {
    border-right: 0;
  }

  .hero__trust-item:nth-child(n + 3) {
    border-bottom: 0;
  }

  .hero__trust-title {
    white-space: normal;
  }

  .hero__trust-sub {
    white-space: normal;
  }
}

/* —— Danh mục trò chơi —— */
.game-cats {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.game-cats__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1.2vw, 0.55rem);
  flex-wrap: wrap;
  margin: 0 0 clamp(1.1rem, 2.5vw, 1.5rem);
  font-size: clamp(1.15rem, 2.8vw, 26px);
  font-weight: 900;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-align: center;
}

.game-cats__heading-text {
  display: inline-block;
}

.game-cats__deco {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  color: #ff6600;
  font-size: 0.55em;
  line-height: 1;
  opacity: 0.95;
}

.game-cats__deco i {
  display: block;
  font-size: 1em;
}

.game-cats__deco i + i {
  margin-left: -0.18em;
}

.game-cats__deco--right {
  flex-direction: row;
}

.game-cats__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.game-cats__cell {
  display: flex;
  min-width: 0;
}

.game-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 250px;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(255, 106, 0, 0.16);
  border-radius: 14px;
  box-shadow: 0 0.2rem 0.65rem rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.game-cat-card__media {
  position: relative;
  flex: 0 0 135px;
  width: 100%;
  height: 135px;
  overflow: hidden;
  background: #f0f0f0;
}

.game-cat-card__thumb {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.game-cat-card__badge {
  position: absolute;
  left: 50%;
  top: 135px;
  z-index: 2;
  width: 54px;
  height: 54px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ff8a3d 0%, #ff6600 45%, #e85d00 100%);
  border: 4px solid #fff;
  box-shadow: 0 0.15rem 0.65rem rgba(255, 106, 0, 0.45);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  pointer-events: none;
}

.game-cat-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 36px 0.75rem 1rem;
  text-align: center;
  gap: 0.65rem;
  min-height: 0;
}

.game-cat-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.game-cat-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 34px;
  box-sizing: border-box;
  padding: 0 0.5rem;
  border: 1px solid #ff6600;
  border-radius: 6px;
  background: #fff;
  color: #ff6600;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.game-cat-card__btn:hover {
  background: #fff8f2;
  color: #e65c00;
  border-color: #e65c00;
  text-decoration: none;
  box-shadow: 0 0.15rem 0.45rem rgba(255, 102, 0, 0.2);
}

/* —— Nội dung chính —— */
.main-about {
  margin-top: 38px;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: var(--color-hero-bg);
  font-family: var(--font-sans);
}

.main-about__card {
  background: #fff;
  border: 1px solid rgba(255, 106, 0, 0.16);
  border-radius: 14px;
  box-shadow: 0 0.2rem 0.75rem rgba(0, 0, 0, 0.06);
}

.main-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 50fr) minmax(0, 50fr);
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 1.5rem 1.5rem 2.125rem;
  box-sizing: border-box;
}

.main-about__col--text {
  min-width: 0;
}

.main-about__title {
  margin: 0 0 0.65rem;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.main-about__title-brand {
  color: #f04418;
}

.main-about__title-rest {
  color: #222;
}

.main-about__copy {
  display: flow-root;
  margin: 0;
}


.main-about__copy p:last-child {
  margin-bottom: 0;
}

.main-about__stats {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

.main-about__stat {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
}

.main-about__stat-ic {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f45a1f;
  font-size: 34px;
  line-height: 1;
}

.main-about__stat-ic i {
  display: block;
  line-height: 1;
}

.main-about__stat-body {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.main-about__stat-strong {
  font-weight: 900;
  font-size: 0.9375rem;
  color: #222;
  line-height: 1.2;
}

.main-about__stat-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: #555;
  line-height: 1.35;
}

.main-about__col--visual {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-about__visual {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-about__img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

@media (max-width: 62rem) {
  .main-about__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    min-height: 0;
    align-items: stretch;
  }

  .main-about__col--visual {
    order: 2;
  }

  .main-about__col--text {
    order: 1;
  }

  .main-about__copy {
    max-height: none;
    overflow: visible;
  }

  .main-about__copy p {
    display: block;
  }
}

@media (max-width: 40rem) {
  .main-about__stats {
    grid-template-columns: 1fr;
  }
}

/* —— Chính sách chơi đổi thưởng (px → rem, 1rem = 16px) —— */
.policy-redeem {
  margin-top: 2.375rem; /* 38px */
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: var(--color-hero-bg);
  font-family: var(--font-sans);
}

.policy-redeem__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1.2vw, 0.55rem);
  flex-wrap: wrap;
  margin: 0 0 clamp(1.1rem, 2.5vw, 1.5rem);
  font-size: clamp(1.15rem, 2.8vw, 1.625rem); /* ~26px */
  font-weight: 900;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-align: center;
}

.policy-redeem__heading-text {
  display: inline-block;
}

.policy-redeem__deco {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  color: #ff6600;
  font-size: 0.55em;
  line-height: 1;
  opacity: 0.95;
}

.policy-redeem__deco i {
  display: block;
  font-size: 1em;
}

.policy-redeem__deco i + i {
  margin-left: -0.18em;
}

.policy-redeem__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.125rem; /* 18px */
  align-items: stretch;
}

.policy-redeem__cell {
  display: flex;
  min-width: 0;
}

.policy-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 1.5rem 1.375rem 1.25rem; /* 24px 22px 20px */
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(255, 106, 0, 0.16);
  border-radius: 0.875rem; /* 14px */
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.06);
}

.policy-card__icon {
  margin: 0 0 0.75rem;
  color: #f45a1f;
  font-size: 2.5rem; /* 40px, trong khoảng 38–42px */
  line-height: 1;
}

.policy-card__icon i {
  display: block;
}

.policy-card__title {
  margin: 0 0 0.5rem;
  font-size: 1rem; /* 16px */
  font-weight: 900;
  color: #222;
  line-height: 1.3;
}

.policy-card__desc {
  margin: 0;
  flex: 1 1 auto;
  width: 100%;
  font-size: 0.875rem; /* 14px */
  line-height: 1.45;
  color: #444;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.policy-card__link {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.875rem; /* 14px */
  font-weight: 800;
  color: #f04418;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition), opacity var(--transition);
}

.policy-card__link:hover {
  color: #c73712;
  text-decoration: none;
  opacity: 0.95;
}

@media (min-width: 64rem) {
  .policy-redeem__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* —— FAQ trang chủ —— */
.home-faq {
  margin-top: 2.375rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: var(--color-hero-bg);
  font-family: var(--font-sans);
}

.home-faq__head {
  text-align: center;
  margin-bottom: clamp(1.35rem, 3vw, 2rem);
}

.home-faq__head-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.home-faq__head-line {
  display: block;
  width: clamp(1.75rem, 4vw, 2.5rem);
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, transparent, #ff6600 35%, #ff6600 65%, transparent);
  opacity: 0.85;
}

.home-faq__head-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff8a3d 0%, #ff6600 48%, #e85d00 100%);
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 0.15rem 0.45rem rgba(255, 102, 0, 0.35);
}

.home-faq__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.8vw, 1.625rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.home-faq__title-dark {
  color: #222;
}

.home-faq__title-brand {
  color: #ff6600;
}

.home-faq__subtitle {
  margin: 0.65rem auto 0;
  max-width: 36rem;
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  line-height: 1.55;
  color: #666;
  font-weight: 500;
}

.home-faq__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: stretch;
}

@media (min-width: 64.0625rem) and (max-width: 74.9375rem) {
  .home-faq__layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  }
}

@media (min-width: 75rem) {
  .home-faq__layout {
    grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  }
}

.home-faq__promo {
  min-width: 0;
}

.home-faq__visual-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 106, 0, 0.12);
  background: linear-gradient(180deg, #fff8f0 0%, #ffe8d4 100%);
  box-shadow: 0 0.25rem 0.85rem rgba(0, 0, 0, 0.06);
}

.home-faq__visual-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.home-faq__support {
  position: absolute;
  left: clamp(0.65rem, 2vw, 1rem);
  right: clamp(0.65rem, 2vw, 1rem);
  bottom: clamp(0.65rem, 2vw, 1rem);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid rgba(255, 106, 0, 0.14);
  border-radius: 14px;
  box-shadow: 0 0.2rem 0.65rem rgba(0, 0, 0, 0.05);
}

.home-faq__support-ic {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: #fff4eb;
  color: #ff6600;
  font-size: 1rem;
}

.home-faq__support-copy {
  flex: 1 1 10rem;
  min-width: 0;
}

.home-faq__support-title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 800;
  color: #222;
  line-height: 1.3;
}

.home-faq__support-desc {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #666;
  font-weight: 500;
}

.home-faq__support-btn {
  flex: 1 1 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #ff7a33 0%, #ff6600 45%, #e85d00 100%);
  color: #fff;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 0.25rem 0.65rem rgba(255, 102, 0, 0.32);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.home-faq__support-btn:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.home-faq__list {
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(255, 106, 0, 0.12);
  border-radius: 16px;
  box-shadow: 0 0.25rem 0.85rem rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item__heading {
  margin: 0;
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}

.faq-item__trigger:hover {
  background: rgba(255, 102, 0, 0.04);
}

.faq-item.is-open .faq-item__trigger {
  background: #fff7f0;
}

.faq-item__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff8a3d 0%, #ff6600 48%, #e85d00 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.faq-item__q {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 800;
  color: #222;
  line-height: 1.35;
}

.faq-item.is-open .faq-item__q {
  color: #ff6600;
}

.faq-item__toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  color: #888;
  font-size: 0.8rem;
}

.faq-item__icon--minus {
  display: none;
}

.faq-item__icon--plus {
  display: block;
}

.faq-item.is-open .faq-item__icon--minus {
  display: block;
  color: #ff6600;
}

.faq-item.is-open .faq-item__icon--plus {
  display: none;
}

.faq-item.is-open {
  border: 1px solid rgba(255, 102, 0, 0.35);
  border-radius: 12px;
  margin: 0.35rem 0.5rem;
  background: #fffaf5;
}

.faq-item.is-open + .faq-item {
  border-top: 0;
}

.faq-item__panel {
  padding: 0 1rem 0.85rem 3.15rem;
}

.faq-item__a {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #555;
  font-weight: 500;
}

@media (max-width: 64rem) {
  .home-faq__layout {
    grid-template-columns: 1fr;
  }

  .home-faq__promo {
    display: none;
  }
}

@media (max-width: 36rem) {
  .faq-item__panel {
    padding-left: 1rem;
    padding-right: 0.85rem;
  }

  .faq-item.is-open {
    margin-inline: 0.35rem;
  }
}

/* —— Đánh giá người chơi —— */
.home-reviews {
  margin-top: 2.375rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: var(--color-hero-bg);
  font-family: var(--font-sans);
}

.home-reviews__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1.2vw, 0.55rem);
  flex-wrap: wrap;
  margin: 0 0 0.55rem;
  font-size: clamp(1.05rem, 2.5vw, 1.5rem);
  font-weight: 900;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: center;
}

.home-reviews__heading-text {
  display: inline-block;
}

.home-reviews__deco {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  color: #ff6600;
  font-size: 0.55em;
  line-height: 1;
  opacity: 0.95;
}

.home-reviews__deco i {
  display: block;
  font-size: 1em;
}

.home-reviews__deco i + i {
  margin-left: -0.18em;
}

.home-reviews__subtitle {
  margin: 0 auto clamp(1.15rem, 2.5vw, 1.5rem);
  max-width: 42rem;
  text-align: center;
  font-size: clamp(0.8125rem, 1.6vw, 0.9375rem);
  line-height: 1.5;
  color: #666;
  font-weight: 500;
}

.home-reviews__summary {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 2vw, 1.25rem);
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  margin-bottom: clamp(1.1rem, 2.5vw, 1.5rem);
  padding: clamp(0.85rem, 2vw, 1.1rem) clamp(1rem, 2.5vw, 1.5rem);
  background: #fff;
  border: 1px solid rgba(255, 106, 0, 0.16);
  border-radius: 14px;
  box-shadow: 0 0.2rem 0.65rem rgba(0, 0, 0, 0.05);
}

.home-reviews__stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 1 auto;
  justify-content: center;
}

.home-reviews__stat-ic {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #fff4eb;
  color: #ff6600;
  font-size: 1.15rem;
}

.home-reviews__stat-body {
  min-width: 0;
}

.home-reviews__stat-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.home-reviews__stat-strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  color: #222;
}

.home-reviews__stat-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #555;
}

.home-reviews__stat-divider {
  width: 1px;
  align-self: stretch;
  min-height: 2.5rem;
  background: rgba(255, 106, 0, 0.2);
  flex-shrink: 0;
}

.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  color: #ff6600;
  font-size: 0.72rem;
  line-height: 1;
}

.star-rating i {
  font-size: 1em;
}

.home-reviews__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.85rem, 2vw, 1rem);
}

.home-reviews__cell {
  display: flex;
  min-width: 0;
  height: 100%;
}

.review-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  padding: clamp(0.85rem, 2vw, 1rem);
  background: #fff;
  border: 1px solid rgba(255, 106, 0, 0.14);
  border-radius: 14px;
  box-shadow: 0 0.2rem 0.65rem rgba(0, 0, 0, 0.05);
}

.review-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.review-card__avatar {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 106, 0, 0.18);
  background: #fff8f2;
}

.review-card__meta {
  flex: 1 1 auto;
  min-width: 0;
}

.review-card__name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 800;
  color: #222;
  line-height: 1.3;
}

.review-card__role {
  margin: 0.1rem 0 0.35rem;
  font-size: 0.75rem;
  line-height: 1.3;
  color: #888;
  font-weight: 500;
}

.review-card__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.review-card__score {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ff6600;
}

.review-card__body {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  margin-top: auto;
}

.review-card__quote-ic {
  flex-shrink: 0;
  color: #ff6600;
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.85;
}

.review-card__quote {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #444;
  font-weight: 500;
}

.home-reviews__verify {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: clamp(1.1rem, 2.5vw, 1.5rem) 0 0;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #555;
  font-weight: 500;
}

.home-reviews__verify-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff6600;
  font-size: 0.95rem;
}

.home-reviews__verify strong {
  color: #ff6600;
  font-weight: 800;
}

@media (min-width: 36rem) {
  .home-reviews__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .home-reviews__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-reviews__summary {
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(1.25rem, 3vw, 2.25rem);
    padding-inline: clamp(1.25rem, 3vw, 2rem);
  }

  .home-reviews__stat {
    flex: 0 1 auto;
    justify-content: center;
  }

  .home-reviews__stat-divider {
    min-height: 3rem;
  }
}

@media (max-width: 35.99rem) {
  .home-reviews__summary {
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
  }

  .home-reviews__stat {
    gap: 0.45rem;
  }

  .home-reviews__stat-ic {
    width: 2rem;
    height: 2rem;
    font-size: 0.9rem;
  }

  .home-reviews__stat-strong {
    font-size: 0.8125rem;
  }

  .home-reviews__stat-label {
    font-size: 0.6875rem;
  }

  .home-reviews__stat-divider {
    min-height: 2rem;
  }

  .home-reviews__summary .star-rating {
    font-size: 0.6rem;
  }
}

/* —— Tin tức - Hướng dẫn —— */
.news-guide {
  margin-top: 2.375rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: var(--color-hero-bg);
  font-family: var(--font-sans);
}

.news-guide__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1.2vw, 0.55rem);
  flex-wrap: wrap;
  margin: 0 0 clamp(1.1rem, 2.5vw, 1.5rem);
  font-size: clamp(1.15rem, 2.8vw, 1.625rem);
  font-weight: 900;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-align: center;
}

.news-guide__heading-text {
  display: inline-block;
}

.news-guide__deco {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  color: #ff6600;
  font-size: 0.55em;
  line-height: 1;
  opacity: 0.95;
}

.news-guide__deco i {
  display: block;
  font-size: 1em;
}

.news-guide__deco i + i {
  margin-left: -0.18em;
}

.news-guide__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: stretch;
}

.news-guide__cell {
  display: flex;
  min-width: 0;
  height: 100%;
}

/* Thẻ tin: cột dọc — ảnh 16:9 full khối, chữ bên dưới (ổn định mọi màn hình) */
.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  min-height: 0;
  background: #fff;
  border: 1px solid rgba(255, 106, 0, 0.16);
  border-radius: 0.75rem;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.06);
  overflow: hidden;
  box-sizing: border-box;
}

.news-card__media {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f0f0f0;
}

.news-card__media .news-card__img,
.news-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  align-items: flex-start;
  justify-content: flex-start;
  padding: clamp(0.85rem, 2vw, 1.1rem);
  text-align: left;
  min-width: 0;
  min-height: 0;
}

.news-card__title {
  margin: 0 0 0.45rem;
  font-size: clamp(0.9375rem, 0.85rem + 0.35vw, 1.0625rem);
  font-weight: 800;
  line-height: 1.35;
}

.news-card__title a {
  color: #222;
  text-decoration: none;
  transition: color var(--transition);
}

.news-card__title a:hover {
  color: #f04418;
  text-decoration: none;
}

.news-card__excerpt {
  margin: 0 0 0.65rem;
  flex: 1 1 auto;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #555;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news-card__more {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 800;
  color: #f04418;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.news-card__more:hover {
  color: #c73712;
  text-decoration: none;
}

@media (min-width: 40rem) {
  .news-guide__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .news-guide__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 48rem) {
  .game-cats__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 75rem) {
  .game-cats__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 60rem) {
  .nav-bar__inner {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
    align-items: center;
    column-gap: 0.35rem;
    row-gap: 0;
    padding-block: 0.6rem 0.65rem;
    min-height: auto;
  }

  .nav-bar__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    min-width: 0;
    grid-column: 2;
    grid-row: 1;
    text-align: center;
  }

  .nav-bar__mobile-cta {
    display: flex;
  }

  .nav-bar__mobile-cta .btn--nav-login,
  .nav-bar__mobile-cta .btn--nav-register {
    padding: 0.38rem 0.85rem;
    font-size: 0.75rem;
  }

  .nav-bar__spacer {
    display: block;
    grid-column: 3;
    grid-row: 1;
  }

  .nav-toggle {
    display: flex;
    grid-column: 1;
    grid-row: 1;
  }

  .primary-nav {
    flex: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(100%, 20rem);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 5rem var(--space-md) var(--space-md);
    background: #fff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    z-index: var(--z-drawer);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }

  body.nav-open .primary-nav {
    transform: translateX(0);
  }

  .primary-nav__list {
    flex: 0 1 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    justify-content: flex-start;
  }

  .primary-nav__list > li > a.is-active::after {
    display: none;
  }

  .primary-nav__list > li > a.is-active {
    border-left: 3px solid var(--color-accent);
    padding-left: 0.65rem;
  }

  .primary-nav__list > li > a {
    display: block;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
  }

  .primary-nav__item--dropdown > .primary-nav__dropdown {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 0.65rem;
    background: rgba(0, 0, 0, 0.02);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .primary-nav__dropdown a {
    padding: 0.45rem 0;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: none;
    border-top: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .primary-nav__dropdown li:last-child a {
    border-bottom: 0;
  }

  .primary-nav__item--dropdown > .primary-nav__trigger::after {
    right: 0.25rem;
  }

  /* Đăng nhập / Đăng ký hiển thị dưới logo trên bar; drawer chỉ còn menu */
  .primary-nav__actions {
    display: none;
  }
}

/* —— Footer —— */
.site-footer {
  margin-top: 0;
  padding: clamp(2.5rem, 5vw, 3.75rem) 1.5rem clamp(2rem, 4vw, 2.75rem);
  background: #111;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-sans);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: start;
}

.site-footer__col {
  min-width: 0;
}

.site-footer__col--brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-footer__brand {
  display: block;
  width: 100%;
  text-align: center;
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
}

.site-footer__brand:hover {
  text-decoration: none;
  opacity: 0.92;
  color: #fff;
}

.site-footer__logo {
  display: block;
  margin: 0.45rem auto 0;
  height: clamp(2.25rem, 5vw, 2.85rem);
  width: auto;
  max-width: 11rem;
  object-fit: contain;
}

.site-footer__badge {
  display: inline-block;
  margin: 0.65rem 0 0;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: #f04418;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__lead {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 26rem;
}

.site-footer__heading {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list li {
  margin-bottom: 0.65rem;
}

.site-footer__list li:last-child {
  margin-bottom: 0;
}

.site-footer__list a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color var(--transition);
}

.site-footer__list a:hover {
  color: #fff;
  text-decoration: none;
}

.site-footer__contacts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__contact {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer__contact:last-child {
  margin-bottom: 0;
}

.site-footer__contact-ic {
  flex-shrink: 0;
  width: 1.25rem;
  margin-top: 0.1rem;
  text-align: center;
  color: #f04418;
  line-height: 1.2;
}
 .site-footer__contact-ic i {
  font-size: 1rem
 }

.site-footer__contact-txt strong {
  font-weight: 800;
  color: #fff;
}

@media (max-width: 64rem) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 36rem) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 4vw, 1.75rem) clamp(0.85rem, 3vw, 1.25rem);
  }

  .site-footer__col--brand {
    grid-column: 1 / -1;
  }

  .site-footer__grid #footer-contact {
    grid-column: 1 / -1;
  }
}

/* —— Trang About (about.html, body.page-about) —— */
body.page-about {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--about-cream);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(255, 170, 120, 0.22), transparent 55%),
    radial-gradient(circle at 0% 0%, rgba(255, 120, 60, 0.12) 0%, transparent 38%),
    radial-gradient(circle at 100% 0%, rgba(255, 120, 60, 0.12) 0%, transparent 38%);
}

.page-about__shell {
  position: relative;
  z-index: 1;
}

.about-page-hero {
  text-align: center;
  padding: clamp(2rem, 5vw, 3.25rem) 1rem clamp(1.5rem, 3vw, 2rem);
}

.about-page-hero__title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(0.35rem, 1.2vw, 0.55rem);
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff6600;
  line-height: 1.15;
}

.about-page-hero__title-text {
  display: inline-block;
}

.about-page-hero__deco {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  color: #ff6600;
  font-size: 0.55em;
  line-height: 1;
  opacity: 0.95;
}

.about-page-hero__deco i {
  display: block;
  font-size: 1em;
}

.about-page-hero__deco i + i {
  margin-left: -0.18em;
}

.about-page-hero__deco--right {
  flex-direction: row;
}

.about-page-hero__subtitle {
  margin: 0.85rem auto 0;
  max-width: 46rem;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  font-weight: 500;
  line-height: 1.55;
  color: #5c5c5c;
}

.about-page-intro {
  padding: 0 1rem clamp(2rem, 4vw, 3rem);
}

.about-page-intro__card {
  background: #fff;
  border: 1px solid rgba(255, 106, 0, 0.14);
  border-radius: 18px;
  box-shadow: 0 0.25rem 0.9rem rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.about-page-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2.25rem);
  box-sizing: border-box;
}

.about-page-intro__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #222;
}

.about-page-intro__copy {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #444;
}

.about-page-intro__copy p {
  margin: 0 0 0.75rem;
}

.about-page-intro__copy p:last-child {
  margin-bottom: 0;
}

.about-page-features {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.about-page-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
}

.about-page-feature__ic-wrap {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fafafa;
  color: #ff6600;
  font-size: 1rem;
}

.about-page-feature__body {
  min-width: 0;
}

.about-page-feature__title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #222;
  line-height: 1.25;
}

.about-page-feature__desc {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #666;
  line-height: 1.35;
}

.about-page-intro__visual {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.08);
}

.about-page-intro__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.page-about .game-cats {
  margin-top: 0;
  margin-bottom: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem) 1rem clamp(2rem, 4vw, 3rem);
  background: transparent;
}

.page-about .game-cats__heading {
  color: #222;
}

.about-page-cta {
  padding: 0 1rem clamp(2.5rem, 5vw, 3.5rem);
}

.about-page-cta__card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1.25rem, 3vw, 1.75rem);
  background: #fff;
  border: 1px solid rgba(255, 106, 0, 0.14);
  border-radius: 18px;
  box-shadow: 0 0.25rem 0.9rem rgba(0, 0, 0, 0.06);
}

.about-page-cta__icon {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff8a3d 0%, #ff6600 48%, #e85d00 100%);
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 0.2rem 0.65rem rgba(255, 102, 0, 0.35);
}

.about-page-cta__text {
  flex: 1 1 14rem;
  min-width: 0;
}

.about-page-cta__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 900;
  color: #222;
  line-height: 1.3;
}

.about-page-cta__sub {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #555;
}

.about-page-cta__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
  padding: 0.65rem 1.25rem 0.65rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(180deg, #ff7a33 0%, #ff6600 45%, #e85d00 100%);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 0.35rem 0.85rem rgba(255, 102, 0, 0.35);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.about-page-cta__btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

button.about-page-cta__btn {
  font: inherit;
  cursor: pointer;
  appearance: none;
  text-align: left;
}

.about-page-cta__btn-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: #fff;
  color: #ff6600;
  font-size: 0.75rem;
}

@media (max-width: 64rem) {
  .about-page-hero {
    padding: clamp(1.35rem, 4vw, 2.75rem) clamp(0.75rem, 3vw, 1rem) clamp(1.15rem, 3vw, 1.85rem);
  }

  .about-page-hero__title {
    font-size: clamp(1.15rem, 4.2vw, 1.85rem);
    letter-spacing: 0.055em;
  }

  .about-page-hero__subtitle {
    font-size: clamp(0.85rem, 2.4vw, 1rem);
    padding-inline: 0.25rem;
  }

  .about-page-intro {
    padding-inline: clamp(0.65rem, 3vw, 1rem);
  }

  .about-page-intro__grid {
    gap: clamp(1rem, 2.5vw, 1.5rem);
    padding: clamp(1rem, 2.5vw, 1.65rem) clamp(0.85rem, 2.5vw, 1.35rem);
  }

  .about-page-intro__title {
    font-size: clamp(0.95rem, 2.8vw, 1.2rem);
    line-height: 1.35;
  }

  .about-page-intro__copy {
    font-size: clamp(0.875rem, 2.2vw, 0.9375rem);
  }

  .page-about .game-cats {
    padding-inline: clamp(0.65rem, 3vw, 1rem);
  }

  .page-about .game-cats__heading {
    font-size: clamp(0.95rem, 3.5vw, 1.2rem);
    letter-spacing: 0.05em;
    margin-bottom: clamp(0.85rem, 2.5vw, 1.25rem);
  }

  .about-page-cta {
    padding-inline: clamp(0.65rem, 3vw, 1rem);
  }

  .about-page-cta__card {
    padding: clamp(1rem, 2.5vw, 1.35rem) clamp(0.85rem, 2.5vw, 1.25rem);
  }
}

@media (max-width: 52rem) {
  .about-page-intro__grid {
    grid-template-columns: 1fr;
  }

  .about-page-intro__card {
    border-radius: 14px;
  }

  .about-page-intro__col--text {
    text-align: center;
  }

  .about-page-intro__visual {
    order: -1;
    max-width: min(28rem, 100%);
    margin-inline: auto;
  }

  .about-page-features {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-inline: auto;
  }

  .about-page-feature {
    text-align: left;
  }

  .about-page-cta__card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .about-page-cta__text {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .about-page-cta__icon {
    margin-inline: auto;
  }

  .about-page-cta__btn {
    margin-left: 0;
    justify-content: center;
    width: 100%;
    max-width: 20rem;
    margin-inline: auto;
  }
}

@media (max-width: 36rem) {
  .about-page-hero__title {
    flex-direction: column;
    gap: 0.2rem;
    letter-spacing: 0.04em;
  }

  .about-page-hero__deco {
    font-size: 0.65em;
  }

  .about-page-hero__subtitle {
    margin-top: 0.65rem;
    line-height: 1.5;
  }

  .about-page-intro__title {
    letter-spacing: 0.01em;
  }

  .about-page-feature__ic-wrap {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.9rem;
  }

  .about-page-feature__title {
    font-size: 0.78rem;
  }

  .about-page-feature__desc {
    font-size: 0.65rem;
  }

  .about-page-cta__title {
    font-size: clamp(0.95rem, 4.2vw, 1.1rem);
  }

  .about-page-cta__sub {
    font-size: 0.8125rem;
  }

  .about-page-cta__btn {
    font-size: 0.875rem;
    padding: 0.55rem 1rem;
  }

  .page-about .game-cat-card {
    min-height: 0;
  }

  .page-about .game-cat-card__media {
    flex-basis: 118px;
    height: 118px;
  }

  .page-about .game-cat-card__badge {
    top: 118px;
    width: 48px;
    height: 48px;
    font-size: 1rem;
    border-width: 3px;
  }

  .page-about .game-cat-card__body {
    padding-top: 32px;
    padding-inline: 0.5rem;
    padding-bottom: 0.85rem;
  }

  .page-about .game-cat-card__title {
    font-size: clamp(0.95rem, 3.8vw, 1.1rem);
  }

  .page-about .game-cat-card__btn {
    width: 100%;
    max-width: 9.5rem;
    height: 32px;
    font-size: 0.7rem;
  }
}

/* —— WordPress: trang nội bộ (archive, single, page, 404) —— */
.inner-shell {
  padding-block: 2rem 3rem;
}
.inner-page-title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
  font-weight: 900;
  color: var(--color-text);
}
.inner-page-content,
.inner-article-body {
  display: flow-root;
  color: var(--color-text);
  line-height: 1.7;
}
.inner-page-content > *:first-child,
.inner-article-body > *:first-child {
  margin-top: 0;
}
.inner-page-content a,
.inner-article-body a {
  color: var(--color-accent);
  font-weight: 700;
}
.inner-archive-header {
  margin-bottom: 1.5rem;
}
.inner-archive-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.inner-archive-title {
  margin: 0;
  font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
  font-weight: 900;
}
.inner-archive-desc {
  margin-top: 0.75rem;
  color: var(--color-muted);
}
.inner-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 60rem) {
  .inner-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 40rem) {
  .inner-posts-grid {
    grid-template-columns: 1fr;
  }
}
.inner-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.inner-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--color-text);
}
.inner-pagination .page-numbers.current,
.inner-pagination .page-numbers:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  text-decoration: none;
}
.inner-empty {
  padding: 2rem;
  text-align: center;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-muted);
}
button.hero-cta,
button.game-cat-card__btn,
button.policy-card__link {
  font: inherit;
  cursor: pointer;
  text-align: inherit;
}
button.policy-card__link {
  background: none;
  border: none;
  padding: 0;
}
button.btn--nav-login,
button.btn--nav-register {
  font: inherit;
  cursor: pointer;
  appearance: none;
}
.news-guide__footer-cta {
  text-align: center;
  margin-top: 1.25rem;
}
.news-guide__all-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem;
  font-weight: 800;
  font-size: 0.875rem;
  color: #fff;
  background: linear-gradient(180deg, #ff8a3d 0%, #ff6600 45%, #e85d00 100%);
  border: 1px solid rgba(255, 140, 60, 0.5);
  border-radius: 0.4rem;
  text-decoration: none;
  box-shadow: 0 0.2rem 0.65rem rgba(255, 102, 0, 0.35);
}
.news-guide__all-link:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

/* —— Trang chủ: nội dung editor (the_content) — thu gọn / Xem thêm —— */
.content-section {
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  padding: clamp(1rem, 2.4vw, 2rem);
  border: 1px solid rgba(255, 106, 0, 0.16);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.06);
}

.content-section .section-heading {
  display: block;
  margin-bottom: 0;
}

.content-section-inner {
  display: flow-root;
  position: relative;
  min-width: 0;
  color: var(--color-text);
  line-height: 1.75;
}

.content-section-inner > *:first-child {
  margin-top: 0;
}

.content-section-inner > *:last-child {
  margin-bottom: 0;
}

.content-section-inner a {
  color: var(--color-accent);
  font-weight: 700;
}

.content-section-inner h2,
.content-section-inner h3,
.content-section-inner h4 {
  color: #222;
  line-height: 1.25;
}

.js .content-section:not(.is-expanded) .content-section-inner {
  max-height: min(22rem, 52vh);
  overflow: hidden;
}

.js .content-section:not(.is-expanded) .content-section-inner::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5rem;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.content-section-actions {
  display: none;
  justify-content: center;
  margin-top: 1.25rem;
}

.js .content-section.is-collapsible .content-section-actions {
  display: flex;
}

.content-section-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.35rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-accent);
  cursor: pointer;
  appearance: none;
  background: #fff;
  border: 1px solid var(--color-accent);
  border-radius: 0.4rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.content-section-toggle:hover {
  background: #fff8f2;
  color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.content-section-less,
.content-section.is-expanded .content-section-more {
  display: none;
}

.content-section.is-expanded .content-section-less {
  display: inline;
}

.content-section-pages {
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.875rem;
}

/* —— Trang About: nội dung editor full cuối trang —— */
.about-page-editor {
  margin-top: 1.5rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.about-page-editor__card {
  padding: clamp(1rem, 2.4vw, 2rem);
  border: 1px solid rgba(255, 106, 0, 0.16);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.06);
}

.about-page-editor__inner {
  display: flow-root;
  max-width: none;
}

.page-about .about-page-editor__inner img {
  height: auto;
  border-radius: var(--radius-sm);
}

/* —— WordPress: căn giữa ảnh / caption (aligncenter, wp-block-image, wp-image-*) —— */
.aligncenter,
.wp-block-image.aligncenter {
  clear: both;
  text-align: center;
}

img.aligncenter,
.wp-block-image.aligncenter img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

figure.wp-block-image.aligncenter,
div.wp-block-image.aligncenter,
.wp-block-image.aligncenter {
  display: table;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

figure.wp-block-image.aligncenter img,
.wp-block-image.aligncenter img {
  margin-left: auto;
  margin-right: auto;
}

.wp-caption.aligncenter,
.wp-block-image .aligncenter {
  display: table;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption.aligncenter img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin: 0 1.25rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 1.25rem;
}
