/* light-theme: manual
   Index lower half: bento "why" grid, scroll-lit statement + team, horizontal
   pinned journey and the final CTA. Motion hooks live in assets/js/ux-motion.js;
   without JS (or with reduced motion) everything renders static and readable.
   Light variant at the end; the light-theme generator skips this file. */

:root {
  --nx-surface: rgba(15, 23, 42, 0.62);
  --nx-surface-2: rgba(30, 41, 59, 0.5);
  --nx-line: rgba(148, 163, 184, 0.14);
  --nx-text: #f1f5f9;
  --nx-muted: #94a3b8;
  --nx-dim: rgba(148, 163, 184, 0.28);
}

/* --- shared bits --- */
.nx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--nx-line);
  background: var(--nx-surface-2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.nx-eyebrow i { font-size: 0.75rem; }

.nx-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.nx-section-head h2,
.nx-journey-head h2,
.nx-final h2 {
  margin: 1rem 0 0.6rem;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--nx-text);
}

.nx-section-head p { color: var(--nx-muted); font-size: 1.1rem; }

/* ================= bento ================= */
.nx-bento {
  max-width: 1240px;
  margin: 0 auto;
  padding: 6rem min(5vw, 3.5rem) 4rem;
}

.nx-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
  gap: 1.25rem;
}

.nx-tile {
  --accent: #38bdf8;
  --accent-2: #6366f1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 1.8rem;
  border-radius: 24px;
  border: 1px solid var(--nx-line);
  background: var(--nx-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* accent glow in the corner + spotlight that follows the pointer (--ux-mx/my from JS) */
.nx-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(380px circle at var(--ux-mx, 100%) var(--ux-my, 0%), color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%),
    radial-gradient(240px circle at 100% 0%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 70%);
  transition: opacity 0.4s ease;
}

.nx-tile:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  transform: translateY(-4px);
}

.nx-tile-xl { grid-row: span 2; display: flex; flex-direction: column; }
.nx-tile-wide { grid-column: span 2; }

.nx-tile-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.3rem;
  border-radius: 16px;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 40%, transparent);
}

.nx-tile-xl .nx-tile-icon { width: 64px; height: 64px; font-size: 1.6rem; border-radius: 20px; }

.nx-tile h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--nx-text);
}

.nx-tile-xl h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.03em; }

.nx-tile p { margin: 0; color: var(--nx-muted); line-height: 1.65; }

/* overlapping project logos */
/* logos + label; the label drops below the logos when the tile is too narrow */
.nx-logo-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1rem;
  margin-top: auto;
  padding-top: 2rem;
}

.nx-logos { display: flex; }

.nx-logo-stack img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: #0b1222;
  border: 3px solid #0b1222;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nx-logo-stack img + img { margin-left: -18px; }
.nx-tile:hover .nx-logo-stack img:nth-child(1) { transform: translateX(-6px) rotate(-8deg); }
.nx-tile:hover .nx-logo-stack img:nth-child(3) { transform: translateX(6px) rotate(8deg); }

.nx-logo-stack-label { display: grid; color: var(--nx-muted); font-size: 0.95rem; line-height: 1.35; white-space: nowrap; }
.nx-logo-stack-label b { color: var(--nx-text); }

/* weeks vs years bars */
.nx-span-bars { display: grid; gap: 0.7rem; margin-top: 1.4rem; }

.nx-span-bar {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: var(--nx-muted);
}

.nx-span-bar i {
  height: 8px;
  border-radius: 99px;
  background: var(--nx-dim);
  width: var(--w);
  transform-origin: 0 50%;
}

.nx-span-bar.is-us span { color: var(--nx-text); font-weight: 600; }
.nx-span-bar.is-us i { background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 50%, transparent); }

.nx-tile-icon-gem i { animation: nx-gem 4s ease-in-out infinite; }

@keyframes nx-gem {
  0%, 100% { transform: rotate(0) scale(1); }
  50% { transform: rotate(-12deg) scale(1.12); }
}

.nx-tile-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.nx-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.nx-feed-wrap { display: grid; gap: 0.8rem; align-content: start; }

.nx-feed-more {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent, #f59e0b);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.nx-feed-more i { transition: transform 0.2s ease; }
.nx-feed-more:hover i { transform: translateX(3px); }

.nx-feed li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: var(--nx-surface-2);
  border: 1px solid var(--nx-line);
  font-size: 0.88rem;
}

.nx-feed b { color: var(--nx-text); font-weight: 600; }
.nx-feed em { font-style: normal; color: var(--nx-muted); font-size: 0.8rem; }

.nx-feed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* ================= story ================= */
.nx-story {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem min(5vw, 3.5rem);
}

.nx-statement {
  margin: 1.5rem 0 3.5rem;
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--nx-text);
}

/* words light up as the statement scrolls through (classes from JS) */
.nx-statement .nx-w { color: var(--nx-dim); transition: color 0.35s ease; }
.nx-statement .nx-w.is-lit { color: var(--nx-text); }
.nx-statement .nx-w.is-key.is-lit {
  background: linear-gradient(100deg, #38bdf8, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nx-team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.nx-member {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.4rem;
  border-radius: 22px;
  border: 1px solid var(--nx-line);
  background: var(--nx-surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.nx-member:hover { border-color: rgba(56, 189, 248, 0.4); transform: translateY(-3px); }

.nx-avatar {
  position: relative;
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from var(--nx-ring, 0deg), #38bdf8, #a855f7, #10b981, #38bdf8);
  animation: nx-ring 6s linear infinite;
}

@property --nx-ring {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes nx-ring { to { --nx-ring: 360deg; } }

.nx-avatar img,
.nx-avatar .nx-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0b1222;
  background: #0b1222;
}

.nx-avatar .nx-initials {
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #e0f2fe;
  background: linear-gradient(135deg, #1e3a8a, #6d28d9);
}

.nx-member-text { display: grid; gap: 0.25rem; min-width: 0; }

.nx-team-links { display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; }

.nx-team-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.4rem;
  color: #7dd3fc;
  font-weight: 700;
  text-decoration: none;
}

.nx-team-more i { transition: transform 0.2s ease; }
.nx-team-more:hover i { transform: translateX(4px); }
.nx-member-text b { font-size: 1.25rem; color: var(--nx-text); }
.nx-member-text span { font-size: 0.9rem; color: var(--nx-muted); }

.nx-member-arrow {
  margin-left: auto;
  color: var(--nx-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

.nx-member:hover .nx-member-arrow { transform: translateX(4px); color: #38bdf8; }

/* ================= journey ================= */
/* clip (not hidden) keeps position: sticky working while cutting off the wide track */
.nx-journey { position: relative; overflow-x: clip; }
/* index only: clipping html elsewhere stops body overflow from propagating to
   the viewport, which breaks position: sticky (wiki sidebar, NexGames banners) */
html:has(> body.home-page),
body.home-page { overflow-x: clip; }

.nx-journey-sticky {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem min(5vw, 3.5rem);
}

.nx-journey-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.nx-journey-count {
  font-size: 1rem;
  font-weight: 600;
  color: var(--nx-muted);
  font-variant-numeric: tabular-nums;
}

.nx-journey-count b { font-size: 2.6rem; color: var(--nx-text); letter-spacing: -0.04em; }

/* without JS: a native horizontally scrollable strip */
.nx-journey-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 1rem;
}

.nx-journey-track {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  width: max-content;
}

.nx-stop {
  --accent: #38bdf8;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  width: min(420px, 80vw);
  min-height: 340px;
  padding: 2rem;
  scroll-snap-align: start;
  border-radius: 26px;
  border: 1px solid var(--nx-line);
  background:
    radial-gradient(300px circle at 0% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
    var(--nx-surface);
  transition: border-color 0.4s ease, opacity 0.4s ease, scale 0.4s ease;
}

.nx-stop-num {
  position: absolute;
  right: 1.2rem;
  bottom: -1.5rem;
  font-size: 9rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent) 35%, transparent);
  pointer-events: none;
}

.nx-stop-date {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}

.nx-stop-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 1.6rem 0 1.2rem;
  border-radius: 16px;
  font-size: 1.3rem;
  color: #0b1222;
  background: var(--accent);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 45%, transparent);
}

.nx-stop h3 { margin: 0 0 0.6rem; font-size: 1.45rem; color: var(--nx-text); letter-spacing: -0.02em; }
.nx-stop p { margin: 0; color: var(--nx-muted); line-height: 1.65; position: relative; }
.nx-stop p b { color: var(--nx-text); }

.nx-stop-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.3rem;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), #6366f1);
}

.nx-journey-progress {
  height: 4px;
  margin-top: 1.5rem;
  border-radius: 99px;
  background: var(--nx-dim);
  overflow: hidden;
}

.nx-journey-progress i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(var(--nx-jp, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, #facc15, #38bdf8, #10b981, #f97316, #a855f7);
}

/* pinned mode (desktop + motion): JS sets the section height and --nx-jx */
.ux-motion .nx-journey.is-pinned .nx-journey-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ux-motion .nx-journey.is-pinned .nx-journey-viewport { overflow: visible; padding: 0; }

.ux-motion .nx-journey.is-pinned .nx-journey-track {
  transform: translate3d(var(--nx-jx, 0px), 0, 0);
  will-change: transform;
}

.ux-motion .nx-journey.is-pinned .nx-stop:not(.is-active) { opacity: 0.45; scale: 0.96; }
.ux-motion .nx-journey.is-pinned .nx-stop.is-active { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }

/* ================= final CTA ================= */
.nx-final {
  max-width: 1240px;
  margin: 0 auto;
  padding: 4rem min(5vw, 3.5rem) 7rem;
}

.nx-final-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: 36px;
  text-align: center;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: #070b18;
}

.nx-aurora { position: absolute; inset: 0; z-index: -1; filter: blur(70px); opacity: 0.55; }

.nx-aurora i {
  position: absolute;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  animation: nx-aurora 14s ease-in-out infinite alternate;
}

.nx-aurora i:nth-child(1) { left: -10%; top: -30%; background: #0ea5e9; }
.nx-aurora i:nth-child(2) { right: -10%; top: -10%; background: #7c3aed; animation-delay: -5s; }
.nx-aurora i:nth-child(3) { left: 25%; bottom: -50%; background: #10b981; animation-delay: -9s; }

@keyframes nx-aurora {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8%, 10%) scale(1.15); }
  100% { transform: translate(-6%, -4%) scale(0.95); }
}

.nx-final p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #cbd5e1;
}

.nx-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.2rem;
}

.nx-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.8rem;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.nx-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.14); }

.nx-btn-primary {
  color: #fff;
  border-color: transparent;
  background: #5865f2;
  box-shadow: 0 12px 34px rgba(88, 101, 242, 0.5);
}

.nx-btn-primary:hover { background: #6d78f5; box-shadow: 0 16px 40px rgba(88, 101, 242, 0.65); }

/* ================= scroll reveals for this section ================= */
.ux-motion .nx-reveal {
  opacity: 0;
  translate: 0 50px;
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--ux-delay, 0ms),
    translate 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--ux-delay, 0ms),
    border-color 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ux-motion .nx-reveal.ux-in { opacity: 1; translate: 0 0; }

.ux-motion .nx-span-bar i { transform: scaleX(0); transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s; }
.ux-motion .nx-tile.ux-in .nx-span-bar i { transform: scaleX(1); }
.ux-motion .nx-tile.ux-in .nx-span-bar.is-us i { transition-delay: 0.7s; }

.ux-motion .nx-feed li { opacity: 0; translate: 30px 0; transition: opacity 0.5s ease, translate 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.ux-motion .nx-tile.ux-in .nx-feed li { opacity: 1; translate: 0 0; }
.ux-motion .nx-tile.ux-in .nx-feed li:nth-child(1) { transition-delay: 0.4s; }
.ux-motion .nx-tile.ux-in .nx-feed li:nth-child(2) { transition-delay: 0.55s; }
.ux-motion .nx-tile.ux-in .nx-feed li:nth-child(3) { transition-delay: 0.7s; }

/* ================= responsive ================= */
@media (max-width: 1000px) {
  .nx-bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-tile-xl { grid-row: auto; grid-column: span 2; }
}

@media (max-width: 700px) {
  .nx-bento-grid { grid-template-columns: minmax(0, 1fr); }
  .nx-tile-xl, .nx-tile-wide { grid-column: auto; }
  .nx-tile-split { grid-template-columns: minmax(0, 1fr); }
  .nx-team { grid-template-columns: minmax(0, 1fr); }
  .nx-journey-head { flex-direction: column; align-items: flex-start; }
  .nx-stop-num { font-size: 7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .nx-avatar, .nx-aurora i, .nx-tile-icon-gem i { animation: none; }
}

/* ================= light theme ================= */
html[data-theme="light"] {
  --nx-surface: rgba(255, 255, 255, 0.85);
  --nx-surface-2: rgba(241, 245, 249, 0.9);
  --nx-line: rgba(15, 23, 42, 0.09);
  --nx-text: #0f172a;
  --nx-muted: #475569;
  --nx-dim: rgba(15, 23, 42, 0.16);
}

html[data-theme="light"] .nx-eyebrow { color: #0369a1; }
html[data-theme="light"] .nx-tile,
html[data-theme="light"] .nx-member,
html[data-theme="light"] .nx-stop { box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06); }

html[data-theme="light"] .nx-logo-stack img { border-color: #fff; background: #fff; box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15); }
html[data-theme="light"] .nx-avatar img,
html[data-theme="light"] .nx-avatar .nx-initials { border-color: #fff; }

html[data-theme="light"] .nx-statement .nx-w.is-key.is-lit { background-image: linear-gradient(100deg, #0284c7, #7c3aed); }

html[data-theme="light"] .nx-stop-date { color: color-mix(in srgb, var(--accent) 70%, #000); }

html[data-theme="light"] .nx-final-card { background: #ffffff; border-color: rgba(15, 23, 42, 0.08); }
html[data-theme="light"] .nx-aurora { opacity: 0.35; }
html[data-theme="light"] .nx-final p { color: #334155; }
html[data-theme="light"] .nx-btn { color: #0f172a; background: rgba(15, 23, 42, 0.05); border-color: rgba(15, 23, 42, 0.15); }
html[data-theme="light"] .nx-btn:hover { background: rgba(15, 23, 42, 0.09); }
html[data-theme="light"] .nx-btn-primary { color: #fff; background: #5865f2; border-color: transparent; }

/* --- Next-event countdown in the hero (assets/js/news.js, data from the
   "events" list in assets/news.json; hidden when nothing is upcoming) --- */
.hero-event[hidden] { display: none; }

.hero-event {
  --c: #38bdf8;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 100%;
  margin-top: 1rem;
  padding: 0.6rem 0.9rem 0.6rem 0.6rem;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  background:
    linear-gradient(110deg, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%),
    rgba(6, 10, 28, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f1f5f9;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

a.hero-event[href]:hover { border-color: var(--c); transform: translateY(-2px); }

.hero-event-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--c);
  color: #fff;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--c) 45%, transparent);
}

.hero-event-text { display: grid; min-width: 0; line-height: 1.25; }
.hero-event-text small { color: #94a3b8; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.hero-event-text b { font-size: 0.98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hero-event-count {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  margin-left: 0.4rem;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(148, 163, 184, 0.2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hero-event-count b { font-size: 1.15rem; font-weight: 800; color: var(--c); }
.hero-event-count i { margin-right: 0.35rem; font-style: normal; font-size: 0.72rem; color: #94a3b8; }
.hero-event-go { color: var(--c); font-size: 0.8rem; }
.hero-event.is-live .hero-event-count b { animation: heroEventLive 1.2s ease-in-out infinite; }

@keyframes heroEventLive { 50% { opacity: 0.45; } }

@media (max-width: 560px) {
  .hero-event { flex-wrap: wrap; }
  .hero-event-count { margin-left: 0; padding-left: 0; border-left: 0; width: 100%; padding-top: 0.2rem; }
}

html[data-theme="light"] body .hero-event {
  background: linear-gradient(110deg, color-mix(in srgb, var(--c) 12%, transparent), transparent 70%), rgba(255, 255, 255, 0.85);
  border-color: color-mix(in srgb, var(--c) 40%, transparent);
  color: #0f172a;
}
html[data-theme="light"] body .hero-event-text small,
html[data-theme="light"] body .hero-event-count i { color: #64748b; }
html[data-theme="light"] body .hero-event-icon { color: #fff; }

html[data-theme="light"] body .nx-team-more { color: #0369a1; }
