/* ============================================================
   WONDER TOYS — HOMEPAGE "TOY BOX" THEME
   Bright, cheerful, multi-colour — matched to the brand logo
   (red / blue / green / purple / magenta / yellow) on a warm
   cream base. Fonts: Bangers (display) + Outfit (body).
   Class prefix: th-
   ============================================================ */

:root {
  --th-bg: #fff8f0;        /* warm cream page base       */
  --th-panel: #ffffff;     /* cards                      */
  --th-panel-2: #fff6ef;   /* tinted card                */
  --th-line: rgba(20, 18, 40, 0.10);
  --th-text: #1f1a33;      /* dark ink                   */
  --th-dim: #6f6a86;
  --th-red: #ee3d46;       /* logo "W"                   */
  --th-orange: #ff7a2f;    /* warm accent                */
  --th-yellow: #ffc21f;    /* logo circle / springs      */
  --th-blue: #23a9e0;      /* logo "O" / "T"             */
  --th-teal: #23a9e0;      /* alias (kept for old rules) */
  --th-green: #35b24a;     /* logo "N"                   */
  --th-magenta: #ec1c8c;   /* logo "R" / "Y" / ball      */
  --th-purple: #8a2b8f;    /* logo "E" / tagline         */
  --th-grad: linear-gradient(96deg, #ee3d46 0%, #ec1c8c 42%, #8a2b8f 100%);
  --th-grad-bright: linear-gradient(96deg, #ff7a2f 0%, #ffc21f 100%);
  --th-radius: 22px;
}

/* ---- page chrome ----
   On the homepage the navbar is fixed over the hero (full-bleed video runs
   under it) and wears a frosted, dark-to-clear blur that melts into the video —
   mirroring the hero's own bottom fade. It stays dark the whole time. */
body:has(.th-page) {
  background: var(--th-bg);
}
/* desktop only — on mobile the shared white fixed navbar stays as-is */
@media (min-width: 769px) {
  body:has(.th-page) #navbar.at-top {
    position: fixed !important;
    top: 0;
    background: linear-gradient(
      to bottom,
      rgba(6, 8, 18, 0.82) 0%,
      rgba(6, 8, 18, 0.42) 58%,
      rgba(6, 8, 18, 0) 100%
    ) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    backdrop-filter: blur(14px) saturate(1.15);
    box-shadow: none !important;
  }
}

.th-page {
  /* pull the hero under the fixed header for a full-bleed start */
  margin-top: calc(-1 * var(--nav-h, 68px));
  background:
    radial-gradient(1100px 460px at 82% 8%, rgba(35, 169, 224, 0.10), transparent 60%),
    radial-gradient(900px 420px at 6% 30%, rgba(236, 28, 140, 0.08), transparent 58%),
    radial-gradient(1000px 560px at 50% 108%, rgba(255, 194, 31, 0.14), transparent 62%),
    var(--th-bg);
  color: var(--th-text);
  font-family: "Outfit", sans-serif;
  overflow-x: hidden;
}

.th-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ============================================================
   VIDEO HERO — "cockpit HUD"
   Left: glass info panel with corner brackets. Right: vertical
   filmstrip of the other products. Bottom: slide progress line.
   ============================================================ */
.th-vhero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
  /* deep space backdrop so the contained video letterboxes onto something
     intentional (echoes the dark navbar above it) */
  background: radial-gradient(132% 92% at 72% 12%, #1a2a55 0%, #0c1330 52%, #070a1a 100%);
}
.th-vhero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: grid;
  place-items: center;
}
/* show the video at its actual proportions across the full width (no crop) */
.th-vhero-media video,
.th-vhero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  /* punchy entrance: the incoming clip zooms in from a bright, saturated flash */
  animation: th-hero-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
/* ambient glow — a blurred, scaled copy behind the crisp video that floods the
   letterbox area with the clip's own colours (YouTube "ambient mode" feel) */
.th-vhero-media video.th-vhero-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: cover;
  transform: scale(1.2);
  filter: blur(50px) saturate(1.7) brightness(0.92);
  opacity: 0.6;
  pointer-events: none;
  animation: th-fadein 0.9s ease both;
}
@keyframes th-hero-in {
  from { opacity: 0; transform: scale(1.08); filter: saturate(1.35) brightness(1.12); }
  to   { opacity: 1; transform: scale(1);    filter: none; }
}

/* ---- slide-change "action" swipe: a blue→magenta band races across ---- */
.th-vhero-wipe {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.th-vhero-wipe::before {
  content: "";
  position: absolute;
  inset: -25% -45%;
  background: linear-gradient(
    115deg,
    transparent 34%,
    rgba(35, 169, 224, 0.85) 45%,
    rgba(236, 28, 140, 0.85) 55%,
    transparent 66%
  );
  filter: blur(2px);
  transform: translateX(-155%) skewX(-14deg);
  animation: th-wipe 0.72s cubic-bezier(0.7, 0, 0.2, 1);
}
@keyframes th-wipe {
  to { transform: translateX(155%) skewX(-14deg); }
}
/* soft scrim: darken the left for panel legibility + a whisper of bottom fade
   into the bright page below */
.th-vhero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(100deg, rgba(4, 6, 16, 0.62) 0%, rgba(4, 6, 16, 0.22) 34%, transparent 60%),
    linear-gradient(to top, #04060e 0.5%, transparent 16%);
}

/* ---- layout: content | filmstrip ---- */
.th-vhero-hud {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(24px, 3.5vw, 48px) clamp(22px, 4vw, 60px) 46px;
  display: flex;
  /* the filmstrip is the only overlay now — sit it on the right, centred */
  justify-content: flex-end;
  align-items: center;
  gap: 40px;
}

/* ---- left column: the card, with its controls sitting below it ---- */
.th-vhero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

/* ---- card: product name + actions only ---- */
.th-vhero-panel {
  position: relative;
  width: fit-content;
  max-width: min(440px, 48vw);
  padding: 20px 24px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 26px 60px rgba(20, 18, 40, 0.28);
}
/* playful corner brackets in logo colours */
.th-vhero-panel::before,
.th-vhero-panel::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  pointer-events: none;
}
.th-vhero-panel::before {
  top: -2px;
  left: -2px;
  border-top: 3px solid var(--th-blue);
  border-left: 3px solid var(--th-blue);
  border-radius: 22px 0 0 0;
}
.th-vhero-panel::after {
  bottom: -2px;
  right: -2px;
  border-bottom: 3px solid var(--th-magenta);
  border-right: 3px solid var(--th-magenta);
  border-radius: 0 0 22px 0;
}

.th-vhero-name {
  font-family: "Bangers", "Outfit", cursive;
  font-size: clamp(30px, 3.1vw, 50px);
  line-height: 0.94;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--th-text);
  animation: th-rise 0.55s 0.05s ease both;
}
.th-vhero-name em {
  font-style: normal;
  background: var(--th-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.th-vhero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  animation: th-rise 0.55s 0.18s ease both;
}
/* compact buttons inside the hero card */
.th-vhero-ctas .th-btn {
  font-size: 13px;
  padding: 12px 22px;
  gap: 8px;
}

/* ---- controls: a white pill below the card ---- */
.th-vhero-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(20, 18, 40, 0.18);
}
.th-vhero-arr {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--th-text);
  background: #f4f1fa;
  border: 1px solid var(--th-line);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}
.th-vhero-arr:hover {
  background: var(--th-orange);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}
.th-vhero-count {
  font-family: "Bangers", "Outfit", cursive;
  font-size: 16px;
  letter-spacing: 0.12em;
  color: var(--th-dim);
  padding-left: 4px;
}
.th-vhero-count em {
  font-style: normal;
  color: var(--th-magenta);
  font-size: 19px;
}

/* ---- right: vertical filmstrip ---- */
.th-vhero-rail {
  align-self: center;   /* the HUD grid bottom-aligns the card, not the rail */
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 62vh;
  overflow-y: auto;
  /* big top/bottom breathing room so ANY active chip — even the first or last —
     can be scrolled to the vertical centre of the rail */
  padding: 26vh 4px;
  scrollbar-width: none;
  scroll-snap-type: y proximity;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
}
.th-vhero-rail::-webkit-scrollbar { display: none; }
.th-vhero-chip {
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: 132px;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: var(--th-panel);
  cursor: pointer;
  padding: 0;
  opacity: 0.5;
  transition: opacity 0.22s, border-color 0.22s, transform 0.22s, width 0.22s;
}
.th-vhero-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.th-vhero-chip:hover { opacity: 0.92; transform: translateX(-5px); }
.th-vhero-chip.is-active {
  opacity: 1;
  width: 168px;
  border-color: var(--th-yellow);
  box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.3), 0 12px 34px rgba(255, 209, 102, 0.25);
  /* pop when this clip becomes the one playing, so the eye follows */
  animation: th-chip-pop 0.5s ease;
}
@keyframes th-chip-pop {
  0%   { transform: scale(0.9); }
  55%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}
/* respect users who prefer less motion — keep a plain, quiet crossfade */
@media (prefers-reduced-motion: reduce) {
  .th-vhero-media video,
  .th-vhero-media img { animation: th-fadein 0.4s ease both; }
  .th-vhero-wipe::before,
  .th-vhero-chip.is-active { animation: none; }
  .th-vhero-media video.th-vhero-ambient { display: none; }
}
.th-vhero-chip-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 8px 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(to top, rgba(4, 4, 10, 0.94), transparent);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.th-vhero-chip.is-active .th-vhero-chip-name,
.th-vhero-chip:hover .th-vhero-chip-name { opacity: 1; }

/* ---- slide progress: hairline across the very bottom ---- */
.th-vhero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}
.th-vhero-progress i {
  display: block;
  height: 100%;
  background: var(--th-grad);
  box-shadow: 0 0 16px rgba(255, 106, 43, 0.7);
  transform: scaleX(0);
  transform-origin: left;
}
.th-vhero.is-playing .th-vhero-progress i {
  animation: th-progress var(--th-slide-ms, 9000ms) linear both;
}

/* buffering spinner — sits over the video, clear of the info panel */
.th-vhero-spin {
  position: absolute;
  top: 50%;
  left: 72%;
  z-index: 3;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--th-yellow);
  animation: th-spin 0.9s linear infinite;
  pointer-events: none;
}

/* inline sound toggle — top-right, clear of the floating WhatsApp button */
.th-vhero-sound {
  position: absolute;
  right: clamp(22px, 4vw, 60px);
  top: calc(var(--nav-h, 68px) + 22px);
  z-index: 5;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(14, 14, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.th-vhero-sound:hover {
  background: var(--th-teal);
  color: #062a26;
  transform: scale(1.08);
}

/* ============================================================
   THEATER — fullscreen video with sound, close button only
   ============================================================ */
.th-theater {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: th-fadein 0.25s ease both;
}
.th-theater video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.th-theater-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.th-theater-close:hover {
  background: var(--th-magenta);
  transform: scale(1.08) rotate(90deg);
}

/* ============ BUTTONS ============ */
.th-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 34px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.2, 1.4, 0.4, 1), box-shadow 0.2s;
}
.th-btn--primary {
  color: #14060a;
  background: var(--th-grad);
  box-shadow: 0 10px 34px rgba(255, 106, 43, 0.45), inset 0 -3px 0 rgba(0, 0, 0, 0.22);
}
.th-btn--primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 44px rgba(255, 106, 43, 0.6), inset 0 -3px 0 rgba(0, 0, 0, 0.22);
}
.th-btn--ghost {
  color: var(--th-blue);
  border: 2px solid rgba(35, 169, 224, 0.5);
  background: rgba(35, 169, 224, 0.08);
}
.th-btn--ghost:hover {
  transform: translateY(-3px);
  border-color: var(--th-blue);
  background: rgba(35, 169, 224, 0.14);
  box-shadow: 0 10px 26px -10px rgba(35, 169, 224, 0.5);
}

/* ============ TICKER ============ */
.th-ticker {
  background: var(--th-yellow);
  color: #16100a;
  overflow: hidden;
  transform: rotate(-1.2deg) scale(1.02);
  border-top: 3px solid #16100a;
  border-bottom: 3px solid #16100a;
  box-shadow: 0 12px 40px rgba(255, 209, 102, 0.25);
  position: relative;
  z-index: 2;
}
.th-ticker-track {
  display: flex;
  width: max-content;
  animation: th-marquee 26s linear infinite;
}
.th-ticker span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 26px;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ============ SECTION HEADERS ============ */
.th-section {
  padding: 92px 0 20px;
  position: relative;
}
.th-head {
  text-align: center;
  margin-bottom: 46px;
  padding: 0 18px;
}
.th-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--th-teal);
  border: 1px solid rgba(43, 217, 200, 0.4);
  background: rgba(43, 217, 200, 0.07);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.th-title {
  font-family: "Bangers", "Outfit", cursive;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 0.04em;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
  color: var(--th-text);
  text-shadow: 0 3px 0 rgba(20, 18, 40, 0.1);
}
.th-title em {
  font-style: normal;
  background: var(--th-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.th-sub {
  color: var(--th-dim);
  font-size: 16px;
  margin: 12px auto 0;
  max-width: 520px;
}

/* ============ CATEGORY ARENA ============ */
.th-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.th-cat {
  position: relative;
  border-radius: var(--th-radius);
  padding: 24px 20px 22px;
  min-height: 244px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(180deg, var(--th-panel-2, #fff), var(--th-panel));
  border: 1px solid var(--th-line);
  transition: transform 0.25s cubic-bezier(0.2, 1.4, 0.4, 1), box-shadow 0.25s, border-color 0.25s;
}
.th-cat::before {
  content: "";
  position: absolute;
  inset: -40% 30% 40% -30%;
  background: radial-gradient(closest-side, var(--cat-glow, rgba(255, 106, 43, 0.35)), transparent 70%);
  opacity: 0.8;
  transition: opacity 0.3s, transform 0.4s ease;
}
.th-cat:hover::before {
  opacity: 1;
  transform: scale(1.15);
}
/* glossy shine that sweeps across on hover */
.th-cat::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  transform: translateX(-130%);
}
.th-cat:hover::after { animation: th-shine 0.85s ease; }
/* vector icon in a colour-tinted "badge" — replaces the product photo */
.th-cat-icon {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: var(--cat-solid, #ff6a2b);
  background: var(--cat-glow, rgba(255, 106, 43, 0.4));
  border: 1.5px solid var(--cat-border, rgba(255, 106, 43, 0.6));
  box-shadow: 0 12px 26px -12px var(--cat-border, rgba(255, 106, 43, 0.6)), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.35s cubic-bezier(0.2, 1.4, 0.4, 1), border-radius 0.35s;
}
.th-cat-icon svg {
  width: 42px;
  height: 42px;
}
.th-cat:hover {
  transform: translateY(-8px);
  border-color: var(--cat-border, rgba(255, 106, 43, 0.6));
  box-shadow: 0 24px 48px -16px rgba(20, 18, 40, 0.32), 0 0 46px var(--cat-glow, rgba(255, 106, 43, 0.3));
}
.th-cat:hover .th-cat-icon {
  transform: translateY(-2px) rotate(-6deg) scale(1.07);
  border-radius: 26px;
}
/* arena "level" number — big, faint, outlined in the category colour */
.th-cat-num {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 1;
  font-family: "Bangers", "Outfit", cursive;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--cat-border, rgba(255, 106, 43, 0.6));
  opacity: 0.5;
  transition: opacity 0.25s;
}
.th-cat:hover .th-cat-num { opacity: 0.95; }
.th-cat-name {
  position: relative;
  font-family: "Bangers", "Outfit", cursive;
  font-size: 26px;
  letter-spacing: 0.05em;
  color: var(--th-text);
  text-transform: uppercase;
}
.th-cat-count {
  position: relative;
  align-self: flex-start;
  color: var(--th-dim);
  font-size: 12px;
  font-weight: 700;
  margin-top: -4px;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(20, 18, 40, 0.06);
}
.th-cat-go {
  position: relative;
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--cat-border, rgba(255, 106, 43, 0.6));
  background: transparent;
  color: var(--th-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.th-cat:hover .th-cat-go {
  background: var(--cat-border, rgba(255, 106, 43, 0.6));
  border-color: transparent;
  color: #14060a;
}
.th-cat-go svg { transition: transform 0.25s; }
.th-cat:hover .th-cat-go svg { transform: translateX(4px); }

/* ============ REELS (Instagram + product action) ============ */
.th-reels-shell { position: relative; }
.th-reels {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 22px 26px;
  scrollbar-width: none;
}
.th-reels::-webkit-scrollbar { display: none; }
.th-reel {
  position: relative;
  flex: 0 0 min(340px, 78vw);
  aspect-ratio: 9 / 15;
  border-radius: 26px;
  overflow: hidden;
  scroll-snap-align: center;
  background: var(--th-panel);
  border: 1px solid var(--th-line);
  transition: transform 0.3s cubic-bezier(0.2, 1.2, 0.3, 1), box-shadow 0.3s;
}
.th-reel:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 45, 160, 0.18);
}
.th-reel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.th-reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 4, 10, 0.92) 0%, transparent 45%);
  pointer-events: none;
}
.th-reel-live {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
}
.th-reel-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 10px #ff3b3b;
  animation: th-blink 1.2s infinite;
}
.th-reel-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px;
}
.th-reel-name {
  font-family: "Bangers", "Outfit", cursive;
  font-size: 24px;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.th-reel-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.th-reel-price .now {
  color: var(--th-green);
  font-size: 22px;
  font-weight: 900;
}
.th-reel-price .was {
  color: var(--th-dim);
  text-decoration: line-through;
  font-size: 14px;
}
.th-reel-price .off {
  color: #16100a;
  background: var(--th-yellow);
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
}
.th-reel-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #14060a;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s;
}
.th-reel-cta:hover {
  transform: scale(1.05);
  background: var(--th-yellow);
}
.th-reel-mute {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: transform 0.2s, background 0.2s;
}
.th-reel-mute:hover {
  transform: scale(1.1);
  background: rgba(255, 106, 43, 0.8);
}
.th-reels-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(14, 14, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 0.2s, background 0.2s;
}
.th-reels-nav:hover {
  background: var(--th-orange);
  transform: translateY(-50%) scale(1.08);
}
.th-reels-nav--prev { left: 6px; }
.th-reels-nav--next { right: 6px; }

/* ============ PRODUCT GRID (admin "products" sections) ============ */
.th-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.th-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--th-radius);
  background: linear-gradient(180deg, var(--th-panel-2), var(--th-panel));
  border: 1px solid var(--th-line);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.2, 1.4, 0.4, 1), box-shadow 0.25s, border-color 0.25s;
}
.th-card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  border-color: rgba(255, 106, 43, 0.55);
  box-shadow: 0 24px 44px -18px rgba(255, 106, 43, 0.5), 0 12px 30px rgba(20, 18, 40, 0.12);
}
.th-card-imgwrap {
  position: relative;
  aspect-ratio: 1;
  background: radial-gradient(120% 120% at 50% 0%, #ffffff 0%, #f5f1fb 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* image fills the card edge-to-edge (no inner padding) */
.th-card-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* on hover: no scale — sweep a glossy shine across the image instead */
.th-card-imgwrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.5) 48%, transparent 60%);
  transform: translateX(-130%);
}
.th-card:hover .th-card-imgwrap::after {
  animation: th-shine 0.8s ease;
}
@keyframes th-shine {
  to { transform: translateX(130%); }
}
.th-card-off {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: "Bangers", "Outfit", cursive;
  font-size: 17px;
  letter-spacing: 0.05em;
  color: #14060a;
  background: var(--th-yellow);
  padding: 5px 12px;
  border-radius: 10px;
  transform: rotate(-4deg);
  box-shadow: 0 6px 16px rgba(255, 209, 102, 0.4);
  z-index: 1;
}
.th-card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.th-card-name {
  color: var(--th-text);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.th-card-name:hover { color: var(--th-orange); }
.th-card-price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: auto;
}
.th-card-price .now {
  color: var(--th-green);
  font-size: 20px;
  font-weight: 900;
}
.th-card-price .was {
  color: var(--th-dim);
  font-size: 13px;
  text-decoration: line-through;
}
.th-card-cta {
  margin-top: 4px;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  text-align: center;
  color: var(--th-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255, 106, 43, 0.5);
  background: rgba(255, 106, 43, 0.1);
  padding: 11px 10px;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.th-card-cta:active { transform: scale(0.96); }
.th-card:hover .th-card-cta {
  background: var(--th-orange);
  color: #14060a;
}

/* ============ ADMIN BANNER SLIDER ============ */
.th-banner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 26px 50px -20px rgba(20, 18, 40, 0.35), 0 0 0 1px var(--th-line);
}
.th-banner-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.3, 0.9, 0.3, 1);
}
.th-banner-slide {
  flex: 0 0 100%;
  display: block;
}
.th-banner-slide img {
  display: block;
  width: 100%;
  height: auto;
}
.th-banner-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}
.th-banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s, background 0.25s;
}
.th-banner-dot.is-active {
  width: 28px;
  background: var(--th-yellow);
  box-shadow: 0 0 14px rgba(255, 209, 102, 0.6);
}

/* ============ STATS HUD ============ */
.th-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.th-stat {
  text-align: center;
  padding: 30px 14px;
  border-radius: var(--th-radius);
  background: var(--th-panel);
  border: 1px solid var(--th-line);
  position: relative;
  overflow: hidden;
}
.th-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  border-radius: 3px;
  background: var(--stat-color, var(--th-orange));
  box-shadow: 0 0 18px var(--stat-color, var(--th-orange));
}
.th-stat-num {
  font-family: "Bangers", "Outfit", cursive;
  font-size: clamp(36px, 4.4vw, 54px);
  letter-spacing: 0.04em;
  color: var(--th-text);
  line-height: 1;
}
.th-stat-num em {
  font-style: normal;
  color: var(--stat-color, var(--th-orange));
}
.th-stat-label {
  color: var(--th-dim);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ============ FINAL CTA ============ */
.th-final {
  text-align: center;
  padding: 110px 22px 120px;
  position: relative;
  overflow: hidden;
}
.th-final::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 420px;
  background: radial-gradient(closest-side, rgba(255, 106, 43, 0.3), transparent 70%);
}
.th-final h2 {
  font-family: "Bangers", "Outfit", cursive;
  font-size: clamp(44px, 7vw, 92px);
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  text-transform: uppercase;
  background: var(--th-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 34px rgba(255, 106, 43, 0.4));
}
.th-final p {
  color: var(--th-dim);
  font-size: 17px;
  margin: 0 0 34px;
  position: relative;
}

/* ============ animations ============ */
@keyframes th-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes th-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
@keyframes th-rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes th-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes th-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes th-spin {
  to { transform: rotate(360deg); }
}

/* ============ responsive ============ */
@media (max-width: 1024px) {
  .th-cats { grid-template-columns: repeat(3, 1fr); }
  .th-grid { grid-template-columns: repeat(3, 1fr); }
  .th-stats { grid-template-columns: repeat(2, 1fr); }

  /* hero: filmstrip turns horizontal and hugs the bottom */
  .th-vhero-hud {
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    gap: 22px;
    padding-bottom: 40px;
  }
  .th-vhero-rail {
    align-self: stretch;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    /* left/right breathing room so the active chip can centre horizontally */
    padding: 4px 46vw;
    scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  }
  .th-vhero-chip:hover { transform: translateY(-4px); }
  .th-vhero-chip.is-active { width: 132px; }
}
@media (max-width: 720px) {
  .th-cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .th-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .th-cat { min-height: 212px; padding: 16px 14px 16px; gap: 10px; }
  .th-cat-icon { width: 60px; height: 60px; border-radius: 18px; }
  .th-cat-icon svg { width: 34px; height: 34px; }
  .th-cat-name { font-size: 20px; }
  .th-cat-num { font-size: 26px; top: 12px; right: 14px; }
  .th-cat-go { padding: 8px 13px; }
  .th-section { padding: 64px 0 12px; }
  .th-reels-nav { display: none; }

  .th-vhero { min-height: 560px; height: 100svh; }
  /* skip the heavy blurred ambient video on phones to save battery + GPU */
  .th-vhero-media video.th-vhero-ambient { display: none; }
  .th-vhero-hud { padding: calc(var(--nav-h, 60px) + 20px) 14px 30px; gap: 16px; }
  .th-vhero-left { align-items: stretch; gap: 12px; }
  .th-vhero-panel { padding: 18px 18px 20px; border-radius: 18px; }
  .th-vhero-panel::before, .th-vhero-panel::after { width: 24px; height: 24px; }
  .th-vhero-name { margin-bottom: 14px; }
  .th-vhero-ctas .th-btn { flex: 1; justify-content: center; padding: 13px 18px; font-size: 13px; }
  .th-vhero-nav { align-self: flex-start; }
  .th-vhero-chip { width: 96px; }
  .th-vhero-chip.is-active { width: 96px; }
  .th-vhero-spin { left: 50%; top: 34%; }
  .th-vhero-sound { right: 14px; top: calc(var(--nav-h, 60px) + 14px); width: 42px; height: 42px; }
  .th-theater-close { top: 14px; right: 14px; width: 46px; height: 46px; }
}
