/* ThunderX brand fonts — self-hosted subset (latin). Generated. */
@font-face{font-family:'Orbitron';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/orbitron-600.woff2') format('woff2');}
@font-face{font-family:'Orbitron';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/orbitron-700.woff2') format('woff2');}
@font-face{font-family:'Rajdhani';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/rajdhani-500.woff2') format('woff2');}
@font-face{font-family:'Rajdhani';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/rajdhani-600.woff2') format('woff2');}
@font-face{font-family:'Rajdhani';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/rajdhani-700.woff2') format('woff2');}
@font-face{font-family:'Saira';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/saira-400.woff2') format('woff2');}
@font-face{font-family:'Saira';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/saira-500.woff2') format('woff2');}
@font-face{font-family:'Saira Condensed';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/saira-condensed-600.woff2') format('woff2');}
@font-face{font-family:'Saira Condensed';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/saira-condensed-700.woff2') format('woff2');}
@font-face{font-family:'Saira Condensed';font-style:normal;font-weight:800;font-display:swap;src:url('/fonts/saira-condensed-800.woff2') format('woff2');}

/* ThunderX design tokens — derived from the BGS launch mockups. */
:root {
  /* Core surfaces (near-black with a blue cast) */
  --tx-bg: #05060b;
  --tx-bg-elevated: #0a0c15;
  --tx-surface: #10131f;
  --tx-surface-2: #161a2b;

  /* Brand — electric blue → violet */
  --tx-blue: #3d5afe;
  --tx-blue-bright: #5b7fff;
  --tx-blue-dim: #2a3ba8;
  --tx-violet: #8b5cf6;
  --tx-purple: #7c3aed;
  --tx-purple-deep: #4c1d95;

  /* Signature gradient */
  --tx-gradient: linear-gradient(135deg, #3d5afe 0%, #7c3aed 100%);
  --tx-gradient-soft: linear-gradient(135deg, rgba(61, 90, 254, 0.16) 0%, rgba(124, 58, 237, 0.16) 100%);

  /* Text */
  --tx-text: #f4f6ff;
  --tx-text-muted: #9aa3bd;
  --tx-text-faint: #5c6484;

  /* Lines & glow */
  --tx-border: rgba(123, 140, 255, 0.16);
  --tx-border-strong: rgba(123, 140, 255, 0.34);
  --tx-glow: 0 0 24px rgba(77, 124, 255, 0.45);
  --tx-glow-strong: 0 0 36px rgba(91, 127, 255, 0.6);

  /* Type families */
  --tx-font-display: "Saira Condensed", sans-serif;
  --tx-font-ui: "Rajdhani", "Segoe UI", sans-serif;
  --tx-font-body: "Saira", system-ui, sans-serif;
  --tx-font-digital: "Orbitron", "Courier New", monospace;

  /* Radii */
  --tx-radius-sm: 6px;
  --tx-radius-md: 10px;
  --tx-radius-lg: 16px;
  --tx-radius-pill: 999px;

  /* Spacing scale */
  --tx-space-1: 4px;
  --tx-space-2: 8px;
  --tx-space-3: 12px;
  --tx-space-4: 16px;
  --tx-space-5: 24px;
  --tx-space-6: 32px;
  --tx-space-7: 48px;
  --tx-space-8: 64px;
}

/* ThunderX base layer — applied inside the ThunderXProvider root. */
.tx-root {
  font-family: var(--tx-font-body);
  color: var(--tx-text);
  background: var(--tx-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.tx-root *,
.tx-root *::before,
.tx-root *::after {
  box-sizing: border-box;
}

/* ThunderX component styles. Class-based; all colors/fonts come from tokens.css. */

/* ---------- Button ---------- */
.tx-btn {
  font-family: var(--tx-font-ui);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--tx-space-2);
  border: 1px solid transparent;
  border-radius: var(--tx-radius-md);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  line-height: 1;
}
.tx-btn:active { transform: translateY(1px); }
.tx-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.tx-btn--sm { font-size: 12px; padding: 8px 14px; }
.tx-btn--md { font-size: 14px; padding: 12px 22px; }
.tx-btn--lg { font-size: 16px; padding: 16px 30px; }
.tx-btn--full { width: 100%; }
.tx-btn--primary {
  background: var(--tx-gradient);
  color: #fff;
  box-shadow: var(--tx-glow);
}
.tx-btn--primary:hover:not(:disabled) { box-shadow: var(--tx-glow-strong); }
.tx-btn--secondary {
  background: rgba(123, 140, 255, 0.06);
  border-color: var(--tx-border-strong);
  color: var(--tx-text);
}
.tx-btn--secondary:hover:not(:disabled) { border-color: var(--tx-blue-bright); color: var(--tx-blue-bright); }
.tx-btn--ghost { background: transparent; color: var(--tx-text-muted); }
.tx-btn--ghost:hover:not(:disabled) { color: var(--tx-text); }
.tx-btn__icon { display: inline-flex; }

/* ---------- Logo ---------- */
.tx-logo { display: inline-flex; flex-direction: column; align-items: flex-start; user-select: none; line-height: 0.9; }
.tx-logo__word {
  font-family: var(--tx-font-display);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}
.tx-logo__thunder { color: var(--tx-text); }
.tx-logo__x {
  background: var(--tx-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 0.04em;
}
.tx-logo__bolt { color: var(--tx-violet); margin: 0 -0.06em; filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.7)); }
.tx-logo__tagline {
  font-family: var(--tx-font-ui);
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--tx-text-muted);
  margin-top: 2px;
  align-self: stretch;
  text-align: right;
}
.tx-logo--sm .tx-logo__word { font-size: 22px; }
.tx-logo--sm .tx-logo__tagline { font-size: 7px; }
.tx-logo--md .tx-logo__word { font-size: 34px; }
.tx-logo--md .tx-logo__tagline { font-size: 9px; }
.tx-logo--lg .tx-logo__word { font-size: 54px; }
.tx-logo--lg .tx-logo__tagline { font-size: 13px; }

/* ---------- NavBar ---------- */
.tx-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tx-space-6);
  padding: var(--tx-space-4) var(--tx-space-6);
  background: rgba(5, 6, 11, 0.72);
  border-bottom: 1px solid var(--tx-border);
  backdrop-filter: blur(10px);
}
.tx-nav__brand { display: inline-flex; align-items: center; }
.tx-nav__links { display: flex; align-items: center; gap: var(--tx-space-6); list-style: none; margin: 0; padding: 0; }
.tx-nav__link {
  font-family: var(--tx-font-ui);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tx-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
  background: none;
  border: none;
  cursor: pointer;
}
.tx-nav__link:hover { color: var(--tx-text); }
.tx-nav__link--active { color: var(--tx-blue-bright); }
.tx-nav__actions { display: inline-flex; align-items: center; gap: var(--tx-space-4); }

/* ---------- CountdownTimer ---------- */
.tx-countdown { display: inline-flex; flex-direction: column; align-items: center; gap: var(--tx-space-3); }
.tx-countdown__grid { display: inline-flex; align-items: flex-start; gap: var(--tx-space-3); }
.tx-countdown__unit { display: flex; flex-direction: column; align-items: center; gap: var(--tx-space-2); }
.tx-countdown__value {
  font-family: var(--tx-font-digital);
  font-weight: 700;
  color: var(--tx-blue-bright);
  text-shadow: 0 0 18px rgba(91, 127, 255, 0.55);
  background: rgba(10, 14, 30, 0.6);
  border: 1px solid var(--tx-border);
  border-radius: var(--tx-radius-md);
  padding: 0.12em 0.18em;
  font-variant-numeric: tabular-nums;
  min-width: 1.6em;
  text-align: center;
}
.tx-countdown__label {
  font-family: var(--tx-font-ui);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--tx-text-muted);
}
.tx-countdown__sep {
  font-family: var(--tx-font-digital);
  color: var(--tx-blue-dim);
  align-self: flex-start;
}
.tx-countdown--sm .tx-countdown__value { font-size: 34px; }
.tx-countdown--sm .tx-countdown__label { font-size: 9px; }
.tx-countdown--sm .tx-countdown__sep { font-size: 34px; }
.tx-countdown--md .tx-countdown__value { font-size: 56px; }
.tx-countdown--md .tx-countdown__label { font-size: 11px; }
.tx-countdown--md .tx-countdown__sep { font-size: 56px; }
.tx-countdown--lg .tx-countdown__value { font-size: 88px; }
.tx-countdown--lg .tx-countdown__label { font-size: 13px; }
.tx-countdown--lg .tx-countdown__sep { font-size: 88px; }

/* ---------- EmailCapture ---------- */
.tx-capture { display: flex; flex-direction: column; gap: var(--tx-space-3); width: 100%; max-width: 520px; }
.tx-capture__label {
  font-family: var(--tx-font-ui);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--tx-text);
  display: inline-flex;
  align-items: center;
  gap: var(--tx-space-2);
}
.tx-capture__row {
  display: flex;
  align-items: stretch;
  gap: var(--tx-space-2);
  background: var(--tx-surface);
  border: 1px solid var(--tx-border);
  border-radius: var(--tx-radius-md);
  padding: 6px;
}
.tx-capture__field { display: flex; align-items: center; gap: var(--tx-space-2); flex: 1; padding-left: var(--tx-space-3); }
.tx-capture__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--tx-text);
  font-family: var(--tx-font-body);
  font-size: 15px;
}
.tx-capture__input::placeholder { color: var(--tx-text-faint); }
.tx-capture__note {
  font-family: var(--tx-font-body);
  font-size: 12px;
  color: var(--tx-text-faint);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- SectionHeading ---------- */
.tx-heading { display: flex; flex-direction: column; gap: var(--tx-space-2); text-align: center; align-items: center; }
.tx-heading--left { text-align: left; align-items: flex-start; }
.tx-heading__eyebrow {
  font-family: var(--tx-font-ui);
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 13px;
  background: var(--tx-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tx-heading__title {
  font-family: var(--tx-font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 40px;
  line-height: 1.02;
  color: var(--tx-text);
  margin: 0;
}
.tx-heading__subtitle {
  font-family: var(--tx-font-ui);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--tx-blue-bright);
  font-size: 14px;
  margin: 0;
}

/* ---------- Badge ---------- */
.tx-badge {
  font-family: var(--tx-font-ui);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--tx-radius-pill);
  line-height: 1;
}
.tx-badge--blue { background: var(--tx-gradient-soft); color: var(--tx-blue-bright); border: 1px solid var(--tx-border-strong); }
.tx-badge--solid { background: var(--tx-gradient); color: #fff; box-shadow: var(--tx-glow); }
.tx-badge--muted { background: rgba(154, 163, 189, 0.1); color: var(--tx-text-muted); }
.tx-badge--live { background: rgba(52, 211, 153, 0.12); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.35); }
.tx-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }

/* ---------- ProductCard ---------- */
.tx-card {
  display: flex;
  flex-direction: column;
  gap: var(--tx-space-3);
  background: linear-gradient(180deg, var(--tx-surface) 0%, var(--tx-bg-elevated) 100%);
  border: 1px solid var(--tx-border);
  border-radius: var(--tx-radius-lg);
  padding: var(--tx-space-4);
  width: 260px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.tx-card--blue { border-color: rgba(91, 127, 255, 0.35); }
.tx-card--green { border-color: rgba(52, 211, 153, 0.3); }
.tx-card--red { border-color: rgba(248, 113, 113, 0.3); }
.tx-card__media {
  position: relative;
  border-radius: var(--tx-radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: radial-gradient(120% 120% at 30% 20%, rgba(61, 90, 254, 0.28), transparent 60%), var(--tx-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tx-card__media img { width: 100%; height: 100%; object-fit: cover; }
.tx-card__badge { position: absolute; top: var(--tx-space-3); left: var(--tx-space-3); }
.tx-card__title { font-family: var(--tx-font-display); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: 18px; color: var(--tx-text); margin: 0; }
.tx-card__meta { font-family: var(--tx-font-ui); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; font-size: 11px; color: var(--tx-text-muted); }
.tx-card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--tx-space-3); margin-top: var(--tx-space-2); }

/* ---------- SocialLinks ---------- */
.tx-social { display: inline-flex; align-items: center; gap: var(--tx-space-3); }
.tx-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--tx-radius-md);
  color: var(--tx-text-muted);
  border: 1px solid var(--tx-border);
  transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.tx-social__link:hover { color: var(--tx-blue-bright); border-color: var(--tx-border-strong); box-shadow: var(--tx-glow); }

/* ---------- StormBackground ---------- */
.tx-storm { position: absolute; inset: 0; overflow: hidden; background: var(--tx-bg); }
.tx-storm--fixed { position: fixed; z-index: 0; }
.tx-storm::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 28%, transparent 52%, rgba(0, 0, 0, 0.5));
  pointer-events: none;
}
.tx-storm__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.tx-storm__content { position: relative; z-index: 1; height: 100%; }
.tx-storm__sound {
  position: absolute;
  z-index: 2;
  right: var(--tx-space-5);
  bottom: var(--tx-space-5);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--tx-radius-pill);
  background: rgba(16, 19, 31, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid var(--tx-border-strong);
  color: var(--tx-text-muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.tx-storm__sound:hover { color: var(--tx-blue-bright); border-color: var(--tx-blue-bright); box-shadow: var(--tx-glow); }
.tx-storm__sound--on { color: var(--tx-blue-bright); border-color: var(--tx-blue-bright); }

/* ---------- ContadorPage ---------- */
/* Electric hover/loader effects use the storm accents (#38b6ff / #7c4dff) on purpose —
   they read hotter than the brand gradient and match the lightning art. */
@keyframes tx-spark {
  0%, 100% { box-shadow: 0 0 6px rgba(56, 182, 255, 0.9), 0 0 18px rgba(56, 182, 255, 0.55), inset 0 0 8px rgba(56, 182, 255, 0.35); }
  20% { box-shadow: 0 0 3px rgba(56, 182, 255, 0.7), 0 0 10px rgba(124, 77, 255, 0.5), inset 0 0 4px rgba(56, 182, 255, 0.2); }
  45% { box-shadow: 0 0 10px rgba(124, 77, 255, 0.95), 0 0 26px rgba(56, 182, 255, 0.7), inset 0 0 12px rgba(124, 77, 255, 0.45); }
  70% { box-shadow: 0 0 4px rgba(56, 182, 255, 0.8), 0 0 14px rgba(56, 182, 255, 0.45), inset 0 0 6px rgba(56, 182, 255, 0.3); }
}
@keyframes tx-jolt {
  0%, 86%, 100% { transform: translate(0, 0); }
  88% { transform: translate(-1px, 1px); }
  90% { transform: translate(1px, -1px); }
  92% { transform: translate(-1px, -1px); }
  94% { transform: translate(1px, 1px); }
  96% { transform: translate(0, -1px); }
}
@keyframes tx-bolt-flash {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 2px rgba(56, 182, 255, 0.9)) drop-shadow(0 0 6px rgba(56, 182, 255, 0.6)); }
  30% { opacity: 0.35; filter: drop-shadow(0 0 1px rgba(56, 182, 255, 0.5)); }
  34% { opacity: 1; filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 10px rgba(124, 77, 255, 0.9)); }
  38% { opacity: 0.6; filter: drop-shadow(0 0 2px rgba(56, 182, 255, 0.6)); }
  42%, 60% { opacity: 1; filter: drop-shadow(0 0 3px rgba(56, 182, 255, 0.9)) drop-shadow(0 0 8px rgba(56, 182, 255, 0.7)); }
  62% { opacity: 0.4; filter: none; }
  64% { opacity: 1; filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 12px rgba(56, 182, 255, 0.9)); }
}
@keyframes tx-load-bolt {
  0% { stroke-dashoffset: 230; opacity: 0.9; }
  55% { stroke-dashoffset: 0; opacity: 1; }
  62% { opacity: 0.35; }
  66% { opacity: 1; }
  72% { opacity: 0.5; }
  76%, 100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes tx-x-strike {
  0%, 58%, 100% { filter: drop-shadow(0 0 3px rgba(56, 182, 255, 0.5)); }
  62% { filter: drop-shadow(0 0 1px rgba(56, 182, 255, 0.3)) brightness(0.6); }
  64% { filter: drop-shadow(0 0 10px #fff) drop-shadow(0 0 26px rgba(56, 182, 255, 1)) brightness(1.9); }
  67% { filter: drop-shadow(0 0 4px rgba(56, 182, 255, 0.6)) brightness(0.8); }
  70% { filter: drop-shadow(0 0 14px #fff) drop-shadow(0 0 34px rgba(124, 77, 255, 1)) brightness(2.2); }
  76% { filter: drop-shadow(0 0 8px rgba(56, 182, 255, 0.8)) brightness(1.3); }
  84% { filter: drop-shadow(0 0 4px rgba(56, 182, 255, 0.5)); }
}
@keyframes tx-num-thunder {
  0%, 100% { text-shadow: 0 0 8px rgba(56, 182, 255, 0.8), 0 0 22px rgba(56, 182, 255, 0.45); }
  22% { text-shadow: 0 0 2px rgba(56, 182, 255, 0.4); }
  26% { text-shadow: 0 0 12px #fff, 0 0 30px rgba(56, 182, 255, 0.9), 0 0 50px rgba(124, 77, 255, 0.7); }
  32% { text-shadow: 0 0 4px rgba(56, 182, 255, 0.5); }
  55% { text-shadow: 0 0 10px rgba(124, 77, 255, 0.9), 0 0 26px rgba(56, 182, 255, 0.6); }
  70% { text-shadow: 0 0 3px rgba(56, 182, 255, 0.4); }
  74% { text-shadow: 0 0 14px #fff, 0 0 34px rgba(56, 182, 255, 1); }
}
@keyframes tx-screen-flash {
  0% { opacity: 0; }
  10% { opacity: 0.85; }
  100% { opacity: 0; }
}

.tx-contador__viewport {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--tx-space-6) var(--tx-space-5);
  overflow: hidden;
}
.tx-contador__loader {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #080912;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.tx-contador__loader--out { opacity: 0; }
.tx-contador__loader-logo {
  width: min(300px, 70vw);
  height: auto;
  animation: tx-bolt-flash 0.8s linear infinite;
}
.tx-contador__loader-label {
  font-family: var(--tx-font-ui);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tx-blue-bright);
}
.tx-contador__loader-bolt { width: 190px; height: 26px; overflow: visible; }
.tx-contador__loader-bolt-stroke {
  stroke: var(--tx-blue-bright);
  stroke-dasharray: 230 999;
  animation: tx-load-bolt 1.4s linear infinite;
  filter: drop-shadow(0 0 5px rgba(56, 182, 255, 0.9)) drop-shadow(0 0 14px rgba(124, 77, 255, 0.5));
}
.tx-contador__video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.tx-contador__scrim {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(8, 9, 18, 0.45) 0%, rgba(8, 9, 18, 0.82) 100%);
  z-index: 0;
  pointer-events: none;
}
.tx-contador__content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.tx-contador__header {
  width: 100%;
  max-width: 1120px;
  display: flex;
  justify-content: center;
  padding-bottom: var(--tx-space-6);
}
.tx-contador__logo { position: relative; width: min(320px, 78vw); }
.tx-contador__logo img { width: 100%; height: auto; display: block; }
.tx-contador__logo-layer {
  position: absolute;
  inset: 0;
  animation: tx-x-strike 3.2s linear infinite;
  /* the filter keyframes repaint every frame — keep each layer on its own compositor layer */
  will-change: filter;
}
.tx-contador__logo-layer--bolt { animation-delay: -1.7s; }
.tx-contador__main {
  flex: 1;
  width: 100%;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--tx-space-7);
  padding: var(--tx-space-7) 0;
}
.tx-contador__flash {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(220, 240, 255, 0.95), rgba(56, 182, 255, 0.4) 55%, transparent 80%);
  animation: tx-screen-flash 0.9s ease-out forwards;
  opacity: 0;
}
.tx-contador__thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--tx-space-3);
}
.tx-contador__thanks-box {
  font-family: var(--tx-font-ui);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tx-blue-bright);
  border: 1px solid var(--tx-border-strong);
  border-radius: var(--tx-radius-md);
  padding: var(--tx-space-4) var(--tx-space-6);
  box-shadow: var(--tx-glow);
  animation: tx-num-thunder 0.9s linear 2;
}
.tx-contador__thanks-note {
  margin: 0;
  font-family: var(--tx-font-ui);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx-text-faint);
}
.tx-contador__about {
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--tx-space-6);
}
.tx-contador__about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--tx-space-5);
  width: 100%;
}
.tx-contador__about-card {
  display: flex;
  flex-direction: column;
  gap: var(--tx-space-3);
  border: 1px solid var(--tx-border-strong);
  border-radius: var(--tx-radius-md);
  padding: var(--tx-space-6);
  background: rgba(8, 9, 18, 0.55);
  color: var(--tx-blue-bright);
}
.tx-contador__about-card h3 {
  margin: 0;
  font-family: var(--tx-font-ui);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-blue-bright);
}
.tx-contador__about-card p {
  margin: 0;
  font-family: var(--tx-font-ui);
  font-size: 13px;
  line-height: 1.6;
  color: var(--tx-text-faint);
}
.tx-contador__footer {
  width: 100%;
  max-width: 1120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--tx-space-4);
  padding-top: var(--tx-space-6);
}
.tx-contador__copyright {
  margin: 0;
  font-family: var(--tx-font-ui);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-text-faint);
}

/* Page-scoped brand-electricity tweaks. :where() keeps the anchor rule at element
   specificity so .tx-social__link colors still win. */
:where(.tx-contador) a { color: var(--tx-blue-bright); }
:where(.tx-contador) a:hover { color: var(--tx-violet); }
.tx-contador .tx-logo__x { padding-right: 0.16em; margin-right: -0.16em; }
.tx-contador .tx-countdown__value { min-width: 2.05em; }
.tx-contador .tx-countdown__value:hover {
  animation: tx-num-thunder 0.9s linear infinite, tx-spark 0.9s linear infinite, tx-jolt 1.1s steps(1) infinite;
  color: #fff;
  border-color: var(--tx-blue-bright);
  cursor: default;
}
.tx-contador .tx-social { gap: var(--tx-space-5); }
.tx-contador .tx-social__link { position: relative; }
.tx-contador .tx-social__link:hover {
  animation: tx-spark 0.9s linear infinite, tx-jolt 1.1s steps(1) infinite;
  color: #fff;
  border-color: var(--tx-blue-bright);
}
.tx-contador .tx-social__link:hover svg { animation: tx-bolt-flash 0.8s linear infinite; }
.tx-contador .tx-capture .tx-btn:hover { animation: tx-spark 0.9s linear infinite, tx-jolt 1.1s steps(1) infinite; }
.tx-contador .tx-capture__label svg { display: none; }
@media (prefers-reduced-motion: reduce) {
  /* Lightning goes still: the loader keeps its full bolt (dashoffset rests at 0) and the
     subscribe flash stays at opacity 0. The component swaps the video for the poster. */
  .tx-contador__logo-layer,
  .tx-contador__loader-logo,
  .tx-contador__loader-bolt-stroke,
  .tx-contador__flash,
  .tx-contador__thanks-box,
  .tx-contador .tx-countdown__value:hover,
  .tx-contador .tx-social__link:hover,
  .tx-contador .tx-social__link:hover svg,
  .tx-contador .tx-capture .tx-btn:hover {
    animation: none;
  }
  .tx-contador__logo-layer { will-change: auto; }
}

@media (max-width: 760px) {
  .tx-contador__viewport { padding: var(--tx-space-6) var(--tx-space-4); }
  /* 4 units + 3 separators + 6 gaps must fit 100vw minus the page padding down to
     320px-wide phones; the vw font, tighter gap, and smaller labels size to that.
     flex-wrap is the safety net for narrower screens and md/lg timers. */
  .tx-contador .tx-countdown__grid { gap: var(--tx-space-2); flex-wrap: wrap; justify-content: center; }
  .tx-contador .tx-countdown--md .tx-countdown__value,
  .tx-contador .tx-countdown--lg .tx-countdown__value { font-size: min(8vw, 56px); }
  .tx-contador .tx-countdown--md .tx-countdown__sep,
  .tx-contador .tx-countdown--lg .tx-countdown__sep { font-size: min(8vw, 56px); }
  .tx-contador .tx-countdown__label { font-size: 9px; letter-spacing: 0.18em; }
  .tx-contador .tx-capture__row { flex-wrap: wrap; }
  .tx-contador .tx-capture__row .tx-btn { width: 100%; }
  .tx-contador .tx-capture__field { min-width: 0; }
}
