/* ============================================
   PRIME ESPORTS — monochrome system
   ============================================ */

:root {
  --black: #060606;
  --near-black: #111111;
  --white: #F5F5F3;
  --pure-white: #FFFFFF;
  --gray-line: #2A2A2A;
  --gray-line-light: #D8D8D5;
  --gray-mid: #8A8A86;
  --gray-mid-on-light: #5C5C58;

  /* signature accent — used sparingly against the monochrome base */
  --accent: #FFFFFF;
  --accent-dim: #C7C7C3;
  --accent-glow: rgba(255, 255, 255, 0.35);
  --accent-glow-soft: rgba(255, 255, 255, 0.14);
  --accent2: #FFFFFF;
  --accent2-glow: rgba(255, 255, 255, 0.30);

  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

ul, dl { margin: 0; padding: 0; }

::selection {
  background: var(--accent);
  color: var(--black);
}

/* smoother custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--gray-line);
  border: 2px solid var(--black);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dim);
}
html {
  scrollbar-color: var(--gray-line) var(--black);
  scrollbar-width: thin;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  box-shadow: 0 0 12px var(--accent-glow);
  z-index: 1500;
  transition: width 0.15s linear;
}

:focus-visible {
  outline: 2px solid var(--pure-white);
  outline-offset: 3px;
}

/* scroll reveal — one consistent, gentle rhythm, not a per-element show-off */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* subtle grain texture, sits above bg, below content */
.noise {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px 32px;
}

.section-invert {
  max-width: none;
  background: var(--white);
  color: var(--black);
  padding: 96px 32px;
}

.section-invert > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  max-width: 560px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--gray-mid);
  font-size: 17px;
}

.section-invert .section-head p {
  color: var(--gray-mid-on-light);
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--pure-white);
  transition: background 0.35s var(--ease-smooth), color 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth), border-color 0.35s var(--ease-smooth);
  cursor: pointer;
  position: relative;
}

.icon-discord {
  width: 18px;
  height: 14px;
  flex-shrink: 0;
}

.nav-cta .icon-discord {
  width: 16px;
  height: 12px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-solid {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
}

.btn-solid:hover {
  background: var(--pure-white);
  border-color: var(--pure-white);
  color: var(--black);
  box-shadow: 0 8px 32px -8px var(--accent-glow);
}

.btn-line {
  background: transparent;
  color: var(--pure-white);
}

.btn-line:hover {
  background: var(--pure-white);
  color: var(--black);
}

.btn-ghost {
  border-color: var(--gray-line);
  color: var(--white);
  padding: 10px 20px;
  font-size: 14px;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============ HEADER ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  background: rgba(6, 6, 6, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  transition: transform 0.5s var(--ease-smooth);
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.06);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 14px;
  color: var(--gray-mid);
  transition: color 0.35s var(--ease-smooth);
  position: relative;
  padding-bottom: 2px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-smooth);
}

.main-nav a:hover {
  color: var(--pure-white);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 860px) {
  .main-nav { display: none; }
}

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-line);
}

.hero-bg {
  position: absolute;
  inset: -10% 0 0 0;
  background:
    linear-gradient(180deg, rgba(6,6,6,0.35) 0%, rgba(6,6,6,0.85) 78%, var(--black) 100%),
    url('arena.jpg') center 30% / cover no-repeat;
  filter: grayscale(1) contrast(1.15);
  will-change: transform;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease-smooth);
  background: radial-gradient(
    520px circle at var(--x, 50%) var(--y, 50%),
    var(--accent-glow-soft),
    transparent 70%
  );
}

.hero.glow-active .hero-glow {
  opacity: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle, var(--accent2-glow), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 200px 32px 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--gray-mid);
  margin-bottom: 16px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--white);
  border: 1px solid var(--gray-line);
  padding: 6px 14px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.05);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-mid);
  margin-bottom: 14px;
}

.section-invert .eyebrow {
  color: var(--gray-mid-on-light);
}

.hero-title {
  font-size: clamp(56px, 12vw, 128px);
  line-height: 0.92;
  margin-bottom: 28px;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line span,
.hero-title .line {
  animation: reveal-up 0.9s var(--ease) both;
}

.hero-title .line:nth-child(2) {
  animation-delay: 0.1s;
  background: linear-gradient(100deg, var(--pure-white) 30%, var(--accent) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes reveal-up {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}

.hero-sub {
  max-width: 480px;
  font-size: 17px;
  color: var(--gray-mid);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.stat-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gray-line);
}

.stat {
  padding: 24px 32px;
  border-right: 1px solid var(--gray-line);
  border-top: 2px solid transparent;
  transition: border-color 0.4s var(--ease-smooth);
}

.stat:hover {
  border-top-color: var(--accent);
}

.stat:last-child { border-right: none; }

.stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--gray-mid);
  margin-top: 4px;
}

@media (max-width: 700px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .hero-content { padding-top: 140px; }
}

/* ============ MARQUEE ============ */

.marquee {
  border-bottom: 1px solid var(--gray-line);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 40px;
  animation: scroll-left 160s linear infinite;
}

.marquee-track span {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-mid);
  white-space: nowrap;
}

.marquee-track span::after {
  content: '//';
  margin-left: 40px;
  color: var(--accent-dim);
}

.marquee-track span:last-child::after {
  content: none;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ DIVISIONS ============ */

.division-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-line);
  border: 1px solid var(--gray-line);
}

.division-card {
  background: var(--black);
  padding: 32px;
  position: relative;
  transition: background 0.5s var(--ease-smooth), color 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
}

.division-card:hover {
  background: var(--pure-white);
  color: var(--black);
  box-shadow: inset 0 3px 0 var(--accent), 0 24px 48px -24px var(--accent-glow);
  z-index: 1;
}

.division-card:hover .division-tag {
  background: var(--black);
  color: var(--accent);
}

.division-card:hover .division-slots {
  color: var(--accent-dim);
}

.division-card:hover dt {
  color: var(--gray-mid-on-light);
}

.division-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.division-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--pure-white);
  color: var(--black);
  padding: 4px 10px;
  transition: background var(--ease) 0.3s, color var(--ease) 0.3s;
}

.division-slots {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--accent);
}

.division-card h3 {
  font-size: 22px;
  margin-bottom: 24px;
}

.division-meta div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--gray-line);
  font-size: 14px;
}

.division-card:hover .division-meta div {
  border-top-color: var(--gray-line-light);
}

.division-meta dt {
  color: var(--gray-mid);
}

@media (max-width: 800px) {
  .division-grid { grid-template-columns: 1fr; }
}

/* ============ STRUCTURE ============ */

.structure-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 40px;
}

.structure-item h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.structure-item p {
  color: var(--gray-mid-on-light);
  font-size: 15px;
}

@media (max-width: 700px) {
  .structure-grid { grid-template-columns: 1fr; }
}

/* ============ HIGHLIGHT REEL ============ */

.clip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.clip-grid-video {
  grid-template-columns: repeat(4, 1fr);
}

.clip-card h3 {
  font-size: 16px;
  margin: 14px 0 6px;
}

.clip-desc {
  color: var(--gray-mid);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 8px;
}

.clip-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--near-black);
  border: 1px solid var(--gray-line);
  transition: border-color 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}

.clip-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.clip-thumb.has-video::before {
  opacity: 0;
}

.clip-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  background: var(--black);
}


.clip-card:hover .clip-thumb {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -20px var(--accent-glow);
}

.clip-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.35s var(--ease-pop), background 0.35s var(--ease-smooth), opacity 0.25s var(--ease);
  z-index: 2;
}

.clip-play svg {
  width: 20px;
  height: 20px;
  fill: var(--black);
  margin-left: 2px;
}

.clip-card:hover .clip-play {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--accent);
}

.clip-thumb.is-playing .clip-play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8);
}

.clip-thumb.is-playing .clip-duration {
  opacity: 0;
}

.clip-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.65);
  padding: 3px 7px;
  z-index: 1;
  transition: opacity 0.25s var(--ease);
}

.clip-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-mid);
}

.clip-note {
  margin-top: 32px;
  font-size: 13px;
  color: var(--gray-mid);
}

@media (max-width: 900px) {
  .clip-grid { grid-template-columns: repeat(2, 1fr); }
  .clip-grid-video { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .clip-grid { grid-template-columns: 1fr; gap: 32px; }
  .clip-grid-video { grid-template-columns: 1fr; gap: 32px; }
}

/* ============ TEAM ============ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-line-light);
  border: 1px solid var(--gray-line-light);
}

.team-card {
  background: var(--white);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  transition: background 0.4s var(--ease-smooth);
}

.team-card:hover {
  background: var(--black);
}

.team-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  background: linear-gradient(135deg, var(--avatar-a), var(--avatar-b));
  margin-bottom: 18px;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-mid-on-light);
  transition: color 0.4s var(--ease-smooth);
}

.team-card:hover .team-role {
  color: var(--accent);
}

.team-card h3 {
  font-size: 22px;
  color: var(--black);
  margin: 6px 0 10px;
  transition: color 0.4s var(--ease-smooth);
}

.team-card:hover h3 {
  color: var(--pure-white);
}

.team-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-mid-on-light);
  transition: color 0.4s var(--ease-smooth);
}

.team-card:hover .team-desc {
  color: var(--white);
}

@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ============ VOICES ============ */

.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-line-light);
  border: 1px solid var(--gray-line-light);
}

.voice-card {
  background: var(--white);
  margin: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.voice-card p {
  font-size: 16px;
  line-height: 1.6;
}

.voice-card cite {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-mid-on-light);
  font-style: normal;
}

@media (max-width: 900px) {
  .voices-grid { grid-template-columns: 1fr; }
}

/* ============ REFLEX CHECK ============ */

.reflex-widget {
  position: relative;
  border: 1px solid var(--gray-line);
  background: var(--near-black);
  box-shadow: 0 40px 80px -48px rgba(255, 255, 255, 0.12);
}

.reflex-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent2), var(--accent) 55%, var(--accent2));
  z-index: 2;
}

.reflex-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--gray-line);
}

.reflex-stat {
  padding: 20px;
  text-align: center;
  border-right: 1px solid var(--gray-line);
  transition: background 0.3s var(--ease);
}

.reflex-stat:last-child { border-right: none; }

.reflex-stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 30px;
  transition: color 0.2s var(--ease), text-shadow 0.2s var(--ease);
}

#reflex-score.is-scoring {
  color: var(--accent);
  text-shadow: 0 0 18px var(--accent-glow);
}

.reflex-stat-time .reflex-stat-value {
  color: var(--white);
}

.reflex-stat-time.is-low .reflex-stat-value {
  color: #FF5C5C;
  text-shadow: 0 0 16px rgba(255, 92, 92, 0.45);
}

.reflex-stat-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-top: 4px;
}

.reflex-arena {
  position: relative;
  height: 380px;
  background:
    radial-gradient(560px circle at 50% 40%, rgba(255, 255, 255, 0.10), transparent 70%),
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px),
    var(--black);
  background-size: auto, 28px 28px, 28px 28px, auto;
  overflow: hidden;
  cursor: none;
}

.reflex-arena-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(220px circle at var(--cx, 50%) var(--cy, 50%), var(--accent-glow-soft), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: 1;
}

.reflex-arena.is-live .reflex-arena-glow {
  opacity: 1;
}

/* custom crosshair cursor, positioned via JS transform */
.reflex-crosshair {
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  pointer-events: none;
  z-index: 30;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.reflex-arena.is-live .reflex-crosshair {
  opacity: 1;
}

.reflex-crosshair::before,
.reflex-crosshair::after {
  content: '';
  position: absolute;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}

.reflex-crosshair::before {
  left: 50%;
  top: 2px;
  bottom: 2px;
  width: 2px;
  transform: translateX(-50%);
}

.reflex-crosshair::after {
  top: 50%;
  left: 2px;
  right: 2px;
  height: 2px;
  transform: translateY(-50%);
}

.reflex-crosshair-ring {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.reflex-start {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--pure-white), #d9d9d9);
  color: var(--black);
  border: none;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 20px 60px -20px var(--accent-glow);
  transition: transform 0.35s var(--ease-pop), box-shadow 0.35s var(--ease-smooth);
}

.reflex-start-ring {
  position: absolute;
  inset: -10px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0.6;
  animation: reflex-ring-pulse 2.2s var(--ease) infinite;
}

.reflex-start-label {
  position: relative;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.reflex-start:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 0 1px var(--accent), 0 24px 70px -18px var(--accent-glow);
}

@keyframes reflex-ring-pulse {
  0% { transform: scale(0.92); opacity: 0.7; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

.reflex-combo {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  z-index: 6;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent-glow);
  opacity: 0;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease-pop);
  pointer-events: none;
}

.reflex-combo.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.reflex-target {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04) 65%, transparent 70%);
  box-shadow: 0 0 0 0 var(--accent-glow), 0 0 22px -2px var(--accent-glow);
  cursor: none;
  animation: target-pop 0.22s var(--ease-pop);
  padding: 0;
  z-index: 2;
}

.reflex-target::before {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.reflex-target::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid var(--accent-glow-soft);
  border-radius: 50%;
  animation: target-ring-fade 1.4s linear infinite;
}

.reflex-target:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 4px var(--accent-glow-soft), 0 0 30px -2px var(--accent-glow);
}

@keyframes target-pop {
  from { transform: scale(0.3); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes target-ring-fade {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* hit feedback: particle burst + floating score */
.reflex-hit-fx {
  position: absolute;
  width: 6px;
  height: 6px;
  z-index: 4;
  pointer-events: none;
}

.reflex-particle {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
  animation: reflex-particle-fly 0.5s var(--ease-smooth) forwards;
}

@keyframes reflex-particle-fly {
  from { transform: translate(0, 0) scale(1); opacity: 1; }
  to { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; }
}

.reflex-hit-score {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
  animation: reflex-score-float 0.6s var(--ease-smooth) forwards;
}

@keyframes reflex-score-float {
  from { transform: translate(-50%, 0); opacity: 1; }
  to { transform: translate(-50%, -32px); opacity: 0; }
}

.reflex-result {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: radial-gradient(480px circle at 50% 40%, rgba(255, 255, 255, 0.08), transparent 70%), var(--black);
  z-index: 10;
  animation: reflex-result-in 0.4s var(--ease-smooth);
}

@keyframes reflex-result-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reflex-result-score {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--pure-white);
}

.reflex-result-score span {
  color: var(--accent);
}

.reflex-result p {
  color: var(--gray-mid);
  font-size: 14px;
  margin-bottom: 8px;
}

.reflex-result .reflex-start {
  position: static;
  transform: none;
  width: auto;
  height: auto;
  border-radius: 0;
  padding: 14px 30px;
  background: var(--accent);
  box-shadow: none;
  margin-top: 12px;
}

.reflex-result .reflex-start-ring { display: none; }

.reflex-result .reflex-start:hover {
  transform: translateY(-2px) scale(1);
  background: var(--pure-white);
}

@media (prefers-reduced-motion: reduce) {
  .reflex-target,
  .reflex-target::after,
  .reflex-start-ring,
  .reflex-particle,
  .reflex-hit-score { animation: none; }
}

@media (max-width: 700px) {
  .reflex-arena { cursor: auto; }
  .reflex-crosshair { display: none; }
}

/* ============ EDIT COURSE ============ */

.edit-widget {
  position: relative;
  border: 1px solid var(--gray-line);
  background: var(--near-black);
  box-shadow: 0 40px 80px -48px rgba(255, 255, 255, 0.12);
  padding: 32px;
}

.edit-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.edit-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--gray-line);
  margin-bottom: 28px;
}

.edit-stat {
  padding: 18px;
  text-align: center;
  border-right: 1px solid var(--gray-line);
}

.edit-stat:last-child { border-right: none; }

.edit-stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--white);
}

.edit-stat-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-top: 4px;
}

.edit-sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px dashed var(--gray-line);
  margin-bottom: 28px;
}

.edit-seq-empty {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-mid);
}

.edit-seq-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gray-line);
  color: var(--gray-mid);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease-pop), background 0.2s var(--ease);
}

.edit-seq-icon svg {
  width: 20px;
  height: 20px;
}

.edit-seq-icon.is-current {
  color: var(--black);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 16px -2px var(--accent-glow);
}

.edit-seq-icon.is-done {
  color: var(--accent-dim);
  border-color: var(--accent-dim);
}

.edit-seq-icon.is-error {
  color: #FF5C5C;
  border-color: #FF5C5C;
  transform: translateX(2px);
}

.edit-pad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.edit-key {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 8px;
  background: var(--black);
  border: 1px solid var(--gray-line);
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.25s var(--ease-smooth), background 0.25s var(--ease-smooth), transform 0.15s var(--ease-pop);
  font-family: var(--font-mono);
  font-size: 12px;
}

.edit-key svg {
  width: 22px;
  height: 22px;
}

.edit-key:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.edit-key:active {
  transform: scale(0.94);
}

.edit-start {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: var(--black);
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.3s var(--ease-pop), background 0.3s var(--ease-smooth);
}

.edit-start:hover {
  transform: translateY(-2px);
  background: var(--pure-white);
}

@media (max-width: 560px) {
  .edit-widget { padding: 22px; }
  .edit-pad { gap: 8px; }
  .edit-key { padding: 14px 4px; font-size: 11px; }
}

/* ============ TRYOUTS ============ */

.tryouts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.tryouts-col h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.check-list li {
  list-style: none;
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--gray-line);
  font-size: 15px;
  color: var(--gray-mid);
  position: relative;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 19px;
  width: 12px;
  height: 2px;
  background: var(--accent);
}

@media (max-width: 700px) {
  .tryouts-grid { grid-template-columns: 1fr; gap: 32px; }
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--gray-line);
  padding-top: 40px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  border: 1px solid var(--gray-line);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color 0.3s var(--ease-smooth);
}

.step:hover .step-index {
  border-color: var(--accent);
}

.step p {
  font-size: 15px;
  padding-top: 4px;
}

@media (max-width: 700px) {
  .steps-row { grid-template-columns: 1fr; }
}

/* ============ FAQ ============ */

.faq-list {
  border-top: 1px solid var(--gray-line);
}

.faq-item {
  border-bottom: 1px solid var(--gray-line);
  padding: 22px 0;
}

.faq-item summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--gray-mid);
  transition: transform var(--ease) 0.25s, color var(--ease) 0.25s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-item p {
  margin-top: 14px;
  color: var(--gray-mid);
  font-size: 15px;
  max-width: 620px;
}

/* ============ FINAL CTA ============ */

.final-cta {
  position: relative;
  text-align: center;
  padding: 120px 32px;
  border-top: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow-soft), transparent 65%);
  pointer-events: none;
}

.final-cta > * {
  position: relative;
}

.final-cta h2 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 16px;
}

.final-cta p {
  color: var(--gray-mid);
  font-size: 16px;
  max-width: 460px;
  margin: 0 auto 32px;
}

.discord-handle {
  display: block;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-mid);
}

/* ============ FOOTER ============ */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-mid);
}
