/* ===========================================================
   Thryve HS Esports
   Bold editorial dark theme ,  neon glow, vivid color, hand-tuned.
============================================================ */

:root {
  --bg: #08051a;
  --bg-2: #0d0828;
  --panel: rgba(255,255,255,0.04);
  --panel-2: rgba(255,255,255,0.07);
  --ink: #efecff;
  --ink-dim: #b6b1d6;
  --ink-faint: #7a7595;
  --line: rgba(255,255,255,0.09);
  --line-2: rgba(255,255,255,0.16);

  --purple: #8a3df0;
  --purple-2: #b07bff;
  --indigo: #5865f2;
  --cyan: #28d4ff;
  --cyan-2: #6ef0ff;
  --pink: #ff5cb8;
  --pink-2: #ff8ad1;
  --lime: #c4ff4f;
  --gold: #ffd84a;
  --green: #46e58d;
  --discord: #5865f2;

  /* Signature gradients */
  --grad-thryve: linear-gradient(135deg, #ff5cb8 0%, #b07bff 35%, #6ef0ff 100%);
  --grad-cool:   linear-gradient(135deg, #b07bff 0%, #6ef0ff 100%);
  --grad-warm:   linear-gradient(135deg, #ff8ad1 0%, #c4a4ff 100%);
  --grad-neon:   linear-gradient(135deg, #c4ff4f 0%, #6ef0ff 100%);
  --grad-discord:linear-gradient(135deg, #6f7cff 0%, #b07bff 100%);

  /* Glows */
  --glow-purple: 0 0 0 1px rgba(176,123,255,.25), 0 12px 40px rgba(138,61,240,.30);
  --glow-cyan:   0 0 0 1px rgba(110,240,255,.25), 0 12px 40px rgba(40,212,255,.25);
  --glow-pink:   0 0 0 1px rgba(255,138,209,.25), 0 12px 40px rgba(255,92,184,.25);
  --glow-discord:0 10px 28px rgba(88,101,242,.40), inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 1px rgba(176,123,255,.35);

  --maxw: 1180px;

  --f-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

::selection { background: rgba(255,92,184,.45); color: white; }

/* ============== Background FX ============== */
.bg-fx {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(255,92,184,.20), transparent 60%),
    radial-gradient(900px 700px at 90% 10%, rgba(138,61,240,.32), transparent 60%),
    radial-gradient(900px 700px at -10% 50%, rgba(40,212,255,.18), transparent 60%),
    radial-gradient(900px 700px at 60% 110%, rgba(196,255,79,.10), transparent 60%),
    linear-gradient(180deg, #08051a 0%, #07061a 100%);
}
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 25%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 25%, #000 35%, transparent 80%);
  opacity: .9;
}
.bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .55;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: float 22s ease-in-out infinite;
}
.bg-orb--1 { background: #8a3df0; top: -160px; left: -160px; }
.bg-orb--2 { background: #28d4ff; top: 30%;  right: -240px; animation-delay: -7s; }
.bg-orb--3 { background: #ff5cb8; bottom: -260px; left: 20%; animation-delay: -14s; }
.bg-orb--4 { background: #c4ff4f; top: 80%; right: 10%; width: 360px; height: 360px; opacity: .25; animation-delay: -3s; }
@keyframes float {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50%      { transform: translate3d(40px,-30px,0) scale(1.08); }
}
.bg-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.6'/></svg>");
  opacity: .055;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* ============== Discord ribbon ============== */
.ribbon {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  justify-content: center;
  padding: 10px 16px;
  background:
    linear-gradient(90deg, rgba(255,92,184,.95), rgba(138,61,240,.95) 45%, rgba(88,101,242,.95));
  color: white;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-family: var(--f-body);
  transition: filter .2s;
  background-size: 200% 100%;
  animation: ribbonshift 12s linear infinite;
}
@keyframes ribbonshift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.ribbon:hover { filter: brightness(1.1); }
.ribbon strong { font-weight: 700; }
.ribbon__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6ef0ff;
  box-shadow: 0 0 0 0 rgba(110,240,255,.8);
  animation: pulse 1.6s infinite;
  flex-shrink: 0;
}
.ribbon__sep { color: rgba(255,255,255,.6); }
.ribbon__cta { font-weight: 600; }
.ribbon__arrow { display: inline-block; transition: transform .2s; }
.ribbon:hover .ribbon__arrow { transform: translateX(5px); }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(110,240,255,.8); }
  70%  { box-shadow: 0 0 0 10px rgba(110,240,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(110,240,255,0); }
}

/* ============== Nav ============== */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 16px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(10,8,20,.78), rgba(10,8,20,.42));
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img {
  width: 42px; height: 42px;
  filter: drop-shadow(0 0 18px rgba(176,123,255,.55));
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav__brand-name {
  font-family: var(--f-display);
  font-weight: 800; font-size: 22px;
  letter-spacing: -0.02em;
  background: var(--grad-thryve);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav__brand-sub {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: .14em; text-transform: uppercase;
  margin-top: 1px;
}
.nav__links {
  display: flex; gap: 28px;
  font-size: 15px; color: var(--ink-dim);
  font-weight: 500;
}
.nav__links a {
  position: relative;
  transition: color .15s;
  padding: 4px 0;
}
.nav__links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--grad-thryve);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  border-radius: 2px;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

/* ============== Buttons ============== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.005em;
  cursor: pointer;
  border: 0;
  transition: transform .15s ease, box-shadow .25s ease, filter .2s ease;
  white-space: nowrap;
  position: relative;
}
.btn--xl { padding: 14px 24px; font-size: 16px; }
.btn--mega { padding: 20px 32px; font-size: 18px; gap: 12px; }

.btn--primary {
  background: var(--grad-discord);
  color: white;
  box-shadow: var(--glow-discord);
}
.btn--primary::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: inherit;
  background: var(--grad-thryve);
  z-index: -1;
  opacity: 0;
  filter: blur(14px);
  transition: opacity .25s;
}
.btn--primary:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn--primary:hover::before { opacity: .7; }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-2);
  color: var(--ink);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); transform: translateY(-1px); }

.btn--discord { background: var(--discord); color: white; box-shadow: 0 6px 22px rgba(88,101,242,.35); }
.btn--discord:hover { background: #6f7cff; transform: translateY(-1px); }

/* ============== Hero ============== */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 70px 28px 70px;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px; color: var(--ink-dim);
  background: rgba(255,255,255,.04);
  margin: 0 0 24px;
  font-family: var(--f-mono);
}
.hero__eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  color: var(--ink);
}
.hero__title em {
  font-style: italic;
  font-weight: 700;
  background: var(--grad-thryve);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative;
  padding: 0 .08em 0 .02em;
  margin-right: .02em;
}
.hero__title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 12px;
  background: var(--grad-thryve);
  opacity: .22;
  filter: blur(2px);
  border-radius: 4px;
  z-index: -1;
}
.hero__sub {
  font-size: 19px;
  color: var(--ink-dim);
  max-width: 540px;
  margin: 0 0 32px;
  line-height: 1.5;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

/* live count strip */
.livecount {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  backdrop-filter: blur(10px);
  max-width: 560px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--glow-purple);
}
.livecount::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(176,123,255,.6), transparent 50%, rgba(110,240,255,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.livecount__cell {
  padding: 16px 20px;
  border-right: 1px solid var(--line);
  position: relative;
}
.livecount__cell:last-child { border-right: 0; }
.livecount__cell--accent { background: rgba(70, 229, 141, .05); }
.livecount__lbl {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.livecount__num {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -.02em;
  display: inline-flex; align-items: center; gap: 8px;
}
.livecount__num--green { color: var(--green); text-shadow: 0 0 14px rgba(70,229,141,.5); }
.livedot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: pulse-green 1.6s infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(.85); }
}

/* hero deck ,  stacked event cards (CSS only) */
.hero__deck {
  position: relative;
  height: 540px;
}
.pcard {
  position: absolute;
  width: 320px;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, rgba(20,16,40,.85), rgba(14,10,30,.85));
  border: 1px solid var(--line-2);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  font-size: 14px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.pcard::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--card-grad, linear-gradient(135deg, rgba(176,123,255,.5), transparent 60%, rgba(110,240,255,.4)));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.pcard--cr {
  top: 0; left: 0; transform: rotate(-2deg);
  box-shadow: var(--glow-purple);
  --card-grad: linear-gradient(135deg, rgba(176,123,255,.7), transparent 60%, rgba(110,240,255,.3));
}
.pcard--cr:hover { transform: rotate(-1deg) translateY(-4px); }
.pcard--bs {
  top: 175px; right: 0; transform: rotate(1.6deg);
  box-shadow: var(--glow-pink);
  --card-grad: linear-gradient(135deg, rgba(255,138,209,.6), transparent 60%, rgba(176,123,255,.3));
}
.pcard--bs:hover { transform: rotate(.6deg) translateY(-4px); }
.pcard--coach {
  top: 360px; left: 30px; transform: rotate(-1deg);
  width: 280px;
  box-shadow: var(--glow-cyan);
  --card-grad: linear-gradient(135deg, rgba(110,240,255,.6), transparent 60%, rgba(196,255,79,.3));
}
.pcard--coach:hover { transform: rotate(0deg) translateY(-4px); }

.pcard__head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.pcard__chip {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(176,123,255,.15);
  color: var(--purple-2);
  border: 1px solid rgba(176,123,255,.4);
}
.pcard--bs .pcard__chip { background: rgba(255,138,209,.15); color: var(--pink-2); border-color: rgba(255,138,209,.4); }
.pcard__chip--alt { background: rgba(110,240,255,.12); color: var(--cyan-2); border-color: rgba(110,240,255,.4); }
.pcard__time {
  font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-faint);
  letter-spacing: .04em;
}
.pcard__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.015em;
  margin-bottom: 4px;
}
.pcard__meta { color: var(--ink-dim); font-size: 13.5px; line-height: 1.45; }
.pcard__foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-2);
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-dim);
}
.pcard__pip {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--purple-2);
  box-shadow: 0 0 10px var(--purple-2);
  animation: pulse-purple 1.6s infinite;
}
@keyframes pulse-purple {
  0%, 100% { opacity: 1; }
  50%      { opacity: .5; }
}
.pcard__pip--pink { background: var(--pink-2); box-shadow: 0 0 10px var(--pink-2); }

.hero__sticker {
  position: absolute;
  right: -14px; top: 296px;
  width: 118px; height: 118px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a0d28;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: .04em;
  text-transform: uppercase;
  transform: rotate(-12deg);
  z-index: 3;
  box-shadow: 0 8px 30px rgba(255,216,74,.4), inset 0 -8px 0 rgba(0,0,0,.08);
  animation: sticker-wobble 6s ease-in-out infinite;
}
@keyframes sticker-wobble {
  0%, 100% { transform: rotate(-12deg) scale(1); }
  50%      { transform: rotate(-8deg) scale(1.05); }
}
.hero__sticker span { display: block; }

/* ============== Marquee strip (under hero) ============== */
.proof {
  position: relative;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(90deg, rgba(176,123,255,.04), rgba(110,240,255,.04));
}
.proof__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof__item {
  padding: 26px 22px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
  transition: background .25s;
}
.proof__item:last-child { border-right: 0; }
.proof__item:hover { background: rgba(255,255,255,.025); }
.proof__item span {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -.025em;
  color: var(--ink);
}
.proof__item:nth-child(1) span { background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof__item:nth-child(2) span { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof__item:nth-child(3) span { background: var(--grad-neon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof__item:nth-child(4) span { background: linear-gradient(135deg, var(--gold), var(--pink-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof__item small {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.4;
}

/* ============== Sections ============== */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 110px 28px 30px;
}
.kicker {
  display: inline-flex;
  align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan-2);
  margin: 0 0 14px;
}
.kicker::before {
  content: '';
  width: 14px; height: 1px;
  background: var(--cyan-2);
  display: inline-block;
}
.h2 {
  font-family: var(--f-display);
  font-size: clamp(30px, 4.3vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 14px;
  max-width: 880px;
}
.h2--showcase { max-width: 720px; }
.lede {
  font-size: 18px;
  color: var(--ink-dim);
  max-width: 700px;
  margin: 0 0 40px;
  line-height: 1.5;
}

/* ============== Mission ============== */
.section--mission { padding-top: 90px; }
.mission {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 44px;
  position: relative;
}
.mission::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 80px; height: 2px;
  background: var(--grad-thryve);
}
.mission__h {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}
.mission__h-accent {
  background: var(--grad-thryve);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
.mission__body p {
  color: var(--ink-dim);
  margin: 0 0 18px;
  font-size: 16.5px;
  line-height: 1.7;
}
.mission__sig {
  font-family: var(--f-mono);
  font-size: 12.5px !important;
  color: var(--ink-faint) !important;
  letter-spacing: .02em;
  border-left: 2px solid;
  border-image: var(--grad-thryve) 1;
  padding-left: 14px;
  margin-top: 24px !important;
}
.mission__sig .state { color: var(--cyan-2); }

/* ============== Showcase ============== */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  margin-top: 14px;
}
.vid {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-2);
  position: relative;
  box-shadow: var(--glow-purple);
  transition: transform .25s, box-shadow .25s;
}
.vid:hover { transform: translateY(-3px); box-shadow: var(--glow-cyan); }
.vid:nth-child(2) { box-shadow: var(--glow-pink); }
.vid:nth-child(2):hover { box-shadow: var(--glow-cyan); }
.vid video {
  width: 100%;
  display: block;
  height: auto;
  background: #000;
  object-fit: contain;
}
/* Per-clip aspect ratio so the figure reserves correct space before metadata loads */
.vid--portrait video { aspect-ratio: 334 / 720; }
.vid--landscape video { aspect-ratio: 720 / 334; }
.vid figcaption {
  padding: 18px 22px 22px;
  position: relative;
}
.vid__game {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan-2);
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(110,240,255,.1);
  border: 1px solid rgba(110,240,255,.3);
}
.vid__quote {
  margin: 0 0 4px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.vid__attr { font-size: 13px; color: var(--ink-faint); }

/* ============== Tournaments ============== */
.section--tour { padding-top: 110px; }
.tour {
  list-style: none;
  padding: 0; margin: 30px 0 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tour__step {
  padding: 28px 24px 24px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  position: relative;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  overflow: hidden;
}
.tour__step::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-thryve);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.tour__step:hover { transform: translateY(-3px); border-color: rgba(176,123,255,.4); box-shadow: var(--glow-purple); }
.tour__step:hover::before { transform: scaleX(1); }
.tour__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -.04em;
  background: var(--grad-cool);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}
.tour__step:nth-child(2) .tour__num { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tour__step:nth-child(3) .tour__num { background: var(--grad-neon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tour__step h3 {
  font-family: var(--f-display);
  font-size: 22px; margin: 0 0 4px;
  font-weight: 700;
  letter-spacing: -.015em;
}
.tour__step p { color: var(--ink-dim); margin: 0; font-size: 15px; line-height: 1.55; }
.tour__step code {
  font-family: var(--f-mono);
  font-size: 13px;
  background: rgba(110,240,255,.1);
  color: var(--cyan-2);
  padding: 1px 6px; border-radius: 5px;
  border: 1px solid rgba(110,240,255,.18);
}
.tour__cta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 20px;
}
.tour__note {
  font-size: 13.5px;
  color: var(--ink-faint);
  font-style: italic;
}

/* ============== Founder ============== */
.section--founder { padding-top: 110px; }
.founder {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px; align-items: start;
  padding: 36px;
  border-radius: 22px;
  background:
    radial-gradient(500px 320px at 0% 0%, rgba(176,123,255,.18), transparent 60%),
    radial-gradient(500px 320px at 100% 100%, rgba(110,240,255,.10), transparent 60%),
    rgba(255,255,255,.025);
  border: 1px solid var(--line-2);
  margin-top: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-purple);
}
.founder__mark {
  width: 220px; height: 220px;
  position: relative;
}
.founder__monogram {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 84px;
  letter-spacing: -.05em;
  background: var(--grad-thryve);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  z-index: 2;
  text-shadow: 0 0 30px rgba(176,123,255,.4);
}
.founder__ring {
  position: absolute; inset: 0;
  border-radius: 30px;
  background: var(--grad-thryve);
  padding: 2px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: ring-rotate 8s linear infinite;
}
@keyframes ring-rotate {
  from { filter: hue-rotate(0deg); }
  to   { filter: hue-rotate(360deg); }
}
.founder__mark::after {
  content: ''; position: absolute; inset: 5px;
  border-radius: 27px;
  background: rgba(7,6,26,.78);
  z-index: 1;
}

.founder__body { padding-top: 8px; }
.founder__body h3 {
  font-family: var(--f-display);
  font-size: 32px; margin: 0 0 4px;
  font-weight: 700; letter-spacing: -.02em;
}
.founder__role {
  color: var(--cyan-2);
  font-family: var(--f-mono); font-size: 12.5px;
  letter-spacing: .08em; text-transform: uppercase;
  margin: 0 0 18px;
}
.founder__sep { color: var(--ink-faint); margin: 0 6px; }
.founder blockquote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 18px;
  padding-left: 16px;
  border-left: 2px solid;
  border-image: var(--grad-thryve) 1;
}
.founder__bio {
  color: var(--ink-dim);
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.6;
}
.founder__meta {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--ink-faint);
  margin: 0;
}
.founder__meta a { color: var(--cyan-2); border-bottom: 1px dotted var(--cyan-2); }
.founder__meta a:hover { color: var(--cyan); }

/* ============== Testimonials ============== */
.section--testi { padding-top: 110px; }
.testi {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
  margin-top: 14px;
}
.testi__big {
  grid-row: 1 / 3;
  margin: 0;
  padding: 36px;
  border-radius: 22px;
  background:
    radial-gradient(500px 360px at 100% 0%, rgba(255,92,184,.20), transparent 65%),
    radial-gradient(500px 360px at 0% 100%, rgba(176,123,255,.15), transparent 65%),
    rgba(255,255,255,.03);
  border: 1px solid var(--line-2);
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--glow-pink);
  position: relative;
  overflow: hidden;
}
.testi__big::before {
  content: '"';
  position: absolute;
  top: -30px; right: 14px;
  font-family: var(--f-display);
  font-size: 220px;
  line-height: .8;
  color: rgba(176,123,255,.18);
  font-weight: 800;
  pointer-events: none;
}
.testi__big blockquote {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 22px;
  position: relative; z-index: 1;
}
.testi__sm {
  margin: 0;
  padding: 26px;
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line-2);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.testi__sm:hover { transform: translateY(-2px); border-color: rgba(110,240,255,.4); box-shadow: var(--glow-cyan); }
.testi__sm blockquote {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-dim);
  margin: 0 0 14px;
}
.testi figcaption strong {
  display: block;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.005em;
  background: var(--grad-cool);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.testi figcaption span {
  font-size: 13px;
  color: var(--ink-faint);
}

/* ============== FAQ ============== */
.section--faq { padding-top: 110px; }
.faq {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  transition: background .2s;
}
.faq details[open] {
  background: linear-gradient(90deg, rgba(176,123,255,.04), transparent);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px;
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--ink);
  transition: color .15s;
  padding: 0 4px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--f-mono);
  font-size: 22px;
  color: var(--ink-faint);
  font-weight: 400;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: transform .25s, color .15s, background .15s, border-color .15s;
  flex-shrink: 0;
}
.faq details[open] summary::after {
  content: '–';
  color: white;
  background: var(--grad-cool);
  border-color: transparent;
  transform: rotate(180deg);
}
.faq summary:hover { color: var(--cyan-2); }
.faq summary:hover::after { color: var(--cyan-2); border-color: var(--cyan-2); }
.faq details p {
  margin: 14px 4px 0;
  color: var(--ink-dim);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 760px;
}
.faq details p code {
  font-family: var(--f-mono);
  font-size: 13.5px;
  background: rgba(110,240,255,.1);
  color: var(--cyan-2);
  padding: 1px 6px; border-radius: 5px;
  border: 1px solid rgba(110,240,255,.18);
}
.faq details p a {
  color: var(--cyan-2);
  border-bottom: 1px dotted var(--cyan-2);
}

/* ============== Support ============== */
.support {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px; align-items: center;
  padding: 48px;
  border-radius: 24px;
  background:
    radial-gradient(600px 360px at 100% 0%, rgba(255,92,184,.20), transparent 60%),
    radial-gradient(600px 360px at 0% 100%, rgba(40,212,255,.16), transparent 60%),
    rgba(255,255,255,.025);
  border: 1px solid var(--line-2);
  margin-top: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-pink);
}
.support__copy h2 { margin: 0 0 14px; }
.support__copy p { color: var(--ink-dim); margin: 0 0 24px; }
.support__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.support__stats {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.support__stats li {
  padding: 24px 22px;
  border-radius: 14px;
  background: rgba(7,6,26,.55);
  border: 1px solid var(--line-2);
  transition: transform .2s, border-color .2s;
}
.support__stats li:hover { transform: translateY(-2px); border-color: rgba(176,123,255,.4); }
.support__stats strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -.025em;
  margin-bottom: 4px;
}
.support__stats li:nth-child(1) strong { background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.support__stats li:nth-child(2) strong { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.support__stats li:nth-child(3) strong { background: var(--grad-neon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.support__stats li:nth-child(4) strong { background: linear-gradient(135deg, var(--gold), var(--pink-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.support__stats span {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-dim);
}

/* ============== Final CTA ============== */
.finalcta {
  text-align: center;
  padding: 110px 28px 130px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.finalcta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(176,123,255,.18), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.finalcta h2 {
  font-family: var(--f-display);
  font-size: clamp(34px, 4.8vw, 60px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 14px;
  background: var(--grad-thryve);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.finalcta p { color: var(--ink-dim); font-size: 18px; margin: 0 0 28px; }
.finalcta__small {
  margin-top: 18px !important;
  font-family: var(--f-mono); font-size: 13px;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-dim);
}

/* ============== Footer ============== */
.foot {
  border-top: 1px solid var(--line);
  padding: 50px 28px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.foot__main {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between;
}
.foot__brand {
  display: flex; align-items: center; gap: 14px;
}
.foot__brand img { filter: drop-shadow(0 0 12px rgba(176,123,255,.45)); }
.foot__brand strong {
  display: block;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.015em;
}
.foot__brand span {
  display: block;
  font-size: 13px;
  color: var(--ink-faint);
}
.foot__links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot__links a { color: var(--ink-dim); transition: color .15s; font-size: 14.5px; }
.foot__links a:hover { color: var(--cyan-2); }

.foot__seo {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.7;
  max-width: 880px;
}
.foot__seo a { color: var(--ink-dim); border-bottom: 1px dotted var(--line-2); }
.foot__seo a:hover { color: var(--ink); }
.foot__seo strong { color: var(--ink-dim); }

.foot__legal {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px;
  font-family: var(--f-mono); font-size: 11.5px;
  color: var(--ink-faint);
}
.foot__sep { opacity: .5; }

/* ============== Responsive ============== */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 50px 22px 30px; gap: 50px; }
  .hero__deck { display: none; }
  .mission { grid-template-columns: 1fr; gap: 28px; }
  .showcase { grid-template-columns: 1fr; }
  .tour { grid-template-columns: 1fr; }
  .testi { grid-template-columns: 1fr; }
  .testi__big { grid-row: auto; }
  .founder { grid-template-columns: 1fr; padding: 28px; }
  .founder__mark { width: 130px; height: 130px; }
  .founder__monogram { font-size: 50px; }
  .founder__mark::after { inset: 4px; border-radius: 22px; }
  .founder__ring { border-radius: 26px; }
  .support { grid-template-columns: 1fr; padding: 28px; }
  .section { padding: 80px 22px 24px; }
  .proof__grid { grid-template-columns: 1fr 1fr; }
  .proof__item:nth-child(2) { border-right: 0; }
  .proof__item:nth-child(1), .proof__item:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .livecount { grid-template-columns: 1fr; }
  .livecount__cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .livecount__cell:last-child { border-bottom: 0; }
  .nav { padding: 14px 16px; }
  .ribbon { font-size: 13px; padding: 9px 12px; flex-wrap: wrap; }
  .nav__cta { display: none; }
  .btn--mega { padding: 17px 22px; font-size: 16px; }
  .support__stats { grid-template-columns: 1fr 1fr; }
  .foot__main { flex-direction: column; align-items: flex-start; }
  .proof__item span { font-size: 30px; }
  .testi__big::before { font-size: 140px; }
}

/* ---- Mobile readability pass ---- */
@media (max-width: 768px) {
  /* Brighten the dim/faint text colors that look gray on phones */
  :root {
    --ink-dim: #d8d4f0;       /* was #b6b1d6 */
    --ink-faint: #a9a4c8;     /* was #7a7595 */
  }
  /* Bump body text */
  body { font-size: 17px; line-height: 1.65; }
  .lede { font-size: 18px; line-height: 1.55; color: var(--ink); }
  .mission__body p,
  .testi__quote,
  .founder__bio,
  .pcard__meta,
  .vid__quote,
  .tour__step p,
  .faq p,
  .support__copy p {
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6;
  }
  /* FAQ summary text ,  clearer on mobile */
  details summary { font-size: 17px; color: var(--ink); }
  /* Footer SEO paragraph */
  .foot__seo { color: var(--ink-dim); font-size: 14.5px; line-height: 1.6; }
  /* Kickers stay small but increase contrast */
  .kicker { color: var(--cyan-2); }
  /* Tournament step labels */
  .tour__step__num,
  .vid__attr,
  .founder__meta {
    color: var(--ink-dim);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-orb, .ribbon__pulse, .livedot, .pcard__pip, .ribbon, .hero__sticker, .founder__ring { animation: none !important; }
  html { scroll-behavior: auto; }
}
