/* ==========================================================
   CricHeadSports — Homepage (premium red & black)
   Loaded after style.css on index.html only. Everything is
   scoped to body.hx or hx-* classes so other pages are untouched.
   ========================================================== */

.hx {
  --hx-red: #c41e3a;
  --hx-red-hi: #db2546;
  --hx-red-on-dark: #ec4762;
  --hx-black: #0a0a0a;
  --hx-coal: #121212;
  --hx-bone: #f4f1ea;
  --hx-bone-2: #e9e3d8;
  --hx-ink: #111111;
  --hx-muted: #6b645b;
  --hx-muted-2: #8a8278;
  --hx-ease: cubic-bezier(.2, .7, .2, 1);
  --hx-maxw: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  background: var(--hx-black);
  color: var(--hx-ink);
}

.hx [hidden] { display: none !important; }
.hx-locked, .hx-locked body { overflow: hidden; }
.hx :focus-visible { outline: 2px solid var(--hx-red-on-dark); outline-offset: 3px; }

.hx-skip { position: absolute; left: -9999px; top: 0; }
.hx-skip:focus { left: 16px; top: 16px; z-index: 2000; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; }

.hx-wrap { max-width: calc(var(--hx-maxw) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.hx-red { color: var(--hx-red); }

/* ---------- Type primitives ---------- */
.hx-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'JetBrains Mono', monospace; font-size: .7rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--hx-red);
}
/* speed-line accent (three slanted strokes) */
.hx-kicker::before { content: ""; width: 30px; height: 9px; background: repeating-linear-gradient(115deg, currentColor 0 3px, transparent 3px 7px); }
.hx-kicker-light { color: var(--hx-red-on-dark); }

.hx-title { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: .95; letter-spacing: .005em; margin: 16px 0 0; }
.hx-intro { max-width: 560px; margin: 18px 0 0; color: var(--hx-muted); font-size: 1.02rem; line-height: 1.7; }
.hx-dark .hx-intro, .hx-coal .hx-intro { color: rgba(255, 255, 255, .6); }

.hx-head { margin-bottom: clamp(36px, 5vw, 56px); }
.hx-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.hx-head-center { text-align: center; }
.hx-head-center .hx-intro { margin-left: auto; margin-right: auto; }
.hx-head-center .hx-kicker::after { content: ""; width: 30px; height: 9px; background: repeating-linear-gradient(115deg, currentColor 0 3px, transparent 3px 7px); }
/* sporty red slash under section headings */
.hx-head .hx-title::after { content: ""; display: block; width: 64px; height: 5px; margin-top: 18px; background: var(--hx-red); transform: skewX(-24deg); transform-origin: left center; }
.hx-head-center .hx-title::after { margin-left: auto; margin-right: auto; transform-origin: center; }
.hx-head-actions { display: flex; align-items: center; gap: 28px; }

/* ---------- Buttons & links ---------- */
.hx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--hx-ease), box-shadow .25s;
}
.hx-btn-lg { padding: 17px 32px; font-size: .84rem; }
.hx-btn-block { width: 100%; }
.hx-btn-red { background: var(--hx-red); color: #fff; box-shadow: 0 12px 30px -12px rgba(196, 30, 58, .75); }
.hx-btn-red:hover { background: var(--hx-red-hi); transform: translateY(-2px); box-shadow: 0 18px 38px -14px rgba(196, 30, 58, .9); }
.hx-btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hx-btn-ghost:hover { background: #fff; color: var(--hx-black); border-color: #fff; }
.hx-btn-white { background: #fff; color: var(--hx-black); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); }
.hx-btn-white:hover { transform: translateY(-2px); background: var(--hx-black); color: #fff; }
.hx-btn-outline-light { border-color: rgba(255, 255, 255, .3); color: #fff; }
.hx-btn-outline-light:hover { background: #fff; color: var(--hx-black); border-color: #fff; }
.hx-btn-muted { background: var(--hx-bone-2); color: var(--hx-muted-2); pointer-events: none; box-shadow: none; }
.hx-arrow { display: inline-block; transition: transform .25s var(--hx-ease); }
.hx-btn:hover .hx-arrow { transform: translateX(4px); }

.hx-link {
  display: inline-flex; gap: 8px; align-items: center; white-space: nowrap;
  font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--hx-ink); padding-bottom: 5px; border-bottom: 1px solid currentColor;
  transition: color .2s;
}
.hx-link:hover { color: var(--hx-red); }
.hx-link-light { color: #fff; }
.hx-link-light:hover { color: var(--hx-red-on-dark); }

.hx-arrows { display: flex; gap: 10px; }
.hx-arrow-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: transparent; color: var(--hx-ink); border: 1px solid rgba(0, 0, 0, .18); cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, opacity .25s;
}
.hx-arrow-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hx-arrow-btn:hover:not(:disabled) { background: var(--hx-ink); color: #fff; border-color: var(--hx-ink); }
.hx-arrow-btn:disabled { opacity: .3; cursor: default; }

/* ---------- Announcement bar ---------- */
.hx-announce { background: #000; color: rgba(255, 255, 255, .72); border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.hx-announce-inner { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 8px 18px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.hx-announce-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.hx-announce-speed { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.hx-announce a { color: #fff; font-weight: 700; border-bottom: 1px solid var(--hx-red); padding-bottom: 1px; transition: color .2s; }
.hx-announce a:hover { color: var(--hx-red-on-dark); }
/* Speed Test text: one line on desktop ("Bowling Speed Test — Registrations open") */
.hx-speed-text { display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; justify-content: center; }
.hx-sp-sub::before { content: "— "; }
.hx-speed-ball { display: none; }

/* ---- Mobile: large, animated Speed Test banner ---- */
@media (max-width: 640px) {
  .hx-announce {
    position: relative; overflow: hidden; isolation: isolate;
    color: #fff; font-size: .78rem; letter-spacing: .04em; border-bottom: 0;
    background: linear-gradient(110deg, #7d1222 0%, #c41e3a 45%, #e0284a 55%, #7d1222 100%);
    background-size: 220% 100%;
    animation: hxBarFlow 7s ease-in-out infinite;
  }
  /* light sweeping across the banner */
  .hx-announce::after {
    content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
    transform: skewX(-18deg);
    animation: hxShine 3.6s ease-in-out infinite;
  }
  .hx-announce-inner { min-height: 64px; padding-top: 12px; padding-bottom: 12px; }
  .hx-announce-sep { display: none; }

  .hx-announce-speed { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 10px; text-align: left; }
  .hx-live-dot { display: none; }

  /* small spinning cricket ball */
  .hx-speed-ball {
    display: block; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
    background:
      radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .55) 0 3px, transparent 4px),
      radial-gradient(circle at 50% 50%, #ff5a5a 0%, #b3121f 70%, #7a0c15 100%);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .25), 0 6px 14px rgba(0, 0, 0, .35);
    position: relative;
    animation: hxBallSpin 2.4s linear infinite, hxBallBob 1.2s ease-in-out infinite;
  }
  .hx-speed-ball::before {
    content: ""; position: absolute; left: 50%; top: 2px; bottom: 2px; width: 6px; margin-left: -3px;
    border-left: 1.5px dashed rgba(255, 255, 255, .85); border-right: 1.5px dashed rgba(255, 255, 255, .85);
    border-radius: 50%;
  }

  .hx-speed-text { flex: 1 1 auto; min-width: 0; flex-direction: column; align-items: flex-start; gap: 4px; white-space: nowrap; }
  .hx-sp-title { font-family: 'Anton', sans-serif; font-weight: 400; font-size: 1.02rem; letter-spacing: .03em; line-height: 1; text-transform: uppercase; }
  .hx-sp-sub { display: inline-flex; align-items: center; gap: 6px; font-size: .6rem; font-weight: 600; letter-spacing: .12em; opacity: .92; }
  .hx-sp-sub::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff;
    animation: hxPingWhite 1.6s ease-out infinite;
  }

  /* big "Register Now" pill */
  .hx-announce a.hx-speed-cta {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
    padding: 11px 14px; border: 0; border-radius: 999px; white-space: nowrap;
    background: #fff; color: #c41e3a; font-size: .7rem; font-weight: 800; letter-spacing: .05em;
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .45);
    animation: hxNudge 2.2s ease-in-out infinite;
  }
  .hx-announce a.hx-speed-cta:hover, .hx-announce a.hx-speed-cta:active { color: #8f1729; }
  .hx-speed-arrow { display: inline-block; animation: hxArrow 1.1s ease-in-out infinite; }
}

/* Very small phones (e.g. 320px wide): keep everything on one line */
@media (max-width: 370px) {
  .hx-speed-ball, .hx-cta-now { display: none !important; }
  .hx-sp-title { font-size: .95rem; }
}

@keyframes hxBarFlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes hxShine { 0% { left: -60%; } 55%, 100% { left: 130%; } }
@keyframes hxBallSpin { to { transform: rotate(360deg); } }
@keyframes hxBallBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@keyframes hxPingWhite { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 80%, 100% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } }
@keyframes hxNudge { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.08); } 90% { transform: scale(.98); } }
@keyframes hxArrow { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
.hx-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hx-red-on-dark); animation: hxPing 1.8s ease-out infinite; }
@keyframes hxPing { 0% { box-shadow: 0 0 0 0 rgba(236, 71, 98, .65); } 80%, 100% { box-shadow: 0 0 0 8px rgba(236, 71, 98, 0); } }

/* ---------- Header (overrides style.css on the homepage) ---------- */
.hx .site-header {
  background: rgba(10, 10, 10, .78);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: background .3s, box-shadow .3s;
}
.hx .site-header.is-scrolled { background: rgba(10, 10, 10, .94); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); }
.hx .site-header .wrap { max-width: calc(var(--hx-maxw) + 2 * var(--gut)); padding: 0 var(--gut); height: 72px; gap: 24px; }
.hx .brand { gap: 10px; flex-shrink: 0; }
.hx .brand img { height: 40px; width: auto; }
.hx .brand span { color: #fff; font-size: 1.12rem; }
.hx nav.main-nav { gap: clamp(18px, 2.4vw, 32px); }
.hx nav.main-nav a {
  position: relative; color: rgba(255, 255, 255, .7); opacity: 1; border: 0;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; padding: 8px 0; transition: color .2s;
}
.hx nav.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--hx-red);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--hx-ease);
}
.hx nav.main-nav a:hover, .hx nav.main-nav a.active { color: #fff; }
.hx nav.main-nav a:hover::after, .hx nav.main-nav a.active::after { transform: scaleX(1); }
.hx .hdr-cta { border-radius: 999px; padding: 11px 20px; font-size: .72rem; letter-spacing: .12em; background: var(--hx-red); transition: background .25s, transform .25s var(--hx-ease), box-shadow .25s; }
.hx .hdr-cta:hover { background: var(--hx-red-hi); }

.hx .menu-btn { width: 44px; height: 44px; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.hx .menu-btn span { display: block; width: 22px; height: 2px; border-radius: 2px; background: #fff; }
.hx .menu-btn span:nth-child(2) { width: 16px; margin-left: 6px; }

.hx .mobile-drawer { background: var(--hx-black); color: #fff; }
.hx .mobile-drawer-top { border-color: rgba(255, 255, 255, .08); padding: 16px var(--gut); }
.hx .mobile-drawer-top .brand span { color: #fff; }
.hx .mobile-drawer .nav-close { color: #fff; }
.hx .mobile-drawer-links { padding: 12px var(--gut) 24px; }
.hx .mobile-drawer-links a {
  color: #fff; border-color: rgba(255, 255, 255, .08); padding: 16px 0;
  font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; font-size: 1.9rem; letter-spacing: .01em;
}
.hx .mobile-drawer-links a.active, .hx .mobile-drawer-links a:hover { color: var(--hx-red-on-dark); }
.hx-drawer-foot { display: grid; gap: 10px; padding: 0 var(--gut) 32px; margin-top: auto; }

.hx nav.main-nav a, .hx .hdr-cta { white-space: nowrap; }
@media (max-width: 1060px) {
  .hx nav.main-nav, .hx .hdr-cta { display: none; }
  .hx .menu-btn { display: flex; }
  .hx .mobile-drawer { display: flex; }
}
@media (max-width: 860px) {
  .hx .site-header .wrap { height: 64px; }
  .hx .brand img { height: 36px; }
}

/* ---------- Hero ---------- */
.hx-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  padding: 0; min-height: 640px; min-height: min(calc(100svh - 110px), 880px);
  background: #070707; color: #fff;
}
.hx-hero-media { position: absolute; inset: 0; z-index: -2; }
.hx-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; animation: hxZoom 2.6s var(--hx-ease) both; }
@keyframes hxZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hx-hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, .94) 0%, rgba(7, 7, 7, .78) 32%, rgba(7, 7, 7, .2) 62%, rgba(7, 7, 7, 0) 100%),
    linear-gradient(0deg, rgba(7, 7, 7, .9) 0%, rgba(7, 7, 7, 0) 28%);
}
.hx-hero-inner { width: 100%; padding-top: clamp(64px, 10vh, 120px); padding-bottom: clamp(80px, 12vh, 140px); }
.hx-hero-copy { max-width: 620px; }
.hx-hero-title { font-size: clamp(3.3rem, 7.6vw, 6.8rem); line-height: .9; letter-spacing: .004em; margin: 20px 0 24px; }
.hx-hero-title em { font-style: normal; color: var(--hx-red); }
.hx-hero-lede { font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.75; color: rgba(255, 255, 255, .72); max-width: 510px; margin: 0 0 36px; }
.hx-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hx-hero-points {
  list-style: none; padding: 0; margin: 38px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px;
  font-family: 'JetBrains Mono', monospace; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62);
}
.hx-hero-points li { display: flex; align-items: center; gap: 9px; }
.hx-hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hx-red); }

.hx-in { animation: hxUp .95s var(--hx-ease) both; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
@keyframes hxUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.hx-scroll-cue {
  position: absolute; left: 50%; bottom: 28px; width: 24px; height: 38px; margin-left: -12px;
  border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 14px;
}
.hx-scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: hxCue 1.8s ease-in-out infinite; }
@keyframes hxCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 760px) {
  .hx-hero { display: block; min-height: 0; --hx-hero-img: min(calc(92vw + 60px), 470px); }
  .hx-hero-media, .hx-hero-shade { bottom: auto; height: var(--hx-hero-img); }
  .hx-hero-media img { object-position: 74% 40%; }
  .hx-hero-shade { background: linear-gradient(180deg, rgba(7, 7, 7, .35) 0%, rgba(7, 7, 7, 0) 22%, rgba(7, 7, 7, .55) 62%, #070707 100%); }
  /* text starts just below the cricket ball in the photo */
  .hx-hero-inner { padding-top: calc(var(--hx-hero-img) - 104px); padding-bottom: 48px; }
  .hx-hero-title { margin: 14px 0 18px; }
  .hx-hero-lede { margin-bottom: 28px; font-size: .98rem; }
  .hx-hero-ctas .hx-btn { flex: 1 1 auto; }
  .hx-hero-points { margin-top: 28px; gap: 8px 18px; font-size: .64rem; }
  .hx-scroll-cue { display: none; }
}

/* ---------- Speed Test announcement: slim strip between Hero and Trust strip ---------- */
/* (The full celebration banner lives on speed-test.html.) */
.hx-celebrate { padding: 14px 0; background: var(--hx-black); }
.hx-mini {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px;
  padding: 12px 14px 12px 18px; border-radius: 16px; color: #fff;
  background: linear-gradient(100deg, rgba(196, 30, 58, .34) 0%, rgba(18, 10, 12, .95) 45%, rgba(255, 196, 92, .10) 100%);
  box-shadow: 0 14px 34px -24px rgba(196, 30, 58, .85);
  transition: transform .3s var(--hx-ease), box-shadow .3s;
}
.hx-mini:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -20px rgba(196, 30, 58, .95); }
/* thin glowing border */
.hx-mini::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(120deg, rgba(236, 71, 98, .9), rgba(255, 211, 110, .7), rgba(236, 71, 98, .15), rgba(255, 211, 110, .7), rgba(236, 71, 98, .9));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: hxBorderGlow 7s linear infinite;
}
/* soft light sweep */
.hx-mini::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -40%; width: 28%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .09), transparent);
  transform: skewX(-18deg);
  animation: hxMiniShine 6s ease-in-out infinite;
}
@keyframes hxBorderGlow { to { background-position: 300% 0; } }
@keyframes hxMiniShine { 0% { left: -40%; } 55%, 100% { left: 125%; } }

.hx-mini-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.hx-mini-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; white-space: nowrap;
  font-family: 'JetBrains Mono', monospace; font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.hx-mini-done { color: #ffd36e; background: rgba(255, 211, 110, .1); border: 1px solid rgba(255, 211, 110, .35); }
.hx-mini-done svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hx-mini-open { background: var(--hx-red); color: #fff; }
.hx-mini-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: hxPingWhite 1.6s ease-out infinite; }

.hx-mini-text { flex: 1 1 260px; min-width: 0; font-size: .9rem; line-height: 1.4; color: rgba(255, 255, 255, .78); }
.hx-mini-text strong { color: #fff; font-weight: 700; margin-right: 6px; }
.hx-mini-text b { color: #ffd36e; font-weight: 700; }

.hx-mini-cta {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; white-space: nowrap;
  background: #fff; color: var(--hx-red); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.hx-mini:hover .hx-mini-cta { background: var(--hx-red); color: #fff; }

@media (max-width: 640px) {
  .hx-celebrate { padding: 10px 0; }
  .hx-mini { padding: 10px 10px 10px 14px; gap: 8px 10px; border-radius: 14px; }
  .hx-mini-long { display: none; }
  .hx-mini-badges { flex: 1 1 100%; flex-wrap: nowrap; }
  .hx-mini-badge { font-size: .54rem; letter-spacing: .08em; padding: 4px 8px; }
  .hx-mini-text { flex: 1 1 0; font-size: .78rem; line-height: 1.35; }
  .hx-mini-text strong { display: block; margin: 0; }
  .hx-mini-cta { padding: 9px 12px; font-size: .64rem; letter-spacing: .05em; }
}

/* ---------- Trust strip ---------- */
.hx-trust { padding: 0; background: var(--hx-black); color: #fff; border-top: 1px solid rgba(255, 255, 255, .08); }
.hx-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hx-trust-item { display: flex; align-items: center; gap: 16px; padding: 30px 24px; }
.hx-trust-item:first-child { padding-left: 0; }
.hx-trust-item + .hx-trust-item { border-left: 1px solid rgba(255, 255, 255, .08); }
.hx-trust-item svg {
  flex: 0 0 44px; width: 44px; height: 44px; padding: 11px; border-radius: 50%;
  border: 1px solid rgba(236, 71, 98, .4); color: var(--hx-red-on-dark);
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.hx-trust-item strong { display: block; font-weight: 600; font-size: .95rem; color: #fff; }
.hx-trust-item span { display: block; font-size: .8rem; color: rgba(255, 255, 255, .52); margin-top: 2px; }

@media (max-width: 980px) {
  .hx-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .hx-trust-item { padding: 22px 16px; }
  .hx-trust-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hx-trust-item:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .08); }
}
@media (max-width: 520px) {
  .hx-trust-item { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hx-trust-item svg { flex-basis: auto; width: 38px; height: 38px; padding: 9px; }
  .hx-trust-item strong { font-size: .88rem; }
  .hx-trust-item span { font-size: .74rem; }
}

/* ---------- Section shells ---------- */
.hx-section { padding: clamp(72px, 9vw, 128px) 0; background: #fff; color: var(--hx-ink); }
.hx-bone { background: var(--hx-bone); }
.hx-dark { background: var(--hx-black); color: #fff; }
.hx-coal { background: var(--hx-coal); color: #fff; }

/* Angled (diagonal) section edges: each "cut" section draws a slanted
   wedge in its own colour over the bottom padding of the section above. */
.hx { --hx-cut: clamp(18px, 3.2vw, 46px); }
.hx-cut, .hx-cut-r { position: relative; }
.hx-cut::before, .hx-cut-r::before {
  content: ""; position: absolute; z-index: 1; left: 0; right: 0;
  top: calc(1px - var(--hx-cut)); height: var(--hx-cut);
  background: inherit; pointer-events: none;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.hx-cut-r::before { clip-path: polygon(0 0, 100% 100%, 0 100%); }
.hx-trust { padding-bottom: var(--hx-cut); }

/* ---------- Horizontal rails (lineup + videos) ---------- */
.hx-rail-wrap { position: relative; }
.hx-rail {
  --side: max(var(--gut), calc((100% - var(--hx-maxw)) / 2));
  --gap: 20px;
  --cols: 4;
  display: grid; grid-auto-flow: column; gap: var(--gap);
  grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 6px var(--side) 28px; scroll-padding-inline: var(--side);
  scrollbar-width: none;
}
.hx-rail::-webkit-scrollbar { display: none; }
.hx-rail-progress { height: 2px; background: rgba(0, 0, 0, .1); border-radius: 2px; overflow: hidden; }
.hx-rail-progress span { display: block; height: 100%; width: 30%; background: var(--hx-ink); transition: transform .12s linear; }

@media (max-width: 1100px) { .hx-rail { --cols: 3; } }
@media (max-width: 820px) { .hx-rail { --cols: 2.2; --gap: 14px; } }
@media (max-width: 560px) { .hx-rail { --cols: 1.35; } .hx-head-actions .hx-arrows { display: none; } }

/* ---------- Product cards ---------- */
.hx-card {
  position: relative; display: flex; flex-direction: column; scroll-snap-align: start;
  background: #fff; color: var(--hx-ink); border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 10px 30px -22px rgba(0, 0, 0, .25);
  transition: transform .4s var(--hx-ease), box-shadow .4s var(--hx-ease);
}
.hx-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .4); }
.hx-card-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--hx-bone-2); }
.hx-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--hx-ease); }
.hx-card:hover .hx-card-media img { transform: scale(1.05); }
.hx-badges { position: absolute; z-index: 2; top: 14px; left: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hx-badge {
  display: inline-block; padding: 6px 10px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255, 255, 255, .92); color: var(--hx-ink);
}
.hx-badge-red { background: var(--hx-red); color: #fff; }
.hx-badge-dark { background: var(--hx-ink); color: #fff; }
.hx-card-cta {
  position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; padding: 13px;
  border-radius: 999px; background: var(--hx-black); color: #fff; text-align: center;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transform: translateY(calc(100% + 18px)); transition: transform .45s var(--hx-ease);
}
.hx-card:hover .hx-card-cta, .hx-card:focus-visible .hx-card-cta { transform: none; }
@media (hover: none) { .hx-card-cta { display: none; } }
.hx-card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.hx-card-meta { font-family: 'JetBrains Mono', monospace; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hx-muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-card-name { font-size: 1.55rem; line-height: 1; }
.hx-card.is-sold .hx-card-media img { filter: grayscale(.7); opacity: .75; }

.hx-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; }
.hx-price-now { font-weight: 700; font-size: 1.12rem; letter-spacing: .01em; }
.hx-price-was { color: #9a9288; font-size: .9rem; }
.hx-price-save { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hx-red); }
.hx-price-lg .hx-price-now { font-size: 1.7rem; }
.hx-price-lg .hx-price-was { font-size: 1rem; }

.hx-skel { min-height: 440px; background: linear-gradient(100deg, #ebe6dd 30%, #f6f3ee 50%, #ebe6dd 70%); background-size: 200% 100%; animation: hxShimmer 1.4s linear infinite; box-shadow: none; }
@keyframes hxShimmer { to { background-position: -200% 0; } }

/* ---------- Shop by playing style (3 tiles) ---------- */
.hx-styles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hx-style {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end; min-height: 470px;
  border-radius: 20px; background: #111; color: #fff;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .55);
}
.hx-style img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--hx-ease); }
.hx-style::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 10, .05) 15%, rgba(10, 10, 10, .5) 50%, rgba(10, 10, 10, .94) 100%);
}
/* red bar that sweeps across on hover */
.hx-style::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 32%;
  background: var(--hx-red); transition: width .55s var(--hx-ease);
}
.hx-style:hover::after, .hx-style:focus-visible::after { width: 100%; }
.hx-style:hover img { transform: scale(1.06); }
.hx-style-num {
  position: absolute; top: 16px; left: 16px; padding: 5px 14px;
  background: var(--hx-red); color: #fff;
  font-family: 'Anton', sans-serif; font-size: 1.1rem; letter-spacing: .05em; line-height: 1.2;
  transform: skewX(-14deg);
}
.hx-style-body { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px 22px 28px; }
.hx-style-tag { font-family: 'JetBrains Mono', monospace; font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #ff8fa2; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.hx-style-name { margin: 0; font-size: clamp(2.1rem, 3vw, 2.7rem); line-height: .95; color: #fff; transform: skewX(-6deg); transform-origin: left bottom; }
.hx-style-desc { max-width: 330px; font-size: .9rem; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.hx-style-cta {
  margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: #fff; color: var(--hx-black); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.hx-style:hover .hx-style-cta { background: var(--hx-red); color: #fff; }
.hx-style:hover .hx-arrow { transform: translateX(4px); }

@media (max-width: 1200px) { .hx-style-name { font-size: clamp(1.8rem, 2.6vw, 2.3rem); } .hx-style-body { padding: 20px 18px 24px; } }
@media (max-width: 1000px) { .hx-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hx-style { min-height: 400px; } }
@media (max-width: 760px) {
  .hx-styles { grid-template-columns: 1fr; gap: 14px; }
  .hx-style { min-height: 260px; border-radius: 18px; }
  .hx-style img { object-position: center 30%; }
  .hx-style::before { background: linear-gradient(180deg, rgba(10, 10, 10, .35) 0%, rgba(10, 10, 10, .72) 45%, rgba(10, 10, 10, .95) 100%); }
  .hx-style-desc { font-size: .86rem; }
}

/* ---------- Player videos ---------- */
.hx-vids { --cols: 5; --gap: 16px; padding-bottom: 8px; }
@media (max-width: 1100px) { .hx-vids { --cols: 3.4; } }
@media (max-width: 820px) { .hx-vids { --cols: 2.4; --gap: 12px; } }
@media (max-width: 560px) { .hx-vids { --cols: 1.7; } }

.hx-vid { position: relative; isolation: isolate; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #1a1a1a; scroll-snap-align: start; cursor: pointer; }
.hx-vid-poster, .hx-vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hx-vid-poster { transition: transform .9s var(--hx-ease); }
.hx-vid:hover .hx-vid-poster { transform: scale(1.04); }
.hx-vid video { z-index: 1; opacity: 0; transition: opacity .3s; }
.hx-vid.has-started video { opacity: 1; }
.hx-vid::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .65)); transition: opacity .3s; }
.hx-vid.is-playing::after { opacity: 0; }
.hx-vid-play {
  position: absolute; z-index: 3; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: #fff;
  border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .25s, border-color .25s, transform .25s var(--hx-ease), opacity .25s;
}
.hx-vid-play svg { width: 24px; height: 24px; fill: currentColor; }
.hx-vid-play .i-pause { display: none; }
.hx-vid:hover .hx-vid-play { background: var(--hx-red); border-color: var(--hx-red); transform: scale(1.06); }
.hx-vid.is-playing .hx-vid-play { opacity: 0; }
.hx-vid.is-playing:hover .hx-vid-play { opacity: 1; }
.hx-vid.is-playing .i-play { display: none; }
.hx-vid.is-playing .i-pause { display: inline; }
.hx-vid-expand {
  position: absolute; z-index: 3; top: 12px; right: 12px; width: 38px; height: 38px;
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(0, 0, 0, .45); color: #fff; transition: background .2s;
}
.hx-vid-expand:hover { background: var(--hx-red); }
.hx-vid-expand svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hx-vid-label { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 16px; font-weight: 600; font-size: .9rem; color: #fff; }

/* ---------- Gallery ---------- */
.hx-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hx-gal-item { position: relative; display: block; padding: 0; border: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 16px; background: var(--hx-bone-2); cursor: zoom-in; }
.hx-gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--hx-ease); }
.hx-gal-item:hover img { transform: scale(1.06); }
.hx-gal-zoom {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--hx-ink);
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--hx-ease);
}
.hx-gal-zoom svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hx-gal-item:hover .hx-gal-zoom, .hx-gal-item:focus-visible .hx-gal-zoom { opacity: 1; transform: none; }
@media (max-width: 820px) { .hx-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } .hx-gal-item { border-radius: 12px; } }

/* ---------- CTA band ---------- */
.hx-cta {
  position: relative; isolation: isolate; overflow: hidden; background: var(--hx-red); color: #fff;
  /* angled top edge, overlapping the bottom padding of the section above */
  margin-top: calc(-1 * var(--hx-cut));
  padding: calc(clamp(64px, 8vw, 108px) + var(--hx-cut)) 0 clamp(64px, 8vw, 108px);
  clip-path: polygon(0 var(--hx-cut), 100% 0, 100% 100%, 0 100%);
}
.hx-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 120% at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), radial-gradient(50% 100% at 0% 100%, rgba(0, 0, 0, .28), transparent 60%);
}
.hx-cta::after {
  content: ""; position: absolute; z-index: -1; right: -140px; top: 50%; width: 460px; height: 460px; margin-top: -230px;
  border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .18);
}
.hx-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.hx-cta .hx-kicker { color: rgba(255, 255, 255, .85); }
.hx-cta .hx-title { max-width: 680px; }
.hx-cta p { max-width: 540px; margin: 16px 0 0; color: rgba(255, 255, 255, .84); line-height: 1.7; }
.hx-wa-ico { width: 20px; height: 20px; color: #25d366; transition: color .25s; }
.hx-btn-white:hover .hx-wa-ico { color: #25d366; }
@media (max-width: 640px) { .hx-cta-inner .hx-btn { width: 100%; } }

/* ---------- Lightbox ---------- */
.hx-lb { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(5, 5, 5, .95); opacity: 0; transition: opacity .25s; }
.hx-lb.is-open { opacity: 1; }
.hx-lb-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 64px 84px; }
.hx-lb-stage img, .hx-lb-stage video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.hx-lb-close, .hx-lb-nav {
  position: absolute; z-index: 2; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); transition: background .2s;
}
.hx-lb-close:hover, .hx-lb-nav:hover { background: var(--hx-red); border-color: var(--hx-red); }
.hx-lb-close { top: 16px; right: 16px; width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; }
.hx-lb-nav { top: 50%; width: 54px; height: 54px; margin-top: -27px; }
.hx-lb-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hx-lb-prev { left: 16px; }
.hx-lb-next { right: 16px; }
.hx-lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-family: 'JetBrains Mono', monospace; font-size: .74rem; letter-spacing: .14em; color: rgba(255, 255, 255, .7); }
@media (max-width: 640px) {
  .hx-lb-stage { padding: 68px 12px 88px; }
  .hx-lb-nav { top: auto; bottom: 16px; margin-top: 0; width: 48px; height: 48px; }
  .hx-lb-count { bottom: 32px; }
}

/* ---------- Floating WhatsApp: calmer on the homepage ---------- */
.hx .wa-float { animation: none !important; }
.hx .wa-float::before { animation: none !important; display: none !important; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.hx-js .hx-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--hx-ease), transform .9s var(--hx-ease); transition-delay: calc(var(--d, 0) * 90ms); }
.hx-js .hx-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hx *, .hx *::before, .hx *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hx-js .hx-reveal { opacity: 1; transform: none; }
}
