/* ============================================================
   LOGISQUEST — DESIGN SYSTEM & COLOR TOKENS
   Palette: Maritime Adventure (trích xuất từ anh-bia-2.jpg)
   Màu bắt buộc: Trắng #FFFFFF | Xanh #1A7FB5 | Vàng #F5C52A
   File màu đầy đủ: color-palette.css
   ============================================================ */
:root {
  /* ─── PRIMARY COLOR PALETTE (Tông màu Sáng: Trắng, Xanh Da Trời, Vàng) ─── */

  /* Trắng (Cloud White) */
  --color-white: #FFFFFF;

  /* Xanh Da Trời (Sky Blue) */
  --color-sky-lightest: #F0F9FF;
  /* Nền trang siêu nhẹ */
  --color-sky-light: #E0F2FE;
  /* Nền section xanh da trời nhạt */
  --color-sky-soft: #BAE6FD;
  /* Viền mềm / Hover background */
  --color-sky: #0EA5E9;
  /* Xanh da trời chính (Sky Blue 500) */
  --color-sky-bright: #38BDF8;
  /* Xanh da trời sáng */
  --color-sky-dark: #0284C7;
  /* Xanh da trời đậm */
  --color-sky-deep: #0369A1;
  /* Xanh da trời đại dương */

  /* Vàng (Quest Gold / Warm Yellow) */
  --color-yellow: #F59E0B;
  /* Vàng ấm */
  --color-yellow-bright: #FACC15;
  /* Vàng rực rỡ */
  --color-yellow-hover: #FBBF24;
  --color-yellow-dark: #D97706;

  /* Accent phụ (Cam & Đỏ) */
  --color-orange: #F97316;
  --color-red: #EF4444;

  /* ─── SEMANTIC TOKENS (NỀN SÁNG TRONG TRẺO CHUẨN XANH TRỜI TRẮNG VÀNG) ─── */

  /* Backgrounds */
  --bg-primary: #FFFFFF;
  /* Nền chính TRẮNG TINH KHIẾT */
  --bg-secondary: #F0F7FF;
  /* Nền section XANH DA TRỜI TƯƠI MÁT */
  --bg-tertiary: #E1F0FF;
  /* Nền thẻ bài & khung chức năng */

  /* Borders */
  --border-color: #BAE6FD;
  /* Viền Xanh Da Trời */
  --border-sky: #0EA5E9;
  /* Viền Xanh Da Trời Đậm */
  --border-yellow: #F59E0B;
  /* Viền Vàng */

  /* Accents */
  --accent: #F59E0B;
  /* Vàng Accent chính */
  --sky: #0EA5E9;
  /* Xanh Da Trời Accent */

  --accent-glow: rgba(245, 158, 11, 0.25);
  --sky-glow: rgba(14, 165, 233, 0.25);
  --card-glow: 0 8px 24px rgba(14, 165, 233, 0.12);
  --accent-text-shadow: 0 0 12px rgba(245, 158, 11, 0.4);

  /* Text (Độ tương phản cao, rõ ràng trên nền sáng) */
  --text-primary: #0F172A;
  /* Chữ chính ĐẬM RÕ RÀNG (Slate 900) */
  --text-secondary: #0369A1;
  /* Chữ phụ XANH DA TRỜI ĐẬM (Sky 700) */
  --text-muted: #475569;
  /* Chữ ghi chú (Slate 600) */
  --white: #FFFFFF;

  /* Fonts */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;

  /* Layout & Spacing */
  --header-height: 52px;
  --container-width: 1200px;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(14, 165, 233, 0.08);
  --shadow-md: 0 8px 24px rgba(14, 165, 233, 0.12);
  --shadow-lg: 0 16px 40px rgba(14, 165, 233, 0.18);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ============================================================
   HOME MOBILE V2 — portrait art direction, desktop unchanged
   ============================================================ */
@media (max-width: 700px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  #homeView,
  #homeView section,
  .main-header,
  .bg-footer {
    width: 100%;
    max-width: 100%;
  }

  .home-banner-section {
    margin-top: 64px;
    height: calc(100svh - 64px);
    min-height: 620px;
  }

  .home-banner-img {
    object-position: center center;
  }

  .home-banner-mobile-logo {
    top: clamp(24px, 5svh, 44px);
    width: min(48vw, 188px);
  }

  .home-banner-caption {
    bottom: clamp(22px, 4svh, 36px);
  }

  .hero-scroll-curtain,
  .hero-product-reveal {
    display: none !important;
  }

  .home-showcase-section {
    min-height: 0;
    padding: 40px 0 44px;
  }

  .home-showcase-bg-layer {
    inset: 0;
    height: 100%;
  }

  .home-showcase-bg-layer::after {
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.42) 52%, rgba(10,116,183,.2));
  }

  .home-showcase-bg-img {
    object-position: center center;
  }

  .showcase-top-tier,
  .showcase-main-tier,
  .showcase-desc-col {
    min-width: 0;
  }

  #block2-gameplay,
  #block3-scale {
    min-height: 0;
    padding: 48px 18px;
    overflow: hidden;
  }

  .home-quychien-inner,
  #block2-gameplay .home-quychien-inner,
  #block3-scale .home-quychien-inner {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    transform: none;
  }

  .home-quychien-img-col,
  .home-quychien-text-col,
  #block2-gameplay .home-quychien-text-col,
  #block3-scale .home-quychien-text-col {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    transform: none;
  }

  .quychien-boardgame-cutout-img {
    width: 100%;
    max-width: 100%;
  }

  .quychien-photo-showcase {
    padding: 0;
  }

  .quychien-gameplay-headline {
    font-size: clamp(1.45rem, 7vw, 1.9rem) !important;
  }

  .quychien-highlight-cyan {
    white-space: normal;
  }

  .gameplay-p {
    font-size: .96rem;
    line-height: 1.7;
    text-align: left;
  }

  .nautical-ribbon-badge,
  .ribbon-content {
    max-width: 100%;
    box-sizing: border-box;
  }

  .ribbon-content {
    padding: 8px 14px;
  }

  .ribbon-text {
    font-size: .7rem;
    letter-spacing: 1.2px;
  }

  .nautical-route-transition {
    width: 100%;
    height: 56px;
    margin: 0;
    overflow: hidden;
  }

  .pillars-diorama-picture,
  .guide-bg-picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .home-pillars-section {
    padding: 52px 0 44px;
  }

  .pillars-diorama-img {
    object-position: center center;
    transform: none !important;
  }

  .pillars-diorama-overlay {
    background: linear-gradient(180deg, rgba(240,249,255,.9), rgba(255,255,255,.7) 42%, rgba(2,65,120,.28));
    backdrop-filter: none;
  }

  .home-pillars-container {
    padding: 0 18px;
    transform: none;
  }

  .pillars-fandeck-area {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    height: auto;
    margin: 12px 0 0;
  }

  .pillar-fandeck-card,
  .pillar-fandeck-card.card-green-style,
  .pillar-fandeck-card.card-red-style,
  .pillar-fandeck-card.card-blue-style,
  .pillar-fandeck-card.card-yellow-style {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    transform: none !important;
  }

  .fandeck-card-img {
    width: 66.667%;
    height: 150%;
  }

  .pillar-decor-3d {
    display: none !important;
  }

  .home-guide-section {
    min-height: 640px;
    padding: 46px 0 44px;
  }

  .guide-bg-layer {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .guide-bg-img {
    object-position: center center;
  }

  .guide-bg-vignette {
    background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.46) 54%, rgba(4,43,85,.42));
  }

  .nautical-boardgame-badge {
    width: min(88vw, 350px);
    margin-top: 0;
  }

  .plaque-typography {
    padding-inline: 38px;
    font-size: .78rem;
    letter-spacing: .8px;
  }

  .guide-nautical-headline {
    margin-top: 14px;
  }

  .headline-part-top {
    font-size: 1.35rem;
    letter-spacing: 1px;
  }

  .headline-part-bottom {
    max-width: 100%;
    font-size: clamp(1.28rem, 6vw, 1.65rem);
    line-height: 1.25;
    white-space: normal;
  }

  .video-frame {
    width: 94vw;
    max-width: 390px;
    margin-top: 20px;
  }

  .home-cta-bg-layer {
    height: clamp(300px, 82vw, 360px);
  }

  .home-cta-bg-img {
    object-position: center 56%;
  }

  .home-cta-overlay-gradient {
    inset: 52% 0 0;
  }

  .home-cta-container {
    padding: 24px 18px 32px;
  }

  .bg-footer-hero {
    min-height: 520px;
    padding: 34px 18px 30px;
  }

  .bg-footer-hero-mobile-art img {
    object-position: center center;
  }

  .bg-footer-hero::after {
    background: linear-gradient(180deg, rgba(0,44,91,.18), rgba(0,31,73,.45));
  }

  .bg-footer-hero-container {
    justify-content: center;
  }

  .bg-footer-hero-cards-area {
    margin-top: auto;
  }
}

/* ============================================================
   GAMEPLAY JOURNEY V2 — SUNLIT MARITIME
   ============================================================ */
#gameplayView {
  overflow: visible;
}

.gp-page {
  --gp-navy: #0b2545;
  --gp-blue: #0099ff;
  --gp-orange: #f05a22;
  --gp-gold: #ffb800;
  background:
    linear-gradient(180deg, rgba(235, 245, 255, 0.72), rgba(255, 255, 255, 0.94)),
    url('assets/bg-gameplay.png') center top / cover fixed no-repeat;
  color: var(--gp-navy);
  overflow: visible;
}

.gp-hero {
  min-height: 510px;
  padding: 64px max(24px, calc((100vw - 1180px) / 2)) 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(480px, 1.15fr);
  align-items: center;
  gap: 24px;
  text-align: left;
  background:
    radial-gradient(circle at 76% 40%, rgba(56, 189, 248, 0.2), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.2), rgba(224,242,254,.55));
  border-bottom: 0;
  position: relative;
  overflow: hidden;
}

.gp-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 70px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.7));
  pointer-events: none;
}

.gp-hero-copy,
.gp-hero-product {
  position: relative;
  z-index: 1;
}

.gp-eyebrow,
.gp-section-kicker {
  display: block;
  color: var(--gp-blue);
  font: 800 .73rem/1.2 var(--font-body);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.gp-hero-title {
  max-width: 600px;
  margin: 0;
  color: var(--gp-navy);
  font: 800 clamp(3rem, 5.4vw, 5.25rem)/.92 var(--font-body);
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.gp-hero-title span {
  color: var(--gp-blue);
}

.gp-hero-divider {
  width: 72px;
  height: 5px;
  margin: 24px 0 18px;
  background: linear-gradient(90deg, var(--gp-gold), var(--gp-orange));
}

.gp-hero-sub {
  max-width: 560px;
  margin: 0 0 26px;
  color: #334155;
  font-size: 1rem;
  line-height: 1.75;
}

.gp-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  color: #fff;
  background: linear-gradient(135deg, #ff6b00, #e94d16);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(240, 90, 34, .3);
  font-size: .9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gp-hero-cta:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(240, 90, 34, .38);
}

.gp-hero-product {
  min-height: 390px;
  display: grid;
  place-items: center;
}

.gp-hero-product img {
  width: min(720px, 110%);
  max-width: none;
  transform: translateX(2%) rotate(-1deg);
  filter: drop-shadow(0 28px 32px rgba(11, 37, 69, .2));
  position: relative;
  z-index: 1;
}

.gp-hero-orbit {
  position: absolute;
  width: min(620px, 90%);
  aspect-ratio: 1;
  border: 2px dashed rgba(0, 153, 255, .18);
  border-radius: 50%;
}

.gp-stats-bar {
  max-width: 1120px;
  margin: -34px auto 24px;
  padding: 0 12px;
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 20px 50px -18px rgba(0, 110, 255, .25);
}

.gp-stat {
  padding: 22px 18px;
}

.gp-stat-text strong {
  color: #0b2238;
}

.gp-stat-text span {
  color: #475569;
}

.gp-journey-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  padding: 10px 20px;
  background: rgba(255, 255, 255, .92);
  border-block: 1px solid rgba(186, 230, 253, .7);
  box-shadow: 0 8px 20px rgba(11, 37, 69, .07);
  backdrop-filter: blur(16px);
}

.gp-journey-track {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
}

.gp-journey-track::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 11%;
  right: 11%;
  border-top: 2px dashed #bae6fd;
  z-index: -1;
}

.gp-journey-link {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 6px 12px;
  color: #475569;
  background: #fff;
  border: 1px solid #e0f2fe;
  border-radius: 999px;
  font-size: .78rem;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(14, 165, 233, .06);
}

.gp-journey-link span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: #38bdf8;
  border-radius: 50%;
  font-weight: 800;
}

.gp-journey-link.active,
.gp-journey-link:hover {
  color: #fff;
  background: var(--gp-blue);
  border-color: var(--gp-blue);
  box-shadow: 0 8px 20px rgba(0, 153, 255, .22);
}

.gp-journey-link.active span,
.gp-journey-link:hover span {
  color: var(--gp-orange);
  background: #fff;
}

.gp-content {
  max-width: 1180px;
  padding: 0 24px 90px;
}

.gp-section-block {
  padding: 76px 0;
  scroll-margin-top: 78px;
}

.gp-section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.gp-section-num {
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, #ff8a00, var(--gp-orange));
  border-radius: 15px;
  box-shadow: 0 8px 18px rgba(240, 90, 34, .24);
}

.gp-section-title {
  color: var(--gp-navy);
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  letter-spacing: -.02em;
}

.gp-setup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 34px;
  align-items: center;
}

.gp-setup-visual {
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 20px;
  background: linear-gradient(145deg, rgba(224,242,254,.72), rgba(255,255,255,.94));
  border: 1px solid #bae6fd;
  border-radius: 30px;
  overflow: hidden;
}

.gp-setup-visual img {
  width: min(650px, 110%);
  max-width: none;
  filter: drop-shadow(0 20px 24px rgba(11,37,69,.18));
}

.gp-setup-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.gp-setup-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 20px;
  background: rgba(255,255,255,.92);
  border: 1px solid #e0f2fe;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(14,165,233,.07);
}

.gp-setup-list li > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--gp-blue);
  background: #e0f2fe;
  border-radius: 12px;
  font-weight: 900;
}

.gp-setup-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: .95rem;
}

.gp-setup-list p {
  color: #475569;
  font-size: .82rem;
  line-height: 1.55;
}

.gp-action-explorer {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 20px;
}

.gp-action-controls {
  display: grid;
  align-content: center;
  gap: 12px;
}

.gp-action-choice {
  min-height: 76px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  color: var(--gp-navy);
  background: rgba(255,255,255,.94);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(14,165,233,.06);
  transition: .2s ease;
}

.gp-action-choice span {
  color: var(--gp-orange);
  font-weight: 900;
}

.gp-action-choice.active {
  color: #fff;
  background: linear-gradient(135deg, #ff7a18, var(--gp-orange));
  border-color: transparent;
  transform: translateX(7px);
  box-shadow: 0 12px 24px rgba(240,90,34,.28);
}

.gp-action-choice.active span {
  color: #fff;
}

.gp-action-stage {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, .85fr);
  align-items: center;
  gap: 20px;
  padding: 28px;
  background:
    radial-gradient(circle at 30% 35%, rgba(56,189,248,.18), transparent 42%),
    rgba(255,255,255,.9);
  border: 1px solid #bae6fd;
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(14,165,233,.1);
  overflow: hidden;
}

.gp-action-art {
  height: 360px;
  display: grid;
  place-items: center;
}

.gp-action-art img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(11,37,69,.18));
}

.gp-action-copy > span {
  color: var(--gp-blue);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.gp-action-copy h3 {
  margin: 8px 0 12px;
  color: var(--gp-navy);
  font: 800 clamp(1.45rem, 2.8vw, 2.3rem)/1.05 var(--font-body);
}

.gp-action-copy p {
  margin-bottom: 18px;
  color: #475569;
  line-height: 1.7;
}

.gp-action-copy strong {
  display: block;
  padding: 13px 15px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  font-size: .78rem;
  line-height: 1.55;
}

.gp-flow-grid {
  position: relative;
  gap: 16px;
  overflow: visible;
}

.gp-flow-grid::before {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  top: 77px;
  border-top: 3px dotted #7dd3fc;
}

.gp-flow-card {
  z-index: 1;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(14,165,233,.08);
}

.gp-flow-arrow {
  display: none;
}

.gp-incoterm-grid {
  align-items: start;
  gap: 18px;
}

.gp-inc-card {
  overflow: hidden;
  padding: 0;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(11,37,69,.06);
}

.gp-inc-header {
  min-height: 68px;
  margin: 0;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.gp-inc-header::-webkit-details-marker {
  display: none;
}

.gp-inc-chevron {
  margin-left: auto;
  font-size: 1.35rem;
  transition: transform .2s ease;
}

.gp-inc-card[open] .gp-inc-chevron {
  transform: rotate(180deg);
}

.gp-inc-card > .gp-inc-intro,
.gp-inc-card > .gp-inc-list {
  margin-inline: 22px;
}

.gp-inc-card > .gp-inc-list {
  margin-bottom: 22px;
}

.gp-note {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .gp-hero {
    min-height: auto;
    padding: 50px 24px 60px;
    grid-template-columns: 1fr 1fr;
  }

  .gp-hero-title {
    font-size: clamp(2.5rem, 7vw, 4rem);
  }

  .gp-hero-product {
    min-height: 320px;
  }

  .gp-setup-layout,
  .gp-action-explorer,
  .gp-action-stage {
    grid-template-columns: 1fr;
  }

  .gp-action-controls {
    grid-template-columns: repeat(3, 1fr);
  }

  .gp-action-choice {
    min-height: 70px;
  }

  .gp-action-choice.active {
    transform: translateY(-4px);
  }
}

@media (max-width: 700px) {
  .main-header {
    height: 64px;
  }

  .header-container {
    width: 100%;
    padding: 0 12px;
    gap: 8px;
  }

  .logo-area {
    min-width: 0;
    gap: 7px;
  }

  .site-logo {
    width: 54px;
    height: auto;
    flex: 0 0 auto;
  }

  .logo-text {
    font-size: .98rem;
    white-space: nowrap;
  }

  .sub-logo {
    font-size: .45rem;
    letter-spacing: 2px;
  }

  .header-actions {
    margin-left: auto;
    gap: 10px;
  }

  .header-actions .order-button {
    width: 104px;
    height: 44px;
  }

  .header-actions .order-button .button-label {
    font-size: .75rem;
  }

  .mobile-toggle {
    width: 22px;
    flex: 0 0 22px;
  }

  .gp-hero {
    padding: 42px 20px 54px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .gp-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .gp-hero-title {
    font-size: clamp(2.55rem, 13vw, 3.5rem);
    line-height: .96;
  }

  .gp-hero-divider {
    margin-inline: auto;
  }

  .gp-hero-sub {
    font-size: .9rem;
    line-height: 1.65;
  }

  .gp-hero-product {
    min-height: 245px;
    margin-top: 6px;
  }

  .gp-hero-product img {
    width: min(520px, 126%);
    transform: none;
  }

  .gp-stats-bar {
    margin: -24px 12px 18px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .gp-stat,
  .gp-stat:nth-child(even) {
    min-width: 0;
    padding: 18px 14px;
    border-right: 1px solid #e2eef8;
    border-bottom: 1px solid #e2eef8;
  }

  .gp-stat:nth-child(even) {
    border-right: 0;
  }

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

  .gp-stat-goal {
    grid-column: auto;
  }

  .gp-stat-icon {
    width: 28px;
  }

  .gp-stat-text strong {
    font-size: .88rem;
  }

  .gp-stat-text span {
    font-size: .68rem;
  }

  .gp-journey-nav {
    padding: 8px 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .gp-journey-nav::-webkit-scrollbar {
    display: none;
  }

  .gp-journey-track {
    width: max-content;
    grid-template-columns: repeat(4, max-content);
    gap: 8px;
  }

  .gp-journey-track::before {
    display: none;
  }

  .gp-journey-link {
    min-width: 122px;
    min-height: 40px;
    padding: 5px 10px;
    font-size: .7rem;
  }

  .gp-content {
    padding: 0 16px 70px;
  }

  .gp-section-block {
    padding: 54px 0;
    scroll-margin-top: 62px;
  }

  .gp-section-heading {
    gap: 12px;
    margin-bottom: 24px;
  }

  .gp-section-num {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .gp-section-kicker {
    font-size: .62rem;
  }

  .gp-section-title {
    font-size: 1.2rem;
  }

  .gp-setup-visual {
    min-height: 230px;
    border-radius: 20px;
  }

  .gp-setup-list li {
    padding: 16px;
  }

  .gp-action-controls {
    grid-template-columns: 1fr;
  }

  .gp-action-choice {
    min-height: 58px;
  }

  .gp-action-choice.active {
    transform: translateX(4px);
  }

  .gp-action-stage {
    min-height: 0;
    padding: 18px;
    border-radius: 20px;
  }

  .gp-action-art {
    height: 235px;
  }

  .gp-flow-grid {
    gap: 14px;
  }

  .gp-flow-grid::before {
    top: 40px;
    bottom: 40px;
    left: 27px;
    right: auto;
    border-top: 0;
    border-left: 3px dotted #7dd3fc;
  }

  .gp-flow-card {
    min-width: 0;
    padding: 18px 18px 18px 68px;
    text-align: left;
  }

  .gp-flow-badge,
  .gp-flow-icon {
    margin-left: 0;
  }

  .gp-incoterm-grid {
    grid-template-columns: 1fr;
  }

  .gp-inc-card {
    border-radius: 14px;
  }
}

@media (max-width: 420px) {
  .logo-text {
    font-size: .86rem;
  }

  .header-actions .order-button {
    width: 90px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gp-page *,
  .gp-page *::before,
  .gp-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* GENERAL RESETS & BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.text-center {
  text-align: center;
}

/* Accessibility: visually hidden but readable by screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* CONTAINERS & BUTTONS */
.section-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 80px 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-yellow) 0%, #F97316 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #F97316 0%, var(--color-yellow) 100%);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.45);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--color-sky-dark);
  border-color: var(--color-sky);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
  font-weight: 600;
}

.btn-secondary:hover {
  background-color: var(--color-sky-lightest);
  border-color: var(--color-sky-dark);
  color: var(--color-sky-deep);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.2);
}

/* SECTION HEADER TEMPLATE */
.section-header {
  margin-bottom: 50px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-primary);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3.5rem;
  }
}

.section-description {
  max-width: 600px;
  margin: 15px auto 0;
  color: var(--text-secondary);
}

.section-divider {
  width: 60px;
  height: 2px;
  background-color: var(--accent);
  margin: 25px auto 0;
}

/* HEADER NAVIGATION */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: #FFFFFF !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 12px rgba(14, 165, 233, 0.1);
  z-index: 1000;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
  transform: translateY(0);
  will-change: transform;
}

/* Tự động đẩy header lên khi cuộn xuống và trượt xuống khi cuộn lên */
.main-header.header-hidden {
  transform: translateY(-100%);
  box-shadow: none;
}

.header-container {
  max-width: var(--container-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo {
  height: 28px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.sub-logo {
  font-family: var(--font-body);
  font-size: 0.5625rem;
  letter-spacing: 3.5px;
  color: var(--color-sky);
  margin-top: 2px;
  font-weight: 600;
}

.nav-menu {
  display: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #334155;
  padding: 8px 0;
  position: relative;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-sky);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--sky), var(--accent));
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* NAV DROPDOWN MENU FOR GIỚI THIỆU */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-caret {
  font-size: 0.65rem;
  margin-left: 2px;
  transition: transform var(--transition-fast);
  display: inline-block;
}

.nav-dropdown.is-open .dropdown-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.18), 0 4px 16px rgba(0, 0, 0, 0.08);
  min-width: 210px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.22s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1100;
}

.nav-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.dropdown-item:hover,
.dropdown-item.active {
  background-color: var(--bg-secondary);
  color: var(--color-sky);
}

.dropdown-icon {
  font-size: 0.95rem;
}

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

.mobile-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  z-index: 1002;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

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

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .mobile-toggle {
    display: none;
  }
}

/* MOBILE NAVIGATION DRAWER */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height) + 3px);
  min-height: calc(100vh - var(--header-height) + 3px);
  /* Solid dark background matching the header, no transparency/blur */
  background-color: var(--bg-primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  overflow-y: auto;
  overscroll-behavior: contain;
  gap: 32px;
  padding: 46px 40px;
  transform: translateX(-100%);
  border-top: 1px solid var(--border-color);
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-link {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.mobile-link:hover {
  color: var(--accent);
}

/* Compact Styling for Sidebar Delivery Button */
.mobile-nav .nav-delivery-btn {
  width: 224px;
  height: 60px;
  flex-shrink: 0;
  margin-top: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}



@media (max-height: 700px) {
  .mobile-nav {
    gap: 20px;
    padding: 24px 20px;
  }

}

/* HERO SECTION */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(7, 26, 48, 0.10) 0%,
      rgba(7, 26, 48, 0.40) 40%,
      rgba(7, 26, 48, 0.88) 80%,
      rgba(7, 26, 48, 0.98) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  text-align: center;
  padding: 0 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 5rem;
  }
}

.accent-title {
  color: var(--accent);
  display: block;
}

@media (min-width: 768px) {
  .accent-title {
    display: inline;
    margin-left: 10px;
  }
}

.hero-slogan {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  text-shadow: var(--accent-text-shadow);
}

@media (min-width: 768px) {
  .hero-slogan {
    font-size: 1.5rem;
  }
}

.hero-desc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

@media (min-width: 576px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.6875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.arrow-down {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(45deg);
  }

  40% {
    transform: translateY(-8px) rotate(45deg);
  }

  60% {
    transform: translateY(-4px) rotate(45deg);
  }
}

/* LORE / ABOUT SECTION */
.lore-section {
  background-color: var(--bg-secondary);
}

.lore-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

@media (min-width: 992px) {
  .lore-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
  }
}

.lore-image {
  position: relative;
}

.image-wrapper {
  border: 1px solid var(--border-color);
  padding: 12px;
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
  margin: 6px;
  pointer-events: none;
  opacity: 0.3;
}

.lore-img {
  border-radius: var(--border-radius-sm);
  width: 100%;
  height: auto;
  display: block;
}

.lore-text h3 {
  font-size: 1.875rem;
  margin-bottom: 20px;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 12px;
}

.lore-text h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.lore-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 0.9375rem;
}

.lore-features {
  margin-top: 35px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 576px) {
  .lore-features {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
}

.feature-info h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.feature-info p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

/* CARDS DATABASE SECTION */
.cards-section {
  background: url('assets/bg-gameplay.png') no-repeat center top / cover fixed, #FAFCFF;
  min-height: 100vh;
  position: relative;
  z-index: 4;
}

.gallery-controls {
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

/* ============================================================
   META STYLEX DESIGN SYSTEM: CARDS HERO & FILTER COMMAND DOCK
   ============================================================ */

:root {
  /* StyleX Design Tokens */
  --sx-color-bg: #FFFFFF;
  --sx-color-surface: rgba(255, 255, 255, 0.94);
  --sx-color-surface-hover: #F8FAFC;
  --sx-color-border: rgba(226, 238, 248, 0.95);
  --sx-color-border-focus: #0284C7;

  --sx-color-text-primary: #0F172A;
  --sx-color-text-secondary: #0369A1;
  --sx-color-text-muted: #64748B;

  --sx-shadow-sm: 0 2px 8px rgba(2, 44, 92, 0.04);
  --sx-shadow-md: 0 10px 28px rgba(2, 44, 92, 0.07), 0 1px 3px rgba(0, 0, 0, 0.05);
  --sx-shadow-glow: 0 0 0 3px rgba(2, 132, 199, 0.18);

  --sx-radius-sm: 8px;
  --sx-radius-md: 14px;
  --sx-radius-full: 9999px;

  --sx-transition-base: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   PANORAMIC MARITIME HERO BANNER (THƯ VIỆN THẺ BÀI LOGISQUEST)
   Mô phỏng 100% bố cục từ ảnh bìa & ảnh mẫu của người dùng
   ============================================================ */

.cards-hero-banner {
  position: relative;
  width: 100%;
  margin-top: var(--header-height, 68px);
  background-color: #D4EEFF;
  user-select: none;
}

.cards-hero-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.cards-hero-img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

/* Central typography floating on the open sky between wheel and waves */
.cards-hero-content {
  position: absolute;
  top: 37%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 860px;
  padding: 0 clamp(16px, 3vw, 32px);
  text-align: center;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 0. 3D Nautical Helm Badge with LOGISQUEST Ribbon */
.cards-hero-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
  filter: drop-shadow(0 6px 14px rgba(6, 32, 70, 0.22));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

.cards-hero-badge-wrap:hover {
  transform: translateY(-2px) scale(1.03);
  filter: drop-shadow(0 8px 18px rgba(6, 32, 70, 0.3));
}

.cards-hero-helm-badge {
  width: clamp(120px, 13.5vw, 190px);
  height: auto;
  display: block;
  user-select: none;
}

/* 1. Eyebrow Tag: THƯ VIỆN */
.cards-hero-eyebrow {
  display: block;
  font-family: 'Montserrat', 'Outfit', sans-serif;
  font-size: clamp(0.95rem, 1.35vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 4px;
  color: #0077B6;
  text-transform: uppercase;
  margin: 0 0 1px 0;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95);
}

/* 2. Main 3D Title: THẺ BÀI LOGISQUEST (Fixed Diacritics Clipping) */
.cards-hero-title {
  display: block;
  font-family: 'Montserrat', 'Outfit', sans-serif;
  font-size: clamp(1.85rem, 3.8vw, 3.35rem);
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 2px 0;
  padding: 0.14em 0 0.08em 0; /* Ensures Vietnamese diacritics like Ẻ and À have full headroom without clipping */
  line-height: 1.25;
  color: #0A3F88;
  background: linear-gradient(180deg, #0C51AB 0%, #083D86 52%, #052654 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: 
    drop-shadow(0 0 1px #FFFFFF)
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.95))
    drop-shadow(0 3px 0 #05234A)
    drop-shadow(0 6px 14px rgba(4, 28, 62, 0.25));
  white-space: nowrap;
}

/* 3. Clean Subtag: HỆ THỐNG THẺ BÀI ĐA DẠNG (No clunky arrows or ornaments) */
.cards-hero-subtag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 2px 0 8px 0;
}

.subtag-text {
  font-family: 'Montserrat', 'Outfit', sans-serif;
  font-size: clamp(0.82rem, 1.05vw, 0.96rem);
  font-weight: 800;
  letter-spacing: 2.8px;
  color: #0284C7;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95);
  white-space: nowrap;
}

/* 4. Description Lead */
.cards-hero-desc {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: clamp(0.85rem, 1vw, 0.98rem);
  font-weight: 600;
  color: #0B3564;
  line-height: 1.48;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95);
}

/* Reduce top and bottom padding of cards section to eliminate excess space */
.cards-section .section-container {
  padding-top: 0;
  padding-bottom: 16px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .cards-hero-wrapper {
    width: 100%;
    height: auto;
  }
  .cards-hero-img {
    width: 100%;
    height: auto;
  }
  .cards-hero-content {
    top: 50%;
    max-width: 92%;
    padding: 0 12px;
  }
  .cards-hero-helm-badge {
    width: clamp(70px, 14vw, 110px);
  }
  .cards-hero-title {
    white-space: normal;
  }
  .cards-hero-desc br {
    display: none;
  }
  .cards-section .section-container {
    padding-top: 0;
    padding-bottom: 16px;
  }
}

/* ============================================================
   NAUTICAL SEGMENTED COMMAND DOCK (FLOATING ON HERO BOTTOM RIM)
   ============================================================ */
.cards-command-dock-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  margin-top: 0;
  transform: translateY(-50%);
  margin-bottom: -10px;
}

.cards-capsule-command-dock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 8px 10px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 55%, #E0F2FE 100%);
  border: 2.75px solid #38BDF8;
  border-radius: 9999px;
  box-shadow: 0 14px 36px rgba(2, 132, 199, 0.18), 0 2px 6px rgba(0, 0, 0, 0.04), inset 0 2px 4px rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
  .cards-capsule-command-dock {
    border-radius: 24px;
    padding: 8px;
    width: 100%;
    max-width: 480px;
  }
}

/* 3. Pure Typography Segmented Filter Tabs */
.capsule-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.sx-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(186, 230, 253, 0.9);
  border-radius: 9999px;
  color: #0369A1;
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
}

.sx-tab-btn:hover {
  background: #FFFFFF;
  color: #0284C7;
  border-color: #38BDF8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.16);
}

.sx-tab-btn:active {
  transform: translateY(0);
}

.tab-text-label {
  letter-spacing: 0.3px;
}

/* Tab Count Badge */
.tab-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.06);
  color: #475569;
  transition: all 0.22s ease;
}

/* --- ACTIVE TAB VARIANTS (PURE VIBRANT GRADIENTS & SHADOWS) --- */
.sx-tab-btn.tab-all.active {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  border-color: #0284C7;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
  transform: translateY(-2px);
}

.sx-tab-btn.tab-all.active .tab-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.sx-tab-btn.tab-incoterm.active {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  border-color: #F59E0B;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.38);
  transform: translateY(-2px);
}

.sx-tab-btn.tab-incoterm.active .tab-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.sx-tab-btn.tab-cho.active {
  background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
  color: #FFFFFF;
  border-color: #0EA5E9;
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.35);
  transform: translateY(-2px);
}

.sx-tab-btn.tab-cho.active .tab-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.sx-tab-btn.tab-phuong-tien.active {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border-color: #10B981;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
}

.sx-tab-btn.tab-phuong-tien.active .tab-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.sx-tab-btn.tab-su-kien.active {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  border-color: #EF4444;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.35);
  transform: translateY(-2px);
}

.sx-tab-btn.tab-su-kien.active .tab-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}


/* ============================================================
   CATEGORIZED CARD SHELVES VIEW (HORIZONTAL CAROUSEL WITH 3D MASCOTS)
   ============================================================ */
.cards-shelves-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 16px;
}

.showcase-shelf {
  position: relative;
  width: 100%;
  aspect-ratio: 2172 / 724;
  border-radius: 36px;
  overflow: visible;
  box-shadow: 0 16px 40px rgba(2, 44, 92, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-shelf:hover {
  box-shadow: 0 22px 50px rgba(2, 44, 92, 0.12);
}

.shelf-backdrop-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  border-radius: 36px;
  pointer-events: none;
  z-index: 1;
}

.shelf-content-layer {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  padding: 22px 30px;
  box-sizing: border-box;
}

/* 1. Left Hero Stage */
.shelf-left-stage {
  width: 32%;
  min-width: 32%;
  max-width: 32%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  padding-right: 12px;
  box-sizing: border-box;
}

.shelf-header-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 5;
  margin-top: 4px;
}

.shelf-eyebrow {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.shelf-main-title {
  font-family: 'Montserrat', 'Outfit', sans-serif !important;
  font-size: clamp(1.65rem, 2.3vw, 2.2rem) !important;
  font-weight: 900 !important;
  line-height: 1.15;
  margin: 0 0 6px 0 !important;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

.shelf-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.76rem, 0.9vw, 0.86rem);
  font-weight: 600;
  color: #475569;
  line-height: 1.38;
  margin: 0;
  max-width: 290px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Category-specific Colors */
.shelf-phuong-tien {
  --shelf-dot-active: #059669;
}
.shelf-phuong-tien .shelf-eyebrow { color: #059669; }
.shelf-phuong-tien .shelf-main-title { color: #064E3B !important; }

.shelf-cho {
  --shelf-dot-active: #0284C7;
}
.shelf-cho .shelf-eyebrow { color: #0284C7; }
.shelf-cho .shelf-main-title { color: #0C4A6E !important; }

.shelf-incoterm {
  --shelf-dot-active: #D97706;
}
.shelf-incoterm .shelf-eyebrow { color: #D97706; }
.shelf-incoterm .shelf-main-title { color: #78350F !important; }

.shelf-su-kien {
  --shelf-dot-active: #E11D48;
}
.shelf-su-kien .shelf-eyebrow { color: #E11D48; }
.shelf-su-kien .shelf-main-title { color: #881337 !important; }

.shelf-mascot-container {
  position: absolute;
  bottom: -22px;
  left: 0;
  width: 72%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  z-index: 6;
  pointer-events: none;
}

/* Khối 1: Thẻ Phương Tiện - Dời sang phải 20px (68px), xuống 10px (-60px), tăng 10% (max 374px) */
.shelf-phuong-tien .shelf-mascot-container {
  width: 96%;
  max-width: 374px;
  bottom: -60px;
  left: 68px;
}
.shelf-phuong-tien .shelf-subtitle {
  max-width: 230px;
}

/* Khối 2: Thẻ Chợ - Dời sang phải 40px (50px), tăng 15% (max 350px) */
.shelf-cho .shelf-mascot-container {
  width: 96%;
  max-width: 350px;
  bottom: -38px;
  left: 50px;
}

/* Khối 3: Thẻ Incoterm - Dời sang phải 10px (115px) */
.shelf-incoterm .shelf-mascot-container {
  width: 84%;
  max-width: 300px;
  bottom: -36px;
  left: 115px;
}

/* Khối 4: Thẻ Sự Kiện - Lên trên 10px (-32px) */
.shelf-su-kien .shelf-mascot-container {
  width: 88%;
  max-width: 315px;
  bottom: -32px;
  left: 80px;
}

.shelf-chibi-mascot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(2, 44, 92, 0.2));
  animation: nautical-float 3.5s ease-in-out infinite alternate;
}

/* 2. Right Carousel Stage */
.shelf-right-stage {
  width: 68%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 12px 10px 8px;
  z-index: 5;
  box-sizing: border-box;
  overflow: visible;
}

.shelf-cards-track-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  box-sizing: border-box;
  padding: 0 24px;
  overflow: visible;
}

.shelf-cards-track {
  display: flex;
  gap: 18px;
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px;
  padding: 26px 20px 24px 20px;
  align-items: flex-end;
  justify-content: flex-start;
}

.shelf-cards-track::-webkit-scrollbar {
  display: none;
}

/* Tabbed Card Item */
.tabbed-card-item {
  flex: 0 0 128px;
  width: 128px;
  min-width: 128px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  user-select: none;
  overflow: visible;
}

.tabbed-card-item:first-child {
  margin-left: 10px;
}

.tabbed-card-item:hover {
  transform: translateY(-8px) scale(1.04);
}

.tabbed-card-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 828 / 1280;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Backplate with colored tab: PHÓNG TO BACK LAYER LÊN 1 CHÚT (10%), GIỮ NGUYÊN KÍCH THƯỚC THẺ BÀI TRẮNG */
.card-tab-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.12));
  transform: scale(1.1);
  transform-origin: center center;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.tabbed-card-item:hover .card-tab-backdrop {
  filter: drop-shadow(0 14px 24px rgba(2, 132, 199, 0.3));
  transform: scale(1.14);
}

/* Inner white plate for card artwork: KÉO PHẦN HÌNH THẺ BÀI XUỐNG DƯỚI THÊM 10PX */
.card-inner-plate {
  position: relative;
  z-index: 2;
  width: 84%;
  height: 78%;
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  margin-top: 28px;
  box-sizing: border-box;
}

.card-front-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.32s ease;
}

.tabbed-card-item:hover .card-front-thumb {
  transform: scale(1.06);
}

.tabbed-card-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  color: #07265C;
  margin-top: 8px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

/* Arrow Nav Buttons */
.shelf-arrow-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid rgba(186, 230, 253, 0.9);
  color: #0284C7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(2, 44, 92, 0.16);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.shelf-arrow-nav:hover {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
  transform: translateY(-50%) scale(1.1);
}

.shelf-arrow-nav.arrow-prev {
  left: -4px;
}

.shelf-arrow-nav.arrow-next {
  right: -4px;
}

.shelf-arrow-nav.is-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  display: none !important;
}

/* Pagination Dots */
.shelf-dots-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
  z-index: 6;
}

.shelf-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.16);
  transition: all 0.25s ease;
  cursor: pointer;
}

.shelf-dot.active {
  width: 9px;
  height: 9px;
  background: var(--shelf-dot-active, #0284C7);
  box-shadow: 0 0 6px var(--shelf-dot-active, #0284C7);
}

/* Signature Watermark at the bottom of shelves */
.cards-shelves-signature {
  text-align: center;
  margin: 8px 0 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Caveat', cursive, sans-serif;
  color: #537996;
  user-select: none;
}

.signature-line-1 {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.signature-line-2 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 1024px) {
  .showcase-shelf {
    aspect-ratio: auto;
    min-height: 320px;
  }
  .tabbed-card-item {
    width: 105px;
    min-width: 105px;
  }
}

@media (max-width: 768px) {
  .showcase-shelf {
    aspect-ratio: auto;
    border-radius: 24px;
  }
  .shelf-content-layer {
    flex-direction: column;
    padding: 18px;
  }
  .shelf-left-stage {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 16px;
  }
  .shelf-mascot-container {
    position: relative;
    bottom: 0;
    width: 140px;
    margin: 8px auto 0;
  }
  .shelf-right-stage {
    width: 100%;
    padding: 0;
  }
  .shelf-cards-track {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
  }
  .shelf-arrow-nav {
    display: none;
  }
}

/* Cards Grid Wrapper & Header in Detailed Category View */
.cards-grid-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.cards-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.92) 100%);
  border: 2px solid #BAE6FD;
  border-radius: 22px;
  padding: 16px 24px;
  box-shadow: 0 8px 24px rgba(2, 44, 92, 0.06);
}

.cards-grid-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cards-grid-mascot-thumb {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(2, 44, 92, 0.16));
}

.cards-grid-title-text {
  font-family: 'Outfit', 'Montserrat', sans-serif !important;
  font-size: 1.32rem !important;
  font-weight: 800 !important;
  color: #07265C !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cards-grid-count-chip {
  font-size: 0.76rem;
  font-weight: 800;
  color: #0284C7;
  background: rgba(2, 132, 199, 0.1);
  padding: 2px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.cards-grid-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.84rem;
  color: #64748B;
  margin: 2px 0 0 0;
}

.cards-grid-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1.75px solid #38BDF8;
  color: #0284C7;
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
  outline: none;
}

.cards-grid-back-btn:hover {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
  transform: translateX(-3px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.28);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  padding: 10px 0 40px;
}

.loading-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ============================================================
   NAUTICAL BOARDGAME CARD ITEM (SHOWCASE STAGE & SPECS ANATOMY)
   ============================================================ */
.card-item {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%);
  border: 2px solid #38BDF8;
  border-radius: 28px;
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.35s ease, 
              border-color 0.3s ease;
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.14), 0 2px 6px rgba(0, 0, 0, 0.04), inset 0 2px 4px rgba(255, 255, 255, 0.9);
  perspective: 1000px;
  user-select: none;
}

.card-item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #0284C7;
  box-shadow: 0 20px 48px rgba(2, 132, 199, 0.28), 0 0 0 3px rgba(56, 189, 248, 0.35);
}

/* Top 3D Visual Stage */
.card-img-container {
  aspect-ratio: 1 / 1.18;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 35%, #FFFFFF 0%, #E0F2FE 60%, #BAE6FD 100%);
  border: 1.5px solid rgba(186, 230, 253, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.95), 0 4px 14px rgba(2, 132, 199, 0.08);
  padding: 10px;
}

.card-img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(3, 105, 161, 0.22));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.card-item:hover .card-img {
  transform: scale(1.06) rotate(-1deg);
  filter: drop-shadow(0 14px 28px rgba(3, 105, 161, 0.32));
}

/* Bottom Meta & Info Area */
.card-info {
  margin-top: 14px;
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.card-type {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

.card-type.type-incoterm {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

.card-type.type-cho {
  background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);
}

.card-type.type-phuong-tien {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.card-type.type-su-kien {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
}

.card-anchor-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #BAE6FD;
  color: #0284C7;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card-item:hover .card-anchor-badge {
  transform: rotate(15deg) scale(1.08);
  border-color: #38BDF8;
}

.card-title {
  font-family: 'Outfit', 'Montserrat', sans-serif !important;
  font-size: 1.22rem !important;
  font-weight: 800 !important;
  color: #07265C !important;
  line-height: 1.25;
  margin: 0 0 6px 0;
  letter-spacing: -0.2px;
}

.card-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* ============================================================
   GAMEPLAY PAGE (CÁCH CHƠI) — REDESIGNED
   ============================================================ */

/* ── PAGE WRAPPER ── */
.gp-page {
  background: url('assets/bg-gameplay.png') no-repeat center top / cover fixed, #FAFCFF;
  min-height: 100vh;
  font-family: var(--font-body);
}

/* ── HERO HEADER ── */
.gp-hero {
  background: transparent;
  text-align: center;
  padding: 60px 24px 0;
  border-bottom: 1px solid rgba(226, 238, 248, 0.6);
}

.gp-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.gp-hero-divider {
  width: 60px;
  height: 3px;
  background: #F59E0B;
  margin: 0 auto 20px;
  border-radius: 2px;
}

.gp-hero-sub {
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ── TAB NAVIGATION ── */
.gp-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  background: #F1F5F9;
  border-radius: 12px 12px 0 0;
  padding: 6px;
  max-width: 720px;
  margin: 0 auto;
}

.gp-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  white-space: nowrap;
}

.gp-tab svg {
  flex-shrink: 0;
}

.gp-tab:hover {
  background: rgba(255, 255, 255, 0.8);
  color: #0369A1;
}

.gp-tab.active {
  background: #F97316;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.35);
}

/* ── QUICK STATS BAR ── */
.gp-stats-bar {
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 238, 248, 0.8);
  border-radius: 12px;
  margin: 24px auto;
  max-width: 1100px;
  padding: 0 16px;
  gap: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.08);
}

.gp-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  padding: 24px 20px;
  border-right: 1px solid #E2EEF8;
}

.gp-stat:last-child {
  border-right: none;
}

.gp-stat-icon {
  color: #0EA5E9;
  flex-shrink: 0;
}

.gp-goal-icon {
  color: #F59E0B;
}

.gp-stat-goal {
  flex: 1.6;
}

.gp-stat-text {
  display: flex;
  flex-direction: column;
}

.gp-stat-text strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
}

.gp-stat-text span {
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.4;
  margin-top: 2px;
}

/* ── MAIN CONTENT WRAPPER ── */
.gp-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── SECTION BLOCKS ── */
.gp-section-block {
  padding: 40px 0 50px;
  border-bottom: 1px solid rgba(226, 238, 248, 0.6);
}

.gp-section-block:last-child {
  border-bottom: none;
}

.gp-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.gp-section-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F97316;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: 0 3px 10px rgba(249, 115, 22, 0.3);
}

.gp-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.gp-section-intro {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

/* ── ACTIONS GRID (3 cards) ── */
.gp-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gp-action-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 238, 248, 0.8);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px rgba(14, 165, 233, 0.06);
}

.gp-action-card:hover {
  border-color: #BAE6FD;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.14);
  transform: translateY(-3px);
}

.gp-action-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.gp-action-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #F97316;
  line-height: 1;
  font-family: var(--font-display);
}

.gp-action-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
}

.gp-action-icon-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  margin-bottom: 16px;
  background: rgba(248, 251, 255, 0.8);
  border-radius: 8px;
  border: 1px solid #E0F2FE;
}

.gp-action-icon-wrap svg {
  width: 80px;
  height: auto;
}

.gp-action-desc {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.65;
}

/* ── FLOW GRID (4 steps with arrows) ── */
.gp-flow-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
}

.gp-flow-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 238, 248, 0.8);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.2s ease;
  min-width: 180px;
}

.gp-flow-card:hover {
  border-color: #BAE6FD;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.1);
}

.gp-flow-badge {
  display: inline-block;
  background: #F97316;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.gp-flow-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.gp-flow-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 10px;
}

.gp-flow-desc {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.6;
}

.gp-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #0EA5E9;
  padding: 0 6px;
  flex-shrink: 0;
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {

  0%,
  100% {
    transform: translateX(0);
    opacity: 0.6;
  }

  50% {
    transform: translateX(4px);
    opacity: 1;
  }
}

.gp-flow-card:hover .gp-flow-icon svg {
  transform: scale(1.08);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gp-action-card:hover .gp-action-icon-wrap {
  background: #E0F2FE;
  border-color: #38BDF8;
  transition: all 0.25s ease;
}

/* ── INCOTERMS GRID (2×2 cards) ── */
.gp-incoterm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.gp-inc-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px 24px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gp-inc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.12);
}

.gp-inc-e {
  border-color: #BAE6FD;
  background: #F0F9FF;
}

.gp-inc-f {
  border-color: #BBF7D0;
  background: #F0FDF4;
}

.gp-inc-c {
  border-color: #FDE68A;
  background: #FFFBEB;
}

.gp-inc-d {
  border-color: #FECACA;
  background: #FFF5F5;
}

.gp-inc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.gp-inc-icon {
  flex-shrink: 0;
}

.gp-inc-e .gp-inc-icon {
  color: #0284C7;
}

.gp-inc-f .gp-inc-icon {
  color: #059669;
}

.gp-inc-c .gp-inc-icon {
  color: #D97706;
}

.gp-inc-d .gp-inc-icon {
  color: #DC2626;
}

.gp-inc-group-label {
  font-weight: 700;
  font-size: 0.92rem;
  color: #0F172A;
  line-height: 1.3;
}

.gp-inc-intro {
  font-size: 0.82rem;
  color: #475569;
  margin-bottom: 12px;
  font-style: italic;
  line-height: 1.5;
}

.gp-inc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gp-inc-list li {
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}

.gp-inc-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #94A3B8;
}

/* ── NOTE BOX ── */
.gp-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 10px;
  padding: 18px 22px;
}

.gp-note svg {
  color: #D97706;
  flex-shrink: 0;
  margin-top: 2px;
}

.gp-note strong {
  display: block;
  font-size: 0.9rem;
  color: #92400E;
  margin-bottom: 6px;
}

.gp-note p {
  font-size: 0.82rem;
  color: #78350F;
  line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .gp-stats-bar {
    flex-wrap: wrap;
    gap: 0;
  }

  .gp-stat {
    flex: 1 1 45%;
    border-bottom: 1px solid #E2EEF8;
  }

  .gp-stat:nth-child(even) {
    border-right: none;
  }

  .gp-actions-grid {
    grid-template-columns: 1fr;
  }

  .gp-incoterm-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .gp-flow-grid {
    flex-direction: column;
    gap: 12px;
  }

  .gp-flow-arrow {
    transform: rotate(90deg);
  }

  .gp-tabs {
    flex-direction: column;
    border-radius: 12px;
  }

  .gp-stat {
    flex: 1 1 100%;
    border-right: none;
  }
}



/* CTA BANNER SECTION */
.cta-section {
  background: linear-gradient(rgba(7, 26, 48, 0.88), rgba(13, 46, 84, 0.92)), url('assets/anh-bia-2.jpg');
  background-size: cover;
  background-position: center;
  border-top: 1px solid var(--color-ocean);
  border-bottom: 1px solid var(--color-ocean);
}

.cta-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 100px 24px;
}

.cta-content h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .cta-content h2 {
    font-size: 3.5rem;
  }
}

.cta-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 35px;
}

/* FOOTER STYLES LOCATED AT END OF FILE */

/* CARD DETAILS MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(7, 26, 48, 0.96);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 850px;
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 2.25rem;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.modal-close:hover {
  color: var(--accent);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr;
  padding: 40px 24px;
  gap: 30px;
}

@media (min-width: 768px) {
  .modal-body {
    grid-template-columns: 1.1fr 1.5fr;
    padding: 50px;
    gap: 40px;
  }
}

.modal-card-view {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-card-frame {
  max-width: 280px;
  width: 100%;
  aspect-ratio: 5 / 7;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--accent);
  padding: 8px;
  background-color: var(--bg-primary);
  box-shadow: 0 0 25px var(--accent-glow);
}

.modal-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
}

.modal-card-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-card-type {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.modal-card-title {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.modal-card-effect {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.modal-card-strategy h3 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 8px;
}

.modal-card-strategy p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* NEW RULES SECTION STYLES */
.rules-block {
  margin-top: 140px;
}

.rules-subtitle {
  font-size: 1.5rem;
  color: var(--accent);
  margin: 40px 0 15px;
  text-align: left;
  border-left: 3px solid var(--accent);
  padding-left: 15px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rules-desc-intro {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 0.9375rem;
}

.flow-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 50px;
}

@media (min-width: 576px) {
  .flow-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .flow-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.flow-step {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px 20px;
  position: relative;
  transition: all var(--transition-fast);
}

.flow-step:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.flow-num {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.flow-step h4 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.flow-step p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.incoterms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .incoterms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.incoterm-group-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  position: relative;
  transition: all var(--transition-fast);
}

.incoterm-group-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.incoterm-group-card h4 {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.group-intro {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-style: italic;
  line-height: 1.4;
}

.group-list {
  list-style: none;
}

.group-list li {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  position: relative;
  padding-left: 18px;
}

.group-list li strong {
  color: var(--text-primary);
}

.group-list li::before {
  content: "⚓";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.75rem;
  color: var(--accent);
}

/* VIRTUAL VIEWS LAYOUT */
.view-section {
  display: none;
}

.view-section.active {
  display: block;
}

/* ALTERNATING FEATURE SECTIONS */
.feature-section {
  padding: 80px 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.feature-section.alt-bg {
  background-color: var(--bg-secondary);
}

.feature-row {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.feature-col-img {
  width: 100%;
  flex: 1;
}

.feature-col-text {
  width: 100%;
  flex: 1.2;
}

@media (min-width: 992px) {
  .feature-row {
    flex-direction: row;
    gap: 80px;
  }

  .feature-row.row-reverse {
    flex-direction: row-reverse;
  }
}

.feature-title {
  font-size: 2.2rem;
  line-height: 1.15;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  flex-direction: column;
}

.feature-title .sub-title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 10px;
}

.feature-line {
  width: 80px;
  height: 2px;
  background-color: var(--accent);
  margin: 20px 0 25px;
  box-shadow: 0 0 8px var(--accent-glow);
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

/* HERO SECTION UPDATES (For Full Image Banner) */
.hero-subtext {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 35px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

@media (min-width: 768px) {
  .hero-subtext {
    font-size: 2rem;
  }
}

/* CTA LAYOUT WITH MOCKUP */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.cta-img-area {
  display: flex;
  justify-content: center;
}

.cta-mockup-img {
  max-width: 320px;
  width: 100%;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg), 0 20px 40px rgba(0, 0, 0, 0.7);
  transition: transform var(--transition-slow);
}

.cta-mockup-img:hover {
  transform: scale(1.05) rotate(2deg);
}

.cta-text-area {
  text-align: center;
}

@media (min-width: 768px) {
  .cta-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
  }

  .cta-text-area {
    text-align: left;
  }
}

/* HOME FEATURES GRID */
.features-grid-section {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.home-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

@media (min-width: 576px) {
  .home-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .home-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-feature-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 35px 25px;
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.home-feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
  margin: 6px;
  pointer-events: none;
  opacity: 0.1;
  border-radius: calc(var(--border-radius-md) - 4px);
  transition: var(--transition-fast);
}

.home-feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg), var(--card-glow);
}

.home-feature-card:hover::before {
  opacity: 0.4;
}

.h-card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
  line-height: 1;
  transition: transform var(--transition-normal);
}

.home-feature-card:hover .h-card-icon {
  transform: scale(1.15) rotate(5deg);
}

.home-feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.home-feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   ABOUT REDESIGN — VỀ LOGISQUEST (BOARDGAME BRIGHT & EDITORIAL)
   ============================================================ */
#aboutView {
  background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 30%, #F0F7FF 70%, #E0F2FE 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.about-redesign {
  position: relative;
  padding: 80px 24px 100px 24px;
  background: 
    radial-gradient(circle at 85% 12%, rgba(56, 189, 248, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 12% 80%, rgba(245, 158, 11, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.05) 0%, transparent 65%);
}

/* ATMOSPHERE CLOUDS & WAVES */
.about-atmosphere {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.about-cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 100px;
  filter: blur(12px);
  pointer-events: none;
}

.about-cloud-1 {
  width: 320px;
  height: 90px;
  top: 60px;
  left: -80px;
  animation: floatCloud1 35s linear infinite;
}

.about-cloud-2 {
  width: 260px;
  height: 70px;
  top: 380px;
  right: -60px;
  animation: floatCloud2 42s linear infinite reverse;
}

.about-cloud-3 {
  width: 380px;
  height: 110px;
  bottom: 200px;
  left: 15%;
  animation: floatCloud1 50s linear infinite 5s;
}

@keyframes floatCloud1 {
  0% { transform: translateX(-100px); }
  50% { transform: translateX(calc(100vw + 100px)); }
  50.01% { transform: translateX(calc(-100vw - 100px)); }
  100% { transform: translateX(-100px); }
}

@keyframes floatCloud2 {
  0% { transform: translateX(100px); }
  50% { transform: translateX(calc(-100vw - 100px)); }
  50.01% { transform: translateX(calc(100vw + 100px)); }
  100% { transform: translateX(100px); }
}

/* CONTAINER */
.about-container {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ========== HEADER EDITORIAL LUX ========== */
.about-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 70px auto;
}

.about-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
  border: 2px solid #38BDF8;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0369A1;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.2);
  margin-bottom: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-pill-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.3);
}

.about-lux-heading {
  font-family: 'Bangers', 'Outfit', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: 1px;
  color: #0F172A;
  margin: 10px 0 14px 0;
  text-shadow: 0 4px 0 rgba(14, 165, 233, 0.12);
}

.about-heading-accent {
  background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 40%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.about-accent-bar {
  width: 90px;
  height: 6px;
  background: linear-gradient(90deg, #0EA5E9 0%, #F59E0B 100%);
  border-radius: 999px;
  margin: 16px auto 22px auto;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.about-lux-desc {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: 1.125rem;
  line-height: 1.75;
  color: #475569;
  max-width: 660px;
  margin: 0 auto;
}

/* ========== FEATURE ROWS (2 COLUMNS ASYMMETRIC) ========== */
.about-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 90px;
}

.about-feature-row-reverse {
  grid-template-columns: 1fr 1fr;
}

.about-col-text {
  padding: 10px 0;
}

.about-feature-heading {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  line-height: 1.25;
  color: #0F172A;
  margin-bottom: 14px;
}

.about-heading-accent-sm {
  background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.about-accent-bar-sm {
  width: 54px;
  height: 4px;
  background: linear-gradient(90deg, #0EA5E9 0%, #F59E0B 100%);
  border-radius: 999px;
  margin-bottom: 22px;
}

.about-feature-desc {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 16px;
}

.about-feature-desc strong {
  color: #0369A1;
  font-weight: 700;
}

/* ========== POLAROID PHOTO STACK GALLERY (ANTI-BLOCK WEB) ========== */
.about-col-photos {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-photo-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 380px;
}

.about-photo-stack img {
  position: absolute;
  border: 8px solid #FFFFFF;
  border-bottom: 24px solid #FFFFFF;
  border-radius: 10px;
  background: #FFFFFF;
  object-fit: cover;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14), 0 4px 10px rgba(14, 165, 233, 0.1);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.45s ease, z-index 0.1s ease;
  cursor: pointer;
}

/* Row 1 Positioning */
.about-feature-row:not(.about-feature-row-reverse) .about-photo-main {
  width: 72%;
  height: 250px;
  top: 10px;
  left: 8%;
  z-index: 2;
  transform: rotate(-3deg);
}

.about-feature-row:not(.about-feature-row-reverse) .about-photo-sub-1 {
  width: 52%;
  height: 180px;
  bottom: 10px;
  right: 4%;
  z-index: 3;
  transform: rotate(5deg);
}

.about-feature-row:not(.about-feature-row-reverse) .about-photo-sub-2 {
  width: 46%;
  height: 160px;
  bottom: 0px;
  left: 0%;
  z-index: 4;
  transform: rotate(-6deg);
}

/* Row 2 (Reverse) Positioning */
.about-feature-row-reverse .about-photo-main {
  width: 72%;
  height: 250px;
  top: 10px;
  right: 8%;
  z-index: 2;
  transform: rotate(3.5deg);
}

.about-feature-row-reverse .about-photo-sub-1 {
  width: 52%;
  height: 180px;
  bottom: 10px;
  left: 4%;
  z-index: 3;
  transform: rotate(-4.5deg);
}

.about-feature-row-reverse .about-photo-sub-2 {
  width: 46%;
  height: 160px;
  bottom: 0px;
  right: 0%;
  z-index: 4;
  transform: rotate(6deg);
}

/* Interactive Hover Lift on Polaroids */
.about-photo-stack img:hover {
  transform: translateY(-14px) scale(1.08) rotate(0deg) !important;
  z-index: 10 !important;
  box-shadow: 0 24px 50px rgba(14, 165, 233, 0.28), 0 8px 24px rgba(15, 23, 42, 0.16) !important;
}

/* ========== TOP 5 THẺ BÀI CHIẾN LƯỢC (FAN-OUT SHOWCASE) ========== */
.about-spotlight-section {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.94) 100%);
  border: 2px solid #BAE6FD;
  border-radius: 28px;
  padding: 54px 36px 48px 36px;
  box-shadow: 0 24px 60px rgba(14, 165, 233, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  margin-top: 40px;
  overflow: hidden;
}

.about-spotlight-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #0EA5E9 0%, #F59E0B 25%, #10B981 50%, #8B5CF6 75%, #0EA5E9 100%);
}

.about-spotlight-title {
  font-family: 'Bangers', 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  color: #0F172A;
  margin-top: 10px;
  margin-bottom: 6px;
  letter-spacing: 1px;
  text-shadow: 0 4px 0 rgba(14, 165, 233, 0.12);
}

/* FAN-OUT CARDS CONTAINER (ARC LAYOUT) */
.about-fan-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 45px 10px 45px 10px;
  perspective: 1200px;
  min-height: 400px;
  position: relative;
}

.about-fan-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: 960px;
  position: relative;
}

/* INDIVIDUAL FAN CARD */
.about-fan-card {
  width: clamp(140px, 16vw, 190px);
  aspect-ratio: 5 / 7;
  margin: 0 -22px;
  cursor: pointer;
  transform-origin: bottom center;
  position: relative;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), z-index 0.1s ease;
  user-select: none;
  outline: none;
}

.about-fan-card-inner {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid #FFFFFF;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(14, 165, 233, 0.12);
  position: relative;
  background: #0F172A;
  transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.about-fan-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 11px;
}

.about-fan-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 11px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  box-shadow: inset 0 0 20px rgba(56, 189, 248, 0.6);
}

/* Card Badge beneath */
.about-fan-card-badge {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #0369A1;
  border: 1.5px solid #BAE6FD;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
  transition: all 0.35s ease;
  pointer-events: none;
}

.center-badge {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  color: #B45309;
  border-color: #F59E0B;
}

/* Fan Arc Rotations & Offsets */
.about-fan-card-1 {
  transform: rotate(-14deg) translateY(24px);
  z-index: 1;
}

.about-fan-card-2 {
  transform: rotate(-7deg) translateY(10px);
  z-index: 2;
}

.about-fan-card-3 {
  transform: rotate(0deg) translateY(-8px) scale(1.08);
  z-index: 5;
}

.about-fan-card-4 {
  transform: rotate(7deg) translateY(10px);
  z-index: 2;
}

.about-fan-card-5 {
  transform: rotate(14deg) translateY(24px);
  z-index: 1;
}

/* Hover & Active States */
.about-fan-card:hover,
.about-fan-card.active {
  transform: translateY(-38px) scale(1.24) rotate(0deg) !important;
  z-index: 25 !important;
}

.about-fan-card:hover .about-fan-card-inner,
.about-fan-card.active .about-fan-card-inner {
  border-color: #38BDF8;
  box-shadow: 0 28px 65px rgba(14, 165, 233, 0.35), 0 0 35px rgba(56, 189, 248, 0.55);
}

.about-fan-card:hover .about-fan-card-glow,
.about-fan-card.active .about-fan-card-glow {
  opacity: 1;
}

.about-fan-card:hover .about-fan-card-badge,
.about-fan-card.active .about-fan-card-badge {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
  transform: translateX(-50%) translateY(-6px) scale(1.08);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
}

/* NARRATIVE LORE */
.about-spotlight-narrative {
  max-width: 880px;
  margin: 36px auto 26px auto;
}

.about-spotlight-desc {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: 1.08rem;
  line-height: 1.85;
  color: #334155;
}

.spotlight-highlight-blue {
  color: #0284C7;
  font-weight: 800;
}

.spotlight-highlight-gold {
  color: #D97706;
  font-weight: 800;
}

.spotlight-highlight-cyan {
  color: #0891B2;
  font-weight: 800;
}

.spotlight-highlight-purple {
  color: #7C3AED;
  font-weight: 800;
}

.spotlight-highlight-amber {
  color: #EA580C;
  font-weight: 800;
}

/* INTERACTIVE CARD DETAIL BOX */
.about-card-detail-box {
  background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FF 100%);
  border: 2px solid #BAE6FD;
  border-left: 6px solid #0EA5E9;
  border-radius: 18px;
  padding: 24px 30px;
  max-width: 840px;
  margin: 0 auto;
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.1);
  transition: all 0.35s ease;
}

.card-detail-pill {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0284C7;
  background: #E0F2FE;
  padding: 5px 14px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.card-detail-title {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  color: #0F172A;
  margin-bottom: 8px;
}

.card-detail-effect {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 12px;
}

.card-detail-tip {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #0369A1;
  background: rgba(14, 165, 233, 0.08);
  padding: 10px 16px;
  border-radius: 10px;
}

/* SVG WAVE BOTTOM */
.about-wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
  z-index: 1;
}

.about-wave-bottom svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ========== FADE UP ANIMATIONS ========== */
.about-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .about-fan-card {
    width: 155px;
    margin: 0 -18px;
  }
}

@media (max-width: 840px) {
  .about-feature-row,
  .about-feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
  }

  .about-feature-row-reverse .about-col-text {
    order: 1;
  }
  .about-feature-row-reverse .about-col-photos {
    order: 2;
  }

  .about-photo-stack {
    max-width: 400px;
    height: 320px;
  }

  .about-feature-row:not(.about-feature-row-reverse) .about-photo-main,
  .about-feature-row-reverse .about-photo-main {
    height: 210px;
  }

  .about-feature-row:not(.about-feature-row-reverse) .about-photo-sub-1,
  .about-feature-row-reverse .about-photo-sub-1 {
    height: 150px;
  }

  .about-feature-row:not(.about-feature-row-reverse) .about-photo-sub-2,
  .about-feature-row-reverse .about-photo-sub-2 {
    height: 130px;
  }

  .about-spotlight-section {
    padding: 40px 20px 36px 20px;
  }

  .about-fan-wrapper {
    min-height: 340px;
    padding: 30px 5px 35px 5px;
  }

  .about-fan-card {
    width: 135px;
    margin: 0 -16px;
  }

  .about-fan-card-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
    bottom: -28px;
  }
}

@media (max-width: 580px) {
  .about-redesign {
    padding: 50px 16px 80px 16px;
  }

  .about-header {
    margin-bottom: 45px;
  }

  .about-photo-stack {
    max-width: 320px;
    height: 270px;
  }

  .about-feature-row:not(.about-feature-row-reverse) .about-photo-main,
  .about-feature-row-reverse .about-photo-main {
    height: 170px;
  }

  .about-feature-row:not(.about-feature-row-reverse) .about-photo-sub-1,
  .about-feature-row-reverse .about-photo-sub-1 {
    height: 120px;
  }

  .about-feature-row:not(.about-feature-row-reverse) .about-photo-sub-2,
  .about-feature-row-reverse .about-photo-sub-2 {
    height: 110px;
  }

  .about-spotlight-section {
    padding: 34px 14px 28px 14px;
    border-radius: 20px;
  }

  .about-fan-wrapper {
    min-height: 290px;
    padding: 25px 0 35px 0;
  }

  .about-fan-card {
    width: 95px;
    margin: 0 -10px;
  }

  .about-fan-card-badge {
    font-size: 0.62rem;
    padding: 3px 8px;
    bottom: -24px;
  }

  .about-card-detail-box {
    padding: 18px 16px;
  }

  .card-detail-title {
    font-size: 1.25rem;
  }
}

/* ========================================== */
/* CREATIVE TEAM SHOWCASE (MÔ HÌNH QUỶ CHIẾN) */
/* ========================================== */
#teamView {
  background: #0E0D0D;
  min-height: 100vh;
}

.team-showcase-section {
  padding-bottom: 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #F0F9FF 25%, #E0F2FE 60%, #F8FAFC 100%);
}

/* 1. Full Hero Banner */
.team-full-hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
}

.team-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.92) contrast(1.04);
}

/* Overlay chỉ phủ phía dưới - trượt vào từ dưới */
@keyframes overlaySlideIn {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes titleFadeUp {
  from {
    transform: translateY(28px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes subFadeUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.team-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to top,
      rgba(2, 32, 71, 0.92) 0%,
      rgba(2, 32, 71, 0.6) 45%,
      rgba(2, 32, 71, 0.0) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 30px 52px;
  text-align: center;
  color: #FFFFFF;
  /* Default: ẩn sẵn ở dưới */
  transform: translateY(100%);
  opacity: 0;
}

/* Ẩn mặc định khi không active */
#teamView:not(.active) .team-banner-overlay {
  animation: none;
  transform: translateY(100%);
  opacity: 0;
}

#teamView.active .team-banner-overlay {
  animation: overlaySlideIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.team-banner-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

#teamView:not(.active) .team-banner-title,
#teamView:not(.active) .team-banner-sub {
  opacity: 0;
  transform: translateY(28px);
}

#teamView.active .team-banner-title {
  animation: titleFadeUp 0.6s ease forwards;
  animation-delay: 0.55s;
  opacity: 0;
}

#teamView.active .team-banner-sub {
  animation: subFadeUp 0.6s ease forwards;
  animation-delay: 0.85s;
  opacity: 0;
}

.team-banner-title {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
  margin: 0;
}

.team-banner-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  max-width: 720px;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  margin: 0;
}


/* Main Content Container */
.team-content-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 25px;
}

.team-section-heading {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 900;
  color: #0C2340;
  letter-spacing: 1px;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
}

.team-section-heading::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, #0284C7 0%, #F59E0B 100%);
  margin: 12px auto 0;
  border-radius: 4px;
}

/* 2. Intro Section */
.team-about-intro {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 48px 44px;
  margin: 50px 0 60px;
  box-shadow: 0 16px 40px rgba(2, 44, 92, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
  border: 1.5px solid rgba(2, 132, 199, 0.2);
}

.team-intro-lead {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #0284C7;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.team-intro-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #334155;
  margin-bottom: 18px;
}

.team-intro-highlight {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #0369A1;
  background: linear-gradient(135deg, #E0F2FE 0%, #F0FDF4 100%);
  border-left: 4px solid #0284C7;
  padding: 14px 22px;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.06);
}

/* Vision & Mission Section */
.team-vision-mission-wrapper {
  margin-bottom: 75px;
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.vm-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 38px 32px;
  border: 1.5px solid rgba(2, 132, 199, 0.18);
  box-shadow: 0 14px 36px rgba(2, 44, 92, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.vm-card:hover {
  transform: translateY(-6px);
  border-color: #0284C7;
  box-shadow: 0 20px 48px rgba(2, 132, 199, 0.14);
}

.vm-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #E0F2FE;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vm-title {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0C2340;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.vm-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.98rem;
  line-height: 1.75;
  color: #475569;
}

/* 3. Fullscreen Editorial Split Curtain Reveal (Tách Đôi Màn Hình Sang 2 Bên) */
.team-members-split-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: 0;
  margin-bottom: 0;
  background: #081B33;
  overflow: hidden;
}

.split-members-list {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Thẻ thành viên Fullscreen 100vw x 100vh */
.editorial-member-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  background: #081B33;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  user-select: none;
}

/* Card active đang hiển thị */
.editorial-member-card.active {
  z-index: 10;
  opacity: 1;
  pointer-events: auto;
}

/* Nửa bên trái & Nửa bên phải: có hiệu ứng trượt tách đôi (Curtain Reveal) */
.editorial-left-col,
.editorial-right-col {
  height: 100%;
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.85s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform, opacity;
}

.editorial-left-col {
  flex: 0 0 50%;
  width: 50%;
  position: relative;
  overflow: hidden;
  background: #051326;
  transform: translateX(0);
}

.editorial-right-col {
  flex: 0 0 50%;
  width: 50%;
  background: linear-gradient(135deg, #0F2C59 0%, #091D38 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 50px;
  text-align: center;
  border-left: 1.5px solid rgba(56, 189, 248, 0.2);
  transform: translateX(0);
}

/* KHI TÁCH ĐÔI SANG 2 BÊN (SPLITTING STATE) */
.editorial-member-card.splitting .editorial-left-col {
  transform: translateX(-100%);
  opacity: 0;
}

.editorial-member-card.splitting .editorial-right-col {
  transform: translateX(100%);
  opacity: 0;
}

.editorial-bw-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(100%) contrast(1.1) brightness(0.9);
  transition: transform 0.8s ease;
}

.editorial-member-card:hover .editorial-bw-img {
  transform: scale(1.04);
}

.editorial-name-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(5, 19, 38, 0.92) 0%,
      rgba(5, 19, 38, 0.4) 45%,
      transparent 80%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 60px 40px;
}

.editorial-display-name {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.9);
  margin: 0;
  line-height: 1.15;
}

.editorial-color-frame {
  width: 260px;
  height: 320px;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 24px rgba(2, 132, 199, 0.35);
  border: 3px solid rgba(56, 189, 248, 0.4);
  background: #0C2340;
}

.editorial-color-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.editorial-member-card:hover .editorial-color-img {
  transform: scale(1.05);
}

.editorial-info-content {
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.editorial-role-title {
  display: inline-block;
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: #38BDF8;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(14, 165, 233, 0.12) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  padding: 8px 22px;
  border-radius: 999px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.editorial-bio-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  margin: 0;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Controls & Indicator Overlay */
.editorial-slider-controls {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.team-nav-capsule-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
}

.team-nav-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(2, 32, 71, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.team-nav-arrow:hover {
  background: #0284C7;
  border-color: #38BDF8;
  transform: scale(1.08);
}

.slider-progress-dots {
  display: flex;
  gap: 10px;
  pointer-events: auto;
}

.slider-progress-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-progress-dots .dot.active {
  background: linear-gradient(90deg, #38BDF8 0%, #0284C7 100%);
  width: 32px;
  border-radius: 10px;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.6);
}

.slider-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  animation: pulseHint 2s infinite;
}

.hint-arrow {
  font-size: 1rem;
}

@keyframes pulseHint {

  0%,
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }

  50% {
    opacity: 0.9;
    transform: translateY(4px);
  }
}

/* Responsive cho Mobile */
@media (max-width: 991px) {
  .editorial-member-card {
    flex-direction: column;
  }

  .editorial-left-col,
  .editorial-right-col {
    flex: 0 0 50%;
    width: 100%;
    height: 50%;
  }

  .editorial-member-card.splitting .editorial-left-col {
    transform: translateY(-100%);
  }

  .editorial-member-card.splitting .editorial-right-col {
    transform: translateY(100%);
  }

  .editorial-display-name {
    font-size: 2rem;
  }

  .editorial-color-frame {
    width: 160px;
    height: 190px;
    margin-bottom: 16px;
  }

  .editorial-role-title {
    font-size: 0.85rem;
    margin-bottom: 10px;
    padding: 6px 16px;
  }

  .editorial-bio-text {
    font-size: 0.85rem;
  }
}

/* Responsive adjustments */
@media (max-width: 991px) {

  .split-member-card,
  .split-member-card.reverse-row {
    flex-direction: column;
  }

  .member-photo-col {
    width: 100%;
    min-height: 280px;
  }

  .member-info-col {
    padding: 30px 25px;
  }
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.team-role {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 16px;
}

.team-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   NEW HOME PAGE — INSPIRED BY QUYCHIEN.COM AESTHETIC
   ============================================================ */

/* ---- HERO BANNER: FULL SCREEN COVER IMAGE BACKGROUND LAYER ---- */
.home-banner-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.home-banner-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.home-banner-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: none !important;
}

/* Scroll Reveal Curtain Overlay Effect (Dùng ảnh Card Visit) */
.hero-scroll-curtain {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 0%;
  background-color: #0b45a6;
  box-shadow: 0 0 35px rgba(11, 69, 166, 0.5);
  z-index: 20;
  pointer-events: none;
  overflow: hidden;
  will-change: width, height;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-curtain-card-img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  min-width: 100vw;
  min-height: 100vh;
}

/* Product Reveal Frame (Zoom rộng từ trung tâm, chừa lại 1 khoảng nhỏ ở 4 cạnh) */
.hero-product-reveal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.1);
  width: calc(100vw - 60px);
  height: calc(100vh - 60px);
  max-width: 1400px;
  max-height: 850px;
  z-index: 25;
  pointer-events: none;
  opacity: 0;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  will-change: transform, opacity;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--border-radius-lg);
}

/* Caption dòng chữ "Nhập cuộc ngay hôm nay" trong Giai đoạn 3 (SVG 3D Title) */
.hero-product-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 90%;
  max-width: 900px;
  z-index: 35;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

/* Dòng chữ Hải Trình Đã Mở ở chính giữa, góc dưới hình bìa toàn màn hình */
.home-banner-caption {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 92%;
  max-width: 1000px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  pointer-events: none;
}

/* ── CỤM CHỮ SVG 3D TITLE (GAME UI VECTOR RENDERING) ── */
.home-banner-title-svg-wrapper,
.hero-product-title-svg-wrapper {
  width: 100%;
  max-width: 828px;
  margin: 0 auto -18px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  user-select: none;
}

.game-title-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* ── SPORTY ADVENTURE 3D TYPOGRAPHY SYSTEM ── */

/* 7. Drop Shadow sâu và mềm (#07265C) */
.svg-text-shadow {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 78px;
  font-weight: 900;
  font-style: normal;
  fill: #07265C;
  stroke: #07265C;
  stroke-width: 11px;
  stroke-linejoin: round;
  stroke-linecap: round;
  letter-spacing: 1.5px;
}

/* 6. Khối 3D Extrude (Navy #0D3B8E đùn ra sau và chếch xuống vừa vặn) */
.svg-text-extrude {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 78px;
  font-weight: 900;
  font-style: normal;
  fill: #0D3B8E;
  stroke: #0D3B8E;
  stroke-width: 8px;
  stroke-linejoin: round;
  stroke-linecap: round;
  letter-spacing: 1.5px;
}

/* 5. Lớp Viền Xanh Đậm (Outer Dark Blue Stroke #0B337A) */
.svg-text-stroke-dark {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 78px;
  font-weight: 900;
  font-style: normal;
  fill: none;
  stroke: #0B337A;
  stroke-width: 7.5px;
  stroke-linejoin: round;
  stroke-linecap: round;
  letter-spacing: 1.5px;
}

/* 5. Lớp Viền Xanh Sáng (Cyan / Light Blue Inset Stroke #0096C7) */
.svg-text-stroke-light {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 78px;
  font-weight: 900;
  font-style: normal;
  fill: none;
  stroke: #0096C7;
  stroke-width: 3.5px;
  stroke-linejoin: round;
  stroke-linecap: round;
  letter-spacing: 1.5px;
}

/* 3. Mặt chữ trắng sáng (Gradient Face #FFFFFF -> #EAF4FF -> #CFE6FF) */
.svg-text-main-face {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 78px;
  font-weight: 900;
  font-style: normal;
  fill: url(#adventureFaceGrad);
  letter-spacing: 1.5px;
}

/* 4. Highlight: Vệt sáng mềm ở cạnh trên của chữ */
.svg-text-top-highlight {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 78px;
  font-weight: 900;
  font-style: normal;
  fill: url(#topHighlightGrad);
  letter-spacing: 1.5px;
}

/* Khung Ribbon vát 2 cạnh bên chéo từ trái sang phải (Skewed Parallelogram Badge) */
.home-banner-sub-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(90deg, #071E4B 0%, #0F387A 50%, #071E4B 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.7);
  border-radius: 4px;
  transform: skewX(-14deg);
  padding: 5px 28px;
  box-shadow: 0 6px 22px rgba(2, 20, 56, 0.75), 0 0 16px rgba(56, 189, 248, 0.35) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-top: 0px;
}

.home-banner-sub {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: clamp(0.855rem, 1.71vw, 1.125rem);
  font-weight: 600;
  font-style: normal;
  color: #FFFFFF;
  letter-spacing: 0.4px;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  transform: skewX(5deg);
}

.home-banner-sub em {
  font-style: normal;
  font-weight: 600;
  color: #FFFFFF;
}

.sub-capsule-arrow {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  color: #38BDF8;
  letter-spacing: -1px;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.9));
  user-select: none;
}

@media (max-width: 680px) {
  .home-banner-caption {
    bottom: 20px;
    width: 95%;
  }

  .home-banner-sub-capsule {
    padding: 4px 16px;
    gap: 8px;
  }

  .home-banner-sub {
    font-size: 0.82rem;
    white-space: normal;
  }

  .sub-capsule-arrow {
    font-size: 0.9rem;
  }
}



/* Loại bỏ hoàn toàn bóng mờ, blur frame và chỉ báo cuộn */
.home-hero-overlay,
.hero-overlay,
.home-hero-scroll,
.scroll-indicator {
  display: none !important;
}

@keyframes home-scroll-pulse {

  0%,
  100% {
    opacity: 0.7;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 0.4;
    transform: translateX(-50%) translateY(6px);
  }
}

/* ---- SHARED LABEL ---- */
.home-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ---- SHARED DIVIDER ---- */
.home-hr {
  width: 48px;
  height: 1px;
  background-color: var(--text-muted);
  margin: 20px 0;
}

/* ============================================================
   NEW HOME PAGE — INSPIRED BY QUYCHIEN.COM AESTHETIC
   ============================================================ */

#homeView {
  background: url('assets/bg-gameplay.png') no-repeat center top / cover fixed, #FAFCFF;
}

/* ---- QUY CHIẾN STYLE SECTION LAYOUT (FULL WIDTH SCREEN) ---- */
.home-quychien-section {
  min-height: auto;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(60px, 7vw, 95px) 24px;
  background: transparent;
}

.home-quychien-section.alt-bg {
  width: 100%;
  max-width: 100%;
  background: transparent;
  border-top: none;
  border-bottom: none;
}

.home-quychien-inner,
.home-quychien-top-header {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
}

/* Top Centered Header (Section 1) */
.home-quychien-top-header {
  margin-bottom: 40px;
}

.quychien-top-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--text-primary);
}

.quychien-top-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--text-secondary);
  margin-top: 6px;
}

/* Inner 2-column Grid */
.home-quychien-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

@media (min-width: 992px) {
  .home-quychien-inner {
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
  }

  .home-quychien-inner.reverse .home-quychien-img-col {
    order: 2;
  }

  .home-quychien-inner.reverse .home-quychien-text-col {
    order: 1;
  }
}

/* ── KHỐI 2: SHOWCASE BÀN CỜ CHIẾN THUẬT & NỘI DUNG LỐI CHƠI (THEO THIẾT KẾ THAM KHẢO) ── */
#block2-gameplay {
  padding: clamp(68px, 8vw, 105px) 24px clamp(35px, 4vw, 55px) 24px;
  min-height: clamp(640px, 80vh, 900px);
  position: relative;
  overflow: visible;
}

#block2-gameplay .home-quychien-inner {
  max-width: 1480px;
  position: relative;
  transform: translateX(15px);
}

@media (min-width: 992px) {
  #block2-gameplay .home-quychien-inner {
    grid-template-columns: 1fr 1.25fr;
    gap: 32px;
  }
}

#block2-gameplay .home-quychien-text-col {
  position: relative;
  z-index: 5;
  max-width: 680px;
  transform: translateX(20px);
}

#block2-gameplay .home-quychien-img-col {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

/* ── TIẾP GIÁP KHỐI 2 & 3: ĐƯỜNG HẢI TRÌNH CHỮ S VÀ LA BÀN HÀNG HẢI ── */
.nautical-route-transition {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: -25px auto -25px auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 6;
  overflow: visible;
}

.nautical-route-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.route-compass-marker {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #FFFFFF 0%, #E0F2FE 80%, #BAE6FD 100%);
  border: 1.5px solid #38BDF8;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25), 0 0 16px rgba(56, 189, 248, 0.35);
  animation: compassFloat 4s ease-in-out infinite alternate;
}

.route-compass-icon {
  font-size: 1.25rem;
  line-height: 1;
  animation: compassSpinSubtle 10s ease-in-out infinite alternate;
}

.route-compass-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(56, 189, 248, 0.6);
  animation: routePulse 3s ease-out infinite;
  pointer-events: none;
}

@keyframes compassFloat {
  0% { transform: translateY(-3px) scale(0.98); }
  100% { transform: translateY(3px) scale(1.02); }
}

@keyframes compassSpinSubtle {
  0% { transform: rotate(-8deg); }
  100% { transform: rotate(8deg); }
}

@keyframes routePulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ── KHỐI 3: QUY MÔ CHIẾN TRƯỜNG 2-4 NGƯỜI (NGƯỢC CHIỀU SO VỚI KHỐI 2) ── */
#block3-scale {
  padding: clamp(35px, 4vw, 55px) 24px clamp(80px, 9vw, 120px) 24px;
  min-height: clamp(640px, 80vh, 900px);
  position: relative;
  overflow: visible;
}

#block3-scale .home-quychien-inner {
  max-width: 1480px;
  position: relative;
}

.quychien-boardgame-showcase {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

#block2-gameplay .quychien-boardgame-showcase {
  padding: 0;
}

.boardgame-glow-backdrop {
  position: absolute;
  width: 90%;
  height: 80%;
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.15) 0%, rgba(2, 132, 199, 0.05) 50%, transparent 75%);
  filter: blur(35px);
  z-index: 1;
  pointer-events: none;
}

#block2-gameplay .boardgame-glow-backdrop {
  width: 125%;
  height: 110%;
  filter: blur(50px);
}

.quychien-boardgame-cutout-img {
  position: relative;
  width: 120%;
  max-width: 1600px; /* Tăng thêm 20% hiện tại */
  height: auto;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 20px 36px rgba(7, 43, 82, 0.22));
  transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1), filter 0.6s ease;
  animation: floatBoardGame 6s ease-in-out infinite alternate;
}

.quychien-boardgame-showcase:hover .quychien-boardgame-cutout-img {
  transform: scale(1.03) translateY(-6px);
  filter: drop-shadow(0 26px 44px rgba(2, 132, 199, 0.28));
}

@keyframes floatBoardGame {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-8px);
  }
}

/* ── CỘT PHẢI: RUY BĂNG HÀNG HẢI CỔ ĐIỂN (NAUTICAL RIBBON BADGE) ── */
.nautical-ribbon-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 10px rgba(2, 132, 199, 0.25));
}

.ribbon-content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  background: linear-gradient(135deg, #03447A 0%, #0284C7 50%, #0369A1 100%);
  border-top: 1.5px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1.5px solid rgba(2, 44, 92, 0.8);
  color: #FFFFFF;
  border-radius: 6px;
  position: relative;
  z-index: 2;
}

.ribbon-text {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 20, 50, 0.6);
}

.ribbon-icon {
  font-size: 0.95rem;
  line-height: 1;
  color: #BAE6FD;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

/* Đuôi ruy băng uốn lượn cổ điển 2 bên */
.ribbon-tail-l,
.ribbon-tail-r {
  position: absolute;
  top: 4px;
  width: 14px;
  height: calc(100% - 8px);
  background: #02538F;
  z-index: 1;
}

.ribbon-tail-l {
  left: -8px;
  clip-path: polygon(100% 0, 100% 100%, 0 50%);
  border-radius: 2px 0 0 2px;
}

.ribbon-tail-r {
  right: -8px;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
  border-radius: 0 2px 2px 0;
}

/* Tiêu đề Lối chơi Đấu trí theo thiết kế mẫu */
.quychien-gameplay-headline {
  font-family: 'Outfit', 'Montserrat', 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(1.6rem, 2.3vw, 2.45rem) !important;
  font-weight: 900 !important;
  line-height: 1.22;
  letter-spacing: 0.5px;
  color: #032B54;
  margin: 0 0 16px 0;
  text-transform: uppercase;
}

.quychien-highlight-cyan {
  color: #0284C7;
  background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  display: inline-block;
}

.quychien-headline-divider-amber {
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: #F59E0B;
  margin-bottom: 28px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}

/* Khối đoạn văn bản Lối chơi đấu trí & Quản trị rủi ro */
.quychien-gameplay-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  max-width: 660px;
}

.gameplay-p {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  line-height: 1.82;
  color: #1E293B;
  margin: 0;
  text-align: justify;
}

.gameplay-kw {
  color: #0284C7;
  font-weight: 700;
}

.compass-corner {
  position: absolute;
  font-size: 1.35rem;
  color: #0284C7;
  opacity: 0.85;
  user-select: none;
  z-index: 3;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.corner-tl {
  top: 14px;
  left: 14px;
}

.corner-tr {
  top: 14px;
  right: 14px;
}

.corner-bl {
  bottom: 14px;
  left: 14px;
}

.corner-br {
  bottom: 14px;
  right: 14px;
}

/* ── KHỐI 3: QUY MÔ CHIẾN TRƯỜNG 2-4 NGƯỜI (NGƯỢC CHIỀU SO VỚI KHỐI 2) ── */
#block3-scale {
  padding: clamp(90px, 10vw, 140px) 24px clamp(75px, 8.8vw, 125px) 24px;
  min-height: clamp(650px, 80vh, 920px);
  position: relative;
  overflow: visible;
}

#block3-scale .home-quychien-inner {
  max-width: 1480px;
  position: relative;
}

@media (min-width: 992px) {
  #block3-scale .home-quychien-inner {
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
  }
}

#block3-scale .home-quychien-text-col {
  position: relative;
  z-index: 5;
  max-width: 680px;
}

@media (min-width: 992px) {
  #block3-scale .home-quychien-text-col {
    transform: translateX(-20px);
  }
}

#block3-scale .home-quychien-img-col {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.quychien-photo-showcase {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.photo-glow-backdrop {
  position: absolute;
  width: 105%;
  height: 95%;
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.22) 0%, rgba(2, 132, 199, 0.08) 50%, transparent 75%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.photo-card-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(224, 242, 254, 0.8) 100%);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 48px rgba(7, 43, 82, 0.18), 0 4px 16px rgba(14, 165, 233, 0.15);
  transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.6s ease;
  overflow: visible;
  user-select: none;
  cursor: pointer;
  perspective: 1000px;
}

.photo-card-wrapper:active {
  cursor: pointer;
}

.quychien-photo-showcase:hover .photo-card-wrapper {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 56px rgba(7, 43, 82, 0.24), 0 8px 24px rgba(14, 165, 233, 0.22);
}

.photo-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: visible;
}

.photo-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(7, 43, 82, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: #FFFFFF;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), 
              opacity 0.5s ease, 
              box-shadow 0.65s ease,
              filter 0.5s ease;
  will-change: transform, opacity;
  transform-origin: center bottom;
}

/* 1. Lá bài trên cùng (Top Card) */
.photo-slide.card-top {
  z-index: 5;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  filter: brightness(1);
  box-shadow: 0 18px 40px rgba(7, 43, 82, 0.24);
}

/* 2. Lá bài thứ 2 trong bộ bài (Middle Card) */
.photo-slide.card-middle {
  z-index: 3;
  opacity: 0.88;
  transform: translate3d(0, 10px, 0) scale(0.96) rotate(1.8deg);
  filter: brightness(0.93);
  box-shadow: 0 12px 24px rgba(7, 43, 82, 0.16);
}

/* 3. Lá bài thứ 3 ở đáy bộ bài (Bottom Card) */
.photo-slide.card-bottom {
  z-index: 1;
  opacity: 0.68;
  transform: translate3d(0, 18px, 0) scale(0.92) rotate(-1.8deg);
  filter: brightness(0.86);
  box-shadow: 0 6px 16px rgba(7, 43, 82, 0.12);
}

/* Hiệu ứng rút bài bay chéo góc sang phải */
.photo-slide.card-swiping-out {
  z-index: 6 !important;
  opacity: 0 !important;
  transform: translate3d(120%, -15px, 0) rotate(8deg) scale(0.98) !important;
  filter: brightness(1.05) !important;
  box-shadow: 0 26px 48px rgba(2, 132, 199, 0.35) !important;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.25, 1), opacity 0.42s ease !important;
}

/* Hiệu ứng luồn bài ngược lại từ bên trái */
.photo-slide.card-swiping-in-reverse {
  z-index: 6 !important;
  opacity: 0 !important;
  transform: translate3d(-120%, -15px, 0) rotate(-8deg) scale(0.98) !important;
}

.quychien-community-photo {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 14px;
  object-fit: cover;
  pointer-events: none;
}

/* ── KHỐI 5: SỨ MỆNH GIÁO DỤC VÀ KẾT NỐI CỘNG ĐỒNG (CINEMA 16:9 SPLIT CANVAS) ── */
.edu-cinema-section {
  position: relative;
  width: 100%;
  padding: clamp(40px, 4.5vw, 65px) 0;
  background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 50%, #F0F9FF 100%);
  overflow: hidden;
}

.home-values-container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
}

/* Khung toàn cảnh Cinema 16:9 Split Canvas */
.edu-cinema-169-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 520px;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(186, 230, 253, 0.95);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(2, 44, 92, 0.09), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  display: grid;
  grid-template-columns: 52% 48%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* NỬA TRÁI: ẢNH BÀN CỜ 16:9 TRÀN VIỀN */
.edu-cinema-visual {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #071A30;
}

.edu-cinema-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  transition: transform 0.8s cubic-bezier(0.2, 0, 0, 1);
}

.edu-cinema-169-card:hover .edu-cinema-img {
  transform: scale(1.035);
}

.edu-cinema-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(7, 26, 48, 0.05) 0%, transparent 60%, rgba(255, 255, 255, 0.3) 100%);
  pointer-events: none;
}

/* Hotspot Pins tương tác trên ảnh */
.edu-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 10;
}

.hs-pulse {
  position: relative;
  width: 14px;
  height: 14px;
  background: #F59E0B;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.95);
}

.hs-pulse::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px solid #F59E0B;
  animation: hsPulseAnim 2s infinite ease-out;
}

@keyframes hsPulseAnim {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.hs-badge {
  background: rgba(7, 26, 48, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: clamp(0.7rem, 0.85vw, 0.78rem);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  transition: all 0.25s ease;
}

.edu-hotspot:hover .hs-badge {
  background: #0284C7;
  border-color: #BAE6FD;
  transform: translateY(-2px);
}

/* Floating Specs Bar góc dưới ảnh */
.edu-cinema-floating-specs {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 10;
}

.spec-tag {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: #034478;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.68rem, 0.8vw, 0.75rem);
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(2, 44, 92, 0.15);
}

/* NỬA PHẢI: TIÊU ĐỀ & 3 THẺ GLASSMORPHISM DỌC */
.edu-cinema-content {
  padding: clamp(24px, 3vw, 38px) clamp(22px, 2.8vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.88) 100%);
  overflow-y: auto;
}

.edu-cinema-header .quychien-badge-pill {
  margin: 0 0 8px 0;
  display: inline-flex;
}

.edu-cinema-title {
  font-family: 'Outfit', 'Montserrat', sans-serif !important;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem) !important;
  font-weight: 900 !important;
  line-height: 1.25;
  color: #0F172A;
  letter-spacing: 0.5px;
  margin: 0;
  text-transform: uppercase;
}

.edu-cinema-lead {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.82rem, 1vw, 0.9rem);
  color: #0369A1;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

/* Danh sách 3 Thẻ Trụ Cột Kính Mờ */
.edu-cinema-pillars-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.edu-pillar-glass-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1.2px solid rgba(226, 238, 248, 0.9);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(7, 43, 82, 0.04);
  transition: all 0.28s cubic-bezier(0.2, 0, 0, 1);
}

.edu-pillar-glass-row:hover {
  background: #FFFFFF;
  border-color: #BAE6FD;
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.12);
}

.edu-pillar-glass-row.highlight {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(255, 255, 255, 0.95);
}

.edu-pillar-glass-row.highlight:hover {
  border-color: #F59E0B;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.18);
}

.edu-pillar-icon-wrap {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.edu-pillar-text h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.85rem, 1.05vw, 0.92rem);
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 3px 0;
  line-height: 1.3;
}

.edu-pillar-text p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.72rem, 0.85vw, 0.78rem);
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

/* RESPONSIVE: Mobile & Tablet */
@media (max-width: 960px) {
  .edu-cinema-169-card {
    aspect-ratio: auto;
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .edu-cinema-visual {
    height: 320px;
  }

  .edu-cinema-content {
    padding: 24px 18px;
  }
}

.quychien-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  margin-top: 10px;
}

@media (max-width: 900px) {
  .quychien-value-grid {
    grid-template-columns: 1fr;
  }
}

.quychien-value-card {
  position: relative;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(226, 238, 248, 0.95);
  border-radius: 22px;
  padding: 32px 26px;
  box-shadow: 0 10px 30px rgba(7, 43, 82, 0.07);
  transition: all 0.35s cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
}

.quychien-value-card:hover {
  background: rgba(255, 255, 255, 0.96);
  border-color: #BAE6FD;
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(14, 165, 233, 0.16);
}

.quychien-value-card.highlight {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(255, 255, 255, 0.85);
}

.quychien-value-card.highlight:hover {
  border-color: #F59E0B;
  box-shadow: 0 18px 40px rgba(245, 158, 11, 0.22);
}

.value-card-watermark {
  position: absolute;
  top: 10px;
  right: 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: rgba(2, 132, 199, 0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.quychien-value-card.highlight .value-card-watermark {
  color: rgba(245, 158, 11, 0.12);
}

.value-card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.icon-red {
  background: #FEE2E2;
  color: #EF4444;
}

.icon-yellow {
  background: #FEF3C7;
  color: #F59E0B;
}

.icon-blue {
  background: #E0F2FE;
  color: #0284C7;
}

.value-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.35;
  margin: 0;
}

.value-card-line {
  width: 36px;
  height: 3px;
  background: #F59E0B;
  border-radius: 2px;
  margin: 12px 0 16px;
}

.value-card-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

/* Prominent Bold Headline (Quỷ Chiến Style) */
.quychien-headline-bold {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 1px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.quychien-headline-divider {
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  margin: 16px 0 24px;
  border-radius: 2px;
}

/* Text Body */
.quychien-body-text {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
  text-align: justify;
}

/* Full Width Button (Style Nút Đỏ Quỷ Chiến) */
.quychien-btn-wrap {
  margin-top: 28px;
}

.quychien-btn-full {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
  transition: all var(--transition-fast);
}

.quychien-btn-full:hover {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.45);
  transform: translateY(-2px);
}

/* Stat Badges */
.quychien-stat-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.q-badge {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.home-feature-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

@media (min-width: 768px) {
  .home-feature-inner {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .home-feature-reverse .home-feature-text {
    order: 2;
  }

  .home-feature-reverse .home-feature-visual {
    order: 1;
  }
}

.home-feature-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

.home-feature-desc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 16px;
}

/* ---- STAT GRID ---- */
.home-feature-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.home-stat-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.home-stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.home-stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.home-stat-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- ICON SHOWCASE ---- */
.home-icon-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.home-icon-item {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  transition: border-color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.home-icon-item:hover {
  border-color: var(--accent);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  transform: translateY(-4px);
}

.home-icon-emoji {
  font-size: 2rem;
  line-height: 1;
}

/* ---- 3 PILLARS SECTION (FULL WIDTH SCREEN) ---- */
.home-pillars-section {
  min-height: calc(100vh - var(--header-height));
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 24px;
}

.home-pillars-container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
}

.home-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .home-pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.home-pillar-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), border-color var(--transition-fast), box-shadow var(--transition-normal);
}

.home-pillar-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.home-pillar-img-wrap {
  width: 160px;
  height: 220px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.home-pillar-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-normal);
}

.home-pillar-card:hover .home-pillar-img {
  transform: scale(1.05) rotate(2deg);
}

.home-pillar-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.home-pillar-subtitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-block;
}

.home-pillar-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- QUOTE CARD ---- */
.home-feature-quote-card {
  background-color: var(--bg-secondary);
  border-left: 3px solid var(--accent);
  border-radius: var(--border-radius-md);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--text-primary);
}

.home-quote-attr {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

/* ============================================================
   CTA SECTION: TRẬN GIAO THƯƠNG ĐÃ MỞ (FULL-WIDTH & FULL-SCREEN 100VH)
   ============================================================ */
.home-cta-section {
  padding: 0 !important;
  margin: 0 !important;
  background: #0056b3;
  width: 100vw;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  border-top: none;
  border-bottom: none;
  overflow: hidden;
}

.home-cta-banner-full {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #005bb7;
}

/* Background image layer & responsive gradient */
.home-cta-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background-color: #0066cc;
}

.home-cta-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

.home-cta-overlay-gradient {
  display: none;
}

/* Content Container */
.home-cta-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(36px, 4.5vh, 60px) clamp(24px, 4vw, 56px);
  display: flex;
  align-items: center;
}

.home-cta-content-left {
  width: 100%;
  max-width: min(720px, 48vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 2.4vh, 24px);
}

/* 1. Badge "SẴN SÀNG CHINH PHỤC?" (Không có icon sao) */
.home-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FFB800 0%, #FF9100 100%);
  color: #78350F;
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 9px 22px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(255, 145, 0, 0.45);
  text-transform: uppercase;
}

/* 2. Main Title - New Gaming Typography (Outfit / Montserrat) */
.home-cta-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}

.home-cta-title-line1 {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 4.1vw, 4.1rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-shadow:
    0 4px 18px rgba(0, 36, 120, 0.9),
    0 2px 6px rgba(0, 0, 0, 0.6);
  margin: 0;
}

.home-cta-title-line2 {
  display: inline-flex;
  align-items: center;
}

.home-cta-yellow-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3.1rem, 5.5vw, 5.2rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 1.5px;
  line-height: 1;
  color: #FFCA28;
  text-transform: uppercase;
  -webkit-text-stroke: 4px #C57D00;
  paint-order: stroke fill;
  text-shadow:
    0 4px 0 #9A5B00,
    0 6px 0 #7A4500,
    0 10px 24px rgba(0, 24, 80, 0.8);
}

/* 3. Description */
.home-cta-description {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.05rem, 1.25vw, 1.16rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 30, 90, 0.7);
  margin: 0;
  max-width: 550px;
}

/* 4. Action Buttons + Feature Bar Stack */
.home-cta-actions-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
}

.home-cta-action-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

/* Nút Đặt Mua Ngay (Cam Gradient Nổi Bật) */
.home-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, #FF7B00 0%, #E85D04 100%);
  color: #FFFFFF !important;
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 14px 34px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 6px 22px rgba(232, 93, 4, 0.55),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.home-cta-btn-primary:hover {
  background: linear-gradient(180deg, #FF8800 0%, #D00000 100%);
  box-shadow:
    0 10px 30px rgba(232, 93, 4, 0.7),
    inset 0 1px 1px rgba(255, 255, 255, 0.7);
  transform: translateY(-2px) scale(1.02);
}

/* Nút Xem Hướng Dẫn Chơi (Trắng Kính Chữ Xanh) */
.home-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  color: #0252CD !important;
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 14px 30px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 6px 22px rgba(0, 36, 120, 0.22),
    inset 0 1px 1px #FFFFFF;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.home-cta-btn-secondary:hover {
  background: #F0F7FF;
  color: #013CA7 !important;
  box-shadow: 0 10px 26px rgba(0, 36, 120, 0.35);
  transform: translateY(-2px) scale(1.02);
}

.cta-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-play-icon {
  color: #0252CD;
}

/* 5. Feature Badges Bar - Khung nền rộng phủ trọn vẹn 100% 3 mục cam kết */
.home-cta-features-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(4, 38, 102, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  padding: 11px 14px;
  margin-top: 10px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: 0 10px 30px rgba(0, 20, 70, 0.35);
}

.cta-feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.cta-feature-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-feature-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

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

.cta-feature-title {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #FFFFFF;
  text-transform: uppercase;
  white-space: nowrap;
}

.cta-feature-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.cta-feature-divider {
  display: block !important;
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .home-cta-container {
    padding: 36px 20px;
  }

  .home-cta-content-left {
    max-width: 620px;
  }

  .home-cta-features-bar {
    max-width: 580px;
    gap: 8px;
    padding: 10px 14px;
  }

  .cta-feature-title {
    font-size: 0.76rem;
  }

  .cta-feature-sub {
    font-size: 0.68rem;
  }
}

@media (max-width: 820px) {
  .home-cta-banner-full {
    height: auto;
    min-height: 100vh;
    padding: 80px 0;
  }

  .home-cta-overlay-gradient {
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 45, 115, 0.92) 0%, rgba(3, 45, 115, 0.6) 50%, rgba(3, 45, 115, 0.95) 100%);
    pointer-events: none;
  }

  .home-cta-container {
    padding: 40px 20px;
    justify-content: center;
  }

  .home-cta-content-left {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .home-cta-action-btns {
    justify-content: center;
  }

  .home-cta-features-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    max-width: 340px;
  }

  .cta-feature-divider {
    display: none;
  }
}

/* ============================================================
   NEW ANIMATED COMPONENTS INTEGRATION
   1. Social Media Buttons
   2. Add To Cart Button (Header / Sidebar)
   3. Delivery Truck Order Button (Product Hero)
   ============================================================ */

/* ── 1. SOCIAL MEDIA BUTTONS ── */
.social-links {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  --brand: #222025;
  --button-size: 34px;
  position: relative;
  display: grid;
  width: var(--button-size);
  height: var(--button-size);
  flex: 0 0 var(--button-size);
  place-items: center;
  border-radius: 50%;
  color: #070609;
  text-decoration: none;
  background-color: #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  isolation: isolate;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color 180ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.social-link::before,
.social-link::after {
  position: absolute;
  z-index: 10;
  left: 50%;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease, transform 300ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-link::before {
  bottom: calc(100% + 0.55rem);
  padding: 0.35rem 0.55rem;
  border-radius: 0.35rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  content: attr(data-label);
  background-color: var(--brand);
  box-shadow: 0 0.35rem 0.6rem rgba(0, 0, 0, 0.35);
  transform: translate(-50%, 0.4rem) scale(0.93);
  transform-origin: center bottom;
}

.social-link::after {
  bottom: calc(100% + 0.35rem);
  width: 0;
  height: 0;
  border-top: 0.3rem solid var(--brand);
  border-right: 0.3rem solid transparent;
  border-left: 0.3rem solid transparent;
  content: "";
  transform: translate(-50%, 0.4rem) scale(0.93);
  transform-origin: center top;
}

.social-link__logo {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.social-link:is(:hover, :focus-visible, .is-active) {
  color: #fff;
  background-color: var(--brand);
  box-shadow: 0 0.8rem 1rem rgba(239, 68, 68, 0.4);
}

.social-link:is(:hover, :focus-visible, .is-active)::before,
.social-link:is(:hover, :focus-visible, .is-active)::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}

.social-link--facebook {
  --brand: #1877f2;
}

.social-link__logo--facebook {
  width: 1.6rem;
  height: 1.6rem;
}

.social-link--twitter {
  --brand: #14171a;
}

.social-link__logo--twitter {
  width: 1.4rem;
  height: 1.4rem;
}

.social-link--instagram {
  --brand: #e1306c;
}

.social-link__logo--instagram {
  width: 1.35rem;
  height: 1.35rem;
}

.social-link--github {
  --brand: #2b3137;
}

.social-link__logo--github {
  width: 1.45rem;
  height: 1.45rem;
}

.social-link--youtube {
  --brand: #ff0000;
}

.social-link__logo--youtube {
  width: 1.5rem;
  height: 1.5rem;
}


/* ── 2. ADD TO CART BUTTON (HEADER / SIDEBAR) ── */
.cart-button {
  --button-width: 10.5rem;
  --cart-start: 1.25rem;
  --cart-travel: 3.25rem;
  --button-bg: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  --button-fg: #ffffff;
  --button-shadow: rgba(239, 68, 68, 0.4);
  --check: #4ade80;
  --ease-out: cubic-bezier(0.2, 0.72, 0.2, 1);
  --ease-motion: cubic-bezier(0.22, 0.7, 0.2, 1);
  --anim-duration: 2.45s;

  position: relative;
  width: var(--button-width);
  height: 2.8rem;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 99px;
  color: var(--button-fg);
  background: var(--button-bg);
  box-shadow: 0 0.35rem 0.8rem var(--button-shadow);
  cursor: pointer;
  isolation: isolate;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 170ms ease, box-shadow 170ms ease;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
}

.cart-button:hover:not(:disabled) {
  transform: translateY(-0.12rem);
  box-shadow: 0 0.58rem 1.15rem var(--button-shadow);
}

.cart-button:active:not(:disabled) {
  transform: translateY(0) scale(0.985);
}

.cart-button__stage {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  color: inherit;
}

.cart-button__label {
  position: absolute;
  top: 50%;
  left: 3.4rem;
  display: block;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1;
  opacity: 1;
  transform: translateY(-50%);
}

.cart-button__cart {
  position: absolute;
  top: 50%;
  left: var(--cart-start);
  width: 1.35rem;
  height: 1.35rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.05;
  transform: translateY(-50%);
  transform-origin: 50% 70%;
}

.cart-button__basket-fill {
  fill: currentColor;
  stroke: none;
  opacity: 0;
}

.cart-button__check {
  fill: none;
  stroke: var(--check);
  stroke-dasharray: 9;
  stroke-dashoffset: 9;
  stroke-width: 2.2;
}

.cart-button__shirt {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 1.08rem;
  height: 1.08rem;
  overflow: visible;
  fill: #ffffff;
  opacity: 0;
  filter: drop-shadow(0 0.12rem 0.08rem rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

.cart-button.is-animating {
  animation: button-settle var(--anim-duration) var(--ease-out) both;
}

.cart-button.is-animating .cart-button__label {
  animation: label-cycle var(--anim-duration) var(--ease-motion) both;
}

.cart-button.is-animating .cart-button__cart {
  animation: cart-cycle var(--anim-duration) cubic-bezier(0.22, 0.72, 0.2, 1) both;
}

.cart-button.is-animating .cart-button__basket-fill {
  animation: basket-fill var(--anim-duration) ease-in-out both;
}

.cart-button.is-animating .cart-button__check {
  animation: check-draw var(--anim-duration) ease-in-out both;
}

.cart-button.is-animating .cart-button__shirt {
  animation: shirt-cycle var(--anim-duration) var(--ease-motion) both;
}

@keyframes button-settle {
  0% {
    transform: scale(1);
  }

  2.5% {
    transform: scale(0.985);
  }

  7% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes label-cycle {

  0%,
  3% {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }

  14% {
    opacity: 0;
    transform: translateY(-50%) translateX(-0.8rem);
  }

  80% {
    opacity: 0;
    transform: translateY(-50%) translateX(1rem);
  }

  94%,
  100% {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@keyframes cart-cycle {

  0%,
  3% {
    opacity: 1;
    transform: translateY(-50%) translateX(0) rotate(0deg) scale(1);
  }

  17%,
  59% {
    opacity: 1;
    transform: translateY(-50%) translateX(var(--cart-travel)) rotate(0deg) scale(1.04);
  }

  65% {
    transform: translateY(-50%) translateX(var(--cart-travel)) rotate(-11deg) scale(1.08);
  }

  70% {
    transform: translateY(-50%) translateX(calc(var(--cart-travel) + 0.3rem)) rotate(15deg) scale(1.08);
  }

  75% {
    transform: translateY(-50%) translateX(calc(var(--cart-travel) - 0.24rem)) rotate(-8deg) scale(1.05);
  }

  80% {
    opacity: 1;
    transform: translateY(-50%) translateX(var(--cart-travel)) rotate(0deg) scale(1);
  }

  88% {
    opacity: 0;
    transform: translateY(-50%) translateX(10.5rem) rotate(0deg) scale(0.94);
  }

  89% {
    opacity: 0;
    transform: translateY(-50%) translateX(-3.2rem) rotate(0deg) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateY(-50%) translateX(0) rotate(0deg) scale(1);
  }
}

@keyframes basket-fill {

  0%,
  53% {
    opacity: 0;
  }

  59%,
  79% {
    opacity: 1;
  }

  87%,
  100% {
    opacity: 0;
  }
}

@keyframes check-draw {

  0%,
  56% {
    opacity: 0;
    stroke-dashoffset: 9;
  }

  62%,
  80% {
    opacity: 1;
    stroke-dashoffset: 0;
  }

  87%,
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes shirt-cycle {

  0%,
  8% {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(0.35rem) scale(0.3);
  }

  11% {
    opacity: 0.2;
    transform: translate(-50%, -50%) translateY(0) scale(0.38);
  }

  16% {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(-1.55rem) scale(0.76);
  }

  25% {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(-3.15rem) scale(1);
  }

  38% {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(-3.3rem) scale(1);
  }

  52% {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(-1.5rem) scale(0.9);
  }

  60% {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0.12rem) scale(0.58);
  }

  65%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(0.5rem) scale(0.24);
  }
}


/* ============================================================
   DELIVERY TRUCK KEYFRAMES (Phase-2: truck animation)
   Used by both .order-button and .product-delivery-btn
   ============================================================ */

@keyframes truck-drive {

  10%,
  30% {
    left: calc(100% - 164px);
  }

  40% {
    left: calc(100% - 104px);
  }

  60% {
    left: calc(100% - 224px);
  }

  75%,
  100% {
    left: calc(100% + 24px);
  }
}

@keyframes road-move {

  0%,
  30% {
    opacity: 0;
    left: 100%;
  }

  35%,
  65% {
    opacity: 1;
  }

  70% {
    opacity: 0;
  }

  100% {
    left: calc(100% - 400px);
  }
}

@keyframes headlights {

  0%,
  30% {
    opacity: 0;
    transform: perspective(2px) rotateY(-15deg) scaleX(0.88);
  }

  40%,
  100% {
    opacity: 1;
    transform: perspective(2px) rotateY(-15deg) scaleX(0.94);
  }
}

@keyframes door-top {

  0%,
  20% {
    width: 0;
    opacity: 0;
    visibility: hidden;
    transform: rotate(32deg);
  }

  30%,
  55% {
    width: 20px;
    opacity: 1;
    visibility: visible;
    transform: rotate(32deg);
  }

  100% {
    width: 0;
    opacity: 0;
    visibility: hidden;
    transform: rotate(32deg);
  }
}

@keyframes door-bottom {

  0%,
  20% {
    width: 0;
    opacity: 0;
    visibility: hidden;
    transform: rotate(-32deg);
  }

  30%,
  55% {
    width: 20px;
    opacity: 1;
    visibility: visible;
    transform: rotate(-32deg);
  }

  100% {
    width: 0;
    opacity: 0;
    visibility: hidden;
    transform: rotate(-32deg);
  }
}

@keyframes load-package {

  0%,
  7% {
    left: -21px;
    opacity: 0;
    visibility: hidden;
  }

  8%,
  10% {
    left: 19px;
    opacity: 1;
    visibility: visible;
  }

  25% {
    left: 91px;
    opacity: 1;
    visibility: visible;
  }

  26% {
    left: 91px;
    opacity: 0;
    visibility: hidden;
  }

  27%,
  100% {
    left: -21px;
    opacity: 0;
    visibility: hidden;
  }
}

/* ============================================================
   CART-BUTTON--BUY: Buy Page Hero Product CTA Variant
   Wider & taller than the nav cart-button, full-width layout
   ============================================================ */
.cart-button--buy {
  --cart-start: 1.5rem;
  --cart-travel: 3.8rem;
  --button-bg: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  --button-fg: #ffffff;
  --button-shadow: rgba(239, 68, 68, 0.45);
  --check: #4ade80;

  width: 100%;
  height: 64px;
  border-radius: 999px;
  font-family: 'Outfit', 'Montserrat', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 28px var(--button-shadow);
}

.cart-button--buy:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--button-shadow);
}

/* Label position: center for wide button */
.cart-button--buy .cart-button__label {
  left: 0;
  right: 0;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Adjust cart icon position on wide button */
.cart-button--buy .cart-button__cart {
  left: var(--cart-start);
  width: 1.6rem;
  height: 1.6rem;
}

/* Shirt SVG slightly bigger */
.cart-button--buy .cart-button__shirt {
  width: 1.15rem;
  height: 1.15rem;
}

/* Reduced motion overrides */
@media (prefers-reduced-motion: reduce) {

  .cart-button--buy,
  .cart-button--buy .cart-button__label,
  .cart-button--buy .cart-button__cart,
  .cart-button--buy .cart-button__basket-fill,
  .cart-button--buy .cart-button__check,
  .cart-button--buy .cart-button__shirt {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
  }
}


/* ── 3. DELIVERY TRUCK BUTTON (PRODUCT PURCHASE CTA) ── */

/* ── EXACT DELIVERY BUTTON (FROM C:\Users\Tran Gia Thieu\Downloads\delivery-button) ── */
.order-button {
  --button: #181c28;
  --cab: #fe493d;
  --cab-light: #fe7462;
  --window: #3f4656;
  --window-dark: #343a47;
  --cargo-end: #cdd9ed;
  --white: #ffffff;
  --green: #16bf78;
  --package: #feb11a;
  --headlight: #f0dc5f;
  --check: #a74765;
  --accent-focus: #7c5cff;
  --cart-anim-duration: 2.45s;
  --ease-motion: cubic-bezier(0.22, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.2, 0.72, 0.2, 1);
  --cart-start: calc(50% - 41.2px);
  --cart-travel: 28.8px;

  appearance: none;
  position: relative;
  width: 240px;
  max-width: 100%;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  outline: none;
  background: var(--button);
  cursor: pointer;
  contain: paint;
  isolation: isolate;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: transform 300ms ease, box-shadow 180ms ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.delivery-scene {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 240px;
  height: 64px;
  overflow: hidden;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(var(--delivery-scale, 1));
  pointer-events: none;
}

.order-button:is(.is-adding, .is-animating) .delivery-scene {
  visibility: visible;
}

/* Original 240 × 64 choreography, ending exactly as the truck leaves. */
@keyframes nav-truck-drive {
  13.333%, 40% { left: calc(100% - 164px); }
  53.333% { left: calc(100% - 104px); }
  80% { left: calc(100% - 224px); }
  100% { left: 100%; }
}

/* Keep the entire shirt flight inside the button's height. */
@keyframes nav-shirt-cycle {
  0%, 8% { opacity: 0; transform: translate(-50%, -50%) translateY(6px) scale(.3); }
  16% { opacity: 1; transform: translate(-50%, -50%) translateY(-12px) scale(.76); }
  25%, 38% { opacity: 1; transform: translate(-50%, -50%) translateY(-18px); }
  52% { opacity: 1; transform: translate(-50%, -50%) translateY(-10px) scale(.9); }
  60% { opacity: 1; transform: translate(-50%, -50%) translateY(2px) scale(.58); }
  65%, 100% { opacity: 0; transform: translate(-50%, -50%) translateY(8px) scale(.24); }
}

.order-button>* {
  pointer-events: none;
}

.order-button:active:not(.is-adding):not(.is-animating) {
  transform: scale(0.96);
}

.order-button:focus-visible {
  box-shadow: 0 0 0 4px rgba(254, 73, 61, 0.35);
}

.order-button .button-label {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 0s linear 250ms;
}

.order-button .button-label--default {
  opacity: 1;
  visibility: visible;
  transition: opacity 250ms ease 300ms, visibility 0s linear 0s;
}





.order-button .cart-layer {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.order-button .cart-layer__cart {
  position: absolute;
  top: 50%;
  left: var(--cart-start);
  width: 1.55rem;
  height: 1.55rem;
  overflow: visible;
  fill: none;
  stroke: var(--white);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.05;
  transform: translateY(-50%);
  transform-origin: 50% 70%;
  opacity: 0;
}

.order-button .cart-layer__basket-fill {
  fill: var(--white);
  stroke: none;
  opacity: 0;
}

.order-button .cart-layer__check {
  fill: none;
  stroke: var(--check);
  stroke-dasharray: 9;
  stroke-dashoffset: 9;
  stroke-width: 2.2;
}

.order-button .cart-layer__shirt {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: 1.08rem;
  height: 1.08rem;
  overflow: visible;
  fill: var(--white);
  opacity: 0;
  filter: drop-shadow(0 0.12rem 0.08rem rgba(0, 0, 0, 0.25));
}

.order-button .road {
  position: absolute;
  top: 30px;
  left: 100%;
  width: 6px;
  height: 3px;
  border-radius: 2px;
  background: var(--white);
  opacity: 0;
  transform: scaleY(0.7);
  box-shadow:
    15px 0 0 var(--white), 30px 0 0 var(--white),
    45px 0 0 var(--white), 60px 0 0 var(--white),
    75px 0 0 var(--white), 90px 0 0 var(--white),
    105px 0 0 var(--white), 120px 0 0 var(--white),
    135px 0 0 var(--white), 150px 0 0 var(--white),
    165px 0 0 var(--white), 180px 0 0 var(--white),
    195px 0 0 var(--white), 210px 0 0 var(--white),
    225px 0 0 var(--white), 240px 0 0 var(--white),
    255px 0 0 var(--white), 270px 0 0 var(--white),
    285px 0 0 var(--white), 300px 0 0 var(--white),
    315px 0 0 var(--white), 330px 0 0 var(--white);
}

.order-button .package,
.order-button .truck__cargo {
  position: absolute;
  border-radius: 2px;
}

.order-button .package {
  top: 21px;
  left: -21px;
  z-index: 1;
  width: 21px;
  height: 21px;
  background: var(--package);
}

.order-button .package::before,
.order-button .package::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}

.order-button .package::before {
  top: 9px;
  height: 3px;
  background: rgba(0, 0, 0, 0.1);
}

.order-button .package::after {
  top: 10px;
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
}

.order-button .truck {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: calc(100% + 24px);
  width: 60px;
  height: 41px;
}

.order-button .truck::before,
.order-button .truck::after {
  --rotation: -90deg;
  content: "";
  position: absolute;
  right: 58px;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: var(--white);
  transform: rotate(var(--rotation));
  transform-origin: 100% 50%;
  opacity: 0;
  visibility: hidden;
}

.order-button .truck::before {
  top: 4px;
}

.order-button .truck::after {
  --rotation: 90deg;
  bottom: 4px;
}

.order-button .truck__cargo {
  z-index: 1;
  inset: 0;
  background: linear-gradient(var(--white), var(--cargo-end));
}

.order-button .truck__cab {
  position: absolute;
  left: 60px;
  width: 26px;
  height: 41px;
  overflow: hidden;
  border-radius: 2px 9px 9px 2px;
}

.order-button .truck__cab::before,
.order-button .truck__cab::after {
  content: "";
  position: absolute;
  display: block;
}

.order-button .truck__cab::before {
  z-index: 1;
  top: 14px;
  left: 0;
  width: 2px;
  height: 13px;
  background: linear-gradient(var(--window), var(--window-dark));
}

.order-button .truck__cab::after {
  inset: 0 0 0 2px;
  border-radius: 2px 9px 9px 2px;
  background: var(--cab);
}

.order-button .truck__window {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 2px;
  width: 22px;
  height: 41px;
  overflow: hidden;
  border-radius: 2px 8px 8px 2px;
  background: var(--cab-light);
  transform: perspective(4px) rotateY(3deg);
  transform-origin: 0 50%;
}

.order-button .truck__window::before,
.order-button .truck__window::after {
  content: "";
  position: absolute;
  right: 0;
}

.order-button .truck__window::before {
  top: 0;
  bottom: 0;
  width: 14px;
  background: var(--button);
}

.order-button .truck__window::after {
  top: 7px;
  width: 14px;
  height: 4px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 7px 0 rgba(255, 255, 255, 0.14);
  transform: skewY(14deg);
}

.order-button .truck__light {
  position: absolute;
  left: 83px;
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--headlight);
  transform: scaleX(0.8);
  transform-origin: 100% 50%;
}

.order-button .truck__light::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  width: 7px;
  height: 4px;
  margin-top: -2px;
  background: linear-gradient(90deg,
      var(--headlight),
      rgba(240, 220, 95, 0.7),
      rgba(240, 220, 95, 0));
  opacity: 0;
  transform: perspective(2px) rotateY(-15deg) scaleX(0.94);
  transform-origin: 0 50%;
}

.order-button .truck__light--top {
  top: 4px;
}

.order-button .truck__light--bottom {
  bottom: 4px;
}

/* ── IS-ADDING STATE (Phase 1) ── */
.order-button.is-adding .button-label--default {
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 0s linear 200ms;
}



.order-button.is-adding .cart-layer__cart {
  animation: cart-cycle var(--cart-anim-duration) cubic-bezier(0.22, 0.72, 0.2, 1) both;
}

.order-button.is-adding .cart-layer__basket-fill {
  animation: basket-fill var(--cart-anim-duration) ease-in-out both;
}

.order-button.is-adding .cart-layer__check {
  animation: check-draw var(--cart-anim-duration) ease-in-out both;
}

.order-button.is-adding .cart-layer__shirt {
  animation: nav-shirt-cycle var(--cart-anim-duration) var(--ease-motion) both;
}

/* ── IS-ANIMATING STATE (Phase 2) ── */


.order-button.is-animating .button-label--default {
  opacity: 0;
  visibility: hidden;
  transition: none;
}

.order-button.is-animating .truck {
  animation: nav-truck-drive 5.25s ease forwards;
}

.order-button.is-animating .truck::before {
  animation: door-top 1.68s ease forwards 210ms;
}

.order-button.is-animating .truck::after {
  animation: door-bottom 1.68s ease forwards 420ms;
}

.order-button.is-animating .truck__light::before {
  animation: headlights 7s ease forwards;
}

.order-button.is-animating .package {
  animation: load-package 7s ease forwards;
}

.order-button.is-animating .road {
  animation: road-move 7s ease forwards;
}





.product-delivery-btn {

  --button: #121218;
  --cab: #ef4444;
  --cab-light: #f87171;
  --window: #1e1e28;
  --window-dark: #161620;
  --cargo-end: #3f3f46;
  --white: #ffffff;
  --green: #4ade80;
  --package: #f59e0b;
  --headlight: #facc15;

  appearance: none;
  position: relative;
  width: 100%;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 999px;
  outline: none;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  cursor: pointer;
  contain: paint;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: transform 300ms ease, box-shadow 180ms ease;
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
  font-family: inherit;
}

.product-delivery-btn>* {
  pointer-events: none;
}

.product-delivery-btn:active:not(.is-animating) {
  transform: scale(0.98);
}

.button-label {
  --opacity: 1;
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1;
  white-space: nowrap;
  opacity: var(--opacity);
  transition: opacity 300ms ease;
}

.button-label--default {
  transition-delay: 300ms;
}

.button-label--success {
  --opacity: 0;
  gap: 8px;
}

.checkmark {
  width: 12px;
  height: 7px;
  margin-top: -3px;
  border-bottom: 3px solid var(--green);
  border-left: 3px solid var(--green);
  border-radius: 1px;
  opacity: 0;
  transform: rotate(-45deg) scale(0.55);
  transform-origin: 50% 70%;
  transition: opacity 220ms ease, transform 300ms ease;
}

.road {
  position: absolute;
  top: 30px;
  left: 100%;
  width: 6px;
  height: 3px;
  border-radius: 2px;
  background: var(--white);
  opacity: 0;
  transform: scaleY(0.7);
  box-shadow:
    15px 0 0 var(--white), 30px 0 0 var(--white), 45px 0 0 var(--white), 60px 0 0 var(--white),
    75px 0 0 var(--white), 90px 0 0 var(--white), 105px 0 0 var(--white), 120px 0 0 var(--white),
    135px 0 0 var(--white), 150px 0 0 var(--white), 165px 0 0 var(--white), 180px 0 0 var(--white),
    195px 0 0 var(--white), 210px 0 0 var(--white), 225px 0 0 var(--white), 240px 0 0 var(--white),
    255px 0 0 var(--white), 270px 0 0 var(--white), 285px 0 0 var(--white), 300px 0 0 var(--white),
    315px 0 0 var(--white), 330px 0 0 var(--white);
}

.package,
.truck__cargo {
  position: absolute;
  border-radius: 2px;
}

.package {
  top: 21px;
  left: -21px;
  z-index: 1;
  width: 21px;
  height: 21px;
  background: var(--package);
}

.package::before,
.package::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}

.package::before {
  top: 9px;
  height: 3px;
  background: rgba(0, 0, 0, 0.15);
}

.package::after {
  top: 10px;
  height: 1px;
  background: rgba(0, 0, 0, 0.2);
}

.truck {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: calc(100% + 24px);
  width: 60px;
  height: 41px;
}

.truck::before,
.truck::after {
  --rotation: -90deg;
  content: "";
  position: absolute;
  right: 58px;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: var(--white);
  transform: rotate(var(--rotation));
  transform-origin: 100% 50%;
  opacity: 0;
  visibility: hidden;
}

.truck::before {
  top: 4px;
}

.truck::after {
  --rotation: 90deg;
  bottom: 4px;
}

.truck__cargo {
  z-index: 1;
  inset: 0;
  background: linear-gradient(#27272a, #18181b);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.truck__cab {
  position: absolute;
  left: 60px;
  width: 26px;
  height: 41px;
  overflow: hidden;
  border-radius: 2px 9px 9px 2px;
}

.truck__cab::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 0;
  width: 2px;
  height: 13px;
  background: linear-gradient(var(--window), var(--window-dark));
}

.truck__cab::after {
  content: "";
  position: absolute;
  inset: 0 0 0 2px;
  border-radius: 2px 9px 9px 2px;
  background: var(--cab);
}

.truck__window {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 2px;
  width: 22px;
  height: 41px;
  overflow: hidden;
  border-radius: 2px 8px 8px 2px;
  background: var(--cab-light);
  transform: perspective(4px) rotateY(3deg);
  transform-origin: 0 50%;
}

.truck__window::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 14px;
  background: var(--button);
}

.truck__window::after {
  content: "";
  position: absolute;
  right: 0;
  top: 7px;
  width: 14px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 7px 0 rgba(255, 255, 255, 0.2);
  transform: skewY(14deg);
}

.truck__light {
  position: absolute;
  left: 83px;
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--headlight);
  transform: scaleX(0.8);
  transform-origin: 100% 50%;
}

.truck__light::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  width: 7px;
  height: 4px;
  margin-top: -2px;
  background: linear-gradient(90deg, var(--headlight), rgba(240, 220, 95, 0.7), rgba(240, 220, 95, 0));
  opacity: 0;
  transform: perspective(2px) rotateY(-15deg) scaleX(0.94);
  transform-origin: 0 50%;
}

.truck__light--top {
  top: 4px;
}

.truck__light--bottom {
  bottom: 4px;
}

.product-delivery-btn.is-animating .button-label--default {
  --opacity: 0;
  transition-delay: 0ms;
}

.product-delivery-btn.is-animating .button-label--success,
.product-delivery-btn.is-complete .button-label--success {
  --opacity: 1;
  transition-delay: 5.6s;
}

.product-delivery-btn.is-animating .checkmark,
.product-delivery-btn.is-complete .checkmark {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
  transition-delay: 5.84s;
}

.product-delivery-btn.is-animating .truck {
  animation: truck-drive 8s ease forwards;
}

.product-delivery-btn.is-animating .truck::before {
  animation: door-top 1.92s ease forwards 240ms;
}

.product-delivery-btn.is-animating .truck::after {
  animation: door-bottom 1.92s ease forwards 480ms;
}

.product-delivery-btn.is-animating .truck__light::before {
  animation: headlights 8s ease forwards;
}

.product-delivery-btn.is-animating .package {
  animation: load-package 8s ease forwards;
}

.product-delivery-btn.is-animating .road {
  animation: road-move 8s ease forwards;
}

/* ── PHASE 1: Cart-layer overlay trên order-button / product-delivery-btn ── */
.product-delivery-btn .cart-layer {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

/* Cart SVG icon (ẩn mặc định, hiện khi is-adding) */
.product-delivery-btn .cart-layer__cart {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  width: 1.7rem;
  height: 1.7rem;
  overflow: visible;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.05;
  transform: translateY(-50%);
  transform-origin: 50% 70%;
  opacity: 0;
}

.product-delivery-btn .cart-layer__basket-fill {
  fill: #fff;
  stroke: none;
  opacity: 0;
}

.product-delivery-btn .cart-layer__check {
  fill: none;
  stroke: #4ade80;
  stroke-dasharray: 9;
  stroke-dashoffset: 9;
  stroke-width: 2.2;
}

/* Shirt SVG */
.product-delivery-btn .cart-layer__shirt {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  width: 1.2rem;
  height: 1.2rem;
  overflow: visible;
  fill: rgba(255, 255, 255, 0.95);
  opacity: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* is-adding: Phase 1 animations */
.product-delivery-btn.is-adding .button-label--default {
  --opacity: 0;
  transition-delay: 0ms;
}

.product-delivery-btn.is-adding .button-label--adding {
  --opacity: 1;
  transition-delay: 100ms;
}

.product-delivery-btn.is-adding .cart-layer__cart {
  animation: cart-cycle 2.45s cubic-bezier(0.22, 0.72, 0.2, 1) both;
}

.product-delivery-btn.is-adding .cart-layer__basket-fill {
  animation: basket-fill 2.45s ease-in-out both;
}

.product-delivery-btn.is-adding .cart-layer__check {
  animation: check-draw 2.45s ease-in-out both;
}

.product-delivery-btn.is-adding .cart-layer__shirt {
  animation: shirt-cycle 2.45s cubic-bezier(0.22, 0.7, 0.2, 1) both;
}



/* ============================================================
   BUY PAGE — MARITIME ADVENTURE STYLE (Light Theme)
   Palette: Sky Blue #0EA5E9 + Gold #F59E0B + White #FFFFFF
   Matching exactly with index.html design system
   ============================================================ */

/* ── BUY PAGE BASE ── */
.buy-page-body {
  background-color: var(--bg-primary);
}

/* ── BREADCRUMB ── */
.buy-breadcrumb {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding-top: var(--header-height);
}

.breadcrumb-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
}

.bc-link {
  color: var(--color-sky-dark);
  text-decoration: none;
  transition: var(--transition-fast);
}

.bc-link:hover {
  color: var(--color-sky);
}

.bc-sep {
  color: var(--text-muted);
}

.bc-current {
  color: var(--text-muted);
}

/* ── BUY MAIN CONTENT ── */
.buy-main-content {
  background: var(--bg-primary);
}

/* ── PRODUCT HERO SECTION ── */
.buy-product-hero {
  background: linear-gradient(160deg, var(--bg-primary) 0%, var(--color-sky-lightest) 60%, var(--color-sky-light) 100%);
  position: relative;
  padding-top: 40px;
  overflow: hidden;
}

.buy-hero-deco-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  pointer-events: none;
}

.buy-hero-deco-top svg {
  width: 100%;
  height: 100%;
}

.buy-hero-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 24px 24px 60px;
}

.buy-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

/* ── GALLERY COL ── */
.buy-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.buy-main-img-frame {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.buy-badge-freeship {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  background: linear-gradient(135deg, var(--color-yellow) 0%, #F97316 100%);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 40px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  text-transform: uppercase;
}

.buy-img-glass-wrap {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  transition: box-shadow var(--transition-normal);
}

.buy-img-glass-wrap:hover {
  box-shadow: 0 20px 50px rgba(14, 165, 233, 0.2);
}

.buy-featured-img {
  width: 100%;
  height: 380px;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

.buy-featured-img:hover {
  transform: scale(1.03);
}

/* THUMBNAILS */
.buy-thumb-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.buy-thumb-btn {
  flex: 0 0 calc(20% - 8px);
  border-radius: var(--border-radius-md);
  border: 2px solid var(--border-color);
  overflow: hidden;
  cursor: pointer;
  padding: 4px;
  background: var(--bg-primary);
  transition: all var(--transition-fast);
}

.buy-thumb-btn img {
  width: 100%;
  height: 60px;
  object-fit: contain;
  display: block;
}

.buy-thumb-btn:hover,
.buy-thumb-btn.active {
  border-color: var(--color-sky);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.25);
}

/* TRUST BADGES */
.buy-trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.buy-trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 40px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.trust-icon {
  font-size: 0.9rem;
}

/* ── INFO COL ── */
.buy-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.buy-category-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-sky-dark);
}

.cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-sky);
  display: inline-block;
}

.buy-product-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.buy-product-title em {
  font-style: italic;
  color: var(--color-sky-dark);
  display: block;
}

.buy-title-underline {
  height: 3px;
  width: 80px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-sky));
  border-radius: 2px;
  margin-top: -10px;
}

/* RATING ROW */
.buy-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.rating-stars-gold {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.rating-score {
  font-weight: 700;
  color: var(--text-primary);
}

.rating-count,
.rating-sold {
  color: var(--text-muted);
}

/* PRICING */
.buy-price-block {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.buy-price-current {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-red);
}

.buy-price-original {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.buy-price-badge {
  background: linear-gradient(135deg, var(--color-red), #F97316);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

/* VOUCHER BOX */
.buy-voucher-box {
  display: flex;
  gap: 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(245, 158, 11, 0.06) 100%);
  border: 1px dashed var(--border-sky);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.voucher-left-accent {
  width: 6px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--color-sky), var(--color-yellow));
}

.voucher-content {
  padding: 14px 16px;
  flex: 1;
}

.voucher-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-primary);
}

.voucher-fire {
  font-size: 1rem;
}

.voucher-desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.buy-voucher-code {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-sky-lightest), var(--color-sky-light));
  border: 1px solid var(--color-sky);
  color: var(--color-sky-dark);
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.buy-voucher-code:hover {
  background: var(--color-sky);
  color: #fff;
}

/* DESC BLOCK */
.buy-desc-block {
  background: var(--bg-primary);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  padding: 20px;
}

.buy-desc-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-sky-dark);
  margin-bottom: 14px;
}

.desc-heading-line {
  width: 24px;
  height: 2px;
  background: var(--color-sky);
  display: inline-block;
  border-radius: 2px;
}

.buy-desc-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.buy-desc-text p {
  margin-bottom: 10px;
}

.buy-desc-text .desc-conclusion {
  font-style: italic;
  color: var(--color-sky-dark);
  font-weight: 500;
}

.buy-story-link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-sky);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
}

.buy-story-link:hover {
  color: var(--color-yellow);
}

/* ACCORDIONS */
.buy-accordions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.buy-acc-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.buy-acc-item:hover {
  border-color: var(--color-sky);
}

.buy-acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: background var(--transition-fast);
}

.buy-acc-header:hover {
  background: var(--color-sky-light);
}

.buy-acc-header .acc-icon {
  margin-left: auto;
  color: var(--color-sky);
  transition: transform var(--transition-fast);
}

.buy-acc-header.open .acc-icon {
  transform: rotate(180deg);
}

.acc-icon-ship {
  font-size: 1rem;
}

.buy-acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.buy-acc-content.open {
  max-height: 500px;
}

.buy-spec-list {
  list-style: none;
  padding: 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.buy-spec-list li {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}

.buy-spec-list li::before {
  content: "⚓";
  font-size: 0.7rem;
  position: absolute;
  left: 0;
  top: 2px;
}

.spec-key {
  font-weight: 600;
  color: var(--text-primary);
}

/* QUANTITY */
.buy-qty-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.buy-qty-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.buy-qty-picker {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-sky);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.qty-btn {
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sky-dark);
  transition: background var(--transition-fast);
}

.qty-btn:hover {
  background: var(--color-sky-light);
}

.qty-input {
  width: 56px;
  height: 40px;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  outline: none;
}

.buy-qty-stock {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #16A34A;
  font-weight: 600;
}

/* BUY ACTION BUTTONS */
.buy-action-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.buy-btn-fb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1.5px solid #1877F2;
  border-radius: var(--border-radius-sm);
  background: transparent;
  color: #1877F2;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.5px;
}

.buy-btn-fb:hover {
  background: #1877F2;
  color: #fff;
}

/* ── WAVE BOTTOM ── */
.buy-hero-wave-bottom {
  margin-top: -2px;
  pointer-events: none;
}

.buy-hero-wave-bottom svg {
  width: 100%;
  display: block;
}

/* ── FEATURES STRIP ── */
.buy-features-strip {
  background: var(--bg-secondary);
  padding: 60px 24px;
}

.buy-features-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .buy-features-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .buy-features-container {
    grid-template-columns: 1fr;
  }
}

.buy-feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition-normal);
  cursor: default;
}

.buy-feature-card:hover {
  border-color: var(--color-sky);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrap {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.buy-feature-card h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.buy-feature-card p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── SECTION SHARED HEADERS ── */
.buy-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.buy-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.buy-section-underline {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-sky));
  border-radius: 2px;
  margin: 0 auto 12px;
}

.buy-section-sub {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── REVIEWS SECTION ── */
.buy-reviews-section {
  background: var(--bg-primary);
  padding: 80px 24px;
}

.buy-reviews-container {
  max-width: var(--container-width);
  margin: 0 auto;
}

.buy-rating-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  margin-bottom: 40px;
  border: 1px solid var(--border-color);
}

@media (max-width: 600px) {
  .buy-rating-summary {
    grid-template-columns: 1fr;
  }
}

.rating-score-box {
  text-align: center;
}

.rating-big-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.rating-stars-big {
  color: #F59E0B;
  font-size: 1.4rem;
  letter-spacing: 3px;
  margin: 8px 0;
}

.rating-count-text {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.rating-bars-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bar-row {
  display: grid;
  grid-template-columns: 50px 1fr 40px;
  gap: 10px;
  align-items: center;
}

.star-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.progress-bar-bg {
  background: var(--color-sky-light);
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-sky));
  border-radius: 10px;
  transition: width 0.8s ease;
}

.bar-pct {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
}

/* REVIEW LIST */
.buy-review-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.buy-review-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  transition: box-shadow var(--transition-fast);
}

.buy-review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-sky-dark), var(--color-sky));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.reviewer-meta {
  flex: 1;
}

.reviewer-name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stars-gold {
  color: #F59E0B;
  font-size: 0.85rem;
  margin-top: 2px;
}

.review-time {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.review-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.review-text p {
  margin-bottom: 8px;
}

.review-photos {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.review-photos img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  border: 1.5px solid var(--border-color);
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.review-photos img:hover {
  border-color: var(--color-sky);
}

/* REVIEW PAGINATION */
.buy-review-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.page-nav-btn,
.page-num-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.page-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-num-btn:hover:not(:disabled),
.page-num-btn.active {
  background: var(--color-sky);
  border-color: var(--color-sky);
  color: #fff;
}

/* ── FAQ SECTION ── */
.buy-faq-section {
  background: var(--bg-secondary);
  padding: 80px 24px;
}

.buy-faq-container {
  max-width: 760px;
  margin: 0 auto;
}

.buy-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.buy-faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.buy-faq-item:hover {
  border-color: var(--color-sky);
}

.buy-faq-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
}

.buy-faq-header .acc-icon {
  margin-left: auto;
  color: var(--color-sky);
  transition: transform var(--transition-fast);
}

.buy-faq-header.open .acc-icon {
  transform: rotate(180deg);
}

.faq-q-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-sky-lightest), var(--color-sky-light));
  border: 1px solid var(--color-sky);
  color: var(--color-sky-dark);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.buy-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.buy-faq-content.open {
  max-height: 300px;
}

.buy-faq-content p {
  padding: 0 20px 18px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── POLICIES SECTION ── */
.buy-policies-section {
  background: var(--bg-primary);
  padding: 80px 24px;
}

.buy-policies-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .buy-policies-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .buy-policies-container {
    grid-template-columns: 1fr;
  }
}

.buy-policy-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-normal);
}

.buy-policy-card:hover {
  border-color: var(--color-sky);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--bg-primary);
}

.policy-icon-wrap {
  font-size: 2.5rem;
  margin-bottom: 14px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(14, 165, 233, 0.2));
}

.policy-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.policy-desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── CTA BANNER ── */
.buy-cta-banner {
  background: linear-gradient(135deg, var(--color-sky-deep) 0%, var(--color-sky) 50%, #0EA5E9 100%);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.buy-cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.buy-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  font-style: italic;
}

.cta-subtext {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-buy-btn {
  font-size: 1rem;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--color-yellow) 0%, #F97316 100%);
  color: #fff;
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
  transition: all var(--transition-fast);
}

.cta-buy-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.6);
}

/* ── CHECKOUT MODAL UPDATES ── */
.checkout-modal-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.modal-title-blue {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-sky-deep);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.total-price-blue {
  font-size: 1.2rem;
  color: var(--color-sky-dark);
  font-weight: 700;
}

/* ── ACCORDION CONTENT (shared selector used in buy.html) ── */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-content.open {
  max-height: 600px;
}

/* FORM UPDATES */
.form-group label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-sky);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 500px) {
  .form-row-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-summary-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 16px;
  margin: 16px 0;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}

.summary-line:last-child {
  border-bottom: none;
}

.total-line {
  font-weight: 700;
  color: var(--text-primary);
  padding-top: 10px;
  margin-top: 4px;
  font-size: 0.95rem;
}

.text-green {
  color: #16A34A;
}

.btn-submit-order {
  width: 100%;
  padding: 14px;
  font-size: 0.95rem;
  margin-top: 8px;
}

.checkout-success-msg {
  text-align: center;
  padding: 32px;
}

.checkout-success-msg .success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.checkout-success-msg h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-sky-deep);
  margin-bottom: 12px;
}

.checkout-success-msg p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ── CHECKOUT MODAL (BUY PAGE) ── */
.checkout-modal-card {
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--border-radius-lg);
}

.checkout-modal-header {
  text-align: center;
  padding: 24px 24px 12px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-sub-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* === BUY PAGE MODAL OVERRIDE === */
.buy-page-body .checkout-modal-card,
.checkout-modal-card {
  background: #ffffff !important;
  border: 1.5px solid #0EA5E9 !important;
  box-shadow: 0 20px 60px rgba(14, 165, 233, 0.25) !important;
}

.buy-page-body .modal-title-red,
.modal-title-blue {
  color: #0369A1 !important;
}

.buy-page-body .modal-sub-text {
  color: #64748B !important;
}

.buy-page-body .form-group label {
  color: #0284C7 !important;
}

.buy-page-body .checkout-summary-box {
  background: #F0F7FF !important;
  border: 1px solid #BAE6FD !important;
}

.buy-page-body .summary-line {
  color: #475569 !important;
}

/* ============================================================
   BLOCK 1 REDESIGN: LOGISQUEST MARITIME SHOWCASE
   (2-Tier Layout: Centered Brand Top + 50/50 Bento & Content)
   ============================================================ */

.home-showcase-section {
  position: relative;
  width: 100%;
  min-height: auto;
  padding: clamp(32px, 3.5vw, 52px) 0 clamp(36px, 4vw, 60px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #38bdf8;
}

/* Background Layer with 3D Maritime Sky & Port */
.home-showcase-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.home-showcase-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

/* Plane Vector & Contrail Deco on the left */
.showcase-plane-deco {
  position: absolute;
  top: 5%;
  left: 3%;
  width: clamp(85px, 9.5vw, 135px);
  z-index: 3;
  transform: rotate(-7deg);
  filter: drop-shadow(0 4px 10px rgba(0, 40, 90, 0.2));
  animation: planeFloat 5s ease-in-out infinite alternate;
}

.plane-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

@keyframes planeFloat {
  0% {
    transform: rotate(-7deg) translateY(0px) translateX(0px);
  }

  100% {
    transform: rotate(-5deg) translateY(-7px) translateX(5px);
  }
}

/* Container */
.home-showcase-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.8vw, 32px);
}

/* TOP TIER: Brand Logo, Headline & Subheadline */
.showcase-top-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  margin-bottom: 8px;
}

.showcase-brand-logo-wrap {
  margin-bottom: 5px;
  line-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.showcase-brand-logo {
  height: clamp(43px, 4.95vw, 61px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 30, 80, 0.3));
  transition: transform 0.3s ease;
  display: block;
}

.showcase-brand-logo:hover {
  transform: scale(1.04);
}

.showcase-main-headline {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  letter-spacing: clamp(1px, 0.3vw, 3px);
  line-height: 1.04;
  color: #0c2340;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 6px rgba(255, 255, 255, 0.4);
}

.showcase-sub-headline {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: 0.5px;
  line-height: 1.25;
  color: #0284C7;
  margin: -2px 0 0 0;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

/* MAIN TIER: 50 / 50 Split */
.showcase-main-tier {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  width: 100%;
}

@media (min-width: 992px) {
  .showcase-main-tier {
    grid-template-columns: 1.05fr 1fr;
  }
}

/* LEFT COLUMN: Bento Collage Card Frame */
.showcase-gallery-col {
  width: 100%;
  display: flex;
  justify-content: center;
}

.showcase-glass-card {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  padding: 12px 14px;
  box-shadow:
    0 16px 40px rgba(7, 43, 82, 0.2),
    0 4px 10px rgba(255, 255, 255, 0.5) inset;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.showcase-glass-card:hover {
  box-shadow:
    0 22px 50px rgba(7, 43, 82, 0.25),
    0 4px 14px rgba(255, 255, 255, 0.6) inset;
}

/* ============================================================
   SHOWCASE ORIGINAL ASPECT RATIO CAROUSEL (CLEAN SINGLE GLASS LAYER)
   ============================================================ */

.showcase-carousel-wrap {
  position: relative;
  width: 100%;
  height: clamp(230px, 24vw, 320px);
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.showcase-carousel-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding: 0;
  box-sizing: border-box;
}

.showcase-carousel-track:active {
  cursor: grabbing;
}

.showcase-carousel-track::-webkit-scrollbar {
  display: none;
}

.showcase-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  box-sizing: border-box;
  user-select: none;
}

.showcase-slide-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border: none;
  border-radius: 12px;
  box-shadow: none;
  background: transparent;
  filter: drop-shadow(0 10px 22px rgba(7, 43, 82, 0.16));
  transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1);
  pointer-events: none;
  display: block;
}

.showcase-carousel-wrap:hover .showcase-slide-img {
  transform: scale(1.02);
}

/* Pagination Bar below image carousel */
.showcase-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 6px;
}

.showcase-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.35);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-dot:hover {
  background: rgba(2, 132, 199, 0.7);
  transform: scale(1.2);
}

.showcase-dot.active {
  width: 26px;
  border-radius: 999px;
  background: #0284C7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.45);
}

/* RIGHT COLUMN: Typography & Action */
.showcase-desc-col {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
  justify-content: center;
}

.showcase-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-body-p {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: clamp(1.12rem, 1.38vw, 1.28rem);
  line-height: 1.75;
  color: #0c2340;
  margin: 0;
  text-align: justify;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.showcase-body-p b {
  color: #051930;
  font-weight: 700;
}

/* CTA BUTTON: Premium Orange Rounded Rectangle with Arrow */
.showcase-cta-wrap {
  width: 100%;
  margin-top: 8px;
}

.showcase-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: clamp(16px, 2vw, 20px) 28px;
  background: linear-gradient(135deg, #F97316 0%, #EA580C 50%, #C2410C 100%);
  color: #FFFFFF !important;
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: clamp(0.95rem, 1.15vw, 1.12rem);
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 14px;
  box-shadow:
    0 10px 24px rgba(234, 88, 12, 0.4),
    0 2px 4px rgba(255, 255, 255, 0.3) inset;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: all 0.35s cubic-bezier(0.2, 0, 0, 1);
  position: relative;
  overflow: hidden;
}

.showcase-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.showcase-cta-btn:hover {
  background: linear-gradient(135deg, #FB923C 0%, #F97316 50%, #EA580C 100%);
  transform: translateY(-3px);
  box-shadow:
    0 16px 32px rgba(234, 88, 12, 0.55),
    0 2px 6px rgba(255, 255, 255, 0.4) inset;
}

.showcase-cta-btn:hover::before {
  left: 100%;
}

.showcase-cta-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.4);
}

.showcase-cta-arrow {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.showcase-cta-btn:hover .showcase-cta-arrow {
  transform: translateX(5px);
}

/* ============================================================
   BLOCK 4 REDESIGN: 4 TRỤ CỘT CHIẾN THUẬT TỐI THƯỢNG (FAN DECK 3D)
   ============================================================ */

.home-pillars-section {
  position: relative;
  width: 100%;
  padding: clamp(60px, 7vw, 90px) 0 clamp(20px, 2.5vw, 36px);
  background: linear-gradient(180deg, #F0F9FF 0%, #E0F2FE 20%, #BAE6FD 55%, #62B8F6 82%, #2296F3 100%);
  border-top: none;
  border-bottom: none;
  overflow: hidden;
}

/* Lớp sương biển mờ ảo và dải chuyển tiếp mượt mà giữa Khối 3 & 4 */
.home-pillars-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(60px, 8vw, 110px);
  background: linear-gradient(180deg, rgba(240, 249, 255, 0.95) 0%, rgba(14, 165, 233, 0.08) 60%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

/* Chuyển tiếp mỏng mịn, hòa sắc đại dương liền mạch giữa Khối 4 và Khối 5 (gọn gàng, thanh thoát) */
.home-pillars-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(20px, 2vw, 32px);
  background: linear-gradient(180deg, transparent 0%, rgba(34, 150, 243, 0.4) 60%, #2296F3 100%);
  z-index: 3;
  pointer-events: none;
}

/* Layer hậu cảnh Sa Bàn Cảng Biển 3D (Hòa tan tự nhiên mượt mà) */
.pillars-diorama-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 6%, black 18%, black 72%, transparent 98%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 6%, black 18%, black 72%, transparent 98%);
}

.pillars-diorama-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.12) brightness(0.98);
  transform: scale(1.03);
}

/* Lớp phủ chuyển sắc tươi sáng: làm sáng biển, kết nối liền mạch tông xanh nắng với Khối 5 */
.pillars-diorama-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.82) 0%, rgba(240, 249, 255, 0.85) 45%, rgba(14, 165, 233, 0.2) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, transparent 25%, transparent 75%, rgba(34, 150, 243, 0.45) 100%);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.home-pillars-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.5vw, 48px);
  transform: translateY(10px);
}

/* Tiêu đề 4 Trụ Cột Chiến Thuật - Sử dụng Font Sans-serif hình học hiện đại chống lỗi chữ số */
.pillars-headline-modern {
  font-family: 'Outfit', 'Montserrat', 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 1.5px;
  color: #032B54;
  font-variant-numeric: normal;
  text-transform: uppercase;
}

.pillars-fandeck-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 2.8vw, 32px);
  width: 100%;
  margin-top: 16px;
}

/* 4-Card 3D Fan Deck Area (Organic Dynamic Scatter) */
.pillars-fandeck-area {
  position: relative;
  width: 100%;
  max-width: 1180px;
  height: clamp(380px, 38vw, 490px);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  user-select: none;
  margin: 10px 0 20px;
}

/* Base Card Style in Fan Deck - Tăng kích thước +10% */
.pillar-fandeck-card {
  position: absolute;
  width: clamp(231px, 25.5vw, 322px);
  height: clamp(155px, 17.1vw, 213px);
  border-radius: 16px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.52);
  transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.4s ease, filter 0.4s ease;
  transform-style: preserve-3d;
  background-color: #0c2340;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fandeck-card-img {
  width: clamp(155px, 17.1vw, 213px);
  height: clamp(231px, 25.5vw, 322px);
  max-width: none;
  max-height: none;
  object-fit: cover;
  display: block;
  transform: rotate(-90deg);
  transform-origin: center center;
  border-radius: 16px;
}

/* Card Badge Pill on Deck */
.fandeck-card-pill {
  position: absolute;
  bottom: 8px;
  right: 12px;
  left: auto;
  transform: none;
  padding: 4px 12px;
  background: rgba(12, 35, 64, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
  z-index: 5;
}

.fandeck-card-pill span {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #FFFFFF;
  text-transform: uppercase;
}

/* Card Glare effect */
.fandeck-card-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  z-index: 4;
}

/* BỐ CỤC CĂN GIỮA HOÀN HẢO & CÁCH ĐỀU 2 CẠNH (Symmetrical Center-Relative Positioning) */
/* Thẻ 1: Phương Tiện (Bên trái ngoài cùng, xoay -8°) */
.pillar-fandeck-card.card-green-style {
  left: calc(50% - 365px);
  top: 25px;
  transform: translate(-50%, 0) rotate(-8deg);
  z-index: 1;
}

/* Thẻ 2: Sự Kiện (Bên trái giữa, hơi thấp xuống, xoay 4°) */
.pillar-fandeck-card.card-red-style {
  left: calc(50% - 122px);
  top: 55px;
  transform: translate(-50%, 0) rotate(4deg);
  z-index: 2;
}

/* Thẻ 3: Thẻ Chợ (Bên phải giữa, hơi nhô lên, xoay -4°) */
.pillar-fandeck-card.card-blue-style {
  left: calc(50% + 122px);
  top: 22px;
  transform: translate(-50%, 0) rotate(-4deg);
  z-index: 3;
}

/* Thẻ 4: Incoterms (Bên phải ngoài cùng, xoay 9°) */
.pillar-fandeck-card.card-yellow-style {
  left: calc(50% + 365px);
  top: 52px;
  transform: translate(-50%, 0) rotate(9deg);
  z-index: 2;
}

@media (max-width: 1200px) {
  .pillar-fandeck-card.card-green-style {
    left: calc(50% - 330px);
  }

  .pillar-fandeck-card.card-red-style {
    left: calc(50% - 110px);
  }

  .pillar-fandeck-card.card-blue-style {
    left: calc(50% + 110px);
  }

  .pillar-fandeck-card.card-yellow-style {
    left: calc(50% + 330px);
  }
}

@media (max-width: 992px) {
  .pillar-fandeck-card.card-green-style {
    left: calc(50% - 220px);
    top: 18px;
  }

  .pillar-fandeck-card.card-red-style {
    left: calc(50% - 75px);
    top: 48px;
  }

  .pillar-fandeck-card.card-blue-style {
    left: calc(50% + 75px);
    top: 18px;
  }

  .pillar-fandeck-card.card-yellow-style {
    left: calc(50% + 220px);
    top: 45px;
  }
}

@media (max-width: 680px) {
  .pillars-fandeck-area {
    height: clamp(240px, 45vw, 320px);
  }

  .pillar-fandeck-card.card-green-style {
    left: calc(50% - 110px);
    top: 10px;
  }

  .pillar-fandeck-card.card-red-style {
    left: calc(50% - 35px);
    top: 40px;
  }

  .pillar-fandeck-card.card-blue-style {
    left: calc(50% + 35px);
    top: 15px;
  }

  .pillar-fandeck-card.card-yellow-style {
    left: calc(50% + 110px);
    top: 45px;
  }
}

/* Hover effect on 3D Card */
.pillar-fandeck-card:hover {
  transform: translate(-50%, -24px) scale(1.1) rotate(0deg) !important;
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.7), 0 0 26px rgba(14, 165, 233, 0.45);
  z-index: 10 !important;
  filter: brightness(1.05);
}

.pillar-fandeck-card:hover .fandeck-card-pill {
  background: var(--color-sky-dark);
  border-color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.6);
}

/* 3D Decorative Assets TẢN RỘNG RA CÁC GÓC (Không xếp chồng lên thẻ) */
.pillar-decor-3d {
  position: absolute;
  pointer-events: none;
  transition: transform 0.3s ease;
}

/* 1. Cần cẩu: Dạt xa về góc dưới cùng bên trái */
.decor-crane-bottom-left {
  left: calc(50% - 460px);
  bottom: 10px;
  width: clamp(80px, 9.5vw, 115px);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
  z-index: 1;
}

/* 2. Container xếp chồng: Dạt xa về góc dưới cùng bên phải */
.decor-cont-bottom-right {
  right: calc(50% - 450px);
  bottom: 20px;
  width: clamp(75px, 9vw, 110px);
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.45));
  z-index: 1;
}

/* 3. Tàu lớn: Hạ sâu xuống đáy giữa 2 hàng nút */
.decor-boat-bottom-center {
  left: calc(50% - 55px);
  bottom: -15px;
  width: clamp(95px, 11vw, 135px);
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.5));
  z-index: 1;
}

/* 4. Container đơn lẻ: Dời hẳn lên góc trên cùng bên trái, cách xa thẻ Phương Tiện */
.decor-cont-top-left {
  left: calc(50% - 560px);
  top: -20px;
  width: clamp(60px, 7vw, 80px);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
  transform: rotate(-18deg);
  z-index: 1;
}

/* 5. Tàu trên cao: Dạt lên góc trên cùng bên phải */
.decor-boat-top-right {
  right: calc(50% - 540px);
  top: -20px;
  width: clamp(70px, 8vw, 95px);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
  transform: rotate(18deg);
  z-index: 1;
}

/* 6. Tàu góc trước: Dạt ra mép ngoài cùng phía dưới bên trái */
.decor-boat-side-right {
  left: calc(50% - 590px);
  top: 150px;
  width: clamp(55px, 6.5vw, 75px);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
  transform: rotate(12deg);
  z-index: 1;
}

.pillar-3d-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating Animations (Lơ lửng lệch pha) */
@keyframes float3D-1 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

@keyframes float3D-2 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(-2deg);
  }
}

@keyframes float3D-3 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-7px) rotate(1.5deg);
  }
}

@keyframes float3D-4 {

  0%,
  100% {
    transform: translateY(0) rotate(-16deg);
  }

  50% {
    transform: translateY(-9px) rotate(-11deg);
  }
}

@keyframes float3D-5 {

  0%,
  100% {
    transform: translateY(0) rotate(18deg);
  }

  50% {
    transform: translateY(-10px) rotate(22deg);
  }
}

@keyframes float3D-6 {

  0%,
  100% {
    transform: translateY(0) rotate(10deg);
  }

  50% {
    transform: translateY(-8px) rotate(14deg);
  }
}

.float-anim-1 {
  animation: float3D-1 4.2s ease-in-out infinite;
}

.float-anim-2 {
  animation: float3D-2 4.8s ease-in-out infinite 0.8s;
}

.float-anim-3 {
  animation: float3D-3 3.8s ease-in-out infinite 1.4s;
}

.float-anim-4 {
  animation: float3D-4 4.5s ease-in-out infinite 0.5s;
}

.float-anim-5 {
  animation: float3D-5 5.0s ease-in-out infinite 1.2s;
}

.float-anim-6 {
  animation: float3D-6 4.0s ease-in-out infinite 2.0s;
}

@media (max-width: 1080px) {
  .decor-boat-side-right {
    display: none;
  }

  .decor-crane-bottom-left {
    left: calc(50% - 370px);
  }

  .decor-cont-bottom-right {
    right: calc(50% - 360px);
  }

  .decor-cont-top-left {
    left: calc(50% - 330px);
  }

  .decor-boat-top-right {
    right: calc(50% - 320px);
  }
}

@media (max-width: 768px) {

  .decor-cont-top-left,
  .decor-boat-top-right,
  .decor-boat-bottom-center {
    display: none;
  }
}

/* Quick Pill Selector Buttons under deck */
.pillars-selector-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.pillar-select-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(12, 35, 64, 0.8);
  backdrop-filter: blur(8px);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.pillar-select-btn .dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pillar-select-btn.btn-green .dot-indicator {
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.pillar-select-btn.btn-red .dot-indicator {
  background: #EF4444;
  box-shadow: 0 0 8px #EF4444;
}

.pillar-select-btn.btn-blue .dot-indicator {
  background: #0284C7;
  box-shadow: 0 0 8px #0284C7;
}

.pillar-select-btn.btn-yellow .dot-indicator {
  background: #F59E0B;
  box-shadow: 0 0 8px #F59E0B;
}

.pillar-select-btn:hover {
  transform: translateY(-3px);
  background: rgba(14, 165, 233, 0.25);
  border-color: #0EA5E9;
  box-shadow: 0 8px 22px rgba(14, 165, 233, 0.35);
}

/* ============================================================
   3D FLIP CARD MODAL SHOWCASE (BRIGHT MARITIME ADVENTURE)
   ============================================================ */

.modal-overlay {
  transition: opacity 0.35s cubic-bezier(0.2, 0, 0, 1), visibility 0.35s;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(13, 46, 84, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 9999;
}

.modal-3d-card-content {
  width: 90vw !important;
  max-width: 1420px !important;
  min-width: 320px !important;
  height: 84vh !important;
  min-height: 640px !important;
  max-height: 860px !important;
  background: linear-gradient(145deg, #FFFFFF 0%, #F8FBFF 55%, #EDF6FF 100%) !important;
  border: 2px solid #BAE6FD !important;
  border-radius: 28px !important;
  box-shadow: 0 28px 80px rgba(13, 46, 84, 0.3), 0 4px 24px rgba(14, 165, 233, 0.15), inset 0 2px 0 rgba(255, 255, 255, 0.95) !important;
  padding: clamp(22px, 2.5vw, 36px) !important;
  transform: scale(0.92) translateY(20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.15), opacity 0.3s ease;
  position: relative;
  overflow: hidden !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.modal-overlay.active .modal-3d-card-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Close Button - Bright Round & Bouncy */
.modal-3d-card-content .modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #BAE6FD;
  color: #0369A1;
  font-size: 1.65rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.14);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 30;
  padding: 0;
}

.modal-3d-card-content .modal-close:hover {
  background: #EF4444;
  color: #FFFFFF;
  border-color: #EF4444;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.35);
}

.modal-3d-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
  min-width: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

@media (min-width: 960px) {
  .modal-3d-body {
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 36px;
    height: 100%;
    align-items: stretch;
  }
}

/* ============================================================
   LEFT COLUMN: 3D CARD STAGE & PODIUM (EXPANDED PROPORTIONS)
   ============================================================ */

.modal-card-view {
  min-width: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-stage-wrapper {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
  border: 1.5px solid #BAE6FD;
  border-radius: 24px;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: inset 0 2px 8px rgba(14, 165, 233, 0.05), 0 6px 20px rgba(13, 46, 84, 0.06);
  box-sizing: border-box;
}

/* 3D Flip Container - Cố định vùng lật rộng rãi */
.modal-flip-container {
  width: 100%;
  max-width: 320px;
  flex: 1;
  margin: 0 auto;
  perspective: 1300px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.modal-flip-inner {
  position: relative;
  width: 300px;
  height: 200px;
  /* Kích thước ngang Container 3D */
  transition: width 0.55s cubic-bezier(0.34, 1.25, 0.64, 1),
    height 0.55s cubic-bezier(0.34, 1.25, 0.64, 1),
    transform 0.65s cubic-bezier(0.34, 1.25, 0.64, 1);
  transform-style: preserve-3d;
}

/* Trạng thái Lật: Xoay 180° trục Y và biến thành kích thước dọc chuẩn lá bài */
.modal-flip-inner.is-flipped {
  width: 250px;
  height: 365px;
  /* Kích thước dọc khi ở mặt trước lá bài */
  transform: rotateY(180deg);
}

.modal-flip-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(13, 46, 84, 0.2), 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 2.5px solid #FFFFFF;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.modal-flip-container:hover .modal-flip-face {
  box-shadow: 0 18px 40px rgba(14, 165, 233, 0.28), 0 0 16px rgba(245, 158, 11, 0.18);
  border-color: #BAE6FD;
}

/* Mặt sau: Nằm ngang Container 3D */
.modal-flip-back {
  transform: rotateY(0deg);
  background: #0d2e54;
}

.modal-flip-back .modal-card-img {
  width: 200px;
  height: 300px;
  max-width: none;
  max-height: none;
  object-fit: cover;
  display: block;
  transform: rotate(-90deg);
  transform-origin: center center;
}

/* Mặt trước: Nằm dọc Thẻ chức năng */
.modal-flip-front {
  transform: rotateY(180deg);
  background: #F8FAFC;
}

.modal-flip-front .modal-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: none;
  background: #F8FAFC;
}

/* Flip Hint Tag on Card */
.modal-card-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  border: 1px solid #BAE6FD;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(13, 46, 84, 0.1);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.modal-card-hint svg {
  color: #0284C7;
}

.modal-card-hint span {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0369A1;
  letter-spacing: 0.2px;
}

/* Podium Base & Action Flip Button */
.modal-card-podium {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-top: 4px;
  flex-shrink: 0;
}

.podium-glow {
  position: absolute;
  top: -6px;
  width: 220px;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.3) 0%, rgba(245, 158, 11, 0.15) 50%, transparent 75%);
  border-radius: 50%;
  pointer-events: none;
}

.modal-flip-trigger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 28px;
  background: #FFFFFF;
  border: 1.5px solid #BAE6FD;
  border-radius: 999px;
  color: #0284C7;
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(14, 165, 233, 0.12);
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  position: relative;
  z-index: 2;
  letter-spacing: 0.3px;
}

.modal-flip-trigger-btn:hover {
  background: #0284C7;
  border-color: #0284C7;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(2, 132, 199, 0.25);
}

/* ============================================================
   RIGHT COLUMN: DETAILS, RULES & CAROUSEL (EXPANDED WIDTH)
   ============================================================ */

.modal-card-details {
  min-width: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-sizing: border-box;
}

.modal-details-header {
  min-height: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 50px;
  min-width: 0;
  flex-shrink: 0;
}

.modal-type-badge-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.modal-card-type {
  display: inline-block;
  padding: 3px 14px;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: #EF4444;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.2);
}

.modal-card-type.type-su-kien {
  background: #EF4444;
}

.modal-card-type.type-incoterm {
  background: #0284C7;
}

.modal-card-type.type-cho {
  background: #F59E0B;
}

.modal-card-type.type-phuong-tien {
  background: #10B981;
}

.modal-card-title {
  font-family: 'Outfit', 'Montserrat', 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(1.4rem, 2.3vw, 1.95rem);
  font-weight: 800;
  color: #0D2E54;
  letter-spacing: -0.2px;
  margin: 0;
  line-height: 1.25;
  word-break: break-word;
  font-variant-numeric: normal;
  overflow: visible;
}

/* 2 Info Grid Boxes - Khóa cố định chiều cao 165px, mở rộng tối đa chiều ngang */
.modal-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
  height: 165px;
  min-height: 165px;
  max-height: 165px;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .modal-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.modal-card-desc-box,
.modal-card-strategy {
  background: #FFFFFF;
  border: 1.5px solid #BAE6FD;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 3px 12px rgba(14, 165, 233, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  overflow-y: auto;
}

/* Custom mini scrollbar for info boxes */
.modal-card-desc-box::-webkit-scrollbar,
.modal-card-strategy::-webkit-scrollbar {
  width: 4px;
}

.modal-card-desc-box::-webkit-scrollbar-thumb,
.modal-card-strategy::-webkit-scrollbar-thumb {
  background: #BAE6FD;
  border-radius: 999px;
}

.modal-card-desc-box:hover,
.modal-card-strategy:hover {
  border-color: #38BDF8;
  box-shadow: 0 5px 16px rgba(14, 165, 233, 0.1);
}

.modal-box-header {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  flex-shrink: 0;
}

.modal-box-subtitle {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #0284C7;
  margin: 0;
  white-space: nowrap;
}

.modal-card-effect,
.modal-card-strategy p {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #334155;
  margin: 0;
  word-break: break-word;
}

/* ============================================================
   HORIZONTAL SUBCARDS CAROUSEL (EXPANDED TO 228px TALL & UNCLIPPED)
   ============================================================ */

.modal-subcards-section {
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid #BAE6FD;
  border-radius: 20px;
  padding: 10px 18px 8px;
  box-shadow: 0 4px 14px rgba(13, 46, 84, 0.04);
  min-width: 0;
  width: 100%;
  height: 228px;
  min-height: 228px;
  max-height: 228px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  flex-shrink: 0;
}

.modal-subcards-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
  gap: 8px;
  flex-shrink: 0;
}

.modal-subcards-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.modal-subcards-title-wrap .modal-box-subtitle {
  color: #0369A1;
  font-size: 0.82rem;
}

.modal-carousel-indicator {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  color: #F59E0B;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  padding: 2px 10px;
  border-radius: 999px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
}

.modal-subcards-track-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
  flex: 1;
  display: flex;
  align-items: center;
}

/* Horizontal Scrolling Gallery */
.modal-subcards-gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 18px 8px 16px;
  /* Khoảng đệm trên 18px chống cắt mép khi phóng to */
  cursor: grab;
  width: 100%;
  height: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.modal-subcards-gallery:active {
  cursor: grabbing;
}

/* Custom rounded scrollbar */
.modal-subcards-gallery::-webkit-scrollbar {
  height: 5px;
}

.modal-subcards-gallery::-webkit-scrollbar-track {
  background: #E0F2FE;
  border-radius: 999px;
}

.modal-subcards-gallery::-webkit-scrollbar-thumb {
  background: #38BDF8;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.modal-subcards-gallery::-webkit-scrollbar-thumb:hover {
  background: #0284C7;
}

/* Subcard Thumbnail - Chiều cao 104px hiển thị sắc nét, trọn vẹn cả khi active/hover */
.modal-subcard-thumb {
  position: relative;
  flex: 0 0 70px;
  width: 70px;
  height: 104px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border-radius: 11px;
  overflow: hidden;
  border: 2px solid #CBD5E1;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, box-shadow 0.25s ease;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  user-select: none;
  box-sizing: border-box;
}

.modal-subcard-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.modal-subcard-thumb:hover {
  transform: translateY(-3px) scale(1.07);
  border-color: #38BDF8;
  box-shadow: 0 8px 18px rgba(56, 189, 248, 0.38);
  z-index: 5;
}

.modal-subcard-thumb.active {
  transform: translateY(-3px) scale(1.09);
  border-color: #F59E0B;
  box-shadow: 0 0 0 2.5px rgba(245, 158, 11, 0.45), 0 10px 24px rgba(245, 158, 11, 0.5);
  z-index: 6;
}

.modal-subcard-thumb.active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #F59E0B;
  border-radius: 50%;
  box-shadow: 0 0 6px #F59E0B;
}

.modal-carousel-hint-text {
  text-align: right;
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-carousel-hint-text span {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748B;
}

/* ============================================================
   ELASTIC 3D CARD DECK SLIDE ANIMATIONS (0.42s SILKY SMOOTH)
   ============================================================ */

/* Slide Next (lướt từ phải sang với góc nghiêng 3D đàn hồi như rút thẻ) */
@keyframes cardDeckSlideNext {
  0% {
    opacity: 0.15;
    transform: rotateY(164deg) rotateZ(3deg) translateX(42px) scale(0.90);
    filter: brightness(1.15);
  }

  65% {
    opacity: 0.95;
    transform: rotateY(181.5deg) rotateZ(-0.5deg) translateX(-2.5px) scale(1.012);
  }

  100% {
    opacity: 1;
    transform: rotateY(180deg) rotateZ(0deg) translateX(0) scale(1);
    filter: brightness(1);
  }
}

/* Slide Prev (lướt từ trái sang với góc nghiêng 3D đàn hồi như rút thẻ) */
@keyframes cardDeckSlidePrev {
  0% {
    opacity: 0.15;
    transform: rotateY(196deg) rotateZ(-3deg) translateX(-42px) scale(0.90);
    filter: brightness(1.15);
  }

  65% {
    opacity: 0.95;
    transform: rotateY(178.5deg) rotateZ(0.5deg) translateX(2.5px) scale(1.012);
  }

  100% {
    opacity: 1;
    transform: rotateY(180deg) rotateZ(0deg) translateX(0) scale(1);
    filter: brightness(1);
  }
}

.modal-flip-front.slide-next {
  animation: cardDeckSlideNext 0.42s cubic-bezier(0.18, 1.15, 0.32, 1) forwards;
}

.modal-flip-front.slide-prev {
  animation: cardDeckSlidePrev 0.42s cubic-bezier(0.18, 1.15, 0.32, 1) forwards;
}

@keyframes modalTextFadeSlide {
  0% {
    opacity: 0.15;
    transform: translateY(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-text-fade-in {
  animation: modalTextFadeSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ============================================================
   GAMEPLAY PAGE (CÁCH CHƠI) — REDESIGNED
   ============================================================ */

/* ── PAGE WRAPPER ── */
.gp-page {
  background: url('assets/bg-gameplay.png') no-repeat center top / cover fixed, #FAFCFF;
  min-height: 100vh;
  font-family: var(--font-body);
}

/* ── HERO HEADER ── */
.gp-hero {
  background: transparent;
  text-align: center;
  padding: 60px 24px 0;
  border-bottom: 1px solid rgba(226, 238, 248, 0.6);
}

.gp-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.gp-hero-divider {
  width: 60px;
  height: 3px;
  background: #F59E0B;
  margin: 0 auto 20px;
  border-radius: 2px;
}

.gp-hero-sub {
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ── TAB NAVIGATION ── */
.gp-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  background: #F1F5F9;
  border-radius: 12px 12px 0 0;
  padding: 6px;
  max-width: 720px;
  margin: 0 auto;
}

.gp-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  white-space: nowrap;
}

.gp-tab svg {
  flex-shrink: 0;
}

.gp-tab:hover {
  background: rgba(255, 255, 255, 0.8);
  color: #0369A1;
}

.gp-tab.active {
  background: #F97316;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.35);
}

/* ── QUICK STATS BAR ── */
.gp-stats-bar {
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 238, 248, 0.8);
  border-radius: 12px;
  margin: 24px auto;
  max-width: 1100px;
  padding: 0 16px;
  gap: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.08);
}

.gp-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  padding: 24px 20px;
  border-right: 1px solid #E2EEF8;
}

.gp-stat:last-child {
  border-right: none;
}

.gp-stat-icon {
  color: #0EA5E9;
  flex-shrink: 0;
}

.gp-goal-icon {
  color: #F59E0B;
}

.gp-stat-goal {
  flex: 1.6;
}

.gp-stat-text {
  display: flex;
  flex-direction: column;
}

.gp-stat-text strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
}

.gp-stat-text span {
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.4;
  margin-top: 2px;
}

/* ── MAIN CONTENT WRAPPER ── */
.gp-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── SECTION BLOCKS ── */
.gp-section-block {
  padding: 40px 0 50px;
  border-bottom: 1px solid rgba(226, 238, 248, 0.6);
}

.gp-section-block:last-child {
  border-bottom: none;
}

.gp-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.gp-section-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F97316;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: 0 3px 10px rgba(249, 115, 22, 0.3);
}

.gp-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.gp-section-intro {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

/* ── ACTIONS GRID (3 cards) ── */
.gp-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gp-action-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 238, 248, 0.8);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px rgba(14, 165, 233, 0.06);
}

.gp-action-card:hover {
  border-color: #BAE6FD;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.14);
  transform: translateY(-3px);
}

.gp-action-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.gp-action-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #F97316;
  line-height: 1;
  font-family: var(--font-display);
}

.gp-action-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
}

.gp-action-icon-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  margin-bottom: 16px;
  background: rgba(248, 251, 255, 0.8);
  border-radius: 8px;
  border: 1px solid #E0F2FE;
}

.gp-action-icon-wrap svg {
  width: 80px;
  height: auto;
}

.gp-action-desc {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.65;
}

/* ── FLOW GRID (4 steps with arrows) ── */
.gp-flow-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
}

.gp-flow-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 238, 248, 0.8);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.2s ease;
  min-width: 180px;
}

.gp-flow-card:hover {
  border-color: #BAE6FD;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.1);
}

.gp-flow-badge {
  display: inline-block;
  background: #F97316;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.gp-flow-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.gp-flow-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 10px;
}

.gp-flow-desc {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.6;
}

.gp-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #94A3B8;
  padding: 0 6px;
  flex-shrink: 0;
}

/* ── INCOTERMS GRID (2×2 cards) ── */
.gp-incoterm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.gp-inc-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px 24px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.gp-inc-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.gp-inc-e {
  border-color: #BAE6FD;
  background: #F0F9FF;
}

.gp-inc-f {
  border-color: #BBF7D0;
  background: #F0FDF4;
}

.gp-inc-c {
  border-color: #FDE68A;
  background: #FFFBEB;
}

.gp-inc-d {
  border-color: #FECACA;
  background: #FFF5F5;
}

.gp-inc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.gp-inc-icon {
  flex-shrink: 0;
}

.gp-inc-e .gp-inc-icon {
  color: #0284C7;
}

.gp-inc-f .gp-inc-icon {
  color: #059669;
}

.gp-inc-c .gp-inc-icon {
  color: #D97706;
}

.gp-inc-d .gp-inc-icon {
  color: #DC2626;
}

.gp-inc-group-label {
  font-weight: 700;
  font-size: 0.92rem;
  color: #0F172A;
  line-height: 1.3;
}

.gp-inc-intro {
  font-size: 0.82rem;
  color: #475569;
  margin-bottom: 12px;
  font-style: italic;
  line-height: 1.5;
}

.gp-inc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gp-inc-list li {
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}

.gp-inc-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #94A3B8;
}

/* ── NOTE BOX ── */
.gp-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 10px;
  padding: 18px 22px;
}

.gp-note svg {
  color: #D97706;
  flex-shrink: 0;
  margin-top: 2px;
}

.gp-note strong {
  display: block;
  font-size: 0.9rem;
  color: #92400E;
  margin-bottom: 6px;
}

.gp-note p {
  font-size: 0.82rem;
  color: #78350F;
  line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .gp-stats-bar {
    flex-wrap: wrap;
    gap: 0;
  }

  .gp-stat {
    flex: 1 1 45%;
    border-bottom: 1px solid #E2EEF8;
  }

  .gp-stat:nth-child(even) {
    border-right: none;
  }

  .gp-actions-grid {
    grid-template-columns: 1fr;
  }

  .gp-incoterm-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .gp-stats-bar {
    flex-direction: column;
  }

  .gp-stat {
    border-right: none;
    border-bottom: 1px solid #E2EEF8;
  }

  .gp-flow-grid {
    flex-direction: column;
    gap: 12px;
  }

  .gp-flow-arrow {
    transform: rotate(90deg);
  }
}

/* ============================================================
   3-TIER BOARD GAME EXPERIENTIAL FOOTER (RESPONSIVE GRID)
   ============================================================ */

.bg-footer {
  width: 100%;
  position: relative;
  background-color: #053F8F;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
}

/* ── DẢI BÀN CỜ CHECKERBOARD ── */
.bg-checker-strip {
  position: relative;
  width: 100%;
  height: 24px;
  background-color: #053F8F;
  z-index: 10;
  overflow: hidden;
}

.strip-top {
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.strip-bottom {
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.checker-pattern-line {
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(90deg,
      #FFFFFF 0px, #FFFFFF 26px,
      #0284C7 26px, #0284C7 52px,
      #FFFFFF 52px, #FFFFFF 78px,
      #0284C7 78px, #0284C7 104px,
      #FF8A00 104px, #FF8A00 130px,
      #0284C7 130px, #0284C7 156px);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* ── TẦNG 1: HERO FOOTER SECTION ── */
.bg-footer-hero {
  background: linear-gradient(135deg, #006F8F 0%, #008CA8 40%, #00779B 100%);
  padding: 36px 30px 46px;
  position: relative;
}

.bg-footer-hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 5;
}

.bg-footer-hero-brand {
  flex: 1.1;
  max-width: 560px;
}

.bg-hero-brand-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.bg-hero-product-combo {
  position: relative;
  width: 240px;
  flex-shrink: 0;
}

.bg-hero-prod-main {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.bg-hero-prod-main:hover {
  transform: translateY(-4px) scale(1.03);
}

.bg-hero-prod-box-3d {
  position: absolute;
  right: -65px;
  bottom: -32px;
  width: 175px;
  height: auto;
  z-index: 6;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.75));
  transform: perspective(600px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.bg-hero-product-combo:hover .bg-hero-prod-box-3d {
  transform: perspective(600px) rotateY(0deg) rotateX(0deg) scale(1.08) translateY(-6px);
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.85));
}

.bg-hero-brand-text {
  padding-top: 4px;
}

.bg-hero-logo-img {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

/* THIẾT KẾ CHỮ MÀU TRẮNG TINH KHÔI & SẮC NÉT */
.bg-hero-title {
  font-family: 'Cormorant Garamond', 'Cinzel', serif;
  font-size: 2.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #FFFFFF;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.35);
  margin: 0;
  line-height: 1;
}

.bg-hero-slogan {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 4.5px;
  text-transform: uppercase;
  color: #FFFFFF;
  opacity: 1;
  white-space: nowrap;
  margin-top: 12px;
  margin-bottom: 0;
  display: block;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 12px rgba(255, 255, 255, 0.25);
}

.bg-hero-stats-row {
  display: inline-flex;
  align-items: center;
  background: rgba(4, 47, 94, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 40px;
  padding: 8px 22px;
  gap: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

.bg-hero-stat-pill {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bg-stat-ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-stat-lbl {
  display: flex;
  flex-direction: column;
}

.bg-stat-lbl strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
}

.bg-stat-lbl span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #B7D9EF;
}

/* 4 Cards Section */
.bg-footer-hero-cards-area {
  flex: 1;
  position: relative;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.bg-illus-card {
  position: absolute;
  width: 126px;
  height: 189px;
  border-radius: 13px;
  padding: 0;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.bg-card-img-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
  display: block;
}

.bg-illus-card:hover {
  transform: translateY(-12px) scale(1.06) rotate(0deg) !important;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.5);
  z-index: 10 !important;
}

.bg-illus-card.card-green-style,
.card-green-style {
  right: 324px;
  top: 25px;
  transform: rotate(-8deg);
  z-index: 1;
}

.bg-illus-card.card-red-style,
.card-red-style {
  right: 225px;
  top: 12px;
  transform: rotate(-3deg);
  z-index: 2;
}

.bg-illus-card.card-blue-style,
.card-blue-style {
  right: 117px;
  top: 4px;
  transform: rotate(3deg);
  z-index: 4;
}

.bg-illus-card.card-yellow-style,
.card-yellow-style {
  right: 10px;
  top: 22px;
  transform: rotate(-4deg);
  z-index: 3;
}

.bg-decor-3d-crane {
  position: absolute;
  right: 396px;
  bottom: -24px;
  width: 95px;
  height: auto;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
}

.bg-3d-crane-img {
  width: 100%;
  height: auto;
  display: block;
}

.bg-btn-and-cont-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bg-col-single-cont-wrap {
  width: 44px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.bg-col-single-cont-img {
  width: 100%;
  height: auto;
  display: block;
}

.bg-decor-3d-cont {
  position: absolute;
  right: -20px;
  top: -18px;
  width: 81px;
  height: auto;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.45));
}

.bg-3d-cont-img {
  width: 100%;
  height: auto;
  display: block;
}

.bg-decor-3d-boat {
  position: absolute;
  right: 90px;
  bottom: -30px;
  width: 112px;
  height: auto;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.5));
}

.bg-3d-boat-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── TẦNG 2: MAIN FOOTER CONTENT (4 CỘT NGANG CHUẨN GRID) ── */
.bg-footer-main {
  background-color: #053F8F;
  padding: 18px 30px 14px;
}

.bg-footer-main-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1.25fr;
  gap: 28px;
}

.bg-footer-col {
  position: relative;
}

.bg-footer-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 0;
  bottom: 0;
  width: 1px;
  border-right: 1.5px dashed rgba(0, 220, 255, 0.35);
}

.bg-col-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.bg-col-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: #38BDF8;
  letter-spacing: 0.5px;
}

.bg-title-underline {
  width: 36px;
  height: 2.5px;
  background-color: #FFC400;
  margin-bottom: 10px;
  border-radius: 2px;
}

.bg-col-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  color: #FFFFFF;
  line-height: 1.5;
  margin-bottom: 12px;
}

.bg-btn-more {
  display: inline-block;
  background-color: #0284C7;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 7px 16px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.bg-btn-more:hover {
  background-color: #38BDF8;
  color: #0F172A;
  transform: translateY(-2px);
}

.bg-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bg-footer-links a {
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.bg-link-arrow {
  color: #FFC400;
  font-size: 0.7rem;
}

.bg-footer-links a:hover {
  color: #FFC400;
}

.bg-newsletter-form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.bg-news-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(0, 210, 255, 0.4);
  border-radius: 6px;
  padding: 8px 12px;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  outline: none;
}

.bg-news-input::placeholder {
  color: #94A3B8;
}

.bg-news-btn {
  background-color: #FF8A00;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 138, 0, 0.4);
  transition: background 0.2s ease;
  white-space: nowrap;
}

.bg-news-btn:hover {
  background-color: #F97316;
}

.bg-social-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: #38BDF8;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.bg-social-row {
  display: flex;
  gap: 10px;
}

.bg-soc-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
}

.bg-soc-circle:hover {
  background: #0284C7;
  transform: translateY(-3px);
}

.btn-zl {
  font-size: 0.72rem;
}

/* ── TẦNG 3: COPYRIGHT STRIP ── */
.bg-footer-copyright {
  background-color: #0284C7;
  height: 38px;
  padding: 0 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bg-copyright-wave-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bg-copy-decor {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
}

.decor-left-side {
  left: 40px;
}

.decor-right-side {
  right: 40px;
}

.bg-copy-decor-img {
  width: 24px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.bg-copyright-text,
.bg-copyright-title-text {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.76rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
  text-align: center;
  z-index: 5;
  position: relative;
}

/* ── RESPONSIVE FOOTER ── */
@media (max-width: 1100px) {
  .bg-footer-main-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .bg-footer-col:nth-child(2)::after {
    display: none;
  }

  .bg-footer-hero-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .bg-footer-hero-cards-area {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .bg-footer-main-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bg-footer-col::after {
    display: none !important;
  }

  .bg-hero-stats-row {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    border-radius: 20px;
  }

  .bg-newsletter-form {
    flex-direction: column;
  }

  .bg-copy-decor {
    display: none;
  }
}

/* ============================================================
   CARD TITLE TYPOGRAPHY (SANS-SERIF ENFORCEMENT - NO SERIF)
   ============================================================ */
#modalCardTitle,
.modal-card-title,
.card-title,
.card-item-title {
  font-family: 'Outfit', 'Montserrat', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 800 !important;
  color: #0D2E54 !important;
  letter-spacing: -0.2px !important;
  font-style: normal !important;
}

/* ============================================================
   STICKY FLOATING QUICK-BUY DOCK (BUY PAGE)
   ============================================================ */
.buy-floating-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: calc(100% - 32px);
  max-width: 820px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(14, 165, 233, 0.35);
  border-radius: 20px;
  padding: 12px 24px;
  box-shadow: 0 14px 40px rgba(2, 44, 92, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.buy-floating-dock.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.dock-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dock-product-preview {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dock-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: #F0F9FF;
  padding: 2px;
  border: 1px solid #BAE6FD;
}

.dock-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dock-title {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

.dock-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0284C7;
  background: #E0F2FE;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-block;
  width: fit-content;
}

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

.dock-price-tag {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.dock-label {
  font-size: 0.7rem;
  color: #64748B;
}

.dock-price {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #F97316;
}

.dock-qty-picker {
  display: inline-flex;
  align-items: center;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 2px;
}

.dock-qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: #FFFFFF;
  border-radius: 6px;
  font-weight: 700;
  color: #0F172A;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.dock-qty-btn:hover {
  background: #E2E8F0;
}

.dock-qty-val {
  min-width: 28px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: #0F172A;
}

.dock-buy-btn {
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
}

@media (max-width: 768px) {
  .buy-floating-dock {
    bottom: 12px;
    padding: 10px 14px;
    border-radius: 16px;
  }

  .dock-product-preview {
    display: none;
  }

  .dock-container {
    justify-content: space-between;
    width: 100%;
  }

  .dock-action-wrap {
    width: 100%;
    justify-content: space-between;
  }
}

/* ============================================================
   TOPDOWN SHIP CUSTOM SCROLLBAR (Thanh Cuộn Tàu Biển Tinh Gọn Sát Mép Phải)
   ============================================================ */

/* Ẩn thanh cuộn mặc định của trình duyệt trên Desktop */
@media (min-width: 769px) {
  html {
    scrollbar-width: none; /* Firefox */
  }
  body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
    width: 0;
    height: 0;
  }
}

.nautical-scroll-rail {
  position: fixed;
  right: 0;
  top: 0;
  width: 0;
  height: 100dvh;
  z-index: 99999;
  pointer-events: auto;
  user-select: none;
  background: transparent;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nautical-scroll-rail.rail-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Rãnh trượt nằm chính giữa bên dưới con tàu sát mép phải */
.nautical-rail-track {
  position: absolute;
  right: 12px;
  top: 0;
  width: 6px;
  height: 100%;
  background: rgba(12, 35, 64, 0.25);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.nautical-rail-track:hover {
  width: 8px;
  background: rgba(12, 35, 64, 0.45);
}

/* Tuyến nước xanh theo sau con tàu */
.nautical-rail-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: #0EA5E9;
  pointer-events: none;
}

/* Con tàu Container nhìn từ trên xuống (Top-down) - Đè chính diện lên thanh trượt và áp sát mép */
.nautical-ship-thumb {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
  width: 17px;
  height: 78px;
  touch-action: none;
  cursor: grab;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  filter: drop-shadow(-2px 4px 8px rgba(0, 0, 0, 0.55));
  transition: filter 0.25s ease;
}

.nautical-ship-thumb:active,
.nautical-ship-thumb.is-dragging {
  cursor: grabbing;
  transform: translateX(-50%);
  filter: drop-shadow(-3px 6px 12px rgba(0, 0, 0, 0.65));
}

.nautical-ship-icon {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  pointer-events: none;
  position: relative;
  z-index: 2;
}

/* Ẩn trên thiết bị di động (< 768px) */
@media (max-width: 768px) {
  .nautical-scroll-rail {
    display: none !important;
  }
}

/* ============================================================
   BLOCK 5 REDESIGN: NAUTICAL SUNLIT EXPEDITION (16:10 FRAME)
   Mô phỏng 100% phong cách thiết kế từ ảnh mẫu người dùng cung cấp
   ============================================================ */

.home-guide-section {
  position: relative;
  width: 100%;
  min-height: clamp(600px, 75vh, 840px);
  margin-top: -15px;
  padding: clamp(0px, calc(2.2vw - 15px), 14px) 0 clamp(36px, 4vw, 54px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2296F3;
  border-top: none;
  border-bottom: none;
}

/* Lớp Background Artwork: Bầu trời biển, ngọn hải đăng, tàu buôn, chim hải âu */
.guide-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, black 24px, black 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 24px, black 100%);
}

.guide-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  filter: saturate(1.06) brightness(1.02);
}

.guide-bg-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(34, 150, 243, 0.25) 0%, transparent 14%, transparent 86%, rgba(7, 26, 48, 0.35) 100%);
  pointer-events: none;
}

.home-guide-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(14px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 1. NAUTICAL BOARDGAME WOODEN PLAQUE BADGE (SPEC IMPLEMENTATION) */
.nautical-boardgame-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(350px, 30vw, 395px);
  height: clamp(52px, 4.4vw, 58px);
  margin-top: 122px;
  margin-bottom: 8px;
  user-select: none;
  filter: drop-shadow(0 7px 14px rgba(13, 71, 107, 0.22));
}

/* MAIN WOODEN PLAQUE */
.badge-wooden-plaque {
  position: relative;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      180deg,
      rgba(255, 240, 205, 0.07) 0px,
      rgba(255, 240, 205, 0.07) 3px,
      rgba(70, 24, 4, 0.07) 4px,
      rgba(70, 24, 4, 0.07) 7px
    ),
    linear-gradient(180deg, #DE954A 0%, #C7772E 35%, #B36420 70%, #984B15 100%);
  border: 2.8px solid #075B91;
  border-radius: 8px;
  box-shadow:
    0 4px 0 rgba(6, 62, 100, 0.24),
    0 7px 12px rgba(13, 71, 107, 0.18),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.52),
    inset 0 -3.5px 0 rgba(80, 26, 4, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

/* Rich Illustrated Boardgame Wood Grain */
.plaque-woodgrain-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 1;
  z-index: 1;
}

/* Plaque Top Highlight Line */
.plaque-highlight {
  position: absolute;
  top: 1.5px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65) 20%, rgba(255, 255, 255, 0.65) 80%, transparent);
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
}

/* Plaque Bottom Dark Bevel */
.plaque-bottom-bevel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(60, 20, 3, 0.55);
  border-radius: 0 0 6px 6px;
  pointer-events: none;
  z-index: 2;
}

/* Plaque Center Typography */
.plaque-typography {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  font-family: 'Outfit', 'Montserrat', 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(0.96rem, 1.22vw, 1.18rem);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 0 2.2px 0 #7A3508, 0 3.5px 6px rgba(0, 0, 0, 0.32);
  padding: 0 clamp(34px, 3.8vw, 46px);
  white-space: nowrap;
}

/* 2 OVERLAPPING MEDALLIONS (LEFT & RIGHT) */
.badge-medallion {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(56px, 4.8vw, 64px);
  height: clamp(56px, 4.8vw, 64px);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.medallion-left { left: -14px; }
.medallion-right { right: -14px; }

/* Faceted 3D Medallion Token SVG */
.medallion-token-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(4, 40, 68, 0.42));
}

/* 2. TYPOGRAPHY HEADLINE (MATCHING USER REFERENCE SPEC) */
.guide-nautical-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 6px 0 2px;
  font-family: 'Outfit', 'Montserrat', 'Plus Jakarta Sans', sans-serif !important;
  text-align: center;
  user-select: none;
}

.headline-part-top {
  font-size: clamp(1.575rem, 2.565vw, 2.475rem);
  font-weight: 900;
  color: #0E3566;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.2;
  text-shadow: 
    0 0 16px rgba(255, 255, 255, 0.95),
    0 0 8px rgba(255, 255, 255, 0.9),
    0 2px 4px rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 0 1px #FFFFFF) drop-shadow(0 0 8px rgba(255, 255, 255, 0.85));
}

.headline-part-bottom {
  font-size: clamp(1.665rem, 2.835vw, 2.745rem);
  font-weight: 900;
  background: linear-gradient(180deg, #054FA0 0%, #0A66C2 40%, #1E94F5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 1px #FFFFFF) drop-shadow(0 0 14px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 4px rgba(255, 255, 255, 0.9));
  letter-spacing: 1.2px;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

/* 3. NAUTICAL BOARDGAME VIDEO FRAME (SLIM & ELEGANT 3D ACCESSORY) */
.video-frame {
  position: relative;
  width: min(81%, 950px);
  aspect-ratio: 1376 / 768;
  margin: -50px auto 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  filter: drop-shadow(0 16px 36px rgba(6, 32, 55, 0.32)) drop-shadow(0 4px 12px rgba(8, 42, 72, 0.18));
}

.video-frame:hover {
  transform: translateY(-3px) scale(1.005);
  filter: drop-shadow(0 22px 44px rgba(6, 32, 55, 0.38)) drop-shadow(0 6px 16px rgba(8, 42, 72, 0.22));
}

/* 1. Recessed Video Screen - Located precisely inside the slim 3D frame opening */
.video-frame__viewport {
  position: absolute;
  left: 12.8%;
  top: 12.4%;
  width: 74.3%;
  height: 76.6%;
  border-radius: 18px;
  overflow: hidden;
  background: #021B30;
  z-index: 2;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.7);
}

.video-frame__viewport iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 103.5%;
  height: 103.5%;
  min-width: 103.5%;
  min-height: 103.5%;
  transform: translate(-50%, -50%);
  border: none;
  display: block;
}

/* 2. 3D Lifelike Nautical Frame Overlay (Sits over the video edges, with pointer-events: none) */
.video-frame__3d-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  z-index: 10;
  user-select: none;
}

/* Responsive adjustment for small screens */
@media (max-width: 768px) {
  .home-guide-section {
    padding: 24px 0 28px;
    min-height: auto;
  }
  .video-frame {
    width: 86.4vw;
    margin-top: 8px;
    filter: drop-shadow(0 10px 20px rgba(6, 32, 55, 0.28));
  }
  .video-frame__viewport {
    border-radius: 10px;
  }
}

/* ============================================================
   ABOUT VIEW REDESIGN (SUNLIT MARITIME STYLING - QUY CHIEN INSPIRATION)
   ============================================================ */

/* ---- SECTION 1: HERO CAROUSEL ---- */
.about-hero-carousel-section {
  position: relative;
  width: 100%;
  padding: 30px 0 40px;
  background: linear-gradient(180deg, #F0F8FF 0%, #EBF5FF 100%);
  overflow: hidden;
}

.about-carousel-container {
  position: relative;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: grab;
  user-select: none;
}

.about-carousel-track:active {
  cursor: grabbing;
}

.about-carousel-slide {
  flex: 0 0 85vw;
  max-width: 1100px;
  transition: all 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(0.92);
  opacity: 0.65;
}

.about-carousel-slide.active {
  transform: scale(1);
  opacity: 1;
}

.about-slide-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(11, 37, 69, 0.22);
  aspect-ratio: 21 / 9;
  min-height: 380px;
  max-height: 520px;
  background: #0B2545;
}

.about-slide-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-slide-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 37, 69, 0.15) 0%, rgba(11, 37, 69, 0.85) 100%);
}

.about-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 36px 40px;
  color: #FFFFFF;
  text-align: left;
  z-index: 2;
}

.about-slide-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #FFB800;
  text-transform: uppercase;
  background: rgba(255, 184, 0, 0.15);
  border: 1px solid rgba(255, 184, 0, 0.4);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
}

.about-slide-title {
  font-family: 'Montserrat', 'Outfit', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  margin: 0 0 10px;
  text-transform: uppercase;
  line-height: 1.25;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.about-slide-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

/* Controls */
.about-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 153, 255, 0.3);
  color: #0B2545;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.15);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.about-carousel-arrow:hover {
  background: #0099FF;
  color: #FFFFFF;
  border-color: #0099FF;
  transform: translateY(-50%) scale(1.08);
}

.about-carousel-arrow.prev { left: 40px; }
.about-carousel-arrow.next { right: 40px; }

.about-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.about-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(11, 37, 69, 0.2);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.about-dot.active {
  width: 32px;
  border-radius: 8px;
  background: #F05A22;
  box-shadow: 0 2px 8px rgba(240, 90, 34, 0.4);
}

/* ---- SECTION 2: INTERACTIVE LORE (3 TABS) ---- */
.about-lore-section {
  position: relative;
  width: 100%;
  padding: 90px 0 100px;
  background: #0B2545;
  color: #FFFFFF;
  overflow: hidden;
}

.about-lore-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.about-lore-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(1.2);
  transition: opacity 0.5s ease;
}

.about-lore-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(11, 37, 69, 0.7) 0%, rgba(11, 37, 69, 0.95) 100%);
}

.about-lore-content-wrap {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.about-section-pill {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #0099FF;
  background: rgba(0, 153, 255, 0.15);
  border: 1px solid rgba(0, 153, 255, 0.35);
  padding: 6px 18px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.about-lore-main-title {
  font-family: 'Montserrat', 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  margin: 0 0 24px;
  line-height: 1.15;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.about-lore-body-lead {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #CBD5E1;
  max-width: 820px;
  margin: 0 auto 50px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.about-lore-nav-card {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 10px;
  border-radius: 999px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.about-lore-nav-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.about-lore-pill-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.about-lore-pill-btn .pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.about-lore-pill-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.about-lore-pill-btn.active {
  color: #0B2545;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
}

.about-lore-pill-btn.active .pill-dot {
  background: #0099FF;
  transform: scale(1.25);
}

/* ---- SECTION 3: CORE MECHANICS ROWS (HOVER REVEAL) ---- */
.about-mechanics-section {
  padding: 80px 0 90px;
  background: #FFFFFF;
}

.about-mechanics-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #E2E8F0;
}

.about-mech-row {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #E2E8F0;
  transition: background-color 0.4s ease;
}

.about-mech-bg-reveal {
  position: absolute;
  top: 0;
  left: -50%;
  width: 55%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
}

.about-mech-bg-scrim {
  position: absolute;
  inset: 0;
  background: rgba(235, 245, 255, 0.5);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.about-mech-row:hover .about-mech-bg-reveal {
  left: 0;
  opacity: 0.95;
}

.about-mech-row:hover .about-mech-bg-scrim {
  opacity: 1;
}

.about-mech-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 38px 30px;
  transition: transform 0.4s ease;
}

.about-mech-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #0099FF;
  opacity: 0.45;
  min-width: 60px;
  transition: opacity 0.3s, color 0.3s;
}

.about-mech-row:hover .about-mech-number {
  opacity: 1;
  color: #F05A22;
}

.about-mech-title {
  font-family: 'Montserrat', 'Outfit', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: #0B2545;
  margin: 0;
  min-width: 380px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}

.about-mech-row:hover .about-mech-title {
  transform: translateX(20px);
  color: #0077CC;
}

.about-mech-desc {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin: 0;
  max-width: 650px;
}

.about-mech-thumb-mobile {
  display: none;
}

/* ---- SECTION 4: FAN-OUT CARDS SPOTLIGHT ---- */
.about-fanout-section {
  padding: 85px 0 95px;
  background: linear-gradient(180deg, #F8FAFC 0%, #EBF5FF 100%);
  overflow: hidden;
}

.about-fanout-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 20px;
}

.about-fanout-cards {
  position: relative;
  width: 100%;
  max-width: 760px;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-fan-card {
  position: absolute;
  width: 170px;
  height: 270px;
  border-radius: 14px;
  cursor: pointer;
  transform-origin: bottom center;
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 12px 28px rgba(11, 37, 69, 0.18);
  user-select: none;
}

.about-fan-card .fan-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.about-fan-card .fan-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 3px solid transparent;
  pointer-events: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Base fan positions */
.about-fan-card.fan-card-1 {
  transform: translateX(-160px) rotate(-26deg) translateY(24px);
  z-index: 1;
}
.about-fan-card.fan-card-2 {
  transform: translateX(-80px) rotate(-13deg) translateY(10px);
  z-index: 2;
}
.about-fan-card.fan-card-3 {
  transform: translateX(0) rotate(0deg) translateY(0);
  z-index: 3;
}
.about-fan-card.fan-card-4 {
  transform: translateX(80px) rotate(13deg) translateY(10px);
  z-index: 2;
}
.about-fan-card.fan-card-5 {
  transform: translateX(160px) rotate(26deg) translateY(24px);
  z-index: 1;
}

/* Hover & Active Spotlight states */
.about-fan-card:hover,
.about-fan-card.active-center {
  z-index: 10 !important;
  transform: translateY(-32px) scale(1.16) rotate(0deg) !important;
  box-shadow: 0 24px 50px -10px rgba(0, 153, 255, 0.45);
}

.about-fan-card:hover .fan-card-glow,
.about-fan-card.active-center .fan-card-glow {
  border-color: #0099FF;
  box-shadow: 0 0 20px rgba(0, 153, 255, 0.5);
}

/* Spotlight Info Box */
.about-spotlight-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 30px 36px;
  max-width: 680px;
  width: 100%;
  text-align: center;
  box-shadow: 0 15px 35px rgba(11, 37, 69, 0.08);
  transition: all 0.35s ease;
}

.spotlight-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0099FF;
  background: rgba(0, 153, 255, 0.1);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.spotlight-title {
  font-family: 'Montserrat', 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #0B2545;
  margin: 0 0 6px;
}

.spotlight-power {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #F05A22;
  margin-bottom: 12px;
}

.spotlight-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 16px;
}

.spotlight-hint {
  font-size: 0.8rem;
  color: #94A3B8;
  font-style: italic;
}

/* ---- SECTION 5: PRODUCT SHOWCASE & SPECS ---- */
.about-product-section {
  padding: 90px 0 100px;
  background: #FFFFFF;
}

.about-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Media Gallery */
.about-product-media-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-main-product-frame {
  position: relative;
  background: linear-gradient(135deg, #F0F8FF 0%, #E2F0FD 100%);
  border: 1px solid #D9E8F5;
  border-radius: 24px;
  overflow: hidden;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  box-shadow: 0 15px 40px rgba(11, 37, 69, 0.08);
}

.about-main-product-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.4s ease, opacity 0.3s ease;
  filter: drop-shadow(0 15px 30px rgba(11, 37, 69, 0.18));
}

.about-product-badge-flag {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #F05A22;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(240, 90, 34, 0.35);
}

.about-product-thumbs-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.about-thumb-item {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  border: 2px solid #E2E8F0;
  background: #F8FAFC;
  padding: 4px;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  transition: all 0.25s ease;
}

.about-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.about-thumb-item:hover {
  border-color: #0099FF;
  transform: translateY(-2px);
}

.about-thumb-item.active {
  border-color: #F05A22;
  box-shadow: 0 4px 14px rgba(240, 90, 34, 0.3);
}

/* Info Column */
.about-product-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-pill-orange {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #F05A22;
  background: rgba(240, 90, 34, 0.1);
  padding: 4px 14px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 12px;
}

.about-prod-title {
  font-family: 'Montserrat', 'Outfit', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: #0B2545;
  line-height: 1.25;
  margin: 0 0 16px;
}

.about-prod-pricing {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.about-price-current {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #F05A22;
}

.about-price-original {
  font-size: 1.2rem;
  color: #94A3B8;
  text-decoration: line-through;
}

.about-price-discount {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: #16A34A;
  background: rgba(22, 163, 74, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
}

.about-promo-box {
  display: flex;
  gap: 14px;
  background: #FFFBEB;
  border: 1px dashed #F59E0B;
  border-radius: 14px;
  padding: 16px 20px;
}

.about-promo-icon {
  font-size: 1.6rem;
}

.about-promo-text strong {
  display: block;
  font-size: 0.92rem;
  color: #B45309;
  margin-bottom: 4px;
}

.about-promo-text p {
  font-size: 0.82rem;
  color: #78350F;
  margin: 0;
  line-height: 1.5;
}

/* Accordions */
.about-accordions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-acc-item {
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  background: #FFFFFF;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.about-acc-item.active {
  border-color: #0099FF;
  box-shadow: 0 6px 18px rgba(0, 153, 255, 0.08);
}

.about-acc-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.about-acc-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0B2545;
}

.about-acc-chevron {
  color: #64748B;
  transition: transform 0.3s ease;
}

.about-acc-item.active .about-acc-chevron {
  transform: rotate(180deg);
  color: #0099FF;
}

.about-acc-content {
  padding: 0 22px 20px;
  display: none;
}

.about-acc-item.active .about-acc-content {
  display: block;
}

.about-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-spec-cell {
  display: flex;
  flex-direction: column;
  background: #F8FAFC;
  padding: 10px 14px;
  border-radius: 8px;
}

.spec-label {
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 500;
}

.spec-val {
  font-size: 0.92rem;
  color: #0B2545;
  font-weight: 700;
  margin-top: 2px;
}

.about-comp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-comp-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.5;
}

.about-comp-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #0099FF;
  font-size: 1.2rem;
  line-height: 1;
}

/* CTA */
.about-action-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 28px;
  background: linear-gradient(135deg, #F05A22 0%, #EA580C 100%);
  color: #FFFFFF;
  border-radius: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(240, 90, 34, 0.4);
  transition: all 0.3s ease;
}

.about-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(240, 90, 34, 0.5);
  background: linear-gradient(135deg, #FF6B35 0%, #EA580C 100%);
}

.about-guarantee-note {
  font-size: 0.8rem;
  color: #64748B;
  text-align: center;
  margin: 0;
}

/* ---- RESPONSIVE MEDIA QUERIES ---- */
@media (max-width: 1024px) {
  .about-product-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-main-product-frame {
    aspect-ratio: 16 / 9;
  }
  .about-mech-content {
    flex-wrap: wrap;
    gap: 16px;
  }
  .about-mech-title {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  .about-carousel-slide {
    flex: 0 0 94vw;
  }
  .about-slide-card {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }
  .about-slide-caption {
    padding: 24px 20px;
  }
  .about-slide-title {
    font-size: 1.35rem;
  }
  .about-slide-desc {
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .about-carousel-arrow {
    display: none;
  }
  .about-lore-section {
    padding: 60px 0 70px;
  }
  .about-lore-main-title {
    font-size: 2.1rem;
  }
  .about-lore-body-lead {
    font-size: 0.95rem;
  }
  .about-lore-nav-card {
    border-radius: 16px;
    width: 100%;
  }
  .about-lore-nav-pills {
    flex-direction: column;
    width: 100%;
  }
  .about-lore-pill-btn {
    width: 100%;
    justify-content: center;
  }
  .about-mech-row:hover .about-mech-bg-reveal {
    display: none;
  }
  .about-mech-thumb-mobile {
    display: block;
    margin-top: 14px;
    width: 100%;
    max-height: 160px;
    overflow: hidden;
    border-radius: 10px;
  }
  .about-mech-thumb-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .about-fanout-cards {
    height: 300px;
  }
  .about-fan-card {
    width: 120px;
    height: 190px;
  }
  .about-fan-card.fan-card-1 { transform: translateX(-100px) rotate(-24deg) translateY(20px); }
  .about-fan-card.fan-card-2 { transform: translateX(-50px) rotate(-12deg) translateY(10px); }
  .about-fan-card.fan-card-4 { transform: translateX(50px) rotate(12deg) translateY(10px); }
  .about-fan-card.fan-card-5 { transform: translateX(100px) rotate(24deg) translateY(20px); }
  .about-spec-grid {
    grid-template-columns: 1fr;
  }
}

/* Gameplay V2 cascade guard: keep this after legacy gameplay styles. */
#gameplay.gp-page {
  background:
    linear-gradient(180deg, rgba(235, 245, 255, .72), rgba(255, 255, 255, .94)),
    url('assets/bg-gameplay.png') center top / cover fixed no-repeat;
  overflow: visible;
}

/* ============================================================
   GAMEPLAY HERO BANNER (SUNLIT MARITIME & GLASSMORPHISM - FULL 100VH VIEWPORT)
   ============================================================ */
/* ============================================================
   GAMEPLAY HERO BANNER (SUNLIT MARITIME & GLASSMORPHISM - FULL 100VH VIEWPORT)
   ============================================================ */
#gameplay .gp-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  padding: clamp(107px, calc(12vh + 15px), 131px) clamp(28px, 4vw, 64px) clamp(14px, 2.2vh, 26px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  overflow: hidden;
  background-color: #0b2238;
  border-bottom: 0;
  box-sizing: border-box;
}

/* 1. Background Image Wrapper & Readability Soft Wash */
#gameplay .gp-hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

#gameplay .gp-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform: scale(1.02);
}

#gameplay .gp-hero-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.84) 28%,
    rgba(255, 255, 255, 0.32) 42%,
    rgba(255, 255, 255, 0) 54%
  );
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* 2. Floating Hand-script Slogan (3 lines matching original) */
#gameplay .gp-floating-quote {
  position: absolute;
  z-index: 3;
  top: calc(15% + 15px);
  left: 47%;
  transform: rotate(-14deg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-family: 'Caveat', cursive, sans-serif;
  font-size: clamp(1.4rem, 2.1vw, 2.1rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(11, 34, 56, 0.5);
  pointer-events: none;
  user-select: none;
}

#gameplay .gp-floating-quote .quote-line-2 {
  padding-left: 12px;
}

#gameplay .gp-floating-quote .quote-line-3 {
  padding-left: 16px;
  white-space: nowrap;
}

/* 3. Vertical Branding Rail — ĐÃ LOẠI BỎ THEO GÓP Ý NGƯỜI DÙNG */
#gameplay .gp-vertical-rail {
  display: none !important;
}

/* 4. Main Hero Typography & Content (Left side - Hạ thêm 22px theo yêu cầu người dùng) */
#gameplay .gp-hero-copy {
  position: relative;
  z-index: 3;
  align-self: flex-start;
  max-width: 560px;
  text-align: left;
  margin: 32px 0 0 0;
  padding-top: 0;
}

#gameplay .gp-eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #0284c7;
  text-transform: uppercase;
  margin-bottom: 12px;
}

#gameplay .gp-hero-title {
  font-family: 'Outfit', 'Montserrat', var(--font-body), sans-serif;
  font-size: clamp(2.75rem, 4.8vw, 4.35rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #0a192f;
  margin: 0 0 16px;
  text-transform: uppercase;
}

#gameplay .gp-hero-title-brand {
  color: #0066ff;
  display: block;
  letter-spacing: -0.03em;
}

#gameplay .gp-hero-divider {
  width: 48px;
  height: 5px;
  border-radius: 3px;
  background: #ff6a00;
  margin: 0 0 18px;
}

#gameplay .gp-hero-sub {
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.6;
  color: #334155;
  font-weight: 500;
  margin: 0 0 24px;
  max-width: 520px;
}

#gameplay .gp-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 32px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6a00 0%, #ff4500 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 22px -2px rgba(255, 85, 0, 0.42);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

#gameplay .gp-hero-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px -2px rgba(255, 85, 0, 0.58);
}

#gameplay .gp-cta-play-icon {
  font-size: 0.9rem;
  line-height: 1;
}

#gameplay .gp-cta-arrow {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}

/* 5. Quick Stats Bar - Loại bỏ thanh trắng theo yêu cầu người dùng */
#gameplay .gp-stats-bar,
.gp-stats-bar {
  display: none !important;
}

#gameplay .gp-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 18px;
  border-right: 1px solid rgba(226, 238, 248, 0.9);
  min-width: 0;
}

#gameplay .gp-stat:last-child,
#gameplay .gp-stat-goal {
  border-right: none;
  padding-right: 0;
}

#gameplay .gp-stat-icon {
  color: #0ea5e9;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

#gameplay .gp-stat-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#gameplay .gp-stat-text strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0b2238;
  line-height: 1.15;
  white-space: nowrap;
}

#gameplay .gp-stat-text span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.25;
  margin-top: 2px;
  white-space: nowrap;
}

#gameplay .gp-stat-goal .gp-stat-text span {
  white-space: normal;
  max-width: 440px;
}

#gameplay .gp-stat-goal .gp-stat-text strong {
  color: #0b2238;
}

/* 6. Onboarding Stepper Sticky Wrapper & Animate UI */
.gp-stepper-sticky-wrap {
  position: sticky;
  top: 10px;
  z-index: 95;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -88px;
  padding: 6px 16px;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

.gp-stepper-sticky-wrap.stepper-hidden-up {
  transform: translateY(-80px);
  opacity: 0;
  pointer-events: none;
}

#gameplay .gp-stepper {
  margin: 0;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 6px 12px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(14, 165, 233, 0.1);
  pointer-events: auto;
}

#gameplay .gp-stepper .gp-step-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 7px 16px !important;
  border-radius: 999px !important;
  border: 1.5px solid rgba(186, 230, 253, 0.6) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #0369A1 !important;
  font-family: var(--font-body) !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.06);
  white-space: nowrap !important;
  width: auto !important;
  height: auto !important;
  min-width: max-content !important;
  flex-shrink: 0;
  text-decoration: none;
}

#gameplay .gp-stepper .gp-step-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #E0F2FE;
  color: #0284C7;
  font-size: 0.76rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.22s ease;
}

#gameplay .gp-stepper .gp-step-pill:not(.active):hover {
  background: #ffffff !important;
  border-color: #38BDF8 !important;
  color: #0284C7 !important;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.16);
}

@keyframes gpStepPop {
  0% { transform: scale(0.92); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

#gameplay .gp-stepper .gp-step-pill.active {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%) !important;
  border-color: rgba(255, 255, 255, 0.85) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.42);
  animation: gpStepPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#gameplay .gp-stepper .gp-step-pill.active .gp-step-badge {
  background: #ffffff !important;
  color: #0284C7 !important;
  transform: scale(1.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

#gameplay .gp-stepper .gp-step-line {
  flex: 0 1 28px;
  min-width: 12px;
  max-width: 28px;
  height: 0;
  border-top: 2px dashed #93C5FD;
  margin: 0 1px;
}

/* 7. Setup Grid (Section 0) */
#gameplay .gp-setup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

#gameplay .gp-setup-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 238, 248, 0.85);
  border-radius: 16px;
  padding: 22px 18px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#gameplay .gp-setup-card:hover {
  border-color: #BAE6FD;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.12);
}

#gameplay .gp-setup-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #E0F2FE;
  color: #0284C7;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

#gameplay .gp-setup-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  line-height: 1.3;
}

#gameplay .gp-setup-desc {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* 8. Header Order Button Compact on Desktop & Nav Link Active Bar */
.header-actions .order-button {
  width: 129px !important;
  height: 37px !important;
  min-width: 0 !important;
}

.header-actions .order-button .button-label {
  font-size: 0.76rem !important;
}

.order-button .button-label--default {
  gap: 6px;
}

.order-button .header-cart-icon {
  color: #ffffff;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

#navMenu .nav-link::after {
  background: #0284c7 !important;
  height: 2px !important;
  border-radius: 2px;
}

/* 9. Gameplay Tabs (Dưới Hero) */
#gameplay .gp-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(219, 234, 254, 0.8);
  border-radius: 16px;
  padding: 8px;
  max-width: 680px;
  margin: 44px auto 28px;
  box-shadow: 0 8px 24px -4px rgba(11, 37, 69, 0.08);
  position: relative;
  z-index: 2;
}

#gameplay .gp-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  white-space: nowrap;
}

#gameplay .gp-tab:hover {
  background: rgba(239, 246, 255, 0.8);
  color: #0075ff;
}

#gameplay .gp-tab.active {
  background: #0075ff;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 117, 255, 0.35);
}

/* ============================================================
   GAMEPLAY UNIFIED CARD DESIGN SYSTEM (4 SECTIONS PIXEL-PERFECT)
   ============================================================ */
#gameplay .gp-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 48px) 64px;
}

#gameplay .gp-unified-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(226, 238, 248, 0.95);
  box-shadow: 0 10px 28px -8px rgba(0, 35, 70, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
  padding: 24px 30px;
  margin-bottom: 28px;
  position: relative;
  box-sizing: border-box;
  scroll-margin-top: 86px;
}

/* 1. Header Card Chuẩn Hóa */
#gameplay .gp-sec-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

#gameplay .gp-sec-header-left {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

#gameplay .gp-sec-badge {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #FF7700 0%, #FF4500 100%);
  border-radius: 12px;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(255, 69, 0, 0.32);
}

#gameplay .gp-badge-burst {
  position: relative;
}

#gameplay .gp-badge-burst::before {
  content: '✦';
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 12px;
  color: #FF6A00;
}

#gameplay .gp-sec-title-group {
  display: flex;
  flex-direction: column;
}

#gameplay .gp-sec-eyebrow {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #0284C7;
  text-transform: uppercase;
  margin-bottom: 4px;
}

#gameplay .gp-sec-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #0A192F;
  margin: 0 0 6px;
  text-transform: uppercase;
  line-height: 1.15;
}

#gameplay .gp-sec-sub {
  font-size: 0.94rem;
  color: #475569;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  max-width: 680px;
}

#gameplay .gp-sec-slogan-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#gameplay .gp-sec-slogan-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

#gameplay .gp-slogan-two-lines {
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

#gameplay .gp-sec-hand-slogan {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: #38BDF8;
  line-height: 1.15;
  white-space: nowrap;
}

#gameplay .gp-slogan-incoterms {
  display: flex;
  align-items: center;
  gap: 10px;
}

#gameplay .gp-slogan-slash {
  font-size: 1.8rem;
  color: #93C5FD;
  font-weight: 300;
  transform: rotate(15deg);
}

#gameplay .gp-slogan-text-stacked {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

#gameplay .gp-slogan-text-stacked strong {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0284C7;
  letter-spacing: 0.06em;
}

#gameplay .gp-slogan-text-stacked span {
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.04em;
}

/* 2. Visual Frame & Placeholder (Tạo viền ảnh theo đúng yêu cầu) */
#gameplay .gp-visual-frame {
  position: relative;
  border-radius: 18px;
  border: 2px dashed rgba(56, 189, 248, 0.5);
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.85) 0%, rgba(224, 242, 254, 0.45) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

#gameplay .gp-visual-frame:hover {
  border-color: #0284C7;
}

#gameplay .gp-visual-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
}

#gameplay .gp-visual-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

#gameplay .gp-visual-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0A192F;
}

#gameplay .gp-visual-hint {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0284C7;
  background: rgba(224, 242, 254, 0.8);
  padding: 4px 12px;
  border-radius: 999px;
}

#gameplay .gp-placeholder-compact {
  padding: 12px;
}

#gameplay .gp-visual-mini-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
}

/* ============================================================
   TÁI THIẾT KẾ PHÂN HỆ 1 & 2: THEO MẪU INFOGRAPHIC SUNLIT MARITIME
   (Không đóng khung ngoài lớn, Header trên nền, Card nội dung tinh gọn)
   ============================================================ */

/* ── BLOCK SECTION CHUNG CHO GAMEPLAY ── */
#gameplay .gp-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 30px clamp(24px, 4vw, 48px) 64px;
}

#gameplay .gp-block-section {
  margin-bottom: 28px;
  scroll-margin-top: 86px;
  width: 100%;
}

/* ── HEADER ĐỘC LẬP TRÊN NỀN ── */
#gameplay .gp-block-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  width: 100%;
}

#gameplay .gp-block-header-left,
#gameplay .gp-sec-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

#gameplay .gp-block-badge-num,
#gameplay .gp-sec-badge {
  width: 60px;
  min-width: 60px;
  height: 60px;
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #FF9900 0%, #FF6000 52%, #FF4500 100%);
  border-radius: 16px;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.95rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 22px -4px rgba(255, 94, 0, 0.38), inset 0 2px 3px rgba(255, 255, 255, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  line-height: 1;
  position: relative;
  overflow: hidden;
}

#gameplay .gp-block-badge-num::after,
#gameplay .gp-sec-badge::after {
  content: '';
  position: absolute;
  top: -25%;
  right: -25%;
  width: 75%;
  height: 75%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

#gameplay .gp-block-title-texts,
#gameplay .gp-sec-title-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

#gameplay .gp-block-kicker,
#gameplay .gp-sec-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #0284C7;
  text-transform: uppercase;
  margin-bottom: 2px;
  line-height: 1.2;
}

#gameplay .gp-block-main-title,
#gameplay .gp-sec-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.22rem, 1.7vw, 1.48rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0A192F;
  margin: 0 0 2px 0;
  text-transform: uppercase;
  line-height: 1.15;
}

#gameplay .gp-block-brief,
#gameplay .gp-sec-sub {
  font-size: 0.85rem;
  color: #64748B;
  font-weight: 500;
  line-height: 1.38;
  margin: 0;
  max-width: 620px;
}

#gameplay :is(#gpSetup, #gpActions, #gpIncoterms) :is(.gp-block-slogan-wrap, .gp-sec-slogan-wrap, .gp-block-hand-note, .gp-sec-hand-slogan) {
  display: none !important;
}

/* ── PHÂN HỆ 1: CHUẨN BỊ BÀN CHƠI (CARD NỘI DUNG) ── */
#gameplay .gp-setup-card-body {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.95) 100%);
  border-radius: 24px;
  border: 1.5px solid rgba(186, 230, 253, 0.85);
  box-shadow: 0 20px 48px -18px rgba(2, 132, 199, 0.16), 0 4px 12px -2px rgba(2, 43, 84, 0.04);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
  align-items: stretch;
  box-sizing: border-box;
  position: relative;
}

#gameplay .gp-setup-col-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

#gameplay .gp-setup-media-backdrop {
  width: 100%;
  height: 100%;
  min-height: 230px;
  max-height: 310px;
  border-radius: 20px;
  background: radial-gradient(ellipse at 50% 55%, rgba(56, 189, 248, 0.24) 0%, rgba(14, 165, 233, 0.1) 45%, rgba(224, 242, 254, 0.5) 75%, rgba(255, 255, 255, 0.9) 100%);
  border: 1.5px solid rgba(186, 230, 253, 0.8);
  box-shadow: inset 0 2px 16px rgba(2, 132, 199, 0.06), 0 6px 18px -4px rgba(2, 132, 199, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-sizing: border-box;
}

#gameplay .gp-setup-stage-tag {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(186, 230, 253, 0.85);
  border-radius: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0369A1;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.1);
  pointer-events: none;
}

#gameplay .gp-setup-stage-tag svg {
  color: #0284C7;
}

#gameplay .gp-setup-crane-silhouette {
  display: none !important;
}

#gameplay .gp-setup-board-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transform: scale(1.05);
  filter: drop-shadow(0 20px 28px rgba(2, 43, 84, 0.28)) drop-shadow(0 4px 8px rgba(2, 43, 84, 0.1));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

#gameplay .gp-setup-board-img:hover {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 26px 36px rgba(2, 43, 84, 0.32)) drop-shadow(0 6px 12px rgba(2, 43, 84, 0.14));
}

#gameplay .gp-setup-col-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  height: 100%;
}

#gameplay .gp-setup-step-item {
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px solid rgba(224, 242, 254, 0.95);
  box-shadow: 0 4px 18px -4px rgba(2, 132, 199, 0.07), 0 1px 3px rgba(11, 37, 69, 0.02);
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

#gameplay .gp-setup-step-item:hover {
  transform: translateY(-2px);
  border-color: #38BDF8;
  box-shadow: 0 12px 28px -6px rgba(2, 132, 199, 0.18), 0 2px 6px rgba(0, 0, 0, 0.03);
}

#gameplay .gp-setup-step-num {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#gameplay .gp-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border: 1.5px solid #BAE6FD;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9), 0 2px 6px rgba(2, 132, 199, 0.05);
  transition: transform 0.22s ease, background 0.22s ease;
}

#gameplay .gp-setup-step-item:hover .gp-step-icon {
  transform: scale(1.05);
  background: #E0F2FE;
  border-color: #7DD3FC;
}

#gameplay #gpSetup .gp-step-content,
#gameplay .gp-setup-step-item .gp-step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#gameplay .gp-step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0A192F;
  margin: 0 0 3px 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

#gameplay .gp-step-desc {
  font-size: 0.88rem;
  color: #475569;
  font-weight: 500;
  line-height: 1.48;
  margin: 0;
}

/* ── PHÂN HỆ 2: BA HÀNH ĐỘNG TRONG LƯỢT (CARD NỘI DUNG GỌN CHIỀU DỌC) ── */
#gameplay .gp-action-card-body {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #BAE6FD;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.06);
  padding: 11px 16px;
  display: grid;
  grid-template-columns: 215px 1fr 1.1fr;
  gap: 14px;
  align-items: stretch;
  box-sizing: border-box;
  min-height: auto;
}

#gameplay .gp-action-tabs-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: space-between;
  height: 100%;
}

#gameplay .gp-action-item-tab {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 10px;
  border: 1.5px solid #E0F2FE;
  background: #F8FAFC;
  color: #0A192F;
  font-family: 'Outfit', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  text-align: left;
  flex: 1;
}

#gameplay .gp-action-item-tab:hover:not(.active) {
  border-color: #38BDF8;
  background: #F0F9FF;
  transform: translateX(3px);
}

#gameplay .gp-action-item-tab.active {
  background: linear-gradient(90deg, #FF6A00 0%, #FF8A00 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(255, 106, 0, 0.32);
}

#gameplay .gp-act-pill-num {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1.2;
  transition: all 0.2s ease;
}

#gameplay .gp-action-item-tab:not(.active) .gp-act-pill-num {
  background: #E0F2FE;
  color: #0284C7;
}

#gameplay .gp-action-item-tab.active .gp-act-pill-num {
  background: #ffffff;
  color: #FF6A00;
}

#gameplay .gp-act-item-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.92rem;
  font-weight: 700;
}

#gameplay .gp-act-item-arrow {
  font-size: 0.95rem;
  font-weight: 900;
  opacity: 0.8;
}

#gameplay .gp-action-item-tab:not(.active) .gp-act-item-arrow {
  color: #0284C7;
}

#gameplay .gp-action-media-view {
  border-radius: 12px;
  overflow: hidden;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 145px;
  max-height: 175px;
  border: 1px solid #E2E8F0;
  position: relative;
}

#gameplay .gp-action-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: opacity 0.22s ease, transform 0.25s ease;
}

#gameplay .gp-action-detail-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

#gameplay .gp-action-badge-pill {
  background: #FF6A00;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 6px;
  text-transform: uppercase;
}

#gameplay .gp-action-detail-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: #0A192F;
  margin: 0 0 3px 0;
  line-height: 1.18;
}

#gameplay .gp-action-detail-text {
  font-size: 0.8rem;
  color: #475569;
  font-weight: 500;
  line-height: 1.36;
  margin: 0 0 6px 0;
}

#gameplay .gp-strategy-tip-box {
  background: #FFFBEB;
  border: 1px solid #FEF3C7;
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin-top: auto;
}

#gameplay .gp-tip-bulb-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

#gameplay .gp-tip-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#gameplay .gp-tip-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  color: #D97706;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

#gameplay .gp-tip-content {
  font-size: 0.8rem;
  color: #78350F;
  font-weight: 600;
  line-height: 1.38;
  margin: 0;
}

/* ── RESPONSIVE CHO KHỐI 1 & 2 ── */
@media (max-width: 992px) {
  #gameplay .gp-setup-card-body {
    grid-template-columns: 1fr;
    row-gap: 20px;
    padding: 18px;
  }

  #gameplay .gp-setup-media-backdrop {
    min-height: 240px;
  }

  #gameplay .gp-action-card-body {
    grid-template-columns: 1fr;
    row-gap: 18px;
    padding: 18px;
  }

  #gameplay .gp-action-media-view {
    min-height: 220px;
    max-height: 280px;
  }

  #gameplay .gp-block-header {
    flex-direction: column;
    gap: 12px;
  }

  #gameplay .gp-block-slogan-wrap {
    justify-content: flex-start;
  }

  #gameplay .gp-block-hand-note {
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  #gameplay .gp-setup-card-body,
  #gameplay .gp-action-card-body {
    padding: 14px 12px;
    border-radius: 18px;
  }

  #gameplay .gp-block-badge-num {
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
    border-radius: 12px;
  }

  #gameplay .gp-block-main-title {
    font-size: 1.3rem;
  }

  #gameplay .gp-setup-step-item {
    padding: 12px 14px;
    gap: 12px;
  }

  #gameplay .gp-setup-step-num {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
  }
}

/* 5. Section 3 Layout: Quy Trình Cập Cảng 4 Bước */
#gameplay .gp-panorama-visual {
  width: 100%;
  height: 180px;
  margin-bottom: 28px;
}

#gameplay .gp-placeholder-panorama {
  height: 100%;
}

#gameplay .gp-flow-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  margin-top: 15px;
}

#gameplay .gp-timeline-step-card {
  background: #ffffff;
  border: 1.5px solid rgba(226, 238, 248, 0.95);
  border-radius: 18px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 6px 18px rgba(0, 35, 70, 0.03);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

#gameplay .gp-timeline-step-card:hover {
  transform: translateY(-3px);
  border-color: #38BDF8;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.12);
}

#gameplay .gp-step-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -14px;
  left: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#gameplay .gp-node-orange {
  background: linear-gradient(135deg, #FF6A00 0%, #FF4500 100%);
}

#gameplay .gp-node-blue {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
}

#gameplay .gp-flow-step-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0 14px;
}

#gameplay .gp-flow-step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0A192F;
  margin: 0 0 8px;
}

#gameplay .gp-flow-step-desc {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* 6. Section 4 Layout: Ma Trận 11 Cảng Incoterms 2x2 */
#gameplay .gp-incoterms-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

#gameplay .gp-matrix-card {
  border-radius: 20px;
  padding: 22px 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

#gameplay .gp-matrix-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 35, 70, 0.06);
}

#gameplay .gp-matrix-e {
  background: #ECFDF5;
  border: 1.5px solid #A7F3D0;
}

#gameplay .gp-matrix-f {
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
}

#gameplay .gp-matrix-c {
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
}

#gameplay .gp-matrix-d {
  background: #FEF2F2;
  border: 1.5px solid #FECACA;
}

#gameplay .gp-matrix-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

#gameplay .gp-matrix-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

#gameplay .gp-icon-circle-emerald { background: #10B981; }
#gameplay .gp-icon-circle-blue { background: #0284C7; }
#gameplay .gp-icon-circle-amber { background: #F59E0B; }
#gameplay .gp-icon-circle-rose { background: #EF4444; }

#gameplay .gp-matrix-group-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0A192F;
  margin: 0;
}

#gameplay .gp-matrix-card-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
}

#gameplay .gp-matrix-thumb {
  height: 110px;
}

#gameplay .gp-matrix-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#gameplay .gp-matrix-bullets li {
  font-size: 0.86rem;
  line-height: 1.45;
  color: #334155;
  position: relative;
  padding-left: 14px;
}

#gameplay .gp-matrix-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  font-size: 1.1rem;
  line-height: 1;
}

#gameplay .gp-bullets-emerald li::before { color: #10B981; }
#gameplay .gp-bullets-blue li::before { color: #0284C7; }
#gameplay .gp-bullets-amber li::before { color: #F59E0B; }
#gameplay .gp-bullets-rose li::before { color: #EF4444; }

/* Important Note Bar */
#gameplay .gp-important-note-bar {
  background: #ffffff;
  border: 1.5px solid #FDE68A;
  border-radius: 18px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
}

#gameplay .gp-note-star-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #D97706;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}

#gameplay .gp-note-divider {
  width: 1.5px;
  height: 36px;
  background: #FDE68A;
  flex-shrink: 0;
}

#gameplay .gp-note-main-text {
  flex: 1;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

#gameplay .gp-note-side-slogan {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

#gameplay .gp-note-side-slogan span {
  font-size: 0.76rem;
  font-weight: 800;
  color: #0284C7;
  letter-spacing: 0.04em;
}

/* 7. Responsive Styles for Laptop & Mobile */
@media (max-width: 1024px) {
  #gameplay .gp-actions-interactive-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  #gameplay .gp-setup-layout {
    grid-template-columns: 1fr;
  }
  #gameplay .gp-incoterms-matrix {
    grid-template-columns: 1fr;
  }
  #gameplay .gp-flow-timeline {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
  #gameplay .gp-important-note-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  #gameplay .gp-note-divider {
    display: none;
  }
}

@media (max-width: 700px) {
  #gameplay .gp-unified-card {
    padding: 24px 18px;
    border-radius: 20px;
  }
  #gameplay .gp-sec-header {
    flex-direction: column;
    gap: 12px;
  }
  #gameplay .gp-sec-slogan-wrap {
    align-self: flex-start;
  }
  #gameplay .gp-flow-timeline {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  #gameplay .gp-matrix-card-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  #gameplay .gp-vertical-rail {
    display: none;
  }

  #gameplay .gp-floating-quote {
    display: none;
  }

  #gameplay .gp-stats-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 28px;
    padding: 16px 20px;
  }

  #gameplay .gp-stat-goal {
    flex: 1 1 100%;
    margin-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 10px;
  }
}

@media (max-width: 700px) {
  .main-header {
    height: 64px;
  }

  .header-container {
    height: 64px;
    padding-inline: 12px;
    gap: 8px;
  }

  .site-logo {
    width: 54px;
    height: auto;
    flex: 0 0 54px;
  }

  .logo-text {
    display: none;
  }

  .header-actions {
    margin-left: auto;
    gap: 7px;
  }

  .header-actions .order-button {
    width: 104px;
    min-width: 0;
    padding: 9px 12px;
    font-size: .72rem;
    white-space: nowrap;
  }

  .mobile-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  #gameplay .gp-hero {
    min-height: auto;
    padding: 36px 16px 28px;
    text-align: center;
    justify-content: flex-start;
    gap: 28px;
  }

  #gameplay .gp-hero-copy {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
    padding-top: 0;
  }

  #gameplay .gp-hero-title {
    font-size: clamp(2.4rem, 11vw, 3.2rem);
  }

  #gameplay .gp-hero-divider {
    margin-inline: auto;
  }

  #gameplay .gp-hero-sub {
    font-size: .92rem;
    line-height: 1.62;
    margin-inline: auto;
  }

  #gameplay .gp-hero-cta {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  #gameplay .gp-stats-bar {
    margin: 0 auto;
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border-radius: 18px;
  }

  #gameplay .gp-stat {
    padding: 6px 2px;
  }

  #gameplay .gp-stat-goal {
    grid-column: 1 / -1;
    margin-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 10px;
  }

  #gameplay .gp-stepper {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 12px;
    max-width: 100%;
    margin-bottom: 24px;
  }

  #gameplay .gp-stepper::-webkit-scrollbar {
    display: none;
  }

  #gameplay .gp-stepper .gp-step-pill {
    padding: 7px 14px !important;
    font-size: 0.8rem !important;
  }

  #gameplay .gp-content {
    padding: 0 16px 70px;
  }

  #gameplay .gp-section-block {
    padding: 54px 0;
    scroll-margin-top: 62px;
  }

  #gameplay .gp-section-heading {
    gap: 12px;
    margin-bottom: 24px;
  }

  #gameplay .gp-section-num {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  #gameplay .gp-section-title {
    font-size: 1.2rem;
  }

  #gameplay .gp-flow-grid {
    flex-direction: column;
    gap: 14px;
  }

  #gameplay .gp-flow-card {
    min-width: 0;
    padding: 18px 18px 18px 68px;
    text-align: left;
  }

  #gameplay .gp-incoterm-grid {
    grid-template-columns: 1fr;
  }

  #gameplay .gp-inc-card {
    border-radius: 14px;
  }
}

/* Gameplay floating-layer redesign — desktop only, based on Khối 1–4 references. */
@media (min-width: 1101px) {
  #gameplayView,
  #gameplay.gp-page {
    background: #fff;
  }

  #gameplayView {
    overflow-x: clip;
  }

  #gameplay .gp-content {
    max-width: 1340px;
    margin: 0 auto;
    padding: 40px clamp(24px, 3.5vw, 48px) 0;
    box-sizing: border-box;
    width: 100%;
  }

  #gameplay :is(#gpSetup, #gpActions, #gpFlow, #gpIncoterms) {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    width: 100%;
  }

  #gameplay #gpSetup,
  #gameplay #gpActions {
    margin-bottom: 42px;
  }

  #gameplay .gp-block-header,
  #gameplay .gp-sec-header {
    gap: 30px;
    margin-bottom: 28px;
  }

  #gameplay .gp-block-header-left,
  #gameplay .gp-sec-header-left {
    gap: 22px;
    align-items: center;
  }

  #gameplay .gp-block-badge-num,
  #gameplay .gp-sec-badge {
    width: 82px;
    min-width: 82px;
    height: 82px;
    aspect-ratio: 1 / 1;
    align-self: auto;
    border-radius: 20px;
    font-size: clamp(2.3rem, 2.7vw, 2.9rem);
    box-shadow: 0 14px 28px -5px rgba(255, 94, 0, 0.4), 0 4px 12px rgba(255, 149, 0, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.65);
  }

  #gameplay .gp-block-kicker,
  #gameplay .gp-sec-eyebrow {
    font-size: clamp(0.82rem, 1vw, 0.98rem);
    letter-spacing: 0.14em;
    margin-bottom: 3px;
  }

  #gameplay .gp-block-main-title,
  #gameplay .gp-sec-title {
    font-size: clamp(1.55rem, 2.1vw, 2.25rem);
    letter-spacing: -0.03em;
    line-height: 1.16;
  }

  #gameplay .gp-block-brief,
  #gameplay .gp-sec-sub {
    max-width: 900px;
    font-size: clamp(0.92rem, 1.05vw, 1.02rem);
    line-height: 1.46;
    margin-top: 3px;
  }

  #gpActions .gp-action-card-body {
    border: 1px solid rgba(201, 229, 247, 0.95);
    border-radius: 30px;
    box-shadow: 0 26px 58px -34px rgba(5, 107, 170, 0.42);
  }

  #gpSetup .gp-setup-card-body {
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.95fr);
    gap: 22px;
    min-height: auto;
    padding: 18px 22px;
    border-radius: 26px;
    border: 1.5px solid rgba(186, 230, 253, 0.85);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.95) 100%);
    box-shadow: 0 24px 50px -20px rgba(2, 132, 199, 0.18), 0 4px 12px -2px rgba(2, 43, 84, 0.04);
  }

  #gpSetup .gp-setup-media-backdrop {
    min-height: 290px;
    max-height: 330px;
    border-radius: 20px;
    padding: 14px;
    border: 1.5px solid rgba(186, 230, 253, 0.8);
    background: radial-gradient(ellipse at 50% 55%, rgba(56, 189, 248, 0.24) 0%, rgba(14, 165, 233, 0.1) 45%, rgba(224, 242, 254, 0.5) 75%, rgba(255, 255, 255, 0.9) 100%);
    box-shadow: inset 0 2px 16px rgba(2, 132, 199, 0.06), 0 6px 18px -4px rgba(2, 132, 199, 0.1);
  }

  #gpSetup .gp-setup-col-steps {
    gap: 12px;
  }

  #gpSetup .gp-setup-step-item {
    min-height: 84px;
    border: 1.5px solid rgba(224, 242, 254, 0.95);
    border-radius: 18px;
    box-shadow: 0 4px 18px -4px rgba(2, 132, 199, 0.07), 0 1px 3px rgba(11, 37, 69, 0.02);
    padding: 14px 20px;
    gap: 16px;
    display: flex;
    align-items: center;
  }

  #gpSetup .gp-setup-step-num {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.05rem;
  }

  #gpSetup .gp-step-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  #gpSetup .gp-step-title {
    font-size: 1.08rem;
  }

  #gpSetup .gp-step-desc {
    font-size: 0.88rem;
    line-height: 1.48;
  }

  #gpActions .gp-action-card-body {
    grid-template-columns: minmax(260px, 0.912fr) minmax(240px, 1.02fr) minmax(230px, 0.98fr);
    gap: 16px;
    min-height: 330px;
    padding: 14px;
  }

  #gpActions .gp-action-tabs-list {
    gap: 10px;
  }

  #gpActions .gp-action-item-tab {
    min-height: 88px;
    height: 88px;
    border-radius: 15px;
    padding: 10px 14px;
    font-size: 0.94rem;
    gap: 10px;
    background: #fff;
    border-color: rgba(213, 231, 242, 0.96);
    box-shadow: 0 12px 28px -23px rgba(5, 107, 170, 0.42);
  }

  #gpActions .gp-action-item-tab.active {
    box-shadow: 0 18px 30px -20px rgba(255, 92, 0, 0.78);
  }

  #gpActions .gp-action-media-view {
    min-height: 240px;
    max-height: 270px;
    border-radius: 15px;
  }

  #gpActions .gp-action-main-img {
    border-radius: 17px;
  }

  #gpActions .gp-action-detail-panel {
    padding: 12px 8px;
    min-height: 298px;
  }

  #gpActions .gp-action-badge-pill {
    padding: 5px 13px;
    font-size: 0.78rem;
    margin-bottom: 9px;
  }

  #gpActions .gp-action-detail-heading {
    font-size: 1.65rem;
    margin-bottom: 8px;
  }

  #gpActions .gp-action-detail-text {
    font-size: 0.92rem;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  #gpActions .gp-strategy-tip-box {
    border-radius: 14px;
    padding: 11px 14px;
  }

  #gameplay :is(#gpSetup, #gpActions, #gpFlow, #gpIncoterms) :is(h2, h3, h4, p, span, button, li) {
    font-family: 'Montserrat', Arial, sans-serif;
  }

  #gameplay :is(#gpSetup, #gpActions, #gpFlow, #gpIncoterms) :is(.gp-block-main-title, .gp-sec-title, .gp-step-title, .gp-action-detail-heading, .gp-flow-step-title, .gp-matrix-group-title) {
    letter-spacing: -0.02em;
    line-height: 1.22;
  }

  #gameplay :is(#gpSetup, #gpActions, #gpFlow, #gpIncoterms) :is(.gp-block-hand-note, .gp-sec-hand-slogan),
  #gameplay :is(#gpSetup, #gpActions, #gpFlow, #gpIncoterms) :is(.gp-block-hand-note, .gp-sec-hand-slogan) span {
    font-family: 'Caveat', 'Montserrat', cursive;
    line-height: 1.3;
  }

  #gameplay #gpFlow,
  #gameplay #gpIncoterms {
    isolation: isolate;
    position: relative;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
  }

  #gameplay #gpFlow {
    margin-bottom: 42px;
    padding: 0;
    position: relative;
    background: transparent;
  }

  #gameplay #gpIncoterms {
    padding-top: 0;
    margin-top: 32px;
    margin-bottom: 15px;
  }

  #gpFlow::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: 100vw;
    max-width: none;
    height: clamp(520px, 42vw, 820px);
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
    background: url('assets/gameplay-layer-flow.png') no-repeat center top;
    background-size: 100vw auto;
  }

  #gpIncoterms::before {
    content: '';
    position: absolute;
    top: -10px;
    bottom: -15px;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100vw auto;
    background-image: url('assets/gameplay-layer-incoterms.png');
  }

  #gameplay #gpFlow > *,
  #gameplay #gpIncoterms > * {
    position: relative;
    z-index: 1;
  }

  #gpFlow .gp-sec-header {
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 3;
  }

  /* Biển chỉ dẫn Next Port */
  #gpFlow .gp-next-port-sign {
    position: absolute !important;
    right: 36px;
    top: 48px;
    width: fit-content !important;
    max-width: max-content !important;
    z-index: 2;
    background: #004D99;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 7px 16px;
    border-radius: 7px;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 16px rgba(0, 77, 153, 0.35);
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    pointer-events: none;
  }

  #gpFlow .gp-panorama-visual {
    display: none;
  }

  #gpFlow .gp-flow-timeline {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 115px;
    margin-top: 104px;
  }

  /* Đường nối nét đứt hải trình 4 bước */
  #gpFlow .gp-journey-track {
    position: absolute;
    top: 96px;
    left: 0;
    width: 100%;
    height: 40px;
    pointer-events: none;
    z-index: 3;
  }

  #gpFlow .gp-timeline-step-card {
    min-height: 200px;
    background: #ffffff;
    border: 1.5px solid rgba(215, 235, 250, 0.95);
    border-radius: 20px;
    box-shadow: 0 14px 30px -10px rgba(2, 132, 199, 0.12), 0 4px 10px rgba(0, 0, 0, 0.03);
    padding: 24px 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease, border-color 0.24s ease;
  }

  #gpFlow .gp-timeline-step-card:hover {
    transform: translateY(-4px);
    border-color: #38BDF8;
    box-shadow: 0 18px 36px -8px rgba(14, 165, 233, 0.24);
  }

  #gpFlow .gp-step-node {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    position: absolute;
    top: -19px;
    left: 18px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2.5px solid #ffffff;
    z-index: 4;
  }

  #gpFlow .gp-node-orange {
    background: linear-gradient(135deg, #FF6A00 0%, #FF4500 100%);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.4);
  }

  #gpFlow .gp-node-blue {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  }

  #gpFlow .gp-flow-step-icon-wrap {
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    margin: 4px 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #gpFlow .gp-flow-step-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0A192F;
    margin: 0 0 6px;
    line-height: 1.25;
  }

  #gpFlow .gp-flow-step-desc {
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.45;
    margin: 0;
  }

  /* ── PHÂN HỆ 4: INCOTERMS MATRIX THEO CHUẨN ẢNH MẪU (COMPACT & 3D VISUAL) ── */
  #gpIncoterms {
    margin-top: 35px;
    margin-bottom: 60px;
  }

  #gpIncoterms .gp-sec-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
  }


  /* Ma trận 2x2: Thu gọn chiều dọc, cân đối chiều ngang */
  #gpIncoterms .gp-incoterms-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 14px;
    margin-bottom: 16px;
  }

  #gpIncoterms .gp-matrix-card {
    min-height: unset;
    border: none;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0, 45, 90, 0.05);
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  #gpIncoterms .gp-matrix-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 45, 90, 0.09);
  }

  #gpIncoterms .gp-matrix-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  #gpIncoterms .gp-matrix-icon-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  }

  #gpIncoterms .gp-matrix-icon-circle svg {
    width: 18px;
    height: 18px;
  }

  #gpIncoterms .gp-icon-circle-emerald { background: #10B981; }
  #gpIncoterms .gp-icon-circle-blue { background: #0284C7; }
  #gpIncoterms .gp-icon-circle-amber { background: #F59E0B; }
  #gpIncoterms .gp-icon-circle-rose { background: #EF4444; }

  #gpIncoterms .gp-matrix-group-title {
    font-family: 'Outfit', 'Montserrat', sans-serif;
    font-size: 0.94rem;
    font-weight: 800;
    color: #0A192F;
    margin: 0;
    letter-spacing: -0.01em;
  }

  #gpIncoterms .gp-prefix-emerald { color: #10B981; }
  #gpIncoterms .gp-prefix-blue { color: #0284C7; }
  #gpIncoterms .gp-prefix-amber { color: #D97706; }
  #gpIncoterms .gp-prefix-rose { color: #EF4444; }

  /* Body 2 cột: Cột trái ảnh 3D, Cột phải bullet text */
  #gpIncoterms .gp-matrix-card-body {
    display: grid;
    grid-template-columns: 165px 1fr;
    gap: 16px;
    align-items: center;
  }

  #gpIncoterms .gp-matrix-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 118px;
    width: 165px;
    flex-shrink: 0;
  }

  #gpIncoterms .gp-matrix-img {
    max-width: 100%;
    max-height: 118px;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 30, 60, 0.12));
  }

  #gpIncoterms .gp-matrix-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  #gpIncoterms .gp-matrix-bullets li {
    font-size: 0.81rem;
    line-height: 1.38;
    color: #334155;
    position: relative;
    padding-left: 15px;
  }

  #gpIncoterms .gp-matrix-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
  }

  #gpIncoterms .gp-bullets-emerald li::before { background: #10B981; }
  #gpIncoterms .gp-bullets-blue li::before { background: #0284C7; }
  #gpIncoterms .gp-bullets-amber li::before { background: #F59E0B; }
  #gpIncoterms .gp-bullets-rose li::before { background: #EF4444; }

  /* Khung Lưu Ý Quan Trọng Chân Trang */
  #gpIncoterms .gp-important-note-bar {
    background: #ffffff;
    border: none;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.07);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
  }

  #gpIncoterms .gp-note-star-title {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #D97706;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    white-space: nowrap;
  }

  #gpIncoterms .gp-note-divider {
    width: 1.5px;
    height: 30px;
    background: #FDE68A;
    flex-shrink: 0;
  }

  #gpIncoterms .gp-note-main-text {
    flex: 1;
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.45;
    margin: 0;
  }

  #gpIncoterms .gp-note-side-slogan {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  #gpIncoterms .gp-note-slogan-lines {
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    color: #0284C7;
    letter-spacing: 0.03em;
    line-height: 1.25;
  }
}

/* ======================================================== */
/* SUNLIT MARITIME LIGHT MODE - ABOUT LOGISQUEST REDESIGN   */
/* ======================================================== */

.about-sunlit-page {
  background-color: #FFFFFF;
  color: #131B2E;
  font-family: 'Plus Jakarta Sans', 'Montserrat', -apple-system, sans-serif;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

.about-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 2.6vw, 36px);
  text-align: left;
  position: relative;
  z-index: 1;
}

.about-hero-media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1.23 / 1;
  border: 8px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(17, 69, 103, 0.18);
  transform: rotate(1deg);
}

.about-hero-media img,
.about-kit-visual img,
.about-audience-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 1. HERO VISION & IMPACT METRICS */
.about-hero-vision {
  background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);
  padding: 64px 0 48px;
  position: relative;
  text-align: left;
}

.about-hero-vision::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1000px;
  height: 350px;
  background: radial-gradient(circle at 50% 20%, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.about-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.25);
  color: #006591;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.about-icon-svg {
  color: #0284C7;
  flex-shrink: 0;
}

.about-hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 8.2vw, 42px);
  font-weight: 700;
  line-height: 1.18;
  color: #0A2540;
  margin: 0 0 18px 0;
  letter-spacing: -0.01em;
}

.about-hero-subtitle {
  font-size: clamp(16px, 1.8vw, 18.5px);
  line-height: 1.65;
  color: #3E4850;
  max-width: 600px;
  margin: 0 0 28px;
}

.about-hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.about-btn-primary {
  background: linear-gradient(135deg, #F05A22 0%, #EA580C 100%);
  color: #FFFFFF !important;
  border: none;
  box-shadow: 0 8px 24px -4px rgba(240, 90, 34, 0.35);
}

.about-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(240, 90, 34, 0.45);
}

.about-btn-outline {
  background: #FFFFFF;
  color: #006591 !important;
  border: 1.5px solid rgba(14, 165, 233, 0.4);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.08);
}

.about-btn-outline:hover {
  background: #F0F9FF;
  border-color: #0EA5E9;
  transform: translateY(-2px);
}

.about-btn-light {
  background: rgba(255, 255, 255, 0.95);
  color: #006591 !important;
  border: 1.5px solid rgba(14, 165, 233, 0.25);
  box-shadow: 0 6px 20px rgba(7, 26, 48, 0.06);
}

.about-btn-light:hover {
  background: #FFFFFF;
  border-color: #006591;
  transform: translateY(-2px);
}

/* Impact Metrics Grid */
.about-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 42px;
  position: relative;
  z-index: 2;
}

.about-metric-card {
  background: #FFFFFF;
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: left;
  box-shadow: 0 10px 30px -5px rgba(14, 165, 233, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-metric-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 16px 36px -6px rgba(14, 165, 233, 0.14);
}

.about-metric-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.metric-blue { background: #E0F2FE; color: #0284C7; }
.metric-gold { background: #FEF3C7; color: #D97706; }
.metric-coral { background: #FFEDD5; color: #EA580C; }
.metric-emerald { background: #DCFCE7; color: #16A34A; }

.about-metric-val {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  color: #0A2540;
  line-height: 1;
  margin-bottom: 6px;
}

.about-metric-label {
  font-weight: 700;
  font-size: 15px;
  color: #006591;
  margin-bottom: 8px;
}

.about-metric-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

/* 2. INSIDE THE BOX (UNBOXING) */
.about-unboxing-section {
  background: #FFFFFF;
  padding: 88px 0 80px;
  border-top: 1px solid #EBF5FF;
}

.about-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.about-section-header-left {
  text-align: left;
  max-width: 840px;
  margin-left: 0;
  margin-right: auto;
}

.about-sub-label {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #F05A22;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
}

.about-section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #0A2540;
  margin: 0 0 16px 0;
  line-height: 1.25;
}

.about-section-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

.about-kit-visual {
  height: clamp(250px, 36vw, 430px);
  margin: -18px 0 28px;
  overflow: hidden;
  border-radius: 24px;
  background: #F2F9FC;
  box-shadow: 0 18px 48px rgba(17, 69, 103, 0.12);
}

.about-components-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-component-card {
  background: #F8FAFC;
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: 18px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.about-component-card:hover {
  background: #FFFFFF;
  border-color: #0EA5E9;
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -8px rgba(14, 165, 233, 0.12);
}

.about-comp-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #0284C7;
  background: #E0F2FE;
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
  margin-bottom: 16px;
}

.about-comp-icon {
  color: #006591;
  margin-bottom: 16px;
}

.about-component-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0A2540;
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.about-component-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  flex-grow: 1;
  margin: 0 0 20px 0;
}

.about-comp-spec {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px dashed rgba(14, 165, 233, 0.2);
  padding-top: 14px;
}

.about-comp-spec span {
  font-size: 12px;
  font-weight: 600;
  color: #0369A1;
  background: #F0F9FF;
  padding: 4px 8px;
  border-radius: 6px;
}

/* 3. THREE STRATEGIC PILLARS */
.about-pillars-section {
  background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);
  padding: 96px 0;
  border-top: 1px solid #EBF5FF;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.about-pillar-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(14, 165, 233, 0.18);
  border-radius: 20px;
  padding: 36px 30px;
  position: relative;
  box-shadow: 0 12px 32px -6px rgba(14, 165, 233, 0.08);
  transition: all 0.28s ease;
  display: flex;
  flex-direction: column;
}

.about-pillar-card:hover {
  transform: translateY(-8px);
  border-color: #0099FF;
  box-shadow: 0 24px 48px -10px rgba(0, 153, 255, 0.18);
}

.about-pillar-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  color: rgba(14, 165, 233, 0.25);
  position: absolute;
  top: 24px;
  right: 28px;
  line-height: 1;
}

.about-pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #E0F2FE;
  color: #0284C7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.about-pillar-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #0A2540;
  line-height: 1.35;
  margin: 0 0 14px 0;
}

.about-pillar-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 22px 0;
  flex-grow: 1;
}

.about-pillar-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #F1F5F9;
  padding-top: 18px;
}

.about-pillar-checklist li {
  font-size: 13.5px;
  color: #1E293B;
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
  font-weight: 500;
}

.about-pillar-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0284C7;
  font-weight: 700;
}

/* 4. TARGET EXPLORERS */
.about-personas-section {
  background: #F2F9FC;
  padding: 88px 0;
  border-top: 1px solid #EBF5FF;
}

.about-audience-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 22px;
  align-items: stretch;
}

.about-audience-visual {
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(17, 69, 103, 0.14);
}

.about-personas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.about-persona-card {
  background: #F8FAFC;
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.about-persona-card:hover {
  background: #FFFFFF;
  border-color: #F05A22;
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -8px rgba(240, 90, 34, 0.12);
}

.about-persona-tag {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #EA580C;
  background: #FFEDD5;
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
  margin-bottom: 16px;
}

.about-persona-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #EBF5FF;
  color: #006591;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.about-persona-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0A2540;
  margin: 0 0 12px 0;
}

.about-persona-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  flex-grow: 1;
  margin: 0 0 20px 0;
}

.about-persona-footer {
  border-top: 1px dashed rgba(14, 165, 233, 0.2);
  padding-top: 14px;
}

.about-persona-stat {
  font-size: 12.5px;
  font-weight: 700;
  color: #006591;
}

/* 5. SUNLIT CTA RIBBON */
.about-cta-ribbon-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%);
  padding: 68px 0 88px;
}

.about-cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 32px;
  background: linear-gradient(120deg, #F4FBFE 0%, #E7F4FA 100%);
  border-radius: 24px;
  padding: 30px;
  text-align: left;
  color: #17324A;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(17, 69, 103, 0.12);
}

.about-cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.about-cta-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid rgba(21, 153, 198, 0.2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #C34B1D;
  margin-bottom: 18px;
}

.about-cta-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px 0;
  color: #0A3150;
}

.about-cta-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.about-cta-visual {
  display: block;
  width: 100%;
  min-height: 300px;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.about-cta-desc {
  font-size: 17px;
  line-height: 1.6;
  color: #536B7C;
  max-width: 600px;
  margin: 0 0 28px;
}

.about-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .about-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-components-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-personas-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .about-audience-layout {
    grid-template-columns: 1fr;
  }
  .about-audience-visual {
    min-height: 0;
    aspect-ratio: 2 / 1;
  }
}

@media (max-width: 900px) {
  .about-hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-hero-content {
    max-width: 760px;
  }
  .about-hero-media {
    aspect-ratio: 1.75 / 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  .about-hero-vision {
    padding: 52px 0 40px;
  }
  .about-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
  }
  .about-metric-card {
    padding: 20px 16px;
  }
  .about-metric-val {
    font-size: 34px;
  }
  .about-components-grid {
    grid-template-columns: 1fr;
  }
  .about-kit-visual {
    height: 235px;
    margin: -8px 0 22px;
    border-radius: 18px;
  }
  .about-section-header {
    margin-bottom: 32px;
  }
  .about-section-header-left {
    margin-left: 0;
  }
  .about-pillars-grid {
    grid-template-columns: 1fr;
  }
  .about-audience-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-audience-visual {
    aspect-ratio: 1.35 / 1;
  }
  .about-personas-grid {
    grid-template-columns: 1fr;
  }
  .about-unboxing-section,
  .about-pillars-section,
  .about-personas-section {
    padding: 58px 0;
  }
  .about-hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .about-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .about-btn {
    width: 100%;
  }
  .about-cta-box {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }
  .about-cta-visual {
    min-height: 185px;
    max-height: 220px;
  }
}

/* MOBILE HOME: art-directed Hero and compact Block 1 introduction */
.home-banner-picture,
.home-showcase-bg-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.home-banner-mobile-logo {
  display: none;
}

.home-cta-bg-picture {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-cta-mobile-product,
.bg-footer-hero-mobile-art {
  display: none;
}

@media (max-width: 700px) {
  .main-header {
    width: 100vw;
  }
}

@media (max-width: 680px) {
  .home-banner-section {
    margin-top: 64px;
    height: calc(100vh - 64px);
    height: calc(100svh - 64px);
    min-height: 520px;
  }

  .home-banner-picture {
    position: absolute;
    inset: 0;
  }

  .home-banner-mobile-logo {
    display: block;
    position: absolute;
    z-index: 2;
    top: clamp(16px, 3svh, 30px);
    left: 50%;
    width: min(36.8vw, 152px);
    height: auto;
    transform: translateX(-50%);
    filter: drop-shadow(0 5px 12px rgba(5, 33, 76, 0.25));
  }

  .home-banner-caption {
    bottom: clamp(22px, 4svh, 38px);
    width: min(94%, 430px);
  }

  .home-banner-title-svg-wrapper {
    max-width: 100%;
    margin: 0 auto -8px;
  }

  .home-banner-sub-capsule {
    max-width: 100%;
    box-sizing: border-box;
    padding: 6px 12px;
    gap: 7px;
  }

  .home-banner-sub {
    font-size: clamp(0.76rem, 3.6vw, 0.9rem);
    line-height: 1.35;
  }

  .home-showcase-section {
    padding: 30px 0 38px;
  }

  .home-showcase-bg-layer {
    height: clamp(370px, 110vw, 440px);
    bottom: auto;
  }

  .home-showcase-bg-picture {
    overflow: hidden;
  }

  .home-showcase-bg-layer::after {
    content: "";
    position: absolute;
    inset: 48% 0 0;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0), #38bdf8 92%);
  }

  .home-showcase-bg-img {
    object-position: center center;
  }

  .showcase-plane-deco {
    display: none;
  }

  .home-showcase-container {
    max-width: 520px;
    padding: 0 16px;
    gap: 18px;
  }

  .showcase-top-tier {
    gap: 4px;
    margin-bottom: 0;
  }

  .showcase-brand-logo {
    height: 44px;
  }

  .showcase-main-headline {
    font-size: clamp(2rem, 8.5vw, 2.5rem);
    line-height: 1;
    letter-spacing: 1.5px;
  }

  .showcase-sub-headline {
    font-size: clamp(0.95rem, 4vw, 1.08rem);
    line-height: 1.35;
  }

  .showcase-main-tier {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .showcase-glass-card {
    padding: 10px;
    gap: 4px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 28px rgba(7, 43, 82, 0.16);
  }

  .showcase-carousel-wrap {
    height: clamp(230px, 64vw, 280px);
  }

  .showcase-slide {
    padding: 4px;
  }

  .showcase-desc-col {
    gap: 12px;
  }

  .showcase-text-wrap {
    gap: 10px;
  }

  .showcase-body-p {
    font-size: 0.94rem;
    line-height: 1.6;
    text-align: left;
  }

  .showcase-cta-wrap {
    margin-top: 0;
  }

  .showcase-cta-btn {
    min-height: 54px;
    padding: 14px 16px;
    gap: 8px;
    font-size: 0.84rem;
    letter-spacing: 0.5px;
  }
}

/* MOBILE HOME: purchase CTA and compact footer */
@media (max-width: 700px) {
  .home-cta-section {
    width: 100vw;
    max-width: 100vw;
    min-height: 0;
  }

  .home-cta-banner-full {
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    background: #052f68;
  }

  .home-cta-bg-layer {
    position: relative;
    inset: auto;
    height: clamp(245px, 72vw, 292px);
    flex: 0 0 auto;
  }

  .home-cta-bg-img,
  .home-cta-bg-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .home-cta-bg-img {
    object-position: center 48%;
  }

  .home-cta-overlay-gradient {
    display: block;
    position: absolute;
    inset: 48% 0 0;
    background: linear-gradient(180deg, transparent, #052f68 92%);
    pointer-events: none;
  }

  .home-cta-mobile-product {
    display: block;
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: min(84%, 320px);
    max-height: 94%;
    object-fit: contain;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 10px 18px rgba(0, 12, 42, 0.42));
  }

  .home-cta-container {
    width: 100%;
    max-width: 560px;
    padding: 18px 18px 30px;
    box-sizing: border-box;
    background: #052f68;
  }

  .home-cta-content-left {
    max-width: none;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
  }

  .home-cta-badge {
    padding: 8px 14px;
    font-size: 0.76rem;
    letter-spacing: 1px;
  }

  .home-cta-title-line1 {
    font-size: clamp(1.75rem, 7.5vw, 2.3rem);
  }

  .home-cta-yellow-title {
    font-size: clamp(2.7rem, 10vw, 3.4rem);
  }

  .home-cta-description {
    max-width: none;
    font-size: 0.94rem;
    line-height: 1.6;
    text-shadow: none;
  }

  .home-cta-action-btns {
    width: 100%;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
  }

  .home-cta-btn-primary,
  .home-cta-btn-secondary {
    width: 100%;
    min-height: 52px;
    justify-content: center;
    box-sizing: border-box;
    padding: 13px 14px;
    font-size: 0.94rem;
  }

  .home-cta-features-bar {
    max-width: none;
    gap: 10px;
    padding: 12px 14px;
    margin-top: 0;
  }

  .cta-feature-title {
    font-size: 0.72rem;
    white-space: normal;
  }

  .cta-feature-sub {
    font-size: 0.68rem;
    white-space: normal;
  }

  .bg-footer-hero {
    padding: 20px 16px 22px;
    overflow: hidden;
    background: #006f8f;
  }

  .bg-footer {
    width: 100vw;
    max-width: 100vw;
  }

  .bg-footer-hero-mobile-art {
    display: block;
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
  }

  .bg-footer-hero-mobile-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
  }

  .bg-footer-hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 73, 99, 0.24), rgba(0, 45, 78, 0.58));
    pointer-events: none;
  }

  .bg-footer-hero-container {
    align-items: stretch;
    gap: 18px;
  }

  .bg-footer-hero-brand {
    width: 100%;
    max-width: none;
  }

  .bg-hero-brand-header {
    align-items: center;
    gap: 12px;
    margin: 0;
  }

  .bg-hero-product-combo {
    width: 92px;
  }

  .bg-hero-prod-box-3d {
    display: none;
  }

  .bg-hero-brand-text {
    flex: 1;
    min-width: 0;
    padding-top: 0;
  }

  .bg-hero-title {
    font-size: clamp(1.2rem, 5vw, 1.45rem);
    letter-spacing: 0.8px;
  }

  .bg-hero-slogan {
    margin-top: 6px;
    font-size: 0.62rem;
    line-height: 1.4;
    letter-spacing: 0.9px;
    white-space: normal;
  }

  .bg-footer-hero-cards-area {
    width: 100%;
    height: auto;
    justify-content: center;
    gap: 8px;
  }

  .bg-illus-card {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    flex: 1 1 0;
    width: auto;
    max-width: 78px;
    min-width: 0;
    height: auto;
    aspect-ratio: 2 / 3;
    border-radius: 9px;
    transform: none;
  }

  .bg-illus-card.card-green-style,
  .bg-illus-card.card-red-style,
  .bg-illus-card.card-blue-style,
  .bg-illus-card.card-yellow-style {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
  }

  .bg-card-img-art {
    border-radius: 9px;
  }

  .bg-decor-3d-crane,
  .bg-decor-3d-cont,
  .bg-decor-3d-boat {
    display: none;
  }

  .bg-checker-strip {
    height: 14px;
  }

  .bg-footer-main {
    padding: 24px 18px 28px;
  }

  .bg-footer-main-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .bg-footer-col {
    padding: 18px 0;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  }

  .bg-footer-col:first-child {
    padding-top: 0;
  }

  .bg-footer-col:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .bg-footer-col::after {
    display: none !important;
  }

  .bg-col-desc {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .bg-newsletter-form {
    flex-direction: row;
  }

  .bg-news-input {
    min-width: 0;
    min-height: 44px;
    padding-inline: 11px;
  }

  .bg-news-btn {
    min-height: 44px;
    padding-inline: 13px;
  }

  .social-links {
    flex-wrap: wrap;
    gap: clamp(8px, 3vw, 12px);
  }

  .social-link {
    --button-size: 2.8rem;
  }

  .bg-footer-copyright {
    height: auto;
    min-height: 64px;
    padding: 14px 24px;
  }

  .bg-copyright-title-text {
    font-size: 0.7rem;
    line-height: 1.45;
  }
}

/* Final mobile-home overrides stay last so legacy desktop rules cannot win. */
@media (max-width: 700px) {
  .home-banner-section {
    margin-top: 64px;
    height: calc(100svh - 64px);
    min-height: 620px;
  }

  .hero-scroll-curtain,
  .hero-product-reveal {
    display: none !important;
  }

  .home-showcase-bg-layer {
    inset: 0;
    height: 100%;
  }

  #block2-gameplay,
  #block3-scale {
    min-height: 0;
    padding: 48px 18px;
    overflow: hidden;
  }

  .home-quychien-inner,
  #block2-gameplay .home-quychien-inner,
  #block3-scale .home-quychien-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    transform: none;
  }

  .home-quychien-img-col,
  .home-quychien-text-col,
  #block2-gameplay .home-quychien-text-col,
  #block3-scale .home-quychien-text-col {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    transform: none;
  }

  .quychien-boardgame-cutout-img {
    width: 100%;
    max-width: 100%;
  }

  .quychien-highlight-cyan,
  .headline-part-bottom {
    white-space: normal;
  }

  .pillars-diorama-picture,
  .guide-bg-picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .pillars-diorama-img,
  .guide-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .pillars-fandeck-area {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    height: auto;
    margin: 12px 0 0;
  }

  .pillar-fandeck-card,
  .pillar-fandeck-card.card-green-style,
  .pillar-fandeck-card.card-red-style,
  .pillar-fandeck-card.card-blue-style,
  .pillar-fandeck-card.card-yellow-style {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    opacity: 1 !important;
    transform: none !important;
  }

  .fandeck-card-img {
    width: 66.667%;
    height: 150%;
  }

  .pillar-decor-3d {
    display: none !important;
  }

  .home-guide-section {
    min-height: 640px;
    padding: 46px 0 44px;
  }

  .nautical-boardgame-badge {
    width: min(88vw, 350px);
    margin-top: 0;
  }

  .headline-part-bottom {
    font-size: clamp(1.28rem, 6vw, 1.65rem);
  }

  .video-frame {
    width: 94vw;
    max-width: 390px;
    margin-top: 20px;
  }

  .home-cta-bg-layer {
    height: clamp(300px, 82vw, 360px);
  }

  .bg-footer-hero {
    min-height: 520px;
    padding: 34px 18px 30px;
  }

  #homeView .showcase-brand-logo,
  #homeView .showcase-main-headline,
  #homeView .showcase-sub-headline,
  #homeView .showcase-glass-card,
  #homeView .showcase-text-wrap,
  #homeView .showcase-cta-wrap,
  #homeView .quychien-boardgame-showcase,
  #homeView .quychien-photo-showcase,
  #homeView .nautical-ribbon-badge,
  #homeView .quychien-gameplay-headline,
  #homeView .quychien-headline-divider-amber,
  #homeView .gameplay-p,
  #homeView .pillars-headline-modern,
  #homeView .nautical-boardgame-badge,
  #homeView .guide-nautical-headline,
  #homeView .video-frame,
  #homeView .home-cta-badge,
  #homeView .home-cta-title-wrap,
  #homeView .home-cta-description,
  #homeView .home-cta-action-btns,
  #homeView .home-cta-features-bar {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

.pillars-diorama-picture,
.guide-bg-picture {
  display: block;
  width: 100%;
  height: 100%;
}


