:root {
  color-scheme: dark;
  --volt: #a5fb21;
  --graphite: #141418;
  --canvas: #1b1b21;
  --page: #121216;
  --raised: #24242c;
  --sunken: #0c0c0f;
  --ink: #ededf0;
  --muted: #a0a1aa;
  --faint: #777982;
  --hairline: #2c2c35;
  --hairline-strong: #3b3b46;
  --accent-text: var(--volt);
  --action: var(--volt);
  --action-hover: #8fe00f;
  --on-action: #121216;
  --success-wash: #1e2812;
  --success-text: var(--volt);
  --error-text: #ff9aa8;
  --page-gutter: clamp(24px, 5vw, 78px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html.theme-light {
  color-scheme: light;
  --canvas: #f5f5f7;
  --page: #fff;
  --raised: #fff;
  --sunken: #edeef1;
  --ink: #141418;
  --muted: #5c5d66;
  --faint: #858790;
  --hairline: #e4e4e9;
  --hairline-strong: #d1d1d8;
  --accent-text: #3f7300;
  --action: #141418;
  --action-hover: #2a2a31;
  --on-action: var(--volt);
  --success-wash: #f2fce3;
  --success-text: #3f7300;
  --error-text: #a63c55;
}

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

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--page);
  transition: background-color 260ms ease;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 260ms ease, color 260ms ease;
}

button,
input {
  font: inherit;
}

button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}

.launch {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  background: var(--canvas);
  transition: background-color 260ms ease;
}

.brand {
  position: absolute;
  top: clamp(22px, 3.6vh, 38px);
  left: var(--page-gutter);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  animation: fade-up 650ms var(--ease-out) both;
}

.brand-mark {
  display: block;
  width: clamp(38px, 3vw, 44px);
  height: clamp(38px, 3vw, 44px);
  border-radius: 11px;
  object-fit: cover;
}

.brand-name {
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.theme-toggle {
  position: absolute;
  top: clamp(22px, 3.6vh, 38px);
  right: var(--page-gutter);
  z-index: 10;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--hairline-strong);
  border-radius: 13px;
  background: var(--raised);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 260ms ease, color 180ms ease, transform 180ms ease;
}

.theme-toggle:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline-color: var(--accent-text);
}

.theme-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.theme-icon-moon,
.theme-light .theme-icon-sun {
  display: none;
}

.theme-light .theme-icon-moon {
  display: block;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(34px, 5vw, 78px);
  width: min(1380px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(118px, 15vh, 150px) var(--page-gutter) clamp(82px, 10vh, 104px);
}

.hero-copy {
  width: 100%;
  max-width: 570px;
  animation: fade-up 720ms 100ms var(--ease-out) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 23px;
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.eyebrow-mark {
  position: relative;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--volt);
}

.eyebrow-mark::after {
  position: absolute;
  inset: -4px;
  border: 1px solid color-mix(in srgb, var(--volt), transparent 72%);
  border-radius: 50%;
  content: "";
}

.hero-title {
  max-width: 640px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 3.8vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.28;
  text-wrap: balance;
}

.hero-title span {
  display: block;
  animation: fade-up 760ms var(--ease-out) both;
}

.hero-title .title-accent {
  color: var(--accent-text);
  animation-delay: 75ms;
  margin-top: 0.16em;
}

.hero-description {
  max-width: 430px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.75;
}

.signup-block {
  width: min(100%, 480px);
  margin-top: clamp(31px, 4.2vh, 42px);
}

.signup-label {
  margin: 0 0 6px 2px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.6;
}

.signup-description {
  margin: 0 0 13px 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.signup-form {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 60px;
  padding: 5px;
  border: 1px solid var(--hairline-strong);
  border-radius: 15px;
  background: var(--sunken);
  transition: border-color 220ms ease, background-color 260ms ease, box-shadow 220ms ease;
}

.signup-form:focus-within {
  border-color: var(--accent-text);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-text), transparent 87%);
}

.signup-form input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 13px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}

.signup-form input::placeholder {
  color: var(--faint);
  opacity: 1;
}

.signup-form input:focus-visible {
  outline: 0;
}

.signup-form button {
  display: inline-flex;
  min-width: 136px;
  height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid var(--action);
  border-radius: 10px;
  background: var(--action);
  color: var(--on-action);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.signup-form button:hover:not(:disabled) {
  border-color: var(--action-hover);
  background: var(--action-hover);
  transform: translateY(-1px);
}

.signup-form button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-text), transparent 72%);
  outline-offset: 3px;
}

.submit-icon {
  display: grid;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  place-items: center;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  transition: transform 220ms var(--ease-out);
}

.signup-form button:hover:not(:disabled) .submit-icon:not(.is-check) {
  transform: translate(2px, -2px);
}

.signup-form button.is-submitted {
  border-color: var(--success-wash);
  background: var(--success-wash);
  color: var(--success-text);
  cursor: default;
}

.signup-form button:disabled {
  opacity: 1;
}

.submit-icon.is-check {
  border: 1px solid color-mix(in srgb, var(--success-text), transparent 68%);
  border-radius: 50%;
  font-size: 12px;
  animation: check-pop 420ms var(--ease-out) both;
}

.form-feedback {
  min-height: 19px;
  margin: 8px 2px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.form-feedback.is-error {
  color: var(--error-text);
}

.form-feedback.is-success {
  color: var(--success-text);
  animation: feedback-in 360ms var(--ease-out) both;
}

.signup-form.is-success {
  border-color: color-mix(in srgb, var(--success-text), var(--hairline-strong) 50%);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--success-text), transparent 92%);
}

.signup-form.is-invalid {
  border-color: var(--error-text);
  animation: validation-pulse 260ms ease-out;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 700px);
  margin: 0;
  padding-top: clamp(112px, 10vw, 138px);
  animation: art-in 880ms 120ms var(--ease-out) both;
}

.athlete-button {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  outline: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.athlete-button::after {
  position: absolute;
  bottom: 3%;
  left: 6%;
  width: 88%;
  height: 24px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 45%, transparent 75%);
  filter: blur(10px);
  content: "";
  pointer-events: none;
  z-index: -1;
}

.theme-light .athlete-button::after {
  background: radial-gradient(ellipse at center, rgba(20, 20, 24, 0.18) 0%, rgba(20, 20, 24, 0.06) 45%, transparent 75%);
  filter: blur(9px);
}

.athlete-button:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 5px;
}

#athlete-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 585 / 475;
}

.athlete-button.is-pulsing #athlete-canvas {
  animation: athlete-pulse 170ms ease-out both;
}

.coach-bubble {
  position: absolute;
  top: 0;
  left: 4%;
  z-index: 2;
  width: min(326px, 55%);
  min-height: 116px;
  padding: 15px 19px 14px;
  border: 1px solid var(--hairline-strong);
  border-radius: 18px;
  background: var(--raised);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  animation: bubble-in 700ms 330ms var(--ease-out) both;
  transition: background-color 260ms ease, border-color 260ms ease;
}

.theme-light .coach-bubble {
  box-shadow: 0 16px 40px rgba(20, 20, 24, 0.09);
}

.bubble-tail {
  position: absolute;
  bottom: -8px;
  left: 35px;
  width: 15px;
  height: 15px;
  border-right: 1px solid var(--hairline-strong);
  border-bottom: 1px solid var(--hairline-strong);
  background: var(--raised);
  transform: rotate(45deg);
}

.bubble-kicker,
.bubble-caption {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.bubble-kicker {
  color: var(--muted);
}

.countdown {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 8px 0 3px;
  color: var(--ink);
  font-size: clamp(32px, 3.25vw, 44px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.055em;
  line-height: 1.14;
  white-space: nowrap;
}

.countdown i {
  color: #8d8f93;
  font-style: normal;
  font-weight: 500;
}

.bubble-caption {
  color: var(--accent-text);
}

.countdown.is-ticking {
  animation: metric-tick 150ms var(--ease-out);
}

.countdown.is-live {
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.04em;
}

.page-foot {
  position: absolute;
  right: var(--page-gutter);
  bottom: clamp(22px, 3.5vh, 36px);
  left: var(--page-gutter);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--faint);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.5;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes art-in {
  from { opacity: 0; transform: translateY(8px) scale(0.992); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes athlete-pulse {
  0% { filter: drop-shadow(0 0 5px color-mix(in srgb, var(--volt), transparent 24%)); }
  100% { filter: drop-shadow(0 0 0 transparent); }
}

@keyframes metric-tick {
  0% { transform: translateY(0); }
  45% { transform: translateY(-1px); }
  100% { transform: translateY(0); }
}

@keyframes check-pop {
  0% { opacity: 0; transform: scale(0.55) rotate(-24deg); }
  65% { opacity: 1; transform: scale(1.12) rotate(5deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes feedback-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes validation-pulse {
  0%, 100% { box-shadow: 0 0 0 0 transparent; }
  45% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--error-text), transparent 84%); }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 28px;
  }

  .hero-title {
    font-size: clamp(42px, 4.5vw, 54px);
  }

  .hero-visual {
    padding-top: 118px;
  }

  .coach-bubble {
    width: min(310px, 59%);
  }
}

@media (max-width: 860px) {
  .launch {
    overflow: visible;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding-top: 126px;
    padding-bottom: 88px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-title {
    max-width: 640px;
    font-size: clamp(46px, 8vw, 64px);
  }

  .hero-visual {
    justify-self: center;
    width: min(100%, 690px);
    padding-top: clamp(104px, 15vw, 132px);
    margin-top: 3px;
  }

  .coach-bubble {
    width: min(326px, 55%);
  }

  .page-foot {
    position: static;
    margin-top: auto;
    padding: 0 var(--page-gutter) 22px;
  }
}

@media (max-width: 540px) {
  :root {
    --page-gutter: 20px;
  }

  .brand {
    gap: 10px;
  }

  .brand-name {
    font-size: 17px;
  }

  .theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .hero {
    gap: 8px;
    padding-top: 112px;
    padding-bottom: 70px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .hero-title {
    font-size: clamp(36px, 9.5vw, 52px);
    letter-spacing: -0.04em;
    line-height: 1.19;
  }

  .hero-description {
    max-width: 400px;
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.7;
  }

  .signup-block {
    margin-top: 26px;
  }

  .signup-description {
    font-size: 11px;
  }

  .signup-form {
    min-height: 56px;
    border-radius: 13px;
  }

  .signup-form input {
    padding: 0 9px;
    font-size: 12px;
  }

  .signup-form button {
    min-width: 112px;
    padding: 0 10px;
    gap: 8px;
    font-size: 9px;
  }

  .hero-visual {
    width: calc(100% + 8px);
    margin: 14px 0 0 -4px;
    padding-top: 88px;
  }

  .coach-bubble {
    left: 4%;
    width: min(280px, 68%);
    min-height: 94px;
    padding: 11px 13px;
    border-radius: 15px;
  }

  .bubble-tail {
    left: 26px;
  }

  .countdown {
    margin-top: 6px;
    font-size: clamp(28px, 8.3vw, 38px);
  }

  .bubble-kicker,
  .bubble-caption {
    font-size: 8px;
  }

  .page-foot {
    gap: 16px;
    padding-bottom: 18px;
    font-size: 8px;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 365px) {
  .hero-title {
    font-size: 35px;
  }

  .signup-form button {
    min-width: 98px;
  }

  .countdown {
    font-size: 27px;
  }
}

/* ============================================================================
   SUBSCRIBER COUNTER BUTTON / PILL (Ô ĐỎ KHOANH DƯỚI SUBMIT BUTTON)
   ============================================================================ */
.subscriber-counter {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 8px 16px 8px 12px;
  background: rgba(22, 22, 28, 0.88);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
  user-select: none;
  cursor: default;
}

.subscriber-counter:hover {
  border-color: rgba(165, 251, 33, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(165, 251, 33, 0.12);
  transform: translateY(-1px);
}

.counter-avatars {
  display: flex;
  align-items: center;
}

.counter-avatars .avatar {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  margin-right: -8px;
  border: 2px solid var(--raised);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #121216;
}

.counter-avatars .av-1 { background: #a5fb21; }
.counter-avatars .av-2 { background: #73c800; }
.counter-avatars .av-3 { background: #508e00; color: #ffffff; }

.counter-avatars .avatar-more {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.counter-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.counter-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  background: rgba(165, 251, 33, 0.12);
  border: 1px solid rgba(165, 251, 33, 0.3);
  border-radius: 99px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: var(--volt);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--volt);
  animation: liveBlink 1.4s ease-in-out infinite;
}

.live-text {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--volt);
}

.counter-stat {
  display: flex;
  align-items: center;
  gap: 5px;
}

.counter-fire {
  font-size: 13px;
  line-height: 1;
}

.counter-number {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 240ms ease, transform 240ms ease;
}

.counter-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

/* Subscriber counter in Light Mode */
.theme-light .subscriber-counter {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.theme-light .subscriber-counter:hover {
  border-color: rgba(63, 115, 0, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09), 0 0 18px rgba(63, 115, 0, 0.12);
}

.theme-light .counter-avatars .avatar {
  border-color: #ffffff;
}

.theme-light .counter-avatars .avatar-more {
  background: rgba(0, 0, 0, 0.05);
  color: #5c5d66;
}

.theme-light .counter-live-badge {
  background: rgba(63, 115, 0, 0.09);
  border-color: rgba(63, 115, 0, 0.22);
}

.theme-light .live-dot {
  background: #468c00;
  box-shadow: 0 0 6px rgba(70, 140, 0, 0.45);
}

.theme-light .live-text {
  color: #386b00;
}

.theme-light .counter-number {
  color: #141418;
}

.theme-light .counter-label {
  color: #5c5d66;
}

.theme-light .counter-plus-one {
  color: #386b00;
}

.counter-plus-one {
  position: absolute;
  right: 18px;
  top: -12px;
  font-size: 14px;
  font-weight: 900;
  color: var(--volt);
  opacity: 0;
  pointer-events: none;
}

.counter-plus-one.is-floating {
  animation: plusOneFloat 900ms var(--ease-out) forwards;
}

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

@keyframes plusOneFloat {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(0.6);
  }
  20% {
    opacity: 1;
    transform: translateY(-2px) scale(1.2);
  }
  100% {
    opacity: 0;
    transform: translateY(-24px) scale(1);
  }
}

/* ============================================================================
   FLOATING DOCK: SOCIAL BUTTONS (ĐỒNG ĐỀU TỈ LỆ 100%) & NÚT VIDEO NỔI BẬT TO HƠN
   ============================================================================ */
.floating-dock {
  position: fixed;
  right: clamp(16px, 2.4vw, 36px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

/* NÚT XEM VIDEO NỔI BẬT TO HƠN HẲN */
.dock-item-video {
  width: 196px;
  min-height: 58px;
  box-sizing: border-box;
  padding: 8px 14px 8px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  background: linear-gradient(135deg, rgba(165, 251, 33, 0.22) 0%, rgba(20, 20, 26, 0.96) 75%);
  border: 1.5px solid var(--volt);
  border-radius: 14px;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(165, 251, 33, 0.35);
  animation: attentionFloat 3.8s ease-in-out infinite, voltBorderBreathe 2.4s ease-in-out infinite;
  text-decoration: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.dock-item-video:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6), 0 0 32px rgba(165, 251, 33, 0.6);
  border-color: #c0ff4d;
}

.dock-icon-play {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--volt);
  border-radius: 50%;
  color: #121216;
  box-shadow: 0 0 12px rgba(165, 251, 33, 0.6);
  flex-shrink: 0;
  transition: transform 220ms ease;
}

.dock-icon-play svg {
  width: 14px;
  height: 14px;
  margin-left: 2px;
}

.dock-item-video:hover .dock-icon-play {
  transform: scale(1.12);
}

.pulse-beacon {
  position: absolute;
  left: 21px;
  top: 50%;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  margin-left: -17px;
  border-radius: 50%;
  border: 2px solid var(--volt);
  pointer-events: none;
  animation: radarRipple 2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.dock-item-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex-grow: 1;
}

.dock-kicker {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--volt);
  line-height: 1.2;
}

.dock-title {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  line-height: 1.25;
}

.dock-badge-pulse {
  padding: 3px 6px;
  background: #ff334b;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.04em;
  box-shadow: 0 0 10px rgba(255, 51, 75, 0.6);
  animation: badgeBlink 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

/* NHÓM DÀN NÚT SOCIAL BUTTONS CÙNG TỈ LỆ 100% BẰNG NHAU */
.dock-social-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.dock-item-social {
  width: 148px;
  height: 46px;
  box-sizing: border-box;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  background: rgba(22, 22, 28, 0.88);
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  color: var(--muted);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-decoration: none;
  transition: all 220ms var(--ease-out);
}

.dock-social-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  transition: background 200ms ease, color 200ms ease;
}

.dock-social-icon svg {
  width: 15px;
  height: 15px;
}

.dock-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Staggered gentle floating animations for social buttons */
.dock-fb {
  animation: floatGentle 4.2s ease-in-out infinite;
  animation-delay: 0.2s;
}
.dock-fb:hover {
  border-color: #1877F2;
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.35);
  transform: translateX(-4px);
}
.dock-fb:hover .dock-social-icon {
  background: #1877F2;
  color: #ffffff;
}

.dock-zalo {
  animation: floatGentle 4.6s ease-in-out infinite;
  animation-delay: 0.7s;
}
.dock-zalo:hover {
  border-color: #0068FF;
  box-shadow: 0 8px 24px rgba(0, 104, 255, 0.35);
  transform: translateX(-4px);
}
.dock-zalo:hover .dock-social-icon {
  background: #0068FF;
  color: #ffffff;
}

.dock-yt {
  animation: floatGentle 4.4s ease-in-out infinite;
  animation-delay: 1.2s;
}
.dock-yt:hover {
  border-color: #FF0000;
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.35);
  transform: translateX(-4px);
}
.dock-yt:hover .dock-social-icon {
  background: #FF0000;
  color: #ffffff;
}

.dock-ig {
  animation: floatGentle 4.8s ease-in-out infinite;
  animation-delay: 1.8s;
}
.dock-ig:hover {
  border-color: #E1306C;
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.35);
  transform: translateX(-4px);
}
.dock-ig:hover .dock-social-icon {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
}

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

@keyframes attentionFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

@keyframes voltBorderBreathe {
  0%, 100% {
    border-color: rgba(165, 251, 33, 0.6);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 14px rgba(165, 251, 33, 0.25);
  }
  50% {
    border-color: rgba(165, 251, 33, 1);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 24px rgba(165, 251, 33, 0.55);
  }
}

@keyframes radarRipple {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes badgeBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.92); }
}

/* ============================================================================
   FLOATING DOCK — LIGHT MODE
   ============================================================================ */
.theme-light .dock-item-video {
  background: linear-gradient(135deg, rgba(165, 251, 33, 0.32) 0%, rgba(255, 255, 255, 0.96) 65%);
  border: 1.5px solid #6cb500;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07), 0 0 14px rgba(108, 181, 0, 0.16);
  animation: attentionFloat 3.8s ease-in-out infinite, voltBorderBreatheLight 2.4s ease-in-out infinite;
}

.theme-light .dock-item-video:hover {
  border-color: #4f8c00;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12), 0 0 28px rgba(108, 181, 0, 0.35);
}

.theme-light .dock-kicker {
  color: #386b00;
}

.theme-light .dock-title {
  color: #141418;
}

.theme-light .dock-icon-play {
  background: #468c00;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(70, 140, 0, 0.35);
}

.theme-light .pulse-beacon {
  border-color: #468c00;
}

.theme-light .dock-badge-pulse {
  background: #ff2a44;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(255, 42, 68, 0.45);
}

.theme-light .dock-item-social {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
}

.theme-light .dock-label {
  color: #141418;
}

.theme-light .dock-social-icon {
  background: rgba(0, 0, 0, 0.05);
  color: #4b4c56;
}

/* Light mode hover states for social buttons */
.theme-light .dock-fb:hover {
  border-color: #1877F2;
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.22);
}
.theme-light .dock-fb:hover .dock-social-icon {
  background: #1877F2;
  color: #ffffff;
}

.theme-light .dock-zalo:hover {
  border-color: #0068FF;
  box-shadow: 0 8px 24px rgba(0, 104, 255, 0.22);
}
.theme-light .dock-zalo:hover .dock-social-icon {
  background: #0068FF;
  color: #ffffff;
}

.theme-light .dock-yt:hover {
  border-color: #FF0000;
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.22);
}
.theme-light .dock-yt:hover .dock-social-icon {
  background: #FF0000;
  color: #ffffff;
}

.theme-light .dock-ig:hover {
  border-color: #E1306C;
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.22);
}
.theme-light .dock-ig:hover .dock-social-icon {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
}

@keyframes voltBorderBreatheLight {
  0%, 100% {
    border-color: rgba(108, 181, 0, 0.55);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07), 0 0 14px rgba(108, 181, 0, 0.16);
  }
  50% {
    border-color: rgba(85, 147, 0, 0.95);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.11), 0 0 24px rgba(108, 181, 0, 0.32);
  }
}

/* ============================================================================
   VIDEO MODAL / LIGHTBOX
   ============================================================================ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.video-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(860px, 92vw);
  background: #17171d;
  border: 1px solid #333342;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 30px rgba(165, 251, 33, 0.1);
  transform: scale(0.92) translateY(12px);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.is-open .video-modal-dialog {
  transform: scale(1) translateY(0);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: #141419;
  border-bottom: 1px solid #282833;
}

.video-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--volt);
  margin-bottom: 3px;
}

.video-modal-title h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.video-modal-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #a0a1aa;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: rotate(90deg);
}

.video-modal-body {
  padding: 0;
  background: #000000;
}

.video-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.video-player-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.video-caption-bar {
  padding: 14px 22px;
  background: #15151b;
  border-top: 1px solid #23232c;
}

.video-caption-text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: #a5a6b0;
}

.video-caption-text strong {
  color: var(--volt);
}

/* ============================================================================
   VIDEO MODAL — LIGHT MODE
   ============================================================================ */
.theme-light .video-modal-backdrop {
  background: rgba(18, 18, 22, 0.56);
}

.theme-light .video-modal-dialog {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.22), 0 0 25px rgba(108, 181, 0, 0.1);
}

.theme-light .video-modal-header {
  background: #f7f7f9;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.theme-light .video-badge {
  color: #386b00;
}

.theme-light .video-modal-title h3 {
  color: #141418;
}

.theme-light .video-modal-close {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #5c5d66;
}

.theme-light .video-modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #141418;
}

.theme-light .video-caption-bar {
  background: #fbfbfd;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.theme-light .video-caption-text {
  color: #5c5d66;
}

.theme-light .video-caption-text strong {
  color: #386b00;
}

/* ============================================================================
   RESPONSIVE ADAPTATIONS
   ============================================================================ */
@media (max-width: 1280px) {
  .floating-dock {
    right: 14px;
    gap: 10px;
  }
}

@media (max-width: 980px) {
  .floating-dock {
    top: auto;
    bottom: 16px;
    right: 50%;
    transform: translateX(50%);
    flex-direction: row;
    align-items: center;
    gap: 8px;
    background: rgba(18, 18, 24, 0.88);
    padding: 6px 10px;
    border: 1px solid var(--hairline-strong);
    border-radius: 99px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  }

  .theme-light .floating-dock {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  }

  .dock-social-group {
    flex-direction: row;
    gap: 6px;
  }

  .dock-item {
    animation: none !important;
  }

  .dock-item-video {
    width: auto;
    min-height: 40px;
    padding: 6px 12px;
    box-shadow: none;
    border-radius: 99px;
  }

  .dock-badge-pulse {
    display: none;
  }

  .dock-item-social {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .dock-social-icon {
    width: 30px;
    height: 30px;
  }

  .dock-label {
    display: none;
  }

  .subscriber-counter {
    margin-top: 14px;
    padding: 6px 12px;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .dock-kicker {
    display: none;
  }

  .dock-title {
    font-size: 10.5px;
  }

  .dock-icon-play {
    width: 24px;
    height: 24px;
  }

  .dock-icon-play svg {
    width: 11px;
    height: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
