/* XMagic — duong6 preview: concept lay cam hung tu xmodhub.com
   (nen nau-den am, cam gradient nhan manh, font Mulish, bo goc rong) */

:root {
  --bg-0: #131313;
  --bg-1: #1c1815;
  --bg-2: #241f1b;
  --line: rgba(255, 255, 255, .09);
  --text-hi: #ffffff;
  --text-mid: #a8a4a0;
  --text-low: #6d6864;
  --orange: #ff7222;
  --amber: #ffb92e;
  --font-body: 'Mulish', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth
}

body {
  background-color: #14100d;
  background-image:
    /* Lưới vuông công nghệ 48px mờ rõ ràng (Tech Grid Lines) */
    linear-gradient(rgba(255, 120, 20, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 120, 20, 0.05) 1px, transparent 1px),
    /* Vầng sáng ambient tỏa mạnh 2 bên lề trang web */
    radial-gradient(circle 800px at 0% 20%, rgba(255, 114, 34, 0.14), transparent 70%),
    radial-gradient(circle 800px at 100% 50%, rgba(255, 160, 30, 0.12), transparent 70%),
    radial-gradient(circle 800px at 0% 80%, rgba(230, 70, 10, 0.12), transparent 70%);
  background-size: 48px 48px, 48px 48px, 100% 100%, 100% 100%, 100% 100%;
  color: var(--text-hi);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  /* chan keo-tha anh ra ngoai (keo sang tab khac se mo anh goc) */
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none
}

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

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.15
}

section {
  padding: 84px 24px
}

.section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--orange);
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 800
}

.section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 10px
}

.section-head p {
  color: var(--text-mid);
  font-size: 16px
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 19, 19, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line)
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 18px
}

.brand__mark {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 160, 30, .8))
}

.nav__links {
  display: flex;
  gap: 2px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 700;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}

.nav__links a {
  padding: 9px 18px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease
}

.nav__links a:hover {
  color: var(--text-hi);
  background: var(--bg-2)
}

.nav__cta {
  margin-left: auto
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px
}

.nav__toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-hi);
  display: block
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14.5px;
  padding: 13px 26px;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
  border: 0;
}

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

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

.btn--primary {
  background: linear-gradient(90deg, var(--orange), var(--amber));
  color: #1a0d00;
  box-shadow: 0 10px 26px -10px rgba(255, 114, 34, .55)
}

.pill {
  border: 1px solid var(--line);
  background: var(--bg-1);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  color: var(--text-mid);
  font-weight: 600
}

/* hero */
.hero {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 120px 24px 40px;
  text-align: center
}

.hero__glow {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 400px;
  background: radial-gradient(ellipse 320px 200px at 50% 50%, rgba(255, 114, 34, .28), transparent 80%);
  pointer-events: none;
  z-index: 0
}

.hero h1 {
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.15;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, #ff9d2e 0%, #ffcf8a 40%, #fff6ea 60%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero>p {
  color: var(--text-mid);
  font-size: 17px;
  max-width: none;
  margin: 0 auto 34px;
  position: relative;
  z-index: 1
}

.hero__actions {
  position: relative;
  margin-bottom: 20px;
  z-index: 1
}

/* ===== nut Tai xuong (dlbtn) — theo spec: pill rong, gradient cam->vang,
   vien sang, glow nhieu lop, hieu ung bong guong, mui ten SVG ===== */
.hero__btnwrap {
  position: relative;
  display: inline-block;
  z-index: 2
}

.dlbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(460px, 88vw);
  height: clamp(60px, 8vw, 92px);
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(90deg, #ff7a1a 0%, #ff9a1e 45%, #ffc830 100%);
  border: 4px solid rgba(255, 240, 205, .9);
  transition: transform .25s ease, filter .25s ease, box-shadow .25s ease;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, .7),
    inset 0 -6px 14px rgba(120, 40, 0, .25),
    0 0 0 1px rgba(255, 200, 120, .35),
    0 0 24px 4px rgba(255, 160, 50, .75),
    0 20px 46px -10px rgba(255, 120, 30, .75),
    0 60px 90px -30px rgba(255, 90, 20, .55);
}

/* lop bong guong / highlight phia tren */
.dlbtn::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 66px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .12) 30%, transparent 55%);
  mix-blend-mode: screen;
}

.dlbtn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, .8),
    inset 0 -6px 14px rgba(120, 40, 0, .25),
    0 0 0 1px rgba(255, 210, 140, .5),
    0 0 34px 8px rgba(255, 170, 60, .9),
    0 24px 54px -10px rgba(255, 130, 30, .85),
    0 70px 110px -30px rgba(255, 90, 20, .65);
}

.dlbtn:active {
  transform: scale(.98)
}

/* logo Windows trong nut — bao cho nguoi dung biet chi co ban Windows.
   (Da bo mui ten tai xuong, logo nay thay vao vi tri do.) */
.dlbtn__os {
  width: clamp(20px, 2.8vw, 28px);
  height: clamp(20px, 2.8vw, 28px);
  flex: none;
  position: relative;
  z-index: 1;
  opacity: .85
}

.hero__os {
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 700;
  /* dat tren nen quang sang cam nen phai du sang moi doc duoc */
  color: var(--text-mid);
  letter-spacing: .01em;
  position: relative;
  z-index: 1
}

.dlbtn span {
  position: relative;
  z-index: 1;
  color: #1a0d00;
  font-weight: 900;
  font-size: clamp(16px, 2.2vw, 22px);
  letter-spacing: -.01em;
  white-space: nowrap;
}

.hero__note {
  color: var(--text-low);
  font-size: 15px;
  position: relative;
  z-index: 1
}

.hero__note a {
  color: #5eb8ff;
  font-weight: 700;
  text-decoration: underline
}




/* da tat lop lightbeam cu (gay chong glow) — glow gio chi con o ngay tren dinh carousel */
.lightbeam {
  position: relative;
  height: 0;
  pointer-events: none;
  z-index: 0
}

/* ticker — auto-scrolling marquee strip (thay cho trustbar tinh) */
.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 0 0 60px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: tickerScroll 22s linear infinite
}

.ticker:hover .ticker__track {
  animation-play-state: paused
}

@keyframes tickerScroll {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* showcase carousel — XMODhub chuẩn 100% 1:1 match (nằm gọn vừa khít 700px, không tràn viền 2 bên) */
.showcase {
  position: relative;
  padding: 0 24px 90px;
  overflow: visible
}

.showcase__mask {
  position: absolute;
  left: 50%;
  top: -320px;
  transform: translateX(-50%);
  width: min(700px, 92vw);
  height: 330px;
  z-index: 0;
  pointer-events: none;
}

/* Lớp 1: Vầng sáng cam bốc mờ dịu lên đằng sau dòng chữ McAfee & Discord */
.showcase__mask::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 480px 220px at 50% 100%,
      rgba(255, 95, 10, 0.55) 0%,
      rgba(230, 60, 0, 0.33) 32%,
      rgba(160, 25, 0, 0.12) 62%,
      transparent 85%);
  filter: blur(30px);
}

/* Lớp 2: Lõi sáng trắng-vàng rực rỡ ở chính giữa + dải sáng cam nằm gọn trên mép trên 700px */
.showcase__mask::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 140px;
  background:
    /* Lõi trắng sáng rực ngay chính giữa gờ trên */
    radial-gradient(ellipse 220px 42px at 50% 100%,
      #ffffff 0%,
      rgba(255, 245, 190, 0.98) 25%,
      rgba(255, 165, 30, 0.85) 55%,
      transparent 85%),
    /* Dải sáng cam rực nằm khít mép trên thiết bị */
    radial-gradient(ellipse 440px 85px at 50% 100%,
      rgba(255, 140, 20, 0.92) 0%,
      rgba(255, 80, 0, 0.68) 45%,
      rgba(200, 30, 0, 0.25) 75%,
      transparent 100%);
  filter: blur(12px);
}

.carousel {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  z-index: 1
}

.car__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 28px;
}

.car__track::-webkit-scrollbar {
  display: none
}

.car__slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
}

.car__frame {
  position: relative;
  width: 700px;
  max-width: 92vw;
  border-radius: 28px;
  overflow: hidden;
  border: 7px solid #383838;
  background: #0a0a0a;
  aspect-ratio: 18/25;
  box-shadow:
    0 -8px 24px -2px rgba(255, 110, 20, 0.4),
    0 24px 60px rgba(0, 0, 0, 0.85);
}

.car__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center
}

.car__cap {
  position: absolute;
  left: 20px;
  bottom: 18px;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(4px);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .15);
}

.car__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 114, 34, .12);
  border: 1px solid rgba(255, 114, 34, .35);
  color: var(--orange);
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
  transition: background .15s ease;
}

.car__nav:hover {
  background: rgba(255, 114, 34, .25)
}

.car__nav--prev {
  left: -64px
}

.car__nav--next {
  right: -64px
}

/* catalog grid */
.catalog {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px
}

.gcard {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease
}

.gcard:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 114, 34, .4)
}

.gcard__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-2)
}

.gcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top
}

.gcard__body {
  padding: 18px
}

.gcard__body h3 {
  font-size: 16.5px;
  margin-bottom: 8px
}

.gcard__body p {
  color: var(--text-mid);
  font-size: 13.5px;
  margin-bottom: 12px
}

.taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

.tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  background: rgba(255, 185, 46, .1);
  border: 1px solid rgba(255, 185, 46, .3);
  padding: 4px 10px;
  border-radius: 999px
}

/* steps — 4 buoc: anh (icon + so) o tren, duong noi gradient giua cac so, roi tieu de + mo ta */
.steps {
  position: relative;
  background: transparent
}

.steps__grid {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step {
  position: relative;
  padding: 0 8px;
  cursor: pointer;
  transition: transform .25s ease;
}

.step:hover {
  transform: translateY(-6px)
}

.step:hover .step__img {
  filter: drop-shadow(0 14px 28px rgba(255, 114, 34, 0.45)) brightness(1.15);
  transform: scale(1.05);
}

.step__img {
  width: 150px;
  height: 248px;
  max-width: 100%;
  margin: 0 auto 4px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
  transition: transform .25s ease, filter .25s ease;
}

/* duong noi nam ngang voi day so trong anh (~86% chieu cao anh) */
.step__line {
  position: absolute;
  top: 221px;
  left: calc(50% + 88px);
  right: calc(-50% + 88px);
  height: 2px;
  border-radius: 2px;
}

.step__line--1 {
  background: linear-gradient(90deg, #ff6a2a, #c3f24a)
}

.step__line--2 {
  background: linear-gradient(90deg, #c3f24a, #4fd8ff)
}

.step__line--3 {
  background: linear-gradient(90deg, #4fd8ff, #c44dff)
}

.step h3 {
  font-size: 17px;
  margin: 8px 0 6px;
  color: #fff
}

.step p {
  color: var(--text-mid);
  font-size: 13px;
  max-width: 210px;
  margin: 0 auto
}

.step p b {
  color: var(--amber);
  font-weight: 800
}

/* nhan "Xem video" — bao ro moi o buoc bam vao duoc, vi truoc day chi co
   dong chu nho o dau muc, nhieu nguoi khong biet la bam duoc */
.step__play {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 14px 6px 11px;
  border-radius: 999px;
  background: rgba(255, 114, 34, .12);
  border: 1px solid rgba(255, 114, 34, .4);
  color: var(--amber);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1;
  transition: background .18s ease, color .18s ease, border-color .18s ease
}

.step__play svg {
  width: 13px;
  height: 13px;
  flex: none
}

.step:hover .step__play {
  background: linear-gradient(90deg, var(--orange), var(--amber));
  border-color: transparent;
  color: #1a0d00
}

.steps__cta {
  text-align: center;
  margin-top: 36px;
  position: relative;
  z-index: 1
}

.btn--outline-orange {
  background: rgba(255, 114, 34, .08);
  color: var(--orange);
  border: 1px solid rgba(255, 114, 34, .6);
  border-radius: 10px;
  box-shadow: 0 0 20px -5px rgba(255, 114, 34, 0.3);
  transition: all .2s ease;
}

.btn--outline-orange:hover {
  background: rgba(255, 114, 34, .2);
  border-color: var(--orange);
  transform: translateY(-2px)
}

.btn--outline-green {
  background: rgba(63, 209, 139, .1);
  color: #3fd18b;
  border: 1px solid rgba(63, 209, 139, .6);
  border-radius: 10px;
  box-shadow: 0 0 20px -5px rgba(63, 209, 139, 0.3);
  transition: all .2s ease;
}

.btn--outline-green:hover {
  background: rgba(63, 209, 139, .22);
  border-color: #3fd18b;
  transform: translateY(-2px)
}

/* comparison table */
.compare {
  position: relative;
  background: transparent
}

.tablewrap {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid rgba(255, 114, 34, .3);
  border-radius: 20px;
  background: rgba(25, 20, 17, .8);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cmptable {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px
}

.cmptable th,
.cmptable td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line)
}

.cmptable thead th {
  background: rgba(255, 114, 34, .12);
  color: var(--text-mid);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .04em
}

.cmptable tbody td {
  color: var(--text-mid)
}

.cmptable tbody tr:last-child td {
  border-bottom: 0
}

.cmptable__hl {
  color: var(--amber);
  font-weight: 800;
  background: rgba(255, 114, 34, .15)
}

thead .cmptable__hl {
  color: var(--orange)
}

/* callout */
.callout {
  position: relative;
  background: transparent
}

.callout__inner {
  max-width: 1080px;
  margin: 0 auto;
  background: linear-gradient(135deg, #2e2219 0%, #201914 50%, #171310 100%);
  border: 1px solid rgba(255, 114, 34, .4);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 30px 80px -15px rgba(255, 114, 34, .28), inset 0 1px 0 rgba(255, 200, 120, .2);
  transition: transform .25s ease, border-color .25s ease;
}

.callout__inner:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 160, 50, .6)
}

.callout h2 {
  font-size: 26px;
  margin: 10px 0;
  color: #fff
}

.callout p {
  color: var(--text-mid);
  max-width: 440px
}

/* faq */
.faq {
  position: relative;
  background: transparent
}

.faqlist {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1
}

.faqitem {
  background: rgba(25, 20, 17, .8);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 6px 22px;
  backdrop-filter: blur(8px);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.faqitem:hover {
  border-color: rgba(255, 114, 34, .4);
  background: rgba(35, 29, 25, .85);
  box-shadow: 0 8px 25px -5px rgba(255, 114, 34, .12);
}

.faqitem summary {
  padding: 16px 0;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.faqitem summary::-webkit-details-marker {
  display: none
}

.faqitem summary::after {
  content: '+';
  color: var(--orange);
  font-size: 20px;
  font-weight: 400;
  margin-left: 12px;
  transition: transform .2s ease
}

.faqitem[open] summary::after {
  content: '–'
}

.faqitem p {
  color: var(--text-mid);
  font-size: 14.5px;
  padding-bottom: 18px
}

/* changelog */
.changelog {
  position: relative;
  background: transparent
}

.changelist {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1
}

.changeitem {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .15s ease, padding-left .15s ease
}

.changeitem:hover {
  background: rgba(255, 114, 34, .04);
  padding-left: 14px;
  border-radius: 8px
}

.changeitem__ver {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--orange);
  font-weight: 700;
  flex: none;
  width: 80px
}

.changeitem__text {
  color: var(--text-mid);
  font-size: 14.5px
}

/* footer */
.footer {
  border-top: 1px solid rgba(255, 114, 34, .25);
  padding: 56px 24px 28px;
  /* mo dan tu trong suot -> dam, de khong co canh cung o mep tren footer */
  background: linear-gradient(180deg, rgba(15, 12, 10, 0) 0%, rgba(15, 12, 10, .7) 45%, #0f0c0a 100%);
  position: relative;
}

.footer__grid {
  max-width: 1200px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px
}

.footer__brand p {
  color: var(--text-low);
  font-size: 13px;
  margin-top: 10px;
  max-width: 280px
}

.footer h4 {
  font-size: 12.5px;
  color: var(--text-hi);
  margin-bottom: 14px;
  letter-spacing: .04em;
  text-transform: uppercase
}

.footer div a {
  display: block;
  color: var(--text-low);
  font-size: 14px;
  margin-bottom: 10px
}

.footer div a:hover {
  color: var(--text-hi)
}

.footer__legal {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-low)
}

/* modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .2s ease
}

.modal-overlay[hidden] {
  display: none
}

.modal-overlay.is-open {
  opacity: 1
}

.modal-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 38px 32px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7);
  transform: translateY(14px) scale(.97);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}

.modal-overlay.is-open .modal-card {
  transform: translateY(0) scale(1);
  opacity: 1
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--text-low);
  font-size: 18px;
  padding: 6px
}

.modal-close:hover {
  color: #fff
}

.modal-logo {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center
}

.modal-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 8px rgba(255, 210, 80, 0.9)) drop-shadow(0 0 22px rgba(255, 114, 34, 0.75)) drop-shadow(0 0 38px rgba(255, 80, 10, 0.45));
  animation: logoGlowPulse 2.4s ease-in-out infinite alternate;
}

@keyframes logoGlowPulse {
  from {
    filter:
      drop-shadow(0 0 6px rgba(255, 200, 50, 0.85)) drop-shadow(0 0 16px rgba(255, 114, 34, 0.65));
  }

  to {
    filter:
      drop-shadow(0 0 12px rgba(255, 235, 100, 1)) drop-shadow(0 0 28px rgba(255, 120, 20, 0.95)) drop-shadow(0 0 48px rgba(255, 70, 0, 0.6));
  }
}

.modal-card h3 {
  font-size: 24px;
  margin-bottom: 8px
}

.modal-sub {
  color: var(--text-mid);
  font-size: 14.5px;
  margin-bottom: 20px
}

.modal-keybox {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 20px;
  text-align: left
}

.modal-keybox__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .04em
}

.modal-keybox__key {
  display: block;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--amber);
  background: rgba(0, 0, 0, .3);
  border-radius: 10px;
  padding: 9px 12px
}

.modal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 10px;
  transition: transform .15s ease, filter .15s ease
}

.modal-btn:hover {
  transform: translateY(-2px)
}

.modal-btn--primary {
  background: linear-gradient(90deg, var(--orange), var(--amber));
  color: #1a0d00
}

.modal-btn--secondary {
  background: rgba(255, 255, 255, .06);
  color: var(--text-hi);
  border: 1px solid var(--line);
  margin-bottom: 0
}

body.modal-open {
  overflow: hidden
}

/* popup lien he admin nap key — 3 kenh: telegram / discord / zalo */
.modal-card--contact {
  max-width: 460px
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left
}

.contact-item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .18s ease
}

.contact-item.is-open,
.contact-item:hover {
  border-color: rgba(255, 114, 34, .45)
}

.contact-item__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px
}

.contact-item__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -.02em
}

.contact-item__icon svg {
  width: 22px;
  height: 22px
}

.contact-item__icon--telegram {
  background: linear-gradient(145deg, #2aabee, #229ed9)
}

.contact-item__icon--discord {
  background: #5865f2
}

.contact-item__icon--zalo {
  background: #0068ff
}

.contact-item__meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.35
}

.contact-item__name {
  font-weight: 800;
  font-size: 15px;
  color: var(--text-hi)
}

.contact-item__handle {
  font-size: 12.5px;
  color: var(--text-mid);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.contact-item__go {
  flex: 0 0 auto;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  color: #1a0d00;
  border: 0;
  border-radius: 999px;
  padding: 8px 15px;
  font-family: inherit;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease
}

.contact-item__go:hover {
  transform: translateY(-1px);
  filter: brightness(1.06)
}

.contact-item__qrbtn {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, .06);
  color: var(--text-hi);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease
}

.contact-item__qrbtn:hover,
.contact-item__qrbtn[aria-expanded="true"] {
  background: rgba(255, 114, 34, .18);
  color: var(--amber)
}

.contact-item__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 16px
}

.contact-item__qr[hidden] {
  display: none
}

.contact-item__qr img {
  width: 168px;
  height: 168px;
  border-radius: 12px;
  background: #fff;
  padding: 8px
}

/* reset chung dat img{display:block} nen phai ep lai [hidden] o day */
.contact-item__qr img[hidden] {
  display: none
}

.contact-item__qrnote {
  font-size: 12px;
  color: var(--text-mid);
  text-align: center
}

.contact-item__qrmissing {
  font-size: 12.5px;
  color: var(--amber);
  text-align: center;
  padding: 10px 4px
}

@media (max-width:420px) {
  .contact-item__row {
    flex-wrap: wrap
  }

  .contact-item__meta {
    flex: 1 1 100px
  }

  .contact-item__go {
    padding: 8px 12px
  }
}

@media (max-width:980px) {
  .catalog {
    grid-template-columns: repeat(2, 1fr)
  }

  .steps__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px
  }

  .step__line {
    display: none
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr
  }

  .callout__inner {
    flex-direction: column;
    text-align: center;
    align-items: center
  }

  .car__nav--prev {
    left: 4px
  }

  .car__nav--next {
    right: 4px
  }
}

@media (max-width:640px) {
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-1);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 16px 24px;
    gap: 14px;
    display: none
  }

  .nav__links.is-open {
    display: flex
  }

  .nav__toggle {
    display: flex
  }

  .nav__cta {
    display: none
  }

  .catalog {
    grid-template-columns: 1fr
  }

  .steps__grid {
    grid-template-columns: 1fr;
    row-gap: 32px
  }

  .footer__grid {
    grid-template-columns: 1fr
  }

  section {
    padding: 56px 20px
  }

  .changeitem {
    flex-direction: column;
    gap: 4px
  }
}

/* fan showcase — khung cat hinh binh hanh (clip-path), khong xoay ca khoi.
   Cac the dat sat nhau (khong de anh len nhau) — margin am dung bang do xen (--shear)
   de 2 canh cheo khop khit vao nhau tao duong zic-zac lien mach.
   The giua to nhat, cang ra ngoai cang nho dan. */
.fan {
  position: relative;
  /* ket thuc bang mau TRONG SUOT chu khong phai #14100d dac — neu dac thi no che
     mat luoi + quang sang cua body, tao ra mot lan cat ngang o mep section.
     Ban kinh doc 50% + tam o 50% => alpha ve 0 dung tai mep tren va mep duoi. */
  background: radial-gradient(ellipse 90% 50% at 50% 50%, rgba(255, 114, 34, 0.16) 0%, rgba(38, 28, 20, 0.22) 55%, rgba(20, 16, 13, 0) 100%);
  padding-top: 90px;
  padding-bottom: 110px;
  overflow: hidden;
}

.fan::before {
  content: '';
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(950px, 92vw);
  height: 380px;
  background: radial-gradient(ellipse 700px 240px at 50% 50%, rgba(255, 120, 20, 0.18) 0%, rgba(200, 60, 0, 0.08) 50%, transparent 80%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.fan .section-head,
.fan__row {
  position: relative;
  z-index: 1;
}

.fan__row {
  --shear: 18px;
  display: flex;
  justify-content: stretch;
  align-items: flex-end;
  gap: 18px;
  width: 100%;
  padding: 20px 24px 26px;
}

.fan__card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  background-color: #0a0a0a;
  clip-path: polygon(var(--shear) 0, 100% 0, calc(100% - var(--shear)) 100%, 0 100%);
  filter: grayscale(1) brightness(.55);
  transition: filter .35s ease, transform .5s cubic-bezier(.4, 0, .2, 1), z-index 0s;
  transform-origin: bottom center;
  cursor: pointer;
}

.fan__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%
}

/* 5 vi tri CO DINH (khong cuon, khong an khung nao) — giua to nhat, ra ngoai nho dan.
   Khi doi noi dung, CA KHUNG (khong chi anh) se co lai + dich rong sang mot ben roi
   phong to tro lai dung vi tri — hieu ung "morph" (xem fanAdvance trong app.js). */
.fan__card:nth-child(1),
.fan__card:nth-child(5) {
  height: 400px;
  --ty: -28px
}

.fan__card:nth-child(2),
.fan__card:nth-child(4) {
  height: 432px;
  --ty: -14px
}

.fan__card:nth-child(3) {
  height: 466px;
  --ty: 0px
}

.fan__card {
  transform: translateY(var(--ty, 0)) translateX(0) scale(1)
}

.fan__card:hover {
  filter: grayscale(0) brightness(1);
  z-index: 5;
}

.fan__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, transparent 30%, transparent 60%, rgba(0, 0, 0, .65) 100%);
}

/* vien phat sang chay lan luot tu trai sang phai (xem app.js).
   Dung inset box-shadow vi the bi clip-path cat — shadow ben ngoai se khong hien. */
.fan__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .9s ease;
  box-shadow:
    inset 0 0 0 2px rgba(255, 190, 90, .9),
    inset 0 0 18px 2px rgba(255, 150, 50, .75),
    inset 0 0 48px 8px rgba(255, 120, 30, .4);
}

.fan__card.is-lit .fan__glow {
  opacity: 1
}

.fan__card.is-lit {
  filter: grayscale(.25) brightness(.85)
}

.fan__card:hover .fan__glow {
  opacity: 1
}

.fan__top {
  position: absolute;
  top: 20px;
  left: calc(var(--shear) + 8px);
  right: calc(var(--shear) + 8px);
  text-align: center;
  font-family: 'Oswald', system-ui, sans-serif;
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .04em;
  line-height: 1.15;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .9), 0 0 24px rgba(0, 0, 0, .55);
}

/* icon can giua o DAY khung. Vi khung la hinh binh hanh, tam thuc te o day lech
   sang trai dung bang nua do xen -> bu lai bang calc(50% - shear/2). */
.fan__icon {
  position: absolute;
  bottom: 18px;
  left: calc(50% - var(--shear) / 2);
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .55);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .6);
}

.fan__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.fan__drag {
  position: absolute;
  left: calc(50% - var(--shear) / 2);
  bottom: 76px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, .55);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity .25s ease;
  white-space: nowrap;
}

.fan__card:hover .fan__drag {
  opacity: 1
}

@media (max-width:900px) {
  .fan__row {
    --shear: 14px
  }

  .fan__card:nth-child(1),
  .fan__card:nth-child(5) {
    height: 230px;
    --ty: -16px
  }

  .fan__card:nth-child(2),
  .fan__card:nth-child(4) {
    height: 245px;
    --ty: -8px
  }

  .fan__card:nth-child(3) {
    height: 262px;
    --ty: 0px
  }

  .fan__top {
    font-size: 14px;
    top: 14px
  }

  .fan__icon {
    width: 34px;
    height: 34px;
    bottom: 12px
  }
}

@media (max-width:640px) {
  .fan__row {
    --shear: 0px;
    flex-direction: column;
    align-items: center;
    gap: 14px
  }

  .fan__card {
    flex: 0 0 auto !important;
    width: 220px;
    height: 300px !important;
    margin-left: 0;
    clip-path: none;
    border-radius: 16px;
    filter: grayscale(0) brightness(1) !important;
  }

  .fan__drag {
    display: none
  }
}

/* popup video huong dan */
.modal-card--video {
  max-width: 820px;
  padding: 34px 28px 28px
}

.modal-card--video h3 {
  font-size: 22px;
  margin-bottom: 6px
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  margin-top: 18px;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0
}

/* ===== trang chi tiet tinh nang (feature-*.html) ===== */
.fpage {
  --accent: #ff7222
}

.fhero {
  padding: 70px 24px 50px;
  position: relative;
  overflow: hidden
}

.fhero::before {
  content: '';
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 92vw);
  height: 420px;
  pointer-events: none;
  background: radial-gradient(ellipse 460px 200px at 50% 60%, var(--accent), transparent 72%);
  opacity: .22;
  filter: blur(60px);
}

.fhero__inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

.fback {
  display: inline-block;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px
}

.fback:hover {
  color: var(--accent)
}

.fhero__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px
}

.fhero__badge img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent)
}

.fhero__badge span {
  font-family: 'Oswald', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

.fhero h1 {
  font-family: 'Oswald', system-ui, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.05;
  letter-spacing: .02em;
  margin-bottom: 10px;
  color: #fff;
}

.fhero__tag {
  color: var(--accent);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 16px
}

.fhero__intro {
  color: var(--text-mid);
  font-size: 16px;
  max-width: 560px;
  margin-bottom: 28px
}

.fhero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center
}

.fhero__media {
  border-radius: 24px;
  overflow: hidden;
  border: 6px solid #494949;
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .8);
  aspect-ratio: 18/25;
  max-width: 320px;
  margin-left: auto;
}

.fhero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* bo cuc playlist: danh sach trai + 1 player phai (khong nhoi nhieu iframe) */
.fdemo__layout {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 50px;
  align-items: stretch;
}

/* Compact stacked layout for pages with few features (e.g. Kinh Đô) */
.fdemo__layout--compact {
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 820px;
}

.fdemo__layout--compact .flist {
  margin-bottom: 0;
  order: 0;
}

.fdemo__layout--compact .flist__group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}

.fdemo__layout--compact .flist__group h3 {
  grid-column: 1 / -1;
}

.fdemo__layout--compact .fplayer {
  order: 1;
}

.fdemo__layout--compact .fplayer__sticky {
  position: static;
}

.fplayer {
  position: relative;
  height: 100%
}

.flist {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 300px
}

.flist__group h3 {
  font-family: 'Oswald', system-ui, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 10px;
}

.fitem {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 15px;
  margin-bottom: 8px;
  color: inherit;
  font-family: inherit;
}

.fitem__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0
}

.fitem__body b {
  color: #fff;
  font-size: 14.5px;
  font-weight: 800
}

.fitem__body span {
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.5
}

.fitem__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .55;
  flex: none;
  margin-top: 7px;
}

.fitem--play {
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease
}

.fitem--play:hover {
  border-color: var(--accent);
  transform: translateX(3px)
}

.fitem__play {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  background: var(--accent);
  color: #1a0d00;
  font-weight: 900;
}

.fitem--play.is-active {
  border-color: var(--accent);
  background: rgba(255, 255, 255, .05)
}

.fitem--play.is-active .fitem__play {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .08)
}

.fplayer__sticky {
  position: sticky;
  top: 150px;
}

.fplayer__poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer
}

.fplayer__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.fplayer__poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35)
}

.fplayer__playbtn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--accent);
  color: #1a0d00;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .6);
  transition: transform .18s ease;
}

.fplayer__playbtn:hover {
  transform: translate(-50%, -50%) scale(1.07)
}

.fplayer__meta {
  margin-top: 16px
}

.fplayer__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.fplayer__meta h3 {
  font-size: 20px;
  margin: 6px 0 6px;
  color: #fff
}

#playerDesc {
  /* Display fully without scrollbar constraint */
}

.fplayer__spec-sheet {
  margin-top: 14px;
  background: rgba(20, 16, 13, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
}

.fspec__intro {
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px
}

.fspec__intro::before {
  content: '✦';
  color: var(--accent);
  font-size: 13px
}

.fspec__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  padding-left: 14px;
  border-left: 1px dashed rgba(255, 114, 34, 0.3);
  margin-left: 4px
}

.fspec__item {
  position: relative
}

.fspec__item::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.fspec__title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ff9e59;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 4px;
  min-height: 28px
}

.fspec__icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6))
}

.fspec__desc {
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.5
}

.fspec__desc b {
  color: #ffc89b;
  font-weight: 600
}

.fequip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px
}

.fequip-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 122, 42, 0.2);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.fequip-hero {
  font-size: 12px;
  font-weight: 800;
  color: #ff7a2a;
  text-transform: uppercase;
  letter-spacing: .03em;
  display: flex;
  align-items: center;
  gap: 6px
}

.fequip-hero::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff7a2a
}

.fequip-imgs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap
}

.fequip-imgs img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
  transition: transform .2s ease
}

.fequip-imgs img.fequip-lg {
  height: 48px;
  width: 48px;
  margin: -4px
}

.fequip-imgs img:hover {
  transform: scale(1.15);
  z-index: 2
}

.farmy-grid {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap
}

.farmy-item {
  background: linear-gradient(135deg, rgba(255, 114, 34, 0.12), rgba(15, 12, 18, 0.6));
  border: 1px solid rgba(255, 122, 42, 0.3);
  border-radius: 14px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  min-width: 240px
}

.farmy-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
  transition: transform .2s ease
}

.farmy-item:hover img {
  transform: scale(1.1)
}

.farmy-info {
  display: flex;
  flex-direction: column;
  gap: 3px
}

.farmy-name {
  font-size: 12.5px;
  font-weight: 800;
  color: #ff9e59;
  text-transform: uppercase;
  letter-spacing: .04em
}

.farmy-count {
  font-size: 14px;
  font-weight: 800;
  color: #fff
}

.farmy-stars {
  font-size: 11px;
  color: #ffbd2e;
  letter-spacing: 1px;
  font-weight: 800
}

.farmy-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.farmy-rank-badge.top-1 {
  background: linear-gradient(135deg, #ffe066, #f59f00);
  color: #3b2000;
  border: 1px solid #fff5b8
}

.farmy-rank-badge.top-2 {
  background: linear-gradient(135deg, #a5f3fc, #0891b2);
  color: #042f2e;
  border: 1px solid #cffafe;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.4)
}

.farmy-rank-badge.top-3 {
  background: linear-gradient(135deg, #ffc9c9, #e03131);
  color: #fff;
  border: 1px solid #ffdeeb
}

.farmy-rank-badge.top-4 {
  background: linear-gradient(135deg, #b197fc, #6741d9);
  color: #fff;
  border: 1px solid #e5dbff
}

/* ============ Goi y gia lap (spotlight MuMu + phuong an khac) ============ */
.emurank {
  position: relative;
  background: transparent;
  padding-top: 52px;
  padding-bottom: 60px
}

.emurank .section-head {
  margin-bottom: 26px
}

.emurow {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch
}

.emuitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 20px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease, background .2s ease
}

.emuitem:hover {
  border-color: rgba(255, 122, 42, .4);
  background: rgba(255, 255, 255, .05);
  transform: translateY(-3px)
}

.emuitem--pick {
  background: linear-gradient(160deg, rgba(245, 159, 0, .14), rgba(19, 19, 19, .95));
  border-color: rgba(245, 159, 0, .4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .4)
}

.emuitem--pick:hover {
  border-color: rgba(245, 159, 0, .6)
}

.emuitem__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #3b2000;
  background: linear-gradient(135deg, #ffe066, #f59f00);
  border: 1px solid #fff5b8;
  padding: 4px 12px;
  border-radius: 99px;
  white-space: nowrap
}

.emuitem__logo {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line)
}

.emuitem--pick .emuitem__logo {
  border-color: rgba(245, 159, 0, .3)
}

.emuitem__logo img {
  width: 30px;
  height: 30px;
  object-fit: contain
}

.emuitem__info {
  display: flex;
  flex-direction: column;
  gap: 3px
}

.emuitem__info b {
  font-size: 14.5px;
  color: var(--text-hi)
}

.emuitem__stars {
  font-size: 10.5px;
  color: #ffbd2e;
  letter-spacing: 1px;
  font-weight: 800;
  margin-left: 2px
}

.emuitem__info span {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.4
}

.emuitem__cta {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--orange)
}

.emuitem__go {
  margin-top: 2px;
  color: var(--text-low);
  font-size: 13px
}

.emurank__foot {
  max-width: 720px;
  margin: 22px auto 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-mid)
}

.emurank__foot b {
  color: var(--orange)
}

@media (max-width: 700px) {
  .emurow {
    grid-template-columns: 1fr
  }
}

/* Super Compact & Tight Content-Hugging Spell Card System */
.spell-card {
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(18, 22, 30, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}

.spell-card--top1 {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.12), rgba(18, 22, 30, 0.85));
  border-color: rgba(255, 193, 7, 0.35);
}

.spell-card--top1:hover {
  border-color: rgba(255, 193, 7, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.2);
}

.spell-card--top2 {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.12), rgba(18, 22, 30, 0.85));
  border-color: rgba(8, 145, 178, 0.3);
}

.spell-card--top2:hover {
  border-color: rgba(8, 145, 178, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.2);
}

/* Left Group (Rank + Spells tightly linked) */
.spell-card__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spell-card__rank {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 72px;
}

.spell-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spell-rank-badge.top-1 {
  background: linear-gradient(135deg, #ffe066, #f59f00);
  color: #3b2000;
  border: 1px solid #fff5b8;
  box-shadow: 0 2px 6px rgba(245, 159, 0, 0.3);
}

.spell-rank-badge.top-2 {
  background: linear-gradient(135deg, #a5f3fc, #0891b2);
  color: #042f2e;
  border: 1px solid #cffafe;
  box-shadow: 0 2px 6px rgba(8, 145, 178, 0.3);
}

.spell-stars {
  font-size: 10.5px;
  color: #ffbd2e;
  letter-spacing: 1px;
  font-weight: 800;
}

/* Spells display Group */
.spell-card__spells {
  display: flex;
  align-items: center;
  gap: 6px;
}

.spell-box {
  position: relative;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  box-sizing: border-box;
}

.spell-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.spell-box-qty {
  position: absolute;
  bottom: -3px;
  right: -4px;
  background: #ff7a2a;
  color: #fff;
  font-size: 9.5px;
  font-weight: 900;
  padding: 0.5px 4px;
  border-radius: 5px;
  font-family: var(--font-mono);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.spell-plus-sign {
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.35);
}

/* Right Group (Combo Name + Tag side by side) */
.spell-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spell-card__name {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.spell-card__perf {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.spell-card__perf--top1 {
  background: rgba(255, 193, 7, 0.18);
  color: #ffe066;
  border: 1px solid rgba(255, 193, 7, 0.35);
}

.spell-card__perf--top2 {
  background: rgba(8, 145, 178, 0.18);
  color: #a5f3fc;
  border: 1px solid rgba(8, 145, 178, 0.35);
}


.fguide {
  padding-top: 20px
}

.fguide__inner {
  max-width: 1120px;
  margin: 0 auto;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 38px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.fguide__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.fguide h2 {
  font-size: 24px;
  margin: 8px 0 8px
}

.fguide p {
  color: var(--text-mid);
  font-size: 15px;
  max-width: 520px
}

.fnav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 24px 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.fnav__item {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .2s ease, transform .2s ease;
}

.fnav__item:hover {
  border-color: var(--accent);
  transform: translateY(-3px)
}

.fnav__item span {
  color: var(--text-low);
  font-size: 13px;
  font-weight: 700
}

.fnav__item b {
  color: #fff;
  font-size: 17px
}

.fnav__item--next {
  text-align: right
}

@media (max-width:980px) {
  .fhero__inner {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .fhero__media {
    margin: 0 auto;
    max-width: 260px
  }

  .fdemo__layout {
    grid-template-columns: 1fr;
    gap: 26px
  }

  .fplayer {
    order: -1
  }

  .fplayer__sticky {
    position: static
  }
}

/* ==========================================================================
   SUPER PREMIUM PRICING SECTION
   ========================================================================== */
.pricing {
  position: relative;
  padding: 90px 24px;
  /* Tam quang sang phai nam GIUA section va ban kinh doc = 50% chieu cao, de alpha
     ve dung 0 tai mep tren/duoi. Neu de "at 50% 0%" thi cho sang nhat roi dung vao
     mep tren -> nhay bac dot ngot, tao lan cat voi section phia tren. */
  background: radial-gradient(ellipse 90% 50% at 50% 50%, rgba(255, 122, 42, 0.10) 0%, rgba(255, 122, 42, 0) 100%);
  overflow: hidden;
}

.pricing__bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 122, 42, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

/* Switcher Controls */
.pricing-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 36px auto 44px;
  background: rgba(18, 22, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px;
  border-radius: 18px;
  max-width: 480px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.pricing-tab-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 16px;
  border-radius: 14px;
  background: transparent;
  border: none;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.pricing-tab-btn span:nth-child(2) {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.pricing-tab-icon {
  font-size: 18px;
}

.pricing-tab-badge {
  font-size: 10px;
  color: var(--text-dark);
  font-weight: 600;
}

.pricing-tab-btn.is-active {
  background: linear-gradient(135deg, rgba(255, 122, 42, 0.22), rgba(255, 193, 7, 0.15));
  border: 1px solid rgba(255, 193, 7, 0.4);
  box-shadow: 0 4px 16px rgba(255, 122, 42, 0.25);
}

.pricing-tab-btn.is-active span:nth-child(2) {
  color: #ffc107;
}

.pricing-tab-btn.is-active .pricing-tab-badge {
  color: #ffe066;
}

/* Tab Group visibility */
.pricing-group {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.35s ease;
}

.pricing-group.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Pricing Notice */
.pricing-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 680px;
  margin: 0 auto 30px;
  padding: 10px 20px;
  background: rgba(8, 145, 178, 0.12);
  border: 1px solid rgba(8, 145, 178, 0.3);
  border-radius: 12px;
  color: #a5f3fc;
  font-size: 13px;
  text-align: center;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1180px
}

@media (max-width: 980px) {
  .pricing-grid--3 {
    grid-template-columns: 1fr;
    max-width: 480px
  }
}

/* Pricing Card */
.pcard {
  position: relative;
  background: rgba(18, 22, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pcard:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.pcard--popular {
  background: linear-gradient(145deg, rgba(255, 193, 7, 0.1), rgba(18, 22, 30, 0.85));
  border: 1px solid rgba(255, 193, 7, 0.45);
  box-shadow: 0 12px 36px rgba(255, 193, 7, 0.18);
}

.pcard--popular:hover {
  border-color: rgba(255, 193, 7, 0.75);
  box-shadow: 0 20px 48px rgba(255, 193, 7, 0.28);
}

.pcard--popular-cyan {
  background: linear-gradient(145deg, rgba(8, 145, 178, 0.12), rgba(18, 22, 30, 0.85));
  border: 1px solid rgba(8, 145, 178, 0.4);
}

.pcard--popular-cyan:hover {
  border-color: rgba(8, 145, 178, 0.7);
  box-shadow: 0 20px 48px rgba(8, 145, 178, 0.25);
}

.pcard--free {
  background: linear-gradient(145deg, rgba(63, 209, 139, 0.1), rgba(18, 22, 30, 0.85));
  border: 1px dashed rgba(63, 209, 139, 0.45);
}

.pcard--free:hover {
  border-color: rgba(63, 209, 139, 0.75);
  box-shadow: 0 20px 48px rgba(63, 209, 139, 0.2);
}

/* Card Header */
.pcard__header {
  margin-bottom: 24px;
}

.pcard__badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pcard__badge--subtle {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-mid);
}

.pcard__badge--gold {
  background: linear-gradient(135deg, #ffe066, #f59f00);
  color: #3b2000;
  box-shadow: 0 2px 10px rgba(245, 159, 0, 0.3);
}

.pcard__badge--cyan {
  background: rgba(8, 145, 178, 0.2);
  color: #a5f3fc;
  border: 1px solid rgba(8, 145, 178, 0.4);
}

.pcard__badge--blue {
  background: linear-gradient(135deg, #a5f3fc, #0891b2);
  color: #042f2e;
}

.pcard__badge--green {
  background: rgba(63, 209, 139, 0.18);
  color: #3fd18b;
  border: 1px solid rgba(63, 209, 139, 0.4);
}

.pcard__title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.pcard__desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
  margin: 0 0 18px;
}

/* Price Display */
.pcard__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 10px;
}

.pcard__amount {
  font-family: 'Oswald', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.pcard__currency {
  font-size: 20px;
  font-weight: 800;
  color: var(--amber);
}

.pcard__period {
  font-size: 12px;
  color: var(--text-dark);
  margin-left: 4px;
}

/* Features List */
.pcard__features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pitem {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.4;
}

.pitem b {
  color: #fff;
}

.pitem__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.pitem--check .pitem__icon {
  background: rgba(63, 209, 139, 0.15);
  color: #3fd18b;
  border: 1px solid rgba(63, 209, 139, 0.3);
}

.pitem--gold .pitem__icon {
  background: rgba(255, 193, 7, 0.2);
  color: #ffe066;
  border: 1px solid rgba(255, 193, 7, 0.4);
}

.pitem--cyan .pitem__icon {
  background: rgba(8, 145, 178, 0.2);
  color: #a5f3fc;
  border: 1px solid rgba(8, 145, 178, 0.4);
}

.pitem--cross {
  opacity: 0.5;
}

.pitem--cross .pitem__icon {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== bang gia: huy hieu dem so che do + danh sach che do co icon that =====
   Muc dich: nhin la biet ngay goi do co / khong co che do nao. */
.pcount {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 7px 13px 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line)
}

.pcount__dots {
  display: inline-flex;
  gap: 4px
}

.pcount__dots i {
  width: 13px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .13)
}

.pcount__dots i.is-on {
  background: #3fd18b
}

.pcount__text {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: .01em
}

.pcount__text b {
  font-size: 15px;
  color: #3fd18b
}

.pcount--gold {
  background: rgba(255, 193, 7, .12);
  border-color: rgba(255, 193, 7, .38)
}

.pcount--gold .pcount__dots i.is-on {
  background: var(--amber)
}

.pcount--gold .pcount__text {
  color: #ffe9b0
}

.pcount--gold .pcount__text b {
  color: var(--amber)
}

.pcount--cyan {
  background: rgba(8, 145, 178, .16);
  border-color: rgba(8, 145, 178, .42)
}

.pcount--cyan .pcount__dots i.is-on {
  background: #4fd8ff
}

.pcount--cyan .pcount__text {
  color: #cbf3ff
}

.pcount--cyan .pcount__text b {
  color: #4fd8ff
}

.pcard__features--modes {
  gap: 0
}

.pmode {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 0
}

.pmode__icon {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible
}

.pmode__icon img {
  width: 30px;
  height: 30px;
  object-fit: contain
}

/* dau tich / dau X nho o goc icon — tin hieu co-hay-khong ro nhat */
.pmode__mark {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 900;
  font-style: normal;
  border: 2px solid var(--bg-1)
}

.pmode__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0
}

.pmode__name {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3
}

.pmode__desc {
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.4
}

/* --- trang thai CO --- */
.pmode--on .pmode__mark {
  background: #3fd18b;
  color: #06301d
}

.pmode--gold .pmode__icon {
  background: rgba(255, 193, 7, .1);
  border-color: rgba(255, 193, 7, .3)
}

.pmode--gold .pmode__mark {
  background: var(--amber);
  color: #3a2600
}

.pmode--cyan .pmode__icon {
  background: rgba(8, 145, 178, .12);
  border-color: rgba(8, 145, 178, .32)
}

.pmode--cyan .pmode__mark {
  background: #4fd8ff;
  color: #04303d
}

/* --- trang thai KHONG CO: lam xam, mo, gach ngang ten --- */
.pmode--off .pmode__icon {
  background: rgba(255, 255, 255, .03);
  border-style: dashed
}

.pmode--off .pmode__icon img {
  filter: grayscale(1);
  opacity: .35
}

.pmode--off .pmode__mark {
  background: #3a3a3a;
  color: rgba(255, 255, 255, .55)
}

.pmode--off .pmode__name {
  color: var(--text-low);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, .35)
}

.pmode--off .pmode__desc {
  color: var(--text-low);
  opacity: .7
}

/* nhan "+" cho 2 che do chi goi Full moi co */
.pmode__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--amber);
  color: #3a2600;
  font-size: 12px;
  font-weight: 900;
  vertical-align: 1px
}

.pmode--extra .pmode__icon {
  box-shadow: 0 0 0 3px rgba(255, 193, 7, .14)
}

/* ===== goi co thoi han: thoi gian la thu khac biet duy nhat nen phong to =====
   Tinh nang 2 goi giong het nhau, chi khac so ngay -> cho so ngay lam nhan vat chinh. */
.pdur {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 10px
}

.pdur__num {
  font-family: 'Oswald', sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: .9;
  letter-spacing: -1px;
  color: #fff
}

.pdur__unit {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  color: #fff
}

.pdur--cyan .pdur__num,
.pdur--cyan .pdur__unit {
  color: #4fd8ff
}

/* gia quy ve moi ngay — nam cung dong voi gia, khong them dong moi */
.pperday {
  font-size: 13px;
  color: var(--text-mid);
  margin-left: 2px
}

.pperday--best {
  color: #8fe3ff
}

/* danh sach che do rut gon cho goi co thoi han: moi che do 1 dong, van co mo ta
   ngan de biet no lam gi — khong dai nhu ban 2 dong o tab Vinh Vien */
.pminis {
  list-style: none;
  padding: 0;
  margin: 20px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 9px
}

.pmini {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  line-height: 1.35
}

.pmini img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 7px;
  background: rgba(8, 145, 178, .12);
  flex: 0 0 auto
}

.pmini b {
  color: #fff;
  font-weight: 800;
  white-space: nowrap
}

.pmini span {
  color: var(--text-mid);
  min-width: 0
}

.pmini span::before {
  content: "— ";
  color: var(--text-low)
}

/* vong xoay bao video dang tai */
.vspin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .18);
  border-top-color: var(--amber);
  animation: vspin .8s linear infinite;
  z-index: 3;
  pointer-events: none
}

.vspin[hidden] {
  display: none
}

@keyframes vspin {
  to {
    transform: rotate(360deg)
  }
}

.pnote {
  margin: 0 0 20px;
  font-size: 12.5px;
  color: var(--text-mid)
}

.psave {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(63, 209, 139, .16);
  border: 1px solid rgba(63, 209, 139, .4);
  color: #3fd18b;
  font-size: 11px;
  font-weight: 800
}

/* dong ghi chu them duoi danh sach che do */
.pmode-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.45
}

/* duong ke chia phan "co" va "khong co" */
.pmode-sep {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-low)
}

.pmode-sep::before,
.pmode-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line)
}

.pmode-sep--gold {
  color: var(--amber)
}

.pmode-sep--gold::before,
.pmode-sep--gold::after {
  background: rgba(255, 193, 7, .28)
}

.pmode-sep--cyan {
  color: #4fd8ff
}

.pmode-sep--cyan::before,
.pmode-sep--cyan::after {
  background: rgba(8, 145, 178, .32)
}

.btn--block {
  width: 100%;
  text-align: center;
  justify-content: center;
}

@media (max-width:640px) {
  .fnav {
    grid-template-columns: 1fr
  }

  .fnav__item--next {
    text-align: left
  }

  .fguide__inner {
    padding: 28px 24px
  }

  .pricing-switcher {
    flex-direction: column;
    max-width: 100%;
  }

  .pricing-tab-btn {
    width: 100%;
  }
}

/* Nut tai du phong (Google Drive) - nam giua nut tai chinh va nut lien he.
   Dung mau giong --secondary nhung GIU margin-bottom mac dinh cua .modal-btn. */
.modal-btn--alt {
  background: rgba(255, 255, 255, .06);
  color: var(--text-hi);
  border: 1px solid var(--line)
}


/* ===== Modal tai xuong: chip thong tin + hop dung thu + ghi chu ===== */
.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 18px
}

.modal-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mid);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px
}

.modal-chip--ver {
  color: var(--amber);
  border-color: rgba(255, 185, 46, .35)
}

.modal-trial {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  background: linear-gradient(135deg, rgba(255, 114, 34, .10), rgba(255, 185, 46, .05));
  border: 1px solid rgba(255, 185, 46, .28);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 18px
}

.modal-trial__icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  color: #1a0d00;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center
}

.modal-trial__text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-mid)
}

.modal-trial__text b {
  color: var(--text-hi)
}

.modal-hint {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-low);
  margin: -2px 0 16px
}

.modal-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px
}

/* ===== Changelog: them ngay cap nhat ngay duoi so phien ban ===== */
.changeitem__ver {
  width: 108px;
  display: flex;
  flex-direction: column;
  gap: 3px
}

.changeitem__date {
  font-family: var(--font-body);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  color: var(--text-low)
}

.changeitem__text ul {
  margin: 0;
  padding-left: 17px
}

.changeitem__text li {
  margin: 3px 0;
  line-height: 1.55
}
