/* ===================================================================
   BLACK FRIDAY SLOT MACHINE (QUAY XÈNG 3 CỘT) - TITAN FITNESS
   Theme: Unity Royal Sport Blue (#0062BF / #014FA2), Golden Amber (#F7C34E),
          Vibrant Orange-Red CTA (#F75A0A) & Clean Light Alternating Sections
   =================================================================== */

:root {
  /* Primary Brand Blues */
  --blue-hero: #0062bf;
  --blue-primary: #005fba;
  --blue-cobalt: #014fa2;
  --blue-indigo: #253c84;
  --blue-navy-dark: #042e66;

  /* Section Backgrounds (Alternating Blue & Light like Reference Image) */
  --bg-light-gray: #f4f5f6;
  --bg-white-geo: #ffffff;
  --bg-ice-blue: #e8f0fd;

  /* Accent & Button Colors */
  --color-yellow: #edb400;
  --color-yellow-bright: #f7c52b;
  --color-cta-orange: #f75a0a;
  --color-cta-orange-hover: #ff6d1f;
  --color-success: #00c853;

  /* Text Colors */
  --text-white: #ffffff;
  --text-light-blue: #dbeafe;
  --text-dark-navy: #014fa2;
  --text-dark-heading: #0f172a;
  --text-dark-body: #334155;
  --text-muted: #64748b;

  /* Typography */
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Montserrat', 'Orbitron', sans-serif;

  /* Slot item height for calculations (3 visible rows inside reel window) */
  --slot-item-height: 84px;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--blue-hero);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Atmosphere (Royal Blue Sport Glows) */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.bg-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #38bdf8, transparent 70%);
  top: -120px;
  left: -100px;
}
.bg-glow-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #1d4ed8, transparent 70%);
  top: 20%;
  right: -120px;
}
.bg-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(45deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Typography & Helpers */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-4 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1rem; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.text-gold { color: var(--color-yellow); font-weight: 800; }

.gradient-text {
  color: var(--color-yellow);
  font-style: italic;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 30, 80, 0.35);
}

.neon-text-gold {
  color: var(--color-yellow);
  font-style: italic;
  font-weight: 900;
  text-shadow: 0 4px 16px rgba(0, 32, 85, 0.45);
}

/* ===================================================================
   NAVBAR (#014FA2 Deep Cobalt Blue + #F7C34E Yellow Button)
   =================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue-cobalt);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 25, 75, 0.35);
  padding: 12px 0;
}
.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 15, 45, 0.35));
}
.footer-logo-img {
  height: 52px;
  margin-bottom: 6px;
}
@media (max-width: 520px) {
  .brand-logo-img {
    height: 36px;
  }
}
.logo-icon {
  font-size: 26px;
  filter: drop-shadow(0 2px 6px rgba(247, 195, 78, 0.5));
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-main {
  font-family: var(--font-main);
  font-weight: 900;
  font-style: italic;
  font-size: 22px;
  letter-spacing: 1px;
  color: #ffffff;
}
.logo-main .highlight {
  color: var(--color-yellow);
}
.logo-sub {
  font-size: 9px;
  letter-spacing: 2.5px;
  color: var(--text-light-blue);
  font-weight: 700;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-hotline-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
}
.nav-hotline-link:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--color-yellow);
  color: var(--color-yellow);
}
@media (max-width: 560px) {
  .nav-hotline-link {
    display: none;
  }
}
.nav-cta-btn {
  background: #f9d839;
  color: #063c91;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}
.nav-cta-btn:hover {
  background: #ffe357;
  color: #063c91;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 216, 57, 0.5);
}
.btn-admin-pill {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-admin-pill:hover {
  background: var(--color-yellow);
  border-color: var(--color-yellow);
  color: var(--blue-navy-dark);
}

/* ===================================================================
   LAYERED RESPONSIVE HERO SECTION (PC & MOBILE)
   Brand Colors: #0147A9 (Unity Blue), #FDBF40 (Unity Gold), #FFFFFF
   =================================================================== */
.layered-hero-section {
  position: relative;
  background: #0147a9;
  background: radial-gradient(circle at 40% 38%, #0c62d9 0%, #0147a9 56%, #002d6b 100%);
  overflow: hidden;
  padding: 18px 0 0;
  color: #ffffff;
  z-index: 2;
  border-bottom: 2px solid rgba(253, 191, 64, 0.4);
}

/* Background Decorative Layer (Shown on PC, hidden on Mobile custom artwork) */
.hero-layer-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* Dynamic Radial Light Burst */
.hero-light-burst {
  position: absolute;
  top: 28%;
  left: 32%;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(13, 148, 255, 0.35) 0%, rgba(1, 71, 169, 0) 70%);
  filter: blur(45px);
  transform: translate(-50%, -50%);
}

/* Speed slashes (diagonal ribbons) */
.hero-speed-slash {
  position: absolute;
  transform: skewX(-20deg);
  pointer-events: none;
}
.hero-speed-slash.slash-1 {
  top: -120px;
  right: 16%;
  width: 140px;
  height: 850px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.12) 0%, rgba(56, 189, 248, 0) 100%);
}
.hero-speed-slash.slash-2 {
  top: -60px;
  right: 26%;
  width: 50px;
  height: 750px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}
.hero-speed-slash.slash-3 {
  bottom: -160px;
  left: 2%;
  width: 200px;
  height: 500px;
  background: linear-gradient(0deg, rgba(32, 192, 229, 0.14) 0%, rgba(32, 192, 229, 0) 100%);
}

/* Sports dot pattern */
.hero-dot-matrix {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1.4px, transparent 1.4px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 22%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 22%, transparent 72%);
}

/* Watermark typography in background */
.hero-bg-watermark {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(80px, 13vw, 190px);
  color: rgba(255, 255, 255, 0.025);
  letter-spacing: 12px;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

/* Main Container Grid:
   - PC (>991px): 2-Column balanced showcase (Left: BF Logo + Info/CTA | Right: Center Podium + Model flush to bottom)
   - Mobile (<=991px): 1-Column 3-tier flow (1. BF Logo -> 2. Podium + Model -> 3. Pill + Trust + CTA) */
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  display: grid;
  grid-template-columns: minmax(305px, 345px) 1fr;
  grid-template-rows: 42% 58%;
  grid-template-areas:
    "logo visual"
    "info visual";
  align-items: center;
  column-gap: 16px;
  row-gap: 14px;
  min-height: 465px;
}

/* Block 1: 3D Black Friday Logo */
.hero-top-copy {
  grid-area: logo;
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 4;
  padding-top: 6px;
}
.hero-bf-heading {
  margin: 0;
  width: clamp(230px, 24vw, 286px);
  line-height: 0;
  filter: drop-shadow(0 12px 24px rgba(2, 16, 52, 0.45));
  animation: hero-bf-float 3.4s ease-in-out infinite;
}
.hero-bf-heading img {
  width: 100%;
  height: auto;
  display: block;
}

/* Block 3: Pill + 3 Trust Points + CTA */
.hero-bottom-copy {
  grid-area: info;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  position: relative;
  z-index: 4;
  padding-bottom: 24px;
}

/* Key Visual Showcase Layer (Podium + Model) */
.hero-model-layer {
  grid-area: visual;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: stretch;
  width: 100%;
}

.hero-aura-glow {
  position: absolute;
  top: 52%;
  left: 44%;
  transform: translate(-50%, -50%);
  width: 540px;
  height: 420px;
  background: radial-gradient(
    ellipse at center,
    rgba(32, 192, 229, 0.4) 0%,
    rgba(14, 53, 165, 0.32) 56%,
    transparent 78%
  );
  filter: blur(42px);
  pointer-events: none;
  z-index: 1;
}

.hero-kv-stage {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 785px;
  min-height: 445px;
  aspect-ratio: 785 / 468;
  margin: 0 auto;
  user-select: none;
}

/* Glowing Cyan Neon Arc behind Model's Back */
.hero-model-neon-arc {
  position: absolute;
  right: -3.5%;
  bottom: 7%;
  width: 42%;
  height: 67%;
  z-index: 1;
  pointer-events: none;
  filter:
    drop-shadow(0 0 8px rgba(170, 252, 255, 0.9))
    drop-shadow(0 0 20px rgba(32, 192, 229, 0.8));
}
.hero-model-neon-arc svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Soft Cyan Floor Reflection Glow + Neon Cyan Ring beneath Podium */
.hero-podium-glow {
  position: absolute;
  left: 0%;
  bottom: 2%;
  width: clamp(365px, 61%, 485px);
  height: 17%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(145, 248, 255, 0.65) 0%,
    rgba(32, 192, 229, 0.36) 52%,
    rgba(32, 192, 229, 0) 78%
  );
  filter: blur(11px);
  pointer-events: none;
  z-index: 2;
}
.hero-podium-neon-ring {
  position: absolute;
  left: -0.2%;
  bottom: 3.5%;
  width: clamp(370px, 62%, 490px);
  height: 21%;
  z-index: 2;
  pointer-events: none;
  filter:
    drop-shadow(0 0 8px rgba(175, 252, 255, 0.95))
    drop-shadow(0 0 22px rgba(32, 192, 229, 0.85));
}
.hero-podium-neon-ring svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Slot Machine on Glowing Blue Podium */
.hero-kv-podium {
  position: absolute;
  left: 2%;
  bottom: -1%;
  width: clamp(350px, 57.5%, 455px);
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 16px 32px rgba(2, 16, 52, 0.52));
}
.hero-kv-podium img {
  width: 100%;
  height: auto;
  display: block;
}

/* Fitness Model (Flush to bottom boundary of Hero section with soft lower-edge fade) */
.hero-kv-model {
  position: absolute;
  right: -1%;
  bottom: 0%;
  height: 97%;
  max-height: 462px;
  aspect-ratio: 682 / 1024;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(-8px 10px 24px rgba(2, 18, 56, 0.42));
}
.hero-kv-model img {
  height: 100%;
  width: 100%;
  display: block;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000000 0%,
    #000000 87%,
    rgba(0, 0, 0, 0.52) 96%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000000 0%,
    #000000 87%,
    rgba(0, 0, 0, 0.52) 96%,
    transparent 100%
  );
}

@keyframes hero-bf-float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Target Capsule Pill (Box 1 - #0E35A5 background + White border) */
.hero-target-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
  background: #0e35a5;
  border: 1.5px solid #ffffff;
  border-radius: 999px;
  padding: 10px 20px;
  margin-bottom: 16px;
  box-shadow:
    0 8px 22px rgba(0, 15, 50, 0.36),
    inset 0 0 12px rgba(255, 255, 255, 0.14);
}
.hero-target-pill .pill-sparkle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(242, 168, 61, 0.65));
}
.hero-target-pill .pill-text {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.38;
  letter-spacing: 0.15px;
  text-align: left;
}

/* Trust points (3 Stacked Vertical Items matching PC & Mobile Ref) */
.hero-trust-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  width: fit-content;
  margin: 0 auto 18px;
}
.trust-item {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-shadow: 0 2px 10px rgba(3, 24, 72, 0.85), 0 1px 3px rgba(0, 10, 35, 0.65);
}
.trust-item .check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  background: #20c0e5;
  color: #063c91;
  font-size: 11px;
  font-weight: 900;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Action CTA Button (#F9D839 background + #063C91 text) */
.hero-action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 268px;
  background: #f9d839;
  color: #063c91;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 15px 34px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 252, 232, 0.75);
  text-decoration: none;
  box-shadow:
    0 0 22px rgba(249, 216, 57, 0.65),
    0 10px 24px rgba(0, 12, 40, 0.38),
    inset 0 1px 4px rgba(255, 255, 255, 0.45);
  transition: all 0.25s ease;
  position: relative;
}
.hero-cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  background: #ffe357;
  box-shadow:
    0 0 30px rgba(249, 216, 57, 0.9),
    0 14px 28px rgba(0, 12, 40, 0.48),
    inset 0 1px 6px rgba(255, 255, 255, 0.6);
  color: #063c91;
}
.hero-cta-btn .btn-arrow {
  transition: transform 0.2s ease;
}
.hero-cta-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ===================================================================
   RESPONSIVE HERO: TABLET & MOBILE (Matches Mobile Ref Image 100%)
   1. Top Logo -> 2. Podium + Model -> 3. Target Pill + 3 Trust Lines + CTA
   =================================================================== */
@media (max-width: 991px) {
  .layered-hero-section {
    padding: 16px 0 28px;
    background: #063c91 url('backgrounds/hero-bg-mobile.png') center center / cover no-repeat;
    border-bottom: 1px solid rgba(32, 192, 229, 0.35);
  }
  .hero-layer-bg {
    display: none;
  }
  .hero-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "logo"
      "visual"
      "info";
    gap: 6px;
    text-align: center;
    min-height: auto;
  }
  .hero-top-copy {
    align-items: center;
    justify-content: center;
    padding-top: 0;
  }
  .hero-bf-heading {
    width: clamp(190px, 55vw, 240px);
    margin: 0 auto 2px;
  }
  .hero-model-layer {
    margin: 2px auto 6px;
  }
  .hero-kv-stage {
    max-width: 440px;
    min-height: 0;
    aspect-ratio: 375 / 262;
  }
  .hero-model-neon-arc {
    right: -5%;
    bottom: 6%;
    width: 44%;
    height: 68%;
  }
  .hero-podium-glow {
    left: -3%;
    bottom: 1%;
    width: 67%;
    height: 18%;
  }
  .hero-podium-neon-ring {
    left: -3.5%;
    bottom: 2.5%;
    width: 68%;
    height: 20%;
  }
  .hero-kv-podium {
    left: -1%;
    bottom: -1%;
    width: 61.5%;
    max-width: none;
    z-index: 3;
  }
  .hero-kv-model {
    right: -2%;
    bottom: -1%;
    width: 45%;
    height: auto;
    max-height: none;
    z-index: 2;
  }
  .hero-kv-model img {
    width: 100%;
    height: auto;
    -webkit-mask-image: linear-gradient(
      180deg,
      #000000 0%,
      #000000 73%,
      rgba(0, 0, 0, 0.4) 89%,
      transparent 100%
    );
    mask-image: linear-gradient(
      180deg,
      #000000 0%,
      #000000 73%,
      rgba(0, 0, 0, 0.4) 89%,
      transparent 100%
    );
  }
  .hero-bottom-copy {
    align-items: center;
    text-align: center;
    width: 100%;
    padding-bottom: 0;
  }
  .hero-target-pill {
    max-width: 390px;
    padding: 10px 20px;
    margin-bottom: 14px;
  }
  .hero-trust-list {
    margin: 0 auto 18px;
  }
  .hero-cta-btn {
    max-width: 330px;
    font-size: 19px;
    padding: 14px 30px;
  }
}

@media (max-width: 680px) {
  .layered-hero-section {
    padding: 14px 0 24px;
  }
  .hero-target-pill .pill-text {
    font-size: 13.5px;
  }
  .trust-item {
    font-size: 13.5px;
  }
  .hero-cta-btn {
    max-width: 320px;
    font-size: 18.5px;
    padding: 14px 26px;
  }
  .hero-aura-glow {
    width: 310px;
    height: 280px;
  }
}

/* ===================================================================
   DESCRIPTION & COUNTDOWN BELOW SLOT MACHINE
   =================================================================== */
.slot-below-info {
  margin-top: 24px;
  width: 100%;
  max-width: 560px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-desc {
  max-width: 540px;
  margin: 0 auto 18px;
  font-size: clamp(13.5px, 1.8vw, 15px);
  color: #e0f2fe;
  font-weight: 500;
  line-height: 1.6;
}
.text-highlight {
  color: var(--color-yellow);
  font-weight: 800;
  text-decoration: underline;
}

/* Countdown Wrapper (Styled like the White Pill Timer) */
.countdown-wrapper {
  display: inline-block;
  background: rgba(6, 60, 145, 0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  padding: 14px 26px 18px;
  box-shadow: 0 12px 30px rgba(0, 25, 75, 0.42);
}
.countdown-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.countdown-timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  padding: 10px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 25, 75, 0.2);
}
.timer-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  border: 2px solid var(--blue-hero);
  border-radius: 50%;
  background: #f8fafc;
}
.timer-box span {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 900;
  color: var(--blue-cobalt);
  line-height: 1;
}
.timer-box label {
  font-size: 8px;
  font-weight: 700;
  color: var(--text-dark-body);
  text-transform: uppercase;
  margin-top: 2px;
}
.timer-colon {
  font-size: 20px;
  font-weight: 900;
  color: var(--blue-cobalt);
}

/* ===================================================================
   SLOT MACHINE & FORM SECTION (Custom Artwork Background PC & Mobile)
   =================================================================== */
.slot-section {
  padding: 48px 0 65px;
  background: #063c91 url('backgrounds/slot-bg-pc.png') center center / cover no-repeat;
  position: relative;
}
.slot-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 980px) {
  .slot-section {
    background: #063c91 url('backgrounds/slot-bg-mobile.png') center center / cover no-repeat;
  }
  .slot-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

/* ===================================================================
   SLOT MACHINE CABINET & CAPSULE (Cyan & Royal Blue 3D Preview Design)
   Colors: #063c91, #0e35a5, #20c0e5 | Accent Gold: #f2a83d
   =================================================================== */
@media (max-width: 520px) {
  :root {
    --slot-item-height: 66px;
  }
}

.slot-display-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.slot-machine-housing {
  position: relative;
  background:
    radial-gradient(95% 58% at 50% 102%, #20c0e5 0%, rgba(32, 192, 229, 0.88) 40%, rgba(14, 53, 165, 0) 84%),
    radial-gradient(55% 65% at 98% 68%, rgba(32, 192, 229, 0.62) 0%, rgba(14, 53, 165, 0) 76%),
    radial-gradient(55% 65% at 2% 68%, rgba(32, 192, 229, 0.52) 0%, rgba(14, 53, 165, 0) 76%),
    linear-gradient(180deg, #063c91 0%, #0e35a5 38%, #1368c6 74%, #20c0e5 100%);
  border: 2.5px solid #e4fbff;
  border-radius: 36px;
  padding: 18px 28px 16px;
  box-shadow:
    inset 0 0 18px rgba(32, 192, 229, 0.72),
    inset 0 8px 22px rgba(6, 60, 145, 0.85),
    inset 0 -12px 26px rgba(32, 192, 229, 0.92),
    0 22px 50px rgba(2, 18, 58, 0.62),
    0 0 28px rgba(32, 192, 229, 0.32);
  width: 100%;
  max-width: 560px;
}
@media (max-width: 600px) {
  .slot-machine-housing {
    padding: 14px 14px 14px;
    border-radius: 26px;
  }
}

/* ===================================================================
   SLOT MACHINE FOCUS MODE (HƯỚNG 2: OVERLAY MINI-GAME TRÊN MOBILE)
   =================================================================== */
.slot-focus-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 20, 50, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

body.slot-focus-active {
  overflow: hidden !important;
  touch-action: none;
}

body.slot-focus-active .slot-section,
body.slot-focus-active .slot-section .container {
  z-index: 1000;
}

body.slot-focus-active .slot-form-col,
body.slot-focus-active .slot-below-info {
  position: relative;
  z-index: 1;
}

body.slot-focus-active .slot-display-col {
  position: relative;
  z-index: 1000;
  min-height: 440px;
}

body.slot-focus-active .slot-focus-backdrop {
  opacity: 1;
  pointer-events: auto;
  z-index: 998;
}

body.slot-focus-active .slot-machine-housing {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(1.02) !important;
  z-index: 9999 !important;
  width: calc(100% - 24px) !important;
  max-width: 440px !important;
  margin: 0 !important;
  box-shadow: 
    0 0 0 3px #e4fbff,
    0 0 50px rgba(32, 192, 229, 0.8),
    0 25px 65px rgba(0, 8, 28, 0.95) !important;
  animation: slot-focus-pop-in 0.38s cubic-bezier(0.18, 0.9, 0.3, 1.25);
}

@keyframes slot-focus-pop-in {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%) scale(0.85);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.02);
  }
}

/* Top Marquee Pill (Using marquee-pill.png element) */
.machine-marquee {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: url('slot-elements/marquee-pill.png') center / 100% 100% no-repeat;
  border: none;
  border-radius: 50px;
  padding: 10px 24px 17px;
  margin: 0 auto 10px;
  width: 98%;
  box-shadow: none;
}
.marquee-title {
  font-family: var(--font-main);
  font-size: 19px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.2px;
  color: #063c91;
  margin: 0 4px;
  line-height: 1.2;
}
.marquee-bulb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: bulb-blink 1.1s infinite alternate;
}
.marquee-bulb.bulb-white {
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff, 0 0 14px #ffffff;
}
.marquee-bulb.bulb-gold {
  background: #f2a83d;
  box-shadow: 0 0 6px rgba(242, 168, 61, 0.9);
  animation-delay: 0.45s;
}
@media (max-width: 520px) {
  .machine-marquee {
    gap: 8px;
    padding: 8px 16px 13px;
    margin-bottom: 8px;
    width: 100%;
  }
  .marquee-title {
    font-size: 14px;
    margin: 0 2px;
  }
  .marquee-bulb {
    width: 8.5px;
    height: 8.5px;
  }
}
@keyframes bulb-blink {
  0% { opacity: 0.55; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.14); }
}

/* ===================================================================
   SLOT WINDOW FRAME (UNIFIED SILVER-WHITE 3D DRUM WITH #063C91 BORDER)
   =================================================================== */
.slot-capsule {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  background: linear-gradient(
    180deg,
    #9ca4ae 0%,
    #c4ccd4 10%,
    #e5e9ee 23%,
    #f7f9fb 40%,
    #ffffff 50%,
    #f7f9fb 60%,
    #e5e9ee 77%,
    #c4ccd4 90%,
    #9ca4ae 100%
  );
  border-radius: 22px;
  padding: 6px 8px;
  border: 4.5px solid #063c91;
  box-shadow:
    0 0 0 1.5px rgba(32, 192, 229, 0.55),
    0 0 22px rgba(32, 192, 229, 0.48),
    inset 0 12px 18px rgba(60, 70, 85, 0.26),
    inset 0 -12px 18px rgba(60, 70, 85, 0.26);
  overflow: hidden;
}
@media (max-width: 520px) {
  .slot-capsule {
    padding: 4px 5px;
    border-radius: 16px;
    border-width: 3.5px;
  }
}

/* Payline Pointers on Left & Right Inner Borders */
.payline-marker {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.payline-left { left: -2px; }
.payline-right { right: -2px; }

@media (max-width: 520px) {
  .payline-marker svg {
    width: 11px;
    height: 18px;
  }
}

.payline-beam {
  display: none;
}

/* Vertical Glowing Divider Lines Between Columns (reel-divider.png) */
.reel-divider {
  width: 12px;
  height: calc(var(--slot-item-height) * 2.82);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  pointer-events: none;
}
.reel-divider img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}
@media (max-width: 520px) {
  .reel-divider {
    width: 8px;
  }
}

/* ===================================================================
   3 REEL WINDOWS (3 VISIBLE VOUCHER ROWS PER COLUMN)
   =================================================================== */
.slot-reel-window {
  flex: 1;
  height: calc(var(--slot-item-height) * 3);
  background: transparent;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  border: none;
}

.reel-strip {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.slot-item {
  height: var(--slot-item-height);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  padding: 6px 6px;
}
@media (max-width: 520px) {
  .slot-item {
    padding: 4px 3px;
  }
}

.slot-voucher-img {
  width: 86%;
  max-width: 138px;
  height: auto;
  max-height: calc(var(--slot-item-height) - 18px);
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 2px 4px rgba(6, 60, 145, 0.12));
}
@media (max-width: 520px) {
  .slot-voucher-img {
    width: 90%;
    max-width: 104px;
    max-height: calc(var(--slot-item-height) - 12px);
  }
}

/* Soft Cyan Outer Glow for Middle Row Vouchers (Like Preview) */
.slot-item.is-center-row .slot-voucher-img {
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 9px rgba(32, 192, 229, 0.85))
    drop-shadow(0 0 16px rgba(32, 192, 229, 0.45));
  transform: scale(1.02);
}

/* Highlight winner when matched */
.slot-reel-window.matched .slot-item.is-center-row .slot-voucher-img {
  filter:
    drop-shadow(0 0 3px #ffffff)
    drop-shadow(0 0 14px #20c0e5)
    drop-shadow(0 0 24px rgba(32, 192, 229, 0.9));
  animation: match-pulse 0.75s infinite alternate;
}
@keyframes match-pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

/* ===================================================================
   INTERACTIVE LEVER (CYAN & ROYAL BLUE 3D SPHERE)
   =================================================================== */
.slot-lever-assembly {
  position: absolute;
  top: 54%;
  right: -54px;
  transform: translateY(-50%);
  width: 54px;
  height: 165px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 768px) {
  .slot-lever-assembly {
    display: none;
  }
}

.lever-mount {
  width: 22px;
  height: 86px;
  background: linear-gradient(180deg, #0e35a5 0%, #1577c8 45%, #20c0e5 100%);
  border-radius: 0 5px 5px 0;
  border: none;
  box-shadow: 2px 4px 10px rgba(3, 22, 66, 0.35);
  position: absolute;
  bottom: 22px;
  left: 0;
}

.lever-arm {
  position: absolute;
  bottom: 54px;
  left: 18px;
  width: 5px;
  height: 84px;
  background: linear-gradient(90deg, #20c0e5 0%, #0e5ec4 100%);
  border-radius: 3px;
  transform-origin: bottom center;
  transform: rotate(22deg);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lever-knob {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  background: radial-gradient(circle at 42% 38%, #ffffff 0%, #c4f6ff 18%, #20c0e5 52%, #0e35a5 95%);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(6, 60, 145, 0.5), 0 0 14px rgba(32, 192, 229, 0.45);
  border: none;
}

.slot-lever-assembly.pulled .lever-arm {
  transform: rotate(140deg) scaleY(0.8);
}

/* Machine Bottom Bar ("» Nhận ưu đãi ngay «") */
.machine-bottom-bar {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: none;
}
.machine-bottom-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(190, 247, 255, 0.78) 25%,
    #ffffff 50%,
    rgba(190, 247, 255, 0.78) 75%,
    rgba(255, 255, 255, 0) 100%
  );
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.85), 0 0 14px rgba(32, 192, 229, 0.85);
  border-radius: 50%;
}
.jackpot-led-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.3px;
  color: #063c91;
}
.jackpot-chevrons {
  display: inline-flex;
  align-items: center;
  filter: drop-shadow(0 1px 3px rgba(6, 60, 145, 0.25));
}
.jackpot-bottom-text {
  color: #063c91;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}
@media (max-width: 520px) {
  .machine-bottom-bar {
    margin-top: 10px;
    padding-top: 9px;
  }
  .jackpot-led-badge {
    font-size: 16px;
    gap: 7px;
  }
  .jackpot-chevrons svg {
    width: 17px;
    height: 12px;
  }
}

.sound-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.sound-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--color-yellow);
}
.sound-btn span {
  font-weight: 800;
  color: var(--color-yellow);
}

/* ===================================================================
   FORM COLUMN (Matched 100% to Reference Image Form Box #014FA2)
   =================================================================== */
.form-card {
  background: var(--blue-cobalt);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 20px 50px rgba(0, 25, 75, 0.45);
  position: relative;
}
@media (max-width: 600px) {
  .form-card {
    padding: 24px 18px;
  }
}

/* Yellow Pill Badge inside Form like "VOUCHER TRỊ GIÁ..." */
.form-card-badge {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--blue-navy-dark);
  font-weight: 900;
  font-size: 12px;
  padding: 6px 18px;
  border-radius: 50px;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.form-title {
  font-size: clamp(18px, 2.0vw, 24px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 10px;
  color: #ffffff;
}
.form-title .nowrap-phrase {
  white-space: nowrap;
}
@media (max-width: 980px) {
  .form-title {
    font-size: clamp(14.5px, 4.2vw, 23px);
  }
}
.form-sub {
  font-size: 13.5px;
  color: #e0f2fe;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Form inputs (Clean White Inputs like Reference Image) */
.spin-form .input-group {
  margin-bottom: 18px;
}
.spin-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute;
  left: 14px;
  font-size: 18px;
  pointer-events: none;
}
.input-wrapper input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: #ffffff;
  border: 2px solid #dbeafe;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark-heading);
  outline: none;
  transition: all 0.25s;
  letter-spacing: 0.5px;
}
.input-wrapper input:focus {
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 3px rgba(247, 195, 78, 0.35);
}
.input-wrapper input::placeholder {
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0;
  font-size: 14px;
}
.input-hint {
  font-size: 11.5px;
  color: #bfdbfe;
  margin-top: 6px;
}

/* Branch Selection Cards (Tích chọn Chi nhánh) */
.branch-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.branch-option-card {
  display: flex !important;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 2px solid #dbeafe;
  border-radius: 8px;
  padding: 11px 14px;
  cursor: pointer;
  margin-bottom: 0 !important;
  transition: all 0.2s ease;
  user-select: none;
}
.branch-option-card:hover {
  border-color: var(--color-yellow);
  background: #f8fafc;
}
.branch-option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.branch-custom-tick {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 5px;
  border: 2px solid #94a3b8;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.branch-option-card input[type="radio"]:checked + .branch-custom-tick {
  background: var(--blue-hero);
  border-color: var(--blue-hero);
}
.branch-option-card input[type="radio"]:checked + .branch-custom-tick::after {
  content: '✓';
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}
.branch-option-card:has(input[type="radio"]:checked) {
  border-color: var(--color-yellow);
  background: #eff6ff;
  box-shadow: 0 0 0 2px rgba(247, 195, 78, 0.35);
}
.branch-option-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark-heading);
  line-height: 1.35;
}
.branch-option-text strong {
  color: var(--blue-cobalt);
  font-weight: 800;
}

/* Alerts */
.alert-box {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.45;
}
.alert-box.alert-error {
  background: #fef2f2;
  border: 1.5px solid #ef4444;
  color: #b91c1c;
}
.alert-box.alert-warning {
  background: #fffbeb;
  border: 1.5px solid #f59e0b;
  color: #92400e;
}
.alert-box.alert-success {
  background: #ecfdf5;
  border: 1.5px solid #10b981;
  color: #065f46;
}

/* Primary Spin Action Button (#F9D839 background + #063C91 text) */
.btn-spin-action {
  position: relative;
  width: 100%;
  padding: 16px;
  background: #f9d839;
  border: none;
  border-radius: 8px;
  color: #063c91;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(249, 216, 57, 0.45);
  overflow: hidden;
  transition: all 0.25s ease;
}
.btn-spin-action:hover:not(:disabled) {
  background: #ffe357;
  color: #063c91;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(249, 216, 57, 0.62);
}
.btn-spin-action:active:not(:disabled) {
  transform: translateY(1px);
}
.btn-spin-action:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  filter: grayscale(30%);
}
.btn-spin-action .btn-text {
  font-family: var(--font-main);
  font-size: 19px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #063c91;
}
.btn-spin-action .btn-subtext {
  font-size: 12px;
  font-weight: 700;
  color: #063c91;
  margin-top: 2px;
}
.btn-spin-action .btn-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  transform: rotate(35deg);
  animation: shine-sweep 3s infinite;
}
@keyframes shine-sweep {
  0% { transform: translateX(-100%) rotate(35deg); }
  50%, 100% { transform: translateX(100%) rotate(35deg); }
}

/* Mini Rules Box (White Checklist Card inside Blue Form like Reference Image) */
.rules-mini-box {
  margin-top: 20px;
  padding: 14px 16px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #dbeafe;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 20, 60, 0.12);
}
.rule-mini-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-dark-body);
  font-weight: 500;
}
.rule-mini-item strong {
  color: var(--blue-cobalt);
  font-weight: 800;
}
.rule-mini-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-hero);
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.check-again-box {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: #dbeafe;
}
.link-btn {
  background: none;
  border: none;
  color: var(--color-yellow);
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  padding: 0 4px;
}
.link-btn:hover {
  color: #ffffff;
}

/* ===================================================================
   LIVE TICKER BAR
   =================================================================== */
.live-ticker-section {
  background: var(--blue-navy-dark);
  border-top: 2px solid var(--color-yellow);
  border-bottom: 2px solid var(--color-yellow);
  padding: 10px 0 12px;
  overflow: hidden;
}
.ticker-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.ticker-badge {
  background: var(--color-yellow);
  color: #063c91;
  font-weight: 900;
  font-size: 11px;
  padding: 4px 14px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.ticker-track {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}
.ticker-content {
  display: inline-flex;
  gap: 36px;
  white-space: nowrap;
  animation: ticker-slide 32s linear infinite;
  will-change: transform;
}
@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  font-size: 13px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
}
.ticker-item strong {
  color: var(--color-yellow);
}

/* ===================================================================
   ZALO DIRECT CONSULTATION BANNER BELOW SLOT MACHINE
   =================================================================== */
.zalo-direct-card {
  margin-top: 20px;
  width: 100%;
  max-width: 560px;
  background: rgba(4, 46, 102, 0.72);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 10px 25px rgba(0, 20, 60, 0.35);
}
.zalo-direct-title {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}
.zalo-banner-link {
  display: inline-block;
  transition: transform 0.2s ease;
}
.zalo-banner-link:hover {
  transform: translateY(-2px) scale(1.02);
}
.zalo-banner-link img {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 8px;
}
@media (max-width: 600px) {
  .zalo-direct-card {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* ===================================================================
   SECTION 2: QUY TRÌNH 3 BƯỚC (Nền Xám Sáng #F1F3F4 dịu mắt sau Hero)
   =================================================================== */
.steps-section {
  padding: 72px 0;
  background: #f1f3f4;
  color: var(--text-dark-body);
  position: relative;
  z-index: 1;
}
.section-header {
  margin-bottom: 44px;
}
.section-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--blue-hero);
  text-transform: uppercase;
}
.section-subtitle-dark {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #0f172a;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.section-subtitle-bold {
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  margin-top: 6px;
}
.section-title {
  font-size: clamp(22px, 3.6vw, 31px);
  font-weight: 900;
  text-transform: uppercase;
  color: #073a91;
  margin-top: 6px;
  line-height: 1.25;
}
.title-divider {
  width: 140px;
  height: 3px;
  background: #014db8;
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-desc {
  max-width: 720px;
  margin: 16px auto 0;
  font-size: 14.5px;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.65;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 850px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}
.step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 24px;
  position: relative;
  text-align: center;
  box-shadow: 0 10px 25px rgba(1, 79, 162, 0.07);
  transition: all 0.3s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-hero);
  box-shadow: 0 16px 35px rgba(1, 79, 162, 0.14);
}
.step-card.featured {
  border: 2px solid var(--blue-hero);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(0, 98, 191, 0.15);
}
.step-badge {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 900;
  background: var(--color-yellow);
  color: var(--blue-navy-dark);
  padding: 4px 14px;
  border-radius: 4px;
  letter-spacing: 1px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.step-icon {
  font-size: 40px;
  margin-bottom: 14px;
}
.step-title {
  font-size: 18px;
  font-weight: 800;
  color: #073a91;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.step-desc {
  font-size: 14px;
  color: var(--text-dark-body);
  line-height: 1.6;
}
.step-desc strong {
  color: #073a91;
}

/* ===================================================================
   SECTION 3: UNITY FITNESS - PHÒNG TẬP HÀNG ĐẦU (#SECTION262)
   TRẢI NGHIỆM KHÔNG GIAN TẬP LUYỆN ĐA NĂNG (Nền Trắng Họa Tiết #FFFFFF)
   =================================================================== */
.training-space-section {
  padding: 80px 0;
  background-color: #ffffff;
  background-image: url("https://w.ladicdn.com/s1440x2253/678dc2d889714800126e2d0a/11112-copy-4-20201001100131-20250220033938-zel9j.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: var(--text-dark-body);
  position: relative;
  z-index: 1;
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 38px 34px;
  max-width: 980px;
  margin: 0 auto;
}
.zone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.zone-card.zone-card-centered {
  grid-column: 1 / -1;
  max-width: 473px;
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 780px) {
  .zones-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .zone-card.zone-card-centered {
    max-width: 100%;
  }
}

.zone-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 15 / 10;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(7, 58, 145, 0.14);
  background: #0f172a;
}
.zone-slides {
  width: 100%;
  height: 100%;
  position: relative;
}
.zone-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.55s ease;
  transform: scale(1.02);
  pointer-events: none;
}
.zone-slide.zone-slide-portrait,
.zone-slide.zone-slide-top {
  object-fit: cover;
  object-position: center 8%;
}
.zone-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #073a91;
  border: none;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}
.carousel-btn:hover {
  background: #edb400;
  color: #063c91;
  transform: translateY(-50%) scale(1.08);
}
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.35);
  padding: 5px 10px;
  border-radius: 20px;
}
.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.2s ease;
}
.carousel-dots .dot.active {
  background: #edb400;
  transform: scale(1.25);
}

.zone-info {
  margin-top: 16px;
  padding: 0 10px;
}
.zone-tag-wrap {
  margin-bottom: 8px;
}
.zone-tag {
  display: inline-block;
  background-color: #edb400;
  color: #000000;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 3px;
  letter-spacing: 0.3px;
}
.zone-desc {
  font-size: 14px;
  color: #1e293b;
  line-height: 1.55;
  max-width: 420px;
  margin: 0 auto;
}

/* ===================================================================
   SECTION 4: HỆ THỐNG PHÒNG TẬP UNITY FITNESS
   (Nền Xanh Indigo Đậm #1C2A71 xen kẽ giống hệt trang gốc)
   =================================================================== */
.clubs-system-section {
  padding: 80px 0;
  background-color: #1c2a71;
  background-image: radial-gradient(circle at 50% 20%, #24378e 0%, #1c2a71 65%, #141f56 100%);
  color: #ffffff;
  position: relative;
  z-index: 1;
}
.clubs-system-title {
  font-size: clamp(22px, 3.6vw, 31px);
  font-weight: 900;
  text-transform: uppercase;
  color: #edb400;
  line-height: 1.25;
  letter-spacing: 0.5px;
}
.clubs-system-desc {
  max-width: 660px;
  margin: 12px auto 0;
  font-size: 14.5px;
  font-weight: 500;
  color: #e2e8f0;
  line-height: 1.65;
}
.clubs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}
.club-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(6, 15, 45, 0.45);
  background: #0157cb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.club-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(6, 15, 45, 0.6);
}
.club-card.club-card-centered {
  grid-column: 1 / -1;
  max-width: 474px;
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 780px) {
  .clubs-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .club-card.club-card-centered {
    max-width: 100%;
  }
}
.club-card .club-carousel {
  border-radius: 12px 12px 0 0;
  box-shadow: none;
}
.club-caption-bar {
  background: linear-gradient(180deg, #0160df 0%, #0050bd 100%);
  padding: 14px 18px;
  text-align: center;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
}
.club-name {
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.club-address {
  font-size: 12.5px;
  font-weight: 600;
  color: #dbeafe;
  margin-top: 3px;
}

/* ===================================================================
   SECTION 5: TẬP LUYỆN ĐA DẠNG BỘ MÔN (#SECTION260)
   (Nền Xám Sáng #F1F3F4 xen kẽ giúp mắt người xem nghỉ ngơi)
   =================================================================== */
.disciplines-section {
  padding: 78px 0;
  background-color: #f1f3f4;
  color: var(--text-dark-body);
  position: relative;
  z-index: 1;
}
.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.discipline-banner-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(7, 58, 145, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #073a91;
}
.discipline-banner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(7, 58, 145, 0.22);
}
.discipline-banner-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.discipline-banner-card.discipline-banner-centered {
  grid-column: 1 / -1;
  max-width: 470px;
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .disciplines-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .discipline-banner-card.discipline-banner-centered {
    max-width: 100%;
  }
}

/* ===================================================================
   SECTION 5: TRẢI NGHIỆM NHIỀU TIỆN ÍCH
   (Nền Xanh Băng Nhạt #E7EFFC xen kẽ giống trang gốc)
   =================================================================== */
.amenities-section {
  padding: 78px 0;
  background-color: #e7effc;
  color: var(--text-dark-body);
  position: relative;
  z-index: 1;
}
.amenities-header {
  max-width: 960px;
  margin: 0 auto 36px;
  text-align: left;
}
.amenities-header .section-title {
  margin-top: 0;
  color: #073a91;
}
.amenities-lead {
  max-width: 680px;
  margin-top: 10px;
  font-size: 14.5px;
  color: #1e293b;
  line-height: 1.6;
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .amenities-header {
    text-align: center;
  }
  .amenities-grid {
    grid-template-columns: 1fr;
  }
}
.amenity-card {
  display: flex;
  flex-direction: column;
}
.amenity-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(7, 58, 145, 0.12);
  background: #0f172a;
}
.amenity-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.amenity-card:hover .amenity-img-wrap img {
  transform: scale(1.05);
}
.amenity-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}
.amenity-desc {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.55;
}

/* ===================================================================
   SECTION 6: FAQ SECTION (Nền Trắng #FFFFFF xen kẽ trước Footer)
   =================================================================== */
.faq-section {
  padding: 72px 0;
  background: #ffffff;
  color: var(--text-dark-body);
  position: relative;
  z-index: 1;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 5px solid var(--blue-hero);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 6px 18px rgba(1, 79, 162, 0.05);
}
.faq-question {
  font-size: 16px;
  font-weight: 800;
  color: #073a91;
  margin-bottom: 8px;
}
.faq-answer {
  font-size: 14px;
  color: var(--text-dark-body);
  line-height: 1.6;
}
.faq-answer strong {
  color: #073a91;
}
.btn-scroll-top-cta {
  display: inline-block;
  margin-top: 12px;
  background: #f9d839;
  color: #063c91;
  text-decoration: none;
  font-weight: 900;
  font-size: 15px;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(249, 216, 57, 0.35);
  transition: all 0.25s ease;
}
.btn-scroll-top-cta:hover {
  background: #ffe357;
  color: #063c91;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(249, 216, 57, 0.52);
}

/* ===================================================================
   OFFICIAL UNITY FITNESS FOOTER (#SECTION206 - Nền Navy #081B4B)
   =================================================================== */
.unity-footer {
  background-color: #081b4b;
  background-image: linear-gradient(180deg, rgba(5, 31, 79, 0.94) 0%, #061539 100%);
  border-top: 3px solid var(--color-yellow);
  padding: 54px 0 32px;
  color: #ffffff;
  position: relative;
  z-index: 1;
}
.unity-footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 780px) {
  .unity-footer-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
.unity-company-name {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.4px;
}
.unity-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}
.unity-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #e2e8f0;
  line-height: 1.5;
}
.unity-contact-list .contact-icon {
  display: inline-flex;
  margin-top: 2px;
  flex-shrink: 0;
}
.unity-contact-list a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}
.unity-contact-list a:hover {
  color: var(--color-yellow);
  text-decoration: underline;
}

.unity-customer-service {
  margin-top: 18px;
}
.unity-cs-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}
.unity-cs-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 10px 36px;
}
.unity-cs-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}
.unity-cs-item:hover {
  color: var(--color-yellow);
}

.unity-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.unity-footer-logo-wrap {
  display: inline-block;
  margin-bottom: 18px;
}
.unity-footer-logo {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}
.unity-social-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.unity-social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}
.unity-social-icons a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  transition: transform 0.2s ease;
}
.unity-social-icons a:hover {
  transform: translateY(-3px) scale(1.08);
}
.unity-social-icons img {
  width: 100%;
  height: 100%;
  display: block;
}

.unity-footer-bottom {
  max-width: 980px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.unity-copyright {
  font-size: 12.5px;
  color: #cbd5e1;
}
.unity-payment-badges {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 4px;
}
.unity-payment-badges img {
  height: 24px;
  width: auto;
  display: block;
}

/* ===================================================================
   MODALS (Royal Blue & White & Yellow Theme)
   =================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 46, 102, 0.82);
  backdrop-filter: blur(8px);
  z-index: 1005;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
}
.modal-card {
  background: var(--blue-cobalt);
  border: 2px solid var(--color-yellow);
  border-radius: 20px;
  padding: 30px;
  width: 100%;
  max-width: 520px;
  position: relative;
  color: #ffffff;
  box-shadow: 0 25px 60px rgba(0, 20, 60, 0.75);
  animation: modal-pop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes modal-pop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.modal-close-btn:hover {
  background: var(--color-cta-orange);
  color: #ffffff;
}
.modal-header {
  margin-bottom: 20px;
}
.modal-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--color-yellow);
  text-transform: uppercase;
}
.modal-desc {
  font-size: 14px;
  color: #e0f2fe;
  margin-bottom: 16px;
}

/* ===================================================================
   REWARD MODAL (TRÚNG THƯỞNG)
   =================================================================== */
.modal-reward {
  text-align: center;
  max-width: 560px;
  border: 3px solid var(--color-yellow);
}
.trophy-badge {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--blue-navy-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 5px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.reward-title {
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}
.reward-prize-box {
  background: var(--blue-navy-dark);
  border: 2px dashed var(--color-yellow);
  border-radius: 16px;
  padding: 20px 18px;
  margin-bottom: 20px;
}
.prize-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--color-yellow);
}
.prize-name {
  font-family: var(--font-main);
  font-style: italic;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 900;
  color: #ffffff;
  margin: 6px 0;
}
.prize-desc {
  font-size: 13.5px;
  color: #dbeafe;
}

/* Code Display Box */
.code-box-wrapper {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  border: 2px solid #dbeafe;
  color: var(--text-dark-heading);
}
.code-label {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 800;
}
.code-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.code-value {
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--blue-cobalt);
  background: #e8f0fd;
  padding: 6px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--blue-hero);
}
.btn-copy-code {
  background: var(--color-yellow);
  border: none;
  color: var(--blue-navy-dark);
  font-weight: 800;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-copy-code:hover {
  background: var(--color-yellow-bright);
  transform: scale(1.04);
}
.code-phone-note {
  font-size: 12.5px;
  color: var(--text-dark-body);
}
.code-phone-note strong {
  color: var(--blue-cobalt);
}

/* Voucher Download Button */
.ticket-preview-box {
  margin-bottom: 18px;
}
.btn-download-voucher {
  width: 100%;
  background: var(--color-cta-orange);
  border: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(247, 90, 10, 0.4);
  transition: all 0.2s;
}
.btn-download-voucher:hover {
  background: var(--color-cta-orange-hover);
  transform: translateY(-2px);
}
.download-hint {
  font-size: 13.5px;
  font-weight: 800;
  color: #edb400;
  background: rgba(237, 180, 0, 0.14);
  border: 1.5px solid rgba(237, 180, 0, 0.78);
  border-radius: 10px;
  padding: 12px 16px;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 15, 50, 0.25);
}

/* Actions in Reward Modal */
.reward-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.btn-action-zalo {
  background: var(--color-yellow);
  color: var(--blue-navy-dark);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  padding: 13px;
  border-radius: 8px;
  display: block;
  transition: all 0.2s;
}
.btn-action-zalo:hover {
  background: var(--color-yellow-bright);
}
.btn-action-close {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}
.btn-action-close:hover {
  background: rgba(255, 255, 255, 0.22);
}
.reward-note-reminder {
  font-size: 12px;
  color: #fffbeb;
  background: rgba(247, 90, 10, 0.25);
  border: 1px solid rgba(247, 195, 78, 0.5);
  padding: 10px;
  border-radius: 8px;
  line-height: 1.4;
}

/* ===================================================================
   ADMIN MODAL (MARKETING & QUẢN LÝ)
   =================================================================== */
.modal-admin {
  max-width: 850px;
  background: #ffffff;
  color: var(--text-dark-body);
  border: 3px solid var(--blue-hero);
}
.modal-admin .modal-close-btn {
  background: #e2e8f0;
  color: var(--text-dark-heading);
}
.modal-admin .modal-close-btn:hover {
  background: var(--color-cta-orange);
  color: #ffffff;
}
.admin-header h3 {
  font-size: 20px;
  font-weight: 900;
  color: var(--blue-cobalt);
}
.admin-header p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.admin-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.tab-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--text-dark-body);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn.active {
  background: var(--blue-cobalt);
  color: #ffffff;
  border-color: var(--blue-cobalt);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* Admin Toolbar */
.admin-table-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.admin-search-input {
  flex: 1;
  min-width: 220px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  color: var(--text-dark-heading);
  font-size: 13px;
}
.btn-success {
  background: var(--blue-hero);
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-success:hover {
  background: var(--blue-cobalt);
}
.btn-danger-outline {
  background: transparent;
  color: #dc2626;
  border: 1.5px solid #dc2626;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
}
.btn-danger-outline:hover {
  background: #fef2f2;
}

/* Admin Table */
.admin-table-wrapper {
  max-height: 380px;
  overflow-y: auto;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
.admin-table th {
  background: var(--blue-cobalt);
  color: #ffffff;
  padding: 12px 14px;
  font-weight: 800;
  position: sticky;
  top: 0;
}
.admin-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
  color: var(--text-dark-body);
}
.admin-table tr:hover {
  background: #f1f5f9;
}

/* Admin Codes Config Grid */
.code-config-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 14px;
}
@media (max-width: 650px) {
  .code-config-grid {
    grid-template-columns: 1fr;
  }
}
.code-config-item {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px;
}
.code-config-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-cobalt);
  margin-bottom: 6px;
}
.code-config-item textarea {
  width: 100%;
  height: 80px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: var(--text-dark-heading);
  padding: 8px;
  font-size: 12px;
  font-family: monospace;
  resize: vertical;
}

/* Rates Config Grid */
.rates-config-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.rate-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}
.rate-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark-heading);
}
.rate-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.rate-input-wrap input {
  width: 60px;
  padding: 6px 8px;
  background: #ffffff;
  border: 1.5px solid var(--blue-hero);
  color: var(--blue-cobalt);
  font-weight: 800;
  border-radius: 6px;
  text-align: center;
}

/* Button Primary */
.btn-primary {
  background: var(--color-cta-orange);
  color: #ffffff;
  border: none;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary:hover {
  background: var(--color-cta-orange-hover);
}

/* Lookup Result Box */
.lookup-result-box {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--blue-navy-dark);
  border: 1.5px solid var(--color-yellow);
  font-size: 14px;
  color: #ffffff;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast-item {
  background: var(--blue-navy-dark);
  border: 2px solid var(--color-yellow);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 20, 60, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toast-in 0.3s ease forwards;
  pointer-events: auto;
}
@keyframes toast-in {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
