/* ==========================================================================
 * MU GALAXY SEASON 2.1 — ROYAL ECLIPSE DESIGN SYSTEM (BỐ CỤC CHUẨN MMORPG)
 * ========================================================================== */
@font-face {
  font-family: 'Galaxy Serif';
  src: url('assets/fonts/noto-serif-regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Galaxy Serif';
  src: url('assets/fonts/noto-serif-bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Galaxy Sans';
  src: url('assets/fonts/noto-sans-regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Galaxy Sans';
  src: url('assets/fonts/noto-sans-bold.woff') format('woff');
  font-weight: 600 900;
  font-display: swap;
}

:root {
  --bg: #0b0910;
  --bg-alt: #110d19;
  --panel: #181322;
  --panel-dark: #120e1a;
  --text: #f5efe6;
  --muted: #c6bcd1;
  --gold: #e6c17a;
  --gold-light: #ffe7b3;
  --gold-dark: #a67c3e;
  --purple: #d4bcfa;
  --line: rgba(196, 152, 86, 0.28);
  --line-soft: rgba(255, 255, 255, 0.08);
  --blue: #0e6be6;
  --serif: 'Galaxy Serif', Georgia, serif;
  --sans: 'Galaxy Sans', system-ui, -apple-system, Arial, sans-serif;
  --cut: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.68 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button, input {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  color: inherit;
  background: none;
  border: 0;
}

button:disabled, .is-disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

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

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

p, h1, h2, h3, dl, dd, ul {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.28;
  text-wrap: balance;
}

h2 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.6px;
  color: #fff3df;
}

h3 {
  font-size: 23px;
  color: #fff2dc;
}

p {
  color: var(--muted);
}

code {
  padding: 2px 7px;
  background: rgba(230, 193, 122, 0.12);
  border: 1px solid rgba(230, 193, 122, 0.25);
  color: var(--gold-light);
  font-size: 0.92em;
}

svg.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(1240px, calc(100% - 56px));
  margin-inline: auto;
}

[hidden] {
  display: none !important;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.skip {
  position: fixed;
  top: -120px;
  left: 16px;
  padding: 12px 20px;
  background: var(--gold);
  color: #1e1308;
  font-weight: 700;
  z-index: 100;
}
.skip:focus {
  top: 14px;
}

/* ==========================================================================
 * SHARED UI ELEMENTS (BUTTONS, PANELS, HEADERS, TAGS)
 * ========================================================================== */
.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 11px 26px;
  border: 0;
  clip-path: var(--cut);
  background: linear-gradient(125deg, #ffe7b3 0%, #e0b469 52%, #b58238 100%);
  color: #241608;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.3;
  transition: filter 0.2s, transform 0.2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
  white-space: nowrap;
}

.button::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(68, 41, 10, 0.35);
  clip-path: var(--cut);
  pointer-events: none;
}

.button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.button.secondary {
  background: linear-gradient(135deg, #a88349, #5f472d);
  color: var(--gold-light);
}

.button.secondary::before {
  inset: 1px;
  border: 0;
  background: linear-gradient(135deg, #241d2d, #16121d);
  z-index: -1;
}

.button.zalo {
  background: linear-gradient(135deg, #1b7df5, #0852c4);
  color: #fff;
}

.button.zalo::before {
  border-color: rgba(205, 230, 255, 0.38);
}

.button.small {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 13.5px;
}

.full-w {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: 15px;
  font-weight: 700;
}
.text-link:hover, .text-link-inline:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-link-inline {
  color: var(--gold-light);
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold-dark);
}

.section-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 44px;
}

.section-header-center .eyebrow {
  justify-content: center;
  margin-bottom: 12px;
}

.section-header-center .eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold-dark);
}

.section-header-center p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.75;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border: 1px solid rgba(230, 193, 122, 0.38);
  background: rgba(196, 146, 62, 0.14);
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
}

.tag.purple {
  color: #e4d1ff;
  border-color: rgba(182, 145, 232, 0.42);
  background: rgba(145, 96, 208, 0.16);
}

.diamond {
  width: 6px;
  height: 6px;
  display: inline-block;
  transform: rotate(45deg);
  background: currentColor;
}

.ornate-panel {
  position: relative;
  background: linear-gradient(145deg, #211a2b, #14101c);
  border: 1px solid rgba(196, 152, 86, 0.42);
  box-shadow:
    inset 0 0 0 4px #100c17,
    inset 0 0 0 5px rgba(230, 193, 122, 0.12),
    0 16px 40px rgba(0, 0, 0, 0.35);
}

.ornate-panel::before,
.ornate-panel::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.ornate-panel::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.ornate-panel::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

/* ==========================================================================
 * HEADER & NAVIGATION
 * ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 78px;
  background: rgba(11, 9, 17, 0.92);
  border-bottom: 1px solid rgba(196, 152, 86, 0.32);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  flex: 0 0 128px;
}

.brand img {
  width: 128px;
  filter: drop-shadow(0 0 14px rgba(230, 193, 122, 0.22));
}

.desktop-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 26px;
  height: 100%;
}

.desktop-nav a {
  position: relative;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
  color: #e4daec;
  transition: color 0.2s;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--gold-light);
}

.desktop-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--gold);
  box-shadow: 0 -3px 16px rgba(230, 193, 122, 0.55);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(230, 193, 122, 0.08);
}

.mobile-nav {
  position: absolute;
  inset: 77px 0 auto;
  background: #14101d;
  border-bottom: 1px solid var(--gold-dark);
  padding: 12px 24px 22px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.7);
  max-height: calc(100dvh - 78px);
  overflow: auto;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 6px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-nav .mobile-zalo {
  justify-content: center;
  color: #fff;
  font-weight: 700;
  margin-top: 14px;
  padding: 13px 18px;
  background: linear-gradient(135deg, #1b7df5, #0852c4);
  border-bottom: 0;
  clip-path: var(--cut);
}

/* ==========================================================================
 * HERO SECTION + PRIORITIZED LAUNCH SCHEDULE
 * ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(650px, calc(100dvh - 78px), 840px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 22%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 9, 16, 0.96) 0%, rgba(11, 9, 16, 0.86) 44%, rgba(11, 9, 16, 0.18) 72%, rgba(11, 9, 16, 0.42) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 20%);
}

.hero-inner {
  padding: 40px 0 48px;
}

.hero-copy {
  width: 100%;
  max-width: 605px;
}

.hero-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 13px;
  background: rgba(20, 15, 30, 0.85);
  border: 1px solid rgba(230, 193, 122, 0.35);
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd37a;
  box-shadow: 0 0 10px #ffd37a;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.hero-logo {
  width: min(315px, 80%);
  margin: 14px 0 10px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.75));
}

.hero h1 {
  font-size: clamp(26px, 2.5vw, 35px);
  line-height: 1.26;
  letter-spacing: -0.6px;
  color: #fff4e1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.75);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 13px 0 18px;
}

.hero-pills span {
  padding: 4px 11px;
  background: rgba(15, 11, 24, 0.82);
  border: 1px solid rgba(230, 193, 122, 0.32);
  color: #e2d7eb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.hero-pills b {
  color: var(--gold-light);
  margin-left: 3px;
}

.hero-pills i {
  font-style: normal;
}

/* HERO SCHEDULE PANEL (ƯU TIÊN LÊN TRÊN) */
.hero-schedule {
  margin-bottom: 20px;
  background: linear-gradient(145deg, rgba(28, 21, 39, 0.94), rgba(15, 12, 23, 0.96));
  backdrop-filter: blur(10px);
}

.hero-schedule-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid rgba(230, 193, 122, 0.22);
  background: rgba(230, 193, 122, 0.06);
}

.schedule-head-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.schedule-head-label .icon {
  width: 17px;
  height: 17px;
  color: var(--gold);
}

.schedule-tz {
  font-size: 12px;
  color: #cabcd8;
}

.hero-schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px 16px;
}

.schedule-box {
  padding: 14px 16px;
  background: rgba(11, 9, 17, 0.72);
  border: 1px solid rgba(230, 193, 122, 0.24);
}

.schedule-box.is-beta {
  background: linear-gradient(135deg, rgba(68, 46, 22, 0.52), rgba(23, 16, 29, 0.88));
  border-color: rgba(235, 198, 128, 0.58);
  box-shadow: inset 0 0 22px rgba(235, 198, 128, 0.08);
}

.schedule-box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.schedule-kicker {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.9px;
  color: #cbbbd9;
}

.schedule-status {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(230, 193, 122, 0.12);
  padding: 2px 7px;
  border: 1px solid rgba(230, 193, 122, 0.28);
}

.schedule-box h2 {
  font-size: 22px;
  margin: 6px 0 8px;
  letter-spacing: 0;
  color: #fff5e4;
}

.schedule-datetime {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-datetime strong {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.1;
  color: var(--gold-light);
}

.schedule-datetime span {
  font-size: 14.5px;
  font-weight: 700;
  color: #f0e4fb;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 18px;
  border-top: 1px solid rgba(230, 193, 122, 0.2);
  background: rgba(9, 7, 15, 0.65);
}

.countdown-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #e9dcf5;
}

.countdown-numbers {
  display: flex;
  align-items: center;
  gap: 10px;
}

.countdown-unit {
  min-width: 52px;
  padding: 4px 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(230, 193, 122, 0.24);
}

.countdown-unit strong {
  display: block;
  font: 700 19px/1.15 var(--serif);
  color: var(--gold-light);
}

.countdown-unit small {
  display: block;
  font-size: 10.5px;
  color: #cbbcd8;
  margin-top: 2px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .button {
  flex: 1 1 210px;
}

/* ==========================================================================
 * SECTIONS & SERVER STATS (#may-chu)
 * ========================================================================== */
.section {
  padding: 76px 0;
}

.realm-section {
  background: radial-gradient(ellipse at 50% 25%, rgba(92, 52, 86, 0.16), transparent 70%);
  border-bottom: 1px solid var(--line-soft);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.stat-card {
  padding: 26px 18px;
  text-align: center;
  background: linear-gradient(145deg, #1e1728, #130f1b);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 231, 179, 0.12);
}

.stat-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.2;
  color: var(--gold-light);
}

.stat-card strong em {
  font-style: normal;
  font-size: 26px;
  color: var(--gold);
  margin-right: 2px;
}

.stat-card > span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.7px;
  color: #cfc1dc;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.principle-card {
  position: relative;
  padding: 28px 26px;
  background: linear-gradient(140deg, rgba(35, 27, 45, 0.85), #14101c);
  border: 1px solid rgba(196, 152, 86, 0.28);
}

.principle-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 26px;
  width: 52px;
  height: 2px;
  background: var(--gold);
}

.principle-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.principle-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(230, 193, 122, 0.1);
  border: 1px solid rgba(230, 193, 122, 0.3);
  color: var(--gold);
}

.principle-number {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #c7ad7e;
}

.principle-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.principle-card p {
  font-size: 15.5px;
  line-height: 1.75;
}

.principle-card p b {
  color: #f6deb4;
}

/* ==========================================================================
 * QUICK DOWNLOAD SECTION ON HOME (#tai-game)
 * ========================================================================== */
.quick-download-section {
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-bottom: 1px solid var(--line-soft);
}

.quick-download-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.dl-card-primary,
.dl-card-secondary {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dl-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.dl-card-head h2,
.dl-card-head h3 {
  font-size: 28px;
  margin: 12px 0 8px;
}

.download-emblem {
  display: grid;
  place-items: center;
  width: 64px;
  height: 74px;
  border: 1px solid var(--gold-dark);
  background: rgba(230, 193, 122, 0.1);
  color: var(--gold);
  flex-shrink: 0;
  clip-path: var(--cut);
}

.download-emblem .icon {
  width: 30px;
  height: 30px;
}

.dl-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dl-specs dt {
  font-size: 12.5px;
  color: #c5b4d4;
  margin-bottom: 4px;
}

.dl-specs dd {
  font-size: 15px;
  font-weight: 700;
  color: #f6e4c6;
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dl-actions .button {
  flex: 1 1 200px;
}

.dl-patch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.dl-patch-top .icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.dl-card-secondary h3 {
  font-size: 25px;
  margin-bottom: 10px;
}

.patch-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}

.patch-badges span {
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--gold-light);
}

.dl-secondary-foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==========================================================================
 * BOSS HUNT EVENT & LEADERBOARD (#san-boss & #bang-xep-hang)
 * ========================================================================== */
.hunt-section {
  background: radial-gradient(ellipse at 50% 15%, rgba(84, 44, 110, 0.16), transparent 65%);
  border-bottom: 1px solid var(--line-soft);
}

.hunt-feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 430px;
  padding: 44px 48px;
  display: flex;
  align-items: center;
}

.hunt-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  z-index: -2;
}

.hunt-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 11, 22, 0.96) 0%, rgba(14, 11, 22, 0.84) 46%, rgba(14, 11, 22, 0.2) 82%),
    linear-gradient(0deg, rgba(14, 11, 22, 0.9), transparent 45%);
  z-index: -1;
}

.hunt-copy {
  max-width: 580px;
}

.hunt-copy h2 {
  margin: 14px 0 12px;
}

.hunt-copy h2 em {
  font-style: normal;
  color: var(--gold);
}

.hunt-copy > p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 22px;
}

.prize-pool-box {
  padding: 16px 22px;
  margin-bottom: 24px;
  background: rgba(12, 9, 19, 0.78);
  border-left: 3px solid var(--gold);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  width: fit-content;
}

.prize-pool-box small {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #d5c5e2;
  margin-bottom: 4px;
}

.prize-pool-values {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
}

.prize-pool-values strong {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--gold-light);
  line-height: 1.2;
}

.prize-pool-values strong em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
}

.prize-plus {
  font-size: 17px;
  font-weight: 700;
  color: #e0caff;
}

/* 3-COLUMN PODIUM */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 26px;
}

.reward-card {
  position: relative;
  padding: 28px;
  background: linear-gradient(145deg, #241d2e, #15111d);
  border: 1px solid rgba(182, 160, 206, 0.35);
  box-shadow: inset 0 0 0 4px #110d18;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reward-card.first {
  border-color: var(--gold);
  background: linear-gradient(140deg, #38271b, #1a131f);
  box-shadow:
    inset 0 0 0 4px #171016,
    0 14px 36px rgba(230, 193, 122, 0.14);
  transform: translateY(-8px);
}

.reward-card.second {
  border-color: rgba(196, 206, 235, 0.45);
}

.reward-card.third {
  border-color: rgba(196, 140, 104, 0.45);
}

.reward-crown-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  background: var(--gold);
  color: #231507;
}

.reward-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(230, 193, 122, 0.22);
}

.reward-place {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #d5c5e3;
}

.reward-place strong {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  color: #efe5fa;
}

.reward-symbol {
  width: 32px !important;
  height: 32px !important;
  color: #c8b2df;
}

.first .reward-place,
.first .reward-place strong,
.first .reward-symbol {
  color: var(--gold-light);
}

.third .reward-place,
.third .reward-place strong,
.third .reward-symbol {
  color: #e2b99b;
}

.reward-details small {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #c8b8d6;
}

.reward-amount {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.2;
  color: #fff2df;
}

.reward-amount span {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
}

.reward-bonus {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 16px;
  color: #e1cbff;
}

/* LEADERBOARD */
.leaderboard-block {
  margin-top: 52px;
}

.leaderboard-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.leaderboard-heading h3 {
  font-size: 28px;
  margin-top: 8px;
}

.table-scroll {
  overflow-x: auto;
}

.rank-table,
.sysreq-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.rank-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.rank-table th,
.sysreq-table th {
  padding: 18px 24px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(58, 44, 34, 0.28);
  border-bottom: 1px solid var(--line);
}

.rank-table td,
.sysreq-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15.5px;
  color: #efe6f6;
}

.rank-table th:last-child,
.rank-table td:last-child {
  text-align: right;
}

.rank-table td:first-child {
  font-weight: 700;
  color: var(--gold-light);
}

.rank-table td.empty-cell {
  text-align: center;
  padding: 44px 24px;
}

.empty-icon {
  display: block;
  margin: 0 auto 14px;
  width: 38px !important;
  height: 38px !important;
  color: var(--gold);
}

.empty-cell strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  color: #f8e8ce;
}

.empty-cell p {
  margin-top: 8px;
  font-size: 15px;
}

.leaderboard-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  font-size: 14px;
  color: #c4b4d2;
}

.leaderboard-meta a {
  color: var(--gold-light);
  font-weight: 700;
}

/* ==========================================================================
 * FAQ & COMMUNITY (#hoi-dap & #cong-dong)
 * ========================================================================== */
.faq-section {
  border-bottom: 1px solid var(--line-soft);
}

.faq-container {
  max-width: 880px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: linear-gradient(145deg, #1b1525, #130f1b);
  border: 1px solid var(--line);
  padding: 0 24px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 700;
  color: #f6ecfd;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  font-size: 24px;
  color: var(--gold);
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-list details p {
  padding: 0 0 20px;
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
  font-size: 15.5px;
  line-height: 1.8;
}

.community-wrap {
  padding: 64px 0 76px;
}

.community-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 40px;
  background: linear-gradient(120deg, #162338, #101e36 60%, #103763);
  border-color: rgba(100, 156, 224, 0.45);
}

.community-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 76px;
  border: 1px solid rgba(155, 198, 255, 0.45);
  background: rgba(45, 125, 255, 0.16);
  color: #cfe4ff;
  clip-path: var(--cut);
  flex-shrink: 0;
}

.community-mark .icon {
  width: 32px;
  height: 32px;
}

.community-copy {
  flex: 1;
}

.community-copy .eyebrow {
  color: #b8d7ff;
}

.community-copy h2 {
  font-size: clamp(24px, 2.4vw, 31px);
  margin: 10px 0;
  color: #f2f7ff;
}

.community-copy p {
  color: #d2e2f7;
  max-width: 620px;
}

.community-cta {
  flex-shrink: 0;
}

/* ==========================================================================
 * DOWNLOAD PAGE SPECIFIC (download.html)
 * ========================================================================== */
.subhero {
  position: relative;
  padding: 44px 0 50px;
  background:
    linear-gradient(90deg, rgba(11, 9, 18, 0.95) 15%, rgba(11, 9, 18, 0.55)),
    url('assets/images/hero.webp') 70% 25% / cover;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #cfc0de;
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--gold-light);
  font-weight: 600;
}

.breadcrumbs .icon {
  width: 15px;
  height: 15px;
}

.subhero h1 {
  font-size: clamp(32px, 3.5vw, 46px);
  color: #fff2dc;
  margin-top: 10px;
}

.subhero > .container > p {
  font-size: 16.5px;
  color: #e6d8f0;
  margin-top: 10px;
  max-width: 620px;
}

.subhero-schedule-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.subhero-schedule-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: rgba(16, 12, 25, 0.88);
  border: 1px solid var(--line);
  font-size: 14px;
  color: #e6daf2;
}

.subhero-schedule-strip b {
  color: var(--gold-light);
}

.subhero-schedule-strip .icon {
  width: 17px;
  height: 17px;
  color: var(--gold);
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 28px;
}

.download-main-col {
  display: grid;
  gap: 24px;
}

.download-main-card,
.patch-card,
.sysreq-card {
  padding: 32px;
}

.download-status {
  margin-top: 18px;
  padding: 12px 16px;
  background: rgba(230, 193, 122, 0.08);
  border-left: 3px solid var(--gold);
  font-size: 14.5px;
  color: #e6d6f2;
}

.patch-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.patch-heading h3 {
  margin-top: 10px;
}

.patch-heading > .icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.patch-card > p {
  margin-bottom: 20px;
}

.patch-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.patch-meta-text {
  font-size: 14px;
  color: var(--gold-light);
  font-weight: 600;
}

.download-sidebar {
  display: grid;
  gap: 24px;
}

.side-panel,
.support-card {
  padding: 28px;
}

.side-panel h2 {
  font-size: 25px;
  margin-top: 10px;
}

.mini-facts {
  list-style: none;
  padding: 0;
  margin-top: 18px;
}

.mini-facts li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
}

.mini-facts li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mini-facts li span {
  color: #cbbad9;
}

.mini-facts li strong {
  color: #f6e7cf;
  text-align: right;
}

.mini-facts li.highlight-row strong {
  color: var(--gold-light);
  font-weight: 800;
}

.support-card h3 {
  margin-bottom: 12px;
}

.support-card p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.install-section {
  padding-top: 0;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.install-step {
  padding: 28px 26px;
  background: linear-gradient(145deg, #1d1627, #130f1b);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
}

.step-number {
  display: inline-block;
  font: 700 32px/1 var(--serif);
  color: var(--gold);
  margin-bottom: 14px;
}

.install-step h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

/* ==========================================================================
 * FOOTER, FLOATING BUTTONS, MODAL & TOAST
 * ========================================================================== */
.site-footer {
  padding: 38px 0 28px;
  border-top: 1px solid var(--line);
  background: #08060c;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-brand img {
  width: 126px;
}

.footer-brand strong {
  display: block;
  font-size: 14px;
  letter-spacing: 0.8px;
  color: var(--gold-light);
}

.footer-brand p {
  font-size: 13.5px;
  margin-top: 4px;
  color: #c3b3d1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: #dfd0ec;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: #b19fc2;
}

.floating-zalo {
  position: fixed;
  bottom: 82px;
  right: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1b7df5, #0852c4);
  color: #fff;
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid #7ab6ff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  clip-path: var(--cut);
}

.back-top {
  position: fixed;
  bottom: 22px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(28, 20, 38, 0.95);
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  z-index: 40;
}

.mobile-dock {
  display: none;
}

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  width: max-content;
  padding: 14px 24px;
  color: #fff3da;
  font-size: 15px;
  font-weight: 600;
  background: #271b34;
  border: 1px solid var(--gold);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75);
  z-index: 80;
  text-align: center;
}

dialog {
  padding: 0;
  max-width: 640px;
  width: calc(100% - 32px);
  max-height: 85dvh;
  color: var(--text);
  background: linear-gradient(145deg, #231b2e, #14101c);
  border: 1px solid var(--gold-dark);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
}

dialog::backdrop {
  background: rgba(8, 6, 13, 0.86);
  backdrop-filter: blur(5px);
}

.dialog-body {
  padding: 32px;
}

.dialog-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.close-dialog {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

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

.dialog-body ul {
  padding-left: 20px;
  color: #f3e4cc;
}

.dialog-body li {
  padding: 5px 0;
}

.dialog-note {
  background: rgba(230, 193, 122, 0.08);
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
}

.no-js {
  padding: 12px;
  background: #362713;
  color: #f6dcb0;
  text-align: center;
  font-size: 14.5px;
}

/* ==========================================================================
 * RESPONSIVE BREAKPOINTS
 * ========================================================================== */
@media (max-width: 1080px) {
  .desktop-nav,
  .header-dl {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .header-actions {
    margin-left: auto;
  }
  .quick-download-grid,
  .download-layout {
    grid-template-columns: 1fr;
  }
  .download-sidebar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .container {
    width: calc(100% - 40px);
  }
  .hero {
    min-height: 0;
  }
  .hero-art {
    object-position: 66% 18%;
    opacity: 0.72;
  }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(11, 9, 16, 0.94) 0%, rgba(11, 9, 16, 0.76) 65%, rgba(11, 9, 16, 0.45) 100%),
      linear-gradient(0deg, var(--bg) 0%, transparent 30%);
  }
  .hero-copy {
    max-width: 100%;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .principles-grid,
  .rewards-grid,
  .install-steps,
  .download-sidebar {
    grid-template-columns: 1fr;
  }
  .reward-card.first {
    order: -1;
    transform: none;
  }
  .dl-specs {
    grid-template-columns: repeat(2, 1fr);
  }
  .community-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 28px;
  }
  .community-mark {
    display: none;
  }
  .community-cta,
  .community-cta .button {
    width: 100%;
  }
}

@media (max-width: 600px) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }
  .container {
    width: calc(100% - 32px);
  }
  .site-header {
    height: 70px;
  }
  .mobile-nav {
    top: 69px;
  }
  .brand {
    flex-basis: 108px;
  }
  .brand img {
    width: 108px;
  }
  .header-cta {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .hero-inner {
    padding: 28px 0 36px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-logo {
    margin-inline: auto;
  }
  .hero-pills {
    justify-content: center;
  }
  .hero-schedule {
    text-align: left;
  }
  .hero-schedule-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .hero-schedule-grid {
    grid-template-columns: 1fr;
  }
  .countdown {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 10px;
  }
  .countdown-numbers {
    justify-content: center;
  }
  .section {
    padding: 52px 0;
  }
  .dl-card-primary,
  .dl-card-secondary,
  .download-main-card,
  .patch-card,
  .sysreq-card,
  .side-panel,
  .support-card {
    padding: 24px 20px;
  }
  .download-emblem {
    display: none;
  }
  .hunt-feature {
    padding: 28px 22px;
    min-height: 0;
  }
  .prize-pool-box {
    width: 100%;
  }
  .leaderboard-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .rank-table th,
  .rank-table td,
  .sysreq-table th,
  .sysreq-table td {
    padding: 14px 12px;
    font-size: 14px;
  }
  .rank-table th:nth-child(3),
  .rank-table td:nth-child(3) {
    display: none;
  }
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .floating-zalo {
    display: none;
  }
  .mobile-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(13, 10, 20, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .mobile-dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    font-size: 13.5px;
    font-weight: 800;
    clip-path: var(--cut);
  }
  .dock-download {
    background: linear-gradient(125deg, #ffe7b3, #cc9b4d);
    color: #241608;
  }
  .dock-zalo {
    background: linear-gradient(135deg, #1b7df5, #0852c4);
    color: #fff;
  }
  .back-top {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    right: 14px;
  }
  .toast {
    bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
