/* ==========================================
   ORION GAMING — style.css
   ========================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #0a0a0a;
  --white: #f4f1eb;
  --accent: #25bec0;
  --accent-bright: #68fdfe;
  --accent-deep: #04252a;
  --accent-rgb: 37, 190, 192;
  --accent-gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  --gray: #1c1c1c;
  --muted: #6b6b6b;
  --nav-h: 68px;
}

html { scroll-behavior: smooth; }

/* The header is fixed, so an anchor would otherwise drop its target
   straight underneath it and look like the link did nothing. */
section[id],
header[id],
main[id] {
  scroll-margin-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 1.5rem);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 10000;
  transform: translateY(-150%);
  background: var(--accent);
  color: var(--black);
  padding: 0.75rem 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ---- NAV ----
   A solid bar pinned to the top of every page. The blur sits on a
   pseudo-element on purpose: backdrop-filter on the bar itself would
   make it the containing block of the mobile menu, which is fixed. */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: max(clamp(1rem, 4vw, 4rem), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(1rem, 4vw, 4rem), env(safe-area-inset-right, 0px));
}
nav::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 10, 10, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(244,241,235,0.08);
  transition: background 0.25s ease, border-color 0.25s ease;
}
nav.nav-scrolled::before {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: rgba(var(--accent-rgb), 0.28);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
nav > .nav-links { margin-left: auto; }
.nav-links a {
  color: rgba(244,241,235,0.78);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding: 0.6rem 0;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a::after {
  content: '';
  position: absolute; bottom: 0.25rem; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-tools {
  display: flex; align-items: center; gap: 0.5rem;
  flex-shrink: 0;
}
.lang-switch {
  display: inline-flex;
  padding: 2px;
  border: 1px solid rgba(244,241,235,0.18);
  border-radius: 999px;
}
.lang-switch button {
  min-width: 40px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(244,241,235,0.6);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch button:hover { color: var(--white); }
/* The active language reads as brushed turquoise metal: a chrome band
   across the middle, a gloss on the top half and a soft glow. */
.lang-switch button[aria-pressed="true"] {
  color: var(--accent-deep);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.08) 48%, rgba(0,0,0,0.14) 52%, rgba(255,255,255,0.16) 100%),
    linear-gradient(120deg, #13777a 0%, var(--accent) 22%, #c9feff 48%, var(--accent-bright) 58%, var(--accent) 78%, #0e5d60 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.65),
    inset 0 -1px 0 rgba(0,0,0,0.3),
    0 0 14px rgba(var(--accent-rgb), 0.35);
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-overlay {
  display: none;
}
.nav-socials {
  display: none;
}
html.nav-open,
html.nav-open body {
  overflow: hidden;
}
.social-placeholder {
  color: rgba(244,241,235,0.28);
  cursor: default;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  /* The header is fixed, so without a top pad the hero tag slides under
     the logo on a short window — flex-end only holds while the content
     is shorter than the box. */
  padding: 8rem clamp(1rem, 4vw, 4rem) 5rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, var(--accent-deep) 0%, transparent 60%);
}
.hero-ticker {
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-gradient);
}
.hero-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(120px, 22vw, 320px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244,241,235,0.08);
  position: absolute;
  right: -2rem; top: 50%;
  transform: translateY(-50%);
  user-select: none;
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(-50%) rotate(-2deg); }
  50% { transform: translateY(-53%) rotate(1deg); }
}
.hero-tag {
  display: inline-block;
  background: var(--accent-gradient);
  color: var(--black);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  font-weight: 600;
  margin-bottom: 2rem;
  width: fit-content;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 10vw, 140px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  max-width: 900px;
  position: relative;
  z-index: 1;
}
.hero-title .line-accent { color: var(--accent); }
.hero-bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-top: 3rem;
  position: relative; z-index: 1;
}
.hero-desc {
  max-width: 380px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(244,241,235,0.6);
}
.hero-cta { display: flex; align-items: center; gap: 1.5rem; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.8rem;
  background: var(--accent-gradient);
  color: var(--black);
  padding: 1rem 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.btn-primary:hover { transform: translate(-3px, -3px); }
.btn-primary .arrow { font-size: 1.1rem; transition: transform 0.2s; }
.btn-primary:hover .arrow { transform: translate(4px, -4px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.8rem;
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(244,241,235,0.3);
  padding-bottom: 4px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
/* inline-flex ignores text-align, so centring needs justify-content. */
.btn-ghost-fill,
.btn-primary-fill {
  flex: 1;
  justify-content: center;
  text-align: center;
}

/* ---- MARQUEE ---- */
.marquee-section {
  padding: 2rem 0;
  border-top: 1px solid rgba(244,241,235,0.08);
  border-bottom: 1px solid rgba(244,241,235,0.08);
  overflow: hidden;
  background: var(--gray);
}
.marquee-track {
  display: flex; gap: 4rem;
  animation: marquee 20s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  color: rgba(244,241,235,0.35);
  white-space: nowrap;
  display: flex; align-items: center; gap: 4rem;
}
.marquee-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- SECTION SHARED ---- */
.section-label {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2rem;
}
.section-label span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-label::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--accent-gradient);
}

/* ---- ABOUT ---- */
.about {
  padding: 10rem clamp(1rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 6vw, 90px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 3rem;
}
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.stat-item { border-left: 2px solid var(--accent); padding-left: 1.5rem; }
.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  letter-spacing: 0.05em;
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}
.about-right p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(244,241,235,0.65);
  margin-bottom: 1.5rem;
}
.about-right p strong { color: var(--white); font-weight: 400; }

/* ---- NEWS / ANNOUNCEMENTS ---- */
.news {
  padding: 8rem clamp(1rem, 4vw, 4rem);
  background: var(--black);
}
.news-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 5rem;
}
.news-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 7vw, 100px);
  line-height: 0.9;
  letter-spacing: 0.02em;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.news-card {
  background: var(--gray);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
  display: flex;
  flex-direction: column;
}
.news-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.news-card:hover::before,
.news-card:focus-within::before { transform: scaleX(1); }
.news-card:hover,
.news-card:focus-within { background: #242424; }
.news-tag {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  min-height: 1.2rem;
}
.news-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.news-card-date {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.4);
  margin-bottom: 1rem;
}
.news-card-body {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(244,241,235,0.6);
  flex: 1;
}
.no-news {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(244,241,235,0.3);
  font-size: 0.9rem;
}
.news-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding-top: 2.5rem;
}

/* ---- SERVICES / TOURNAMENTS ---- */
.services {
  padding: 8rem clamp(1rem, 4vw, 4rem);
  background: var(--gray);
}
.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 5rem;
}
.services-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 7vw, 100px);
  line-height: 0.9;
  letter-spacing: 0.02em;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.tcard {
  background: var(--black);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}
.tcard-body {
  padding: 1.75rem 2.2rem 2.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Artwork header. Matcherino images vary wildly in composition, so the
   gradient is what guarantees the status pill and date stay legible. */
.tcard-media {
  position: relative;
  aspect-ratio: 24 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-deep) 0%, #0a0a0a 70%);
}
.tcard-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  /* The same artwork repeats across a series; muting it stops the grid
     reading as one image duplicated. */
  filter: saturate(0.8) brightness(0.85);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.tcard:hover .tcard-banner { filter: saturate(1) brightness(1); }
.tcard:hover .tcard-banner { transform: scale(1.04); }
.tcard-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 40%, rgba(10,10,10,0.98) 100%),
    linear-gradient(to right, rgba(10,10,10,0.6) 0%, transparent 35%);
  pointer-events: none;
}
.tcard-media-empty::before {
  content: '';
  position: absolute; inset: 0;
  background: url('images/orion-constellation.svg') no-repeat center / 70% auto;
  opacity: 0.5;
}
.tcard::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.tcard:hover::before,
.tcard:focus-within::before { transform: scaleX(1); }
.tcard:hover,
.tcard:focus-within { background: #111; }

.tcard-status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(4px);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.tcard-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.tcard-status-upcoming { color: var(--accent); }
.tcard-status-live { color: #00ff88; }
.tcard-status-live .tcard-dot { animation: tcard-pulse 1.6s ease-in-out infinite; }
.tcard-status-ended { color: rgba(244,241,235,0.35); }
@keyframes tcard-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.5); }
}
.tcard-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(4px);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.8);
  white-space: nowrap;
}

.tcard-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  line-height: 1.02;
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem;
  /* Synced names run long; three lines keeps every card the same shape. */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tcard-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
}
.tcard-stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: 0.02em;
}
.tcard-stat-cash { color: var(--accent); }
.tcard-stat-soft { color: rgba(244,241,235,0.75); font-size: 1.7rem; }
.tcard-stat-label {
  margin-top: 0.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.35);
}

.tcard-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.tcard-chip {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.5);
  border: 1px solid rgba(244,241,235,0.12);
  padding: 0.25rem 0.6rem;
}
.tcard-chip-pin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  border-color: rgba(37, 190, 192, 0.35);
}
.tcard-chip-icon {
  width: 12px;
  height: 12px;
  color: currentColor;
  flex-shrink: 0;
}
.tcard-winner {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-left: 2px solid var(--accent);
  padding-left: 0.85rem;
  margin-bottom: 1.5rem;
}
.tcard-winner-label {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.tcard-winner-name {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--white);
  overflow-wrap: anywhere;
}

.tcard-actions {
  margin-top: auto;
  display: flex;
  align-items: stretch;
  gap: 0.6rem;
}
.tcard-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  border: 1px solid rgba(244,241,235,0.18);
  background: transparent;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.tcard-btn:hover { border-color: var(--accent); color: var(--accent); }
.tcard-btn-primary {
  background: var(--accent-gradient);
  border-color: var(--accent);
  color: var(--black);
}
.tcard-btn-primary:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.tcard-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  flex-shrink: 0;
  border: 1px solid rgba(244,241,235,0.18);
  color: rgba(244,241,235,0.55);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.tcard-icon svg { width: 17px; height: 17px; }
.tcard-icon:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 900px) {
  .tcard { cursor: pointer; }
  .tcard-body { padding: 1.5rem 1.5rem 1.75rem; }
  /* 44px is the smallest target a thumb hits reliably. */
  .tcard-btn, .tcard-icon { cursor: pointer; min-height: 44px; }
  .tcard-name { font-size: 1.7rem; }
  .tcard-stats { gap: 2rem; }
}
@media (max-width: 640px) {
  .tcard-body { padding: 1.25rem 1.25rem 1.5rem; }
  .tcard-stat-value { font-size: 2.1rem; }
}

.no-tournaments {
  grid-column: 1/-1;
  text-align: center;
  padding: 4rem;
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.tournaments-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding-top: 2.5rem;
}
.tournaments-show-more {
  border: 0;
  min-width: 190px;
  justify-content: center;
}

/* ---- PARTNERS ---- */
.partners {
  padding: 8rem clamp(1rem, 4vw, 4rem);
  background: var(--black);
}
.partners-header { margin-bottom: 4.5rem; }
.partners-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 7vw, 100px);
  line-height: 0.9;
}

/* One wide card per partnership, stacked: the mark on the left, what the
   partnership is on the right. The logo wall above already covers "who";
   this is the "what". */
.partners-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.partner-card {
  display: grid;
  grid-template-columns: minmax(220px, 32%) 1fr;
  background: var(--gray);
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}
.partner-card:hover { background: #222; }
.partner-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.partner-card:hover::after,
.partner-card:focus-within::after { transform: scaleX(1); }

.partner-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  min-height: 220px;
}
.partner-logo {
  /* Tight on both axes, so a wide mark like Breakday's does not dwarf
     the square ones next to it. */
  max-width: 42%;
  max-height: 84px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.partner-card:hover .partner-logo { transform: scale(1.05); }
.partner-wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.06em;
  color: rgba(244,241,235,0.7);
}

.partner-body {
  padding: 2.6rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.partner-role {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.partner-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: 0.04em;
  line-height: 1;
}
.partner-desc {
  margin-top: 0.9rem;
  max-width: 620px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(244,241,235,0.6);
}
.partner-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.2rem;
}
.partner-chip {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.65);
  border: 1px solid rgba(244,241,235,0.14);
  padding: 0.3rem 0.65rem;
}
.partner-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 1.6rem;
}
.partner-link {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.55);
  text-decoration: none;
  border-bottom: 1px solid rgba(244,241,235,0.2);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.partner-link:hover { color: var(--accent); border-color: var(--accent); }
.partner-link-primary {
  color: var(--black);
  background: var(--accent-gradient);
  border-bottom: 0;
  padding: 0.65rem 1.1rem;
  font-weight: 600;
}
.partner-link-primary:hover { color: var(--black); filter: brightness(1.08); }

@media (max-width: 900px) {
  .partner-card { grid-template-columns: 1fr; cursor: pointer; }
  .partner-media { min-height: 160px; padding: 2rem; }
  .partner-body { padding: 2rem 1.5rem 2.2rem; }
}

/* ---- WORKS ---- */
.works { padding: 10rem clamp(1rem, 4vw, 4rem); }
.works[hidden] { display: none; }
.works-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 5rem;
}
.works-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 7vw, 100px);
  line-height: 0.9;
}
.works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.work-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray);
}
.work-item:first-child { grid-column: span 2; aspect-ratio: 16/7; }
.work-bg { position: absolute; inset: 0; transition: transform 0.6s ease; }
.work-item:hover .work-bg { transform: scale(1.05); }
.work-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.work-item:hover .work-overlay,
.work-item:focus-within .work-overlay { opacity: 1; }
.work-cat {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.work-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.05em;
}
.work-bg-1 { background: linear-gradient(135deg, #001428 0%, #002d56 50%, #001a00 100%); }
.work-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 10vw, 120px);
  color: rgba(244,241,235,0.04);
  letter-spacing: 0.1em;
}

/* ---- TEAM ---- */
.team { padding: 8rem clamp(1rem, 4vw, 4rem); background: var(--gray); }
.team-header { margin-bottom: 4.5rem; }
.team-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 7vw, 100px);
  line-height: 0.9;
}

/* Groups stack; each lays its members out in a tight grid, so a staff
   of twenty takes the room four portrait cards used to. */
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}
.team-group-head {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(244,241,235,0.08);
}
.team-group-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  line-height: 1;
}
.team-group-count {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.team-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 2px;
}

.member-card {
  background: var(--black);
  padding: 2rem 1.25rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}
.member-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.member-card:hover { background: #111; }
.member-card:hover::after,
.member-card:focus-within::after { transform: scaleX(1); }

.member-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  /* A thin ring that lights up in the brand colour on hover. */
  box-shadow: 0 0 0 3px var(--black), 0 0 0 4px rgba(var(--accent-rgb), 0.3);
  transition: box-shadow 0.3s ease;
}
.member-card:hover .member-avatar {
  box-shadow: 0 0 0 3px var(--black), 0 0 0 4px var(--accent);
}
.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.member-avatar span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  letter-spacing: 0.05em;
  color: rgba(244,241,235,0.55);
}
.member-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.member-role {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.member-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1.1rem;
}
.social-link {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244,241,235,0.2);
  color: rgba(244,241,235,0.75);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.social-link svg { width: 17px; height: 17px; }
.social-link:hover {
  color: var(--black);
  background: var(--accent);
  border-color: var(--accent);
}

/* ---- TRUSTED BY ---- */
.trusted {
  padding: 5.5rem clamp(1rem, 4vw, 4rem);
  background: var(--black);
  border-top: 1px solid rgba(244,241,235,0.06);
}
.trusted[hidden] { display: none; }
/* Label over title, left-aligned, like every other section header. */
.trusted-header { margin-bottom: 2.5rem; }
.trusted-header .section-label { margin-bottom: 1rem; }
.trusted-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.95;
  letter-spacing: 0.02em;
}
/* Up to six per row, and a short last row is centred instead of leaving
   a ragged hole — the wall grows one collaborator at a time, so no single
   column count divides it evenly for long. */
.trusted-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
}
.trusted-grid > .trusted-item {
  flex: 0 0 calc((100% - 5 * 2px) / 6);
}
.trusted-item {
  background: var(--gray);
  min-height: 128px;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  position: relative;
  transition: background 0.3s ease;
}
.trusted-item:hover { background: #242424; }
/* Logos sit muted so a mixed set reads as one wall; each comes to full
   colour when pointed at. */
.trusted-logo {
  height: 42px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  filter: grayscale(1) brightness(1.5);
  opacity: 0.55;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.trusted-item:hover .trusted-logo { filter: none; opacity: 1; }
.trusted-name {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.4);
  transition: color 0.3s ease;
}
.trusted-item:hover .trusted-name { color: var(--accent); }
.trusted-wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: center;
  color: rgba(244,241,235,0.5);
  transition: color 0.3s ease;
}
.trusted-item:hover .trusted-wordmark { color: var(--accent); }
/* Ongoing partners, as opposed to past collaborations. */
.trusted-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--accent-gradient);
  padding: 0.22rem 0.5rem;
}

@media (max-width: 900px) {
  .trusted { padding: 4.5rem 2rem; }
  .trusted-grid > .trusted-item { flex-basis: calc((100% - 2px) / 2); }
  .team-group-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .member-card { padding: 1.6rem 0.9rem 1.3rem; cursor: pointer; }
  .member-avatar { width: 76px; height: 76px; }
  /* 44px is the smallest target a thumb hits reliably. */
  .social-link { width: 40px; height: 40px; }
}
@media (max-width: 640px) {
  .trusted { padding-left: 1rem; padding-right: 1rem; }

  .team-group-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- CTA ---- */
.cta-section {
  padding: 10rem clamp(1rem, 4vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg-text {
  position: absolute;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(100px, 18vw, 260px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(244,241,235,0.04);
  white-space: nowrap;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  user-select: none;
  pointer-events: none;
  letter-spacing: 0.05em;
}
.cta-tag {
  display: inline-block;
  background: rgba(37, 190, 192, 0.1);
  color: var(--accent);
  border: 1px solid rgba(37, 190, 192, 0.3);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  margin-bottom: 2.5rem;
}
.cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 10vw, 150px);
  line-height: 0.9;
  margin-bottom: 2rem;
  position: relative; z-index: 1;
}
.cta-sub {
  font-size: 1.1rem;
  color: rgba(244,241,235,0.5);
  max-width: 500px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  position: relative; z-index: 1;
}
.cta-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem;
  position: relative; z-index: 1;
}

/* ---- FOOTER ---- */
footer {
  padding: 4rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid rgba(244,241,235,0.08);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--gray);
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.1em;
}
.footer-social { display: flex; gap: 2rem; }
.footer-social a,
.footer-social .social-placeholder {
  color: rgba(244,241,235,0.4);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--accent); }
.footer-social .social-placeholder { color: rgba(244,241,235,0.25); }
.footer-copy {
  font-size: 0.78rem;
  color: rgba(244,241,235,0.25);
  letter-spacing: 0.05em;
}

/* ---- HERO COUNTDOWN ---- */
.hero-countdown[hidden] { display: none; }
.hero-countdown {
  display: flex; align-items: center; gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(37, 190, 192, 0.3);
  background: rgba(37, 190, 192, 0.06);
  width: fit-content;
  position: relative;
  z-index: 1;
}
.countdown-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.countdown-label.countdown-live { color: #00ff88; }
.countdown-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
}
.countdown-time {
  font-size: 0.9rem;
  color: rgba(244,241,235,0.7);
  font-variant-numeric: tabular-nums;
}
.countdown-cta {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 190, 192, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.countdown-cta:hover { border-color: var(--accent); }

/* ---- TOURNAMENT CONTROLS ---- */
.tournaments-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.tournaments-controls:empty { display: none; }
.tournament-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip {
  border: 1px solid rgba(244,241,235,0.15);
  background: transparent;
  color: rgba(244,241,235,0.6);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.chip:hover { color: var(--white); border-color: rgba(244,241,235,0.4); }
.chip-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
  font-weight: 600;
}
.tournament-search {
  background: var(--black);
  border: 1px solid rgba(244,241,235,0.15);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  min-width: 220px;
  outline: none;
  transition: border-color 0.2s;
}
.tournament-search:focus { border-color: var(--accent); }
.tournament-search::placeholder { color: rgba(244,241,235,0.35); }
/* ---- JOIN STEPS ---- */
.join-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 4rem;
}
.join-step {
  background: var(--black);
  padding: 2rem 2.5rem;
  border-top: 1px solid rgba(244,241,235,0.08);
}
.join-step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.join-step-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.join-step-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(244,241,235,0.5);
}

/* ---- HALL OF FAME ---- */
.halloffame {
  padding: 8rem clamp(1rem, 4vw, 4rem);
  background: var(--black);
}
.halloffame[hidden] { display: none; }
.halloffame-header { margin-bottom: 5rem; }
.halloffame-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 7vw, 100px);
  line-height: 0.9;
}
.halloffame-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.fame-card {
  background: var(--gray);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Winner names run from three characters to thirty; a floor keeps the
     grid even without cropping the long ones. */
  min-height: 250px;
  transition: background 0.4s ease;
}
.fame-card:hover { background: #242424; }
.fame-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.fame-card:hover::before { transform: scaleX(1); }
.fame-rank {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.fame-trophy { font-size: 1.4rem; line-height: 1; }
.fame-index {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--accent-rgb), 0.55);
}
.fame-winner {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  line-height: 1.05;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  overflow-wrap: anywhere;
}
.fame-event {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(244,241,235,0.55);
  margin-bottom: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fame-meta {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---- BRAND MARK & CARD LOGOS ---- */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.nav-logo-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-logo.nav-logo { justify-content: center; }

.page-card-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.page-card:hover .page-card-logo { opacity: 1; transform: translateY(-2px); }

@media (max-width: 640px) {
  .nav-logo-mark { width: 24px; height: 24px; }
  .footer-logo.nav-logo { flex-direction: row; }
}

/* ---- ICONS ---- */
.orion-icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 1.5rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.support-card:hover .orion-icon,
.page-card:hover .orion-icon {
  opacity: 1;
  transform: translateY(-2px);
}
.support-card .support-kind { margin-bottom: 1.25rem; }

/* ---- SHOP ---- */
.shop {
  padding: 8rem clamp(1rem, 4vw, 4rem);
  background: var(--black);
}
.shop[hidden] { display: none; }
.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
  margin-bottom: 4rem;
}
.shop-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 7vw, 100px);
  line-height: 0.9;
  letter-spacing: 0.02em;
}
.shop-title .line-accent { color: var(--accent); }
.shop-aside { max-width: 340px; }
.shop-intro {
  color: rgba(244,241,235,0.5);
  font-size: 0.95rem;
  line-height: 1.7;
}
.shop-facts {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.shop-fact {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  border-top: 1px solid rgba(244,241,235,0.08);
  padding-top: 0.85rem;
}
.shop-fact dt {
  flex-shrink: 0;
  min-width: 80px;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.shop-fact dd {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(244,241,235,0.7);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.shop-card {
  background: var(--gray);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: background 0.4s ease;
}
.shop-card:hover { background: #242424; }
.shop-card-media {
  position: relative;
  /* The source shots are portrait and rendered close to 900px tall in a
     two-column grid. Cropping towards the garments keeps the card a
     sensible height and loses only the title, which the card repeats. */
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: #041b1e;
}
.shop-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
  transition: transform 0.6s ease;
}
.shop-card:hover .shop-card-media img { transform: scale(1.03); }
.shop-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--accent-gradient);
  color: var(--black);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
}
.shop-card-body {
  padding: 2rem 2.2rem 2.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.shop-card-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  letter-spacing: 0.05em;
  line-height: 1;
}
.shop-card-variant {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.shop-card-desc {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(244,241,235,0.5);
}
.shop-card-cta {
  margin-top: auto;
  padding-top: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  align-self: flex-start;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.shop-card-cta::after {
  content: '\2192';
  transition: transform 0.2s ease;
}
.shop-card-cta:hover::after { transform: translateX(4px); }

.shop-footer {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.shop-note {
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(244,241,235,0.65);
  font-style: italic;
  max-width: 640px;
}
.shop-note[hidden] { display: none; }
#shop-store[hidden] { display: none; }

@media (max-width: 900px) {
  .shop { padding: 6rem 2rem; }
  .shop-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .shop-aside { max-width: 100%; }
  .shop-card-body { padding: 1.5rem 1.5rem 1.75rem; }
  .shop-footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .shop { padding-left: 1rem; padding-right: 1rem; }
  .shop-title { font-size: clamp(2.6rem, 14vw, 4.4rem); }
  .shop-grid { grid-template-columns: 1fr; }
}

/* ---- SUPPORT ---- */
.support {
  padding: 8rem clamp(1rem, 4vw, 4rem);
  background: var(--gray);
}
.support[hidden] { display: none; }
.support-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem;
  margin-bottom: 5rem;
}
.support-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 7vw, 100px);
  line-height: 0.9;
  letter-spacing: 0.02em;
}
.support-title .line-accent { color: var(--accent); }
.support-intro {
  max-width: 320px;
  color: rgba(244,241,235,0.5);
  font-size: 0.95rem;
  line-height: 1.7;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.support-card {
  background: var(--black);
  padding: 3rem 2.2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}
.support-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.support-card:hover::before,
.support-card:focus-within::before { transform: scaleX(1); }
.support-card:hover,
.support-card:focus-within { background: #111; }
.support-kind {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(37, 190, 192, 0.35);
  padding: 0.3rem 0.7rem;
  width: fit-content;
  margin-bottom: 1.75rem;
}
.support-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.support-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.42);
  margin-bottom: 1.25rem;
}
.support-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(244,241,235,0.5);
  margin-bottom: 1.5rem;
}
.support-perk {
  font-size: 0.78rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--white);
  border-left: 2px solid var(--accent);
  padding-left: 0.85rem;
  margin-bottom: 2rem;
}
.support-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}
.support-cta { font-size: 0.8rem; }
.support-channel {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}
.support-channel:hover { color: var(--accent); }
.support-note {
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  border-left: 2px solid var(--accent);
  background: rgba(37, 190, 192, 0.04);
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(244,241,235,0.65);
  font-style: italic;
  max-width: 760px;
}
.support-note[hidden] { display: none; }

@media (min-width: 901px) and (max-width: 1200px) {
  .support-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .support { padding: 6rem 2rem; }
  .support-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .support-intro { max-width: 100%; }
  .support-grid { grid-template-columns: 1fr 1fr; }
  .support-card { padding: 2rem 1.5rem; cursor: pointer; }
  .support-channel { cursor: pointer; }
}
@media (max-width: 640px) {
  .support { padding-left: 1rem; padding-right: 1rem; }
  .support-title { font-size: clamp(2.6rem, 14vw, 4.4rem); }
  .support-grid { grid-template-columns: 1fr; }
  .support-note { padding: 1.25rem 1.25rem; }
}

/* ---- INFO PAGES ---- */
.page-hero {
  position: relative;
  padding: 12rem clamp(1rem, 4vw, 4rem) 5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(244,241,235,0.08);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    url('images/orion-constellation.svg') no-repeat right -40px top 10%/min(420px, 45vw) auto,
    radial-gradient(ellipse at 75% 20%, var(--accent-deep) 0%, transparent 62%);
  pointer-events: none;
}
.page-tag {
  position: relative;
  display: inline-block;
  background: var(--accent-gradient);
  color: var(--black);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  font-weight: 600;
  margin-bottom: 2rem;
  width: fit-content;
}
.page-tag[hidden] { display: none; }
.page-title {
  position: relative;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 9vw, 130px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  max-width: 900px;
}
.page-title .line-accent { color: var(--accent); }
.page-intro {
  position: relative;
  margin-top: 2rem;
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(244,241,235,0.55);
}
.page-intro[hidden] { display: none; }
.page-back {
  position: relative;
  display: inline-block;
  margin-top: 2.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}
.page-back:hover { color: var(--accent); }

.page-block {
  padding: 7rem clamp(1rem, 4vw, 4rem);
}
.page-block:nth-child(even) { background: var(--gray); }
.page-block-header { margin-bottom: 3.5rem; max-width: 760px; }
.page-block-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: 0.02em;
}
.page-block-body {
  margin-top: 1.25rem;
  font-size: 0.98rem;
  line-height: 1.8;
  color: rgba(244,241,235,0.5);
}

/* Cards */
.page-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.page-card {
  background: var(--black);
  padding: 2.75rem 2.2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}
.page-block:nth-child(even) .page-card { background: var(--black); }
.page-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.page-card:hover::before,
.page-card:focus-within::before { transform: scaleX(1); }
.page-card:hover,
.page-card:focus-within { background: #111; }
.page-card-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.page-card-meta {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.page-tagchips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.page-tagchip {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.6);
  border: 1px solid rgba(244,241,235,0.15);
  padding: 0.25rem 0.65rem;
}
.page-card-body {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(244,241,235,0.5);
  margin-bottom: 1.75rem;
}
.page-card-actions { margin-top: auto; }
.page-card-cta { font-size: 0.78rem; }

/* Spec rows */
.page-spec {
  border-top: 1px solid rgba(244,241,235,0.08);
  max-width: 900px;
}
.page-spec-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 2fr;
  gap: 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(244,241,235,0.08);
  align-items: baseline;
}
.page-spec-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.4);
}
.page-spec-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

/* Stats */
.page-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.page-stat { border-left: 2px solid var(--accent); padding-left: 1.5rem; }
.page-stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  color: var(--accent);
}
.page-stat-label {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.45);
}

/* Free text */
.page-text { max-width: 760px; }
.page-text p {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(244,241,235,0.55);
  margin-bottom: 1.25rem;
}

/* A gap we admit to, rather than filler nobody can trust. */
.page-placeholder {
  border: 1px dashed rgba(37, 190, 192, 0.4);
  background: rgba(37, 190, 192, 0.04);
  padding: 2rem;
  max-width: 760px;
}
.page-placeholder-tag {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.page-placeholder p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(244,241,235,0.55);
}

.nav-links a.nav-current { color: var(--accent); }
.nav-links a.nav-current::after { width: 100%; }

.footer-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-pages a {
  color: rgba(244,241,235,0.45);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.footer-pages a:hover { color: var(--accent); }

/* Home page entry point to the info pages */
.explore {
  padding: 8rem clamp(1rem, 4vw, 4rem);
  background: var(--black);
}
.explore-header { margin-bottom: 5rem; }
.explore-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 7vw, 100px);
  line-height: 0.9;
  letter-spacing: 0.02em;
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.explore-card {
  background: var(--gray);
  padding: 2.75rem 2.2rem;
  text-decoration: none;
  color: var(--white);
  display: block;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}
.explore-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.explore-card:hover::before { transform: scaleX(1); }
.explore-card:hover { background: #242424; }
.explore-card-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.explore-card-body {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(244,241,235,0.5);
}
.explore-card-arrow {
  display: block;
  margin-top: 1.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.explore[hidden] { display: none; }

@media (min-width: 901px) and (max-width: 1200px) {
  .page-cards,
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .page-hero { padding: 9rem 2rem 4rem; }
  .page-block { padding: 5rem 2rem; }
  .explore { padding: 6rem 2rem; }
  .page-cards,
  .explore-grid { grid-template-columns: 1fr; }
  .page-card,
  .explore-card { padding: 2rem 1.5rem; cursor: pointer; }
  .page-back { cursor: pointer; }
  .page-spec-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .page-stats { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-pages { justify-content: center; gap: 1rem 1.25rem; }
}
@media (max-width: 640px) {
  .page-hero { padding-left: 1rem; padding-right: 1rem; }
  .page-block { padding-left: 1rem; padding-right: 1rem; }
  .explore { padding-left: 1rem; padding-right: 1rem; }
  .page-title { font-size: clamp(3rem, 15vw, 5rem); }
  .page-block-title,
  .explore-title { font-size: clamp(2.4rem, 13vw, 4rem); }
  .page-stats { grid-template-columns: 1fr; }
  .page-placeholder { padding: 1.5rem 1.25rem; }
  .footer-pages { flex-direction: column; gap: 0.75rem; }
}

/* ---- PROJECTS ----
   A project carries its own accent. Setting --accent on an element with
   this class re-derives everything built from it; without the class the
   gradient would keep the value computed on :root. */
.project-accent {
  --accent-bright: color-mix(in srgb, var(--accent) 62%, #ffffff);
  --accent-deep: color-mix(in srgb, var(--accent) 16%, #050505);
  --accent-gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
}

.projects {
  padding: 8rem clamp(1rem, 4vw, 4rem);
  background: var(--gray);
}
.projects-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem;
  margin-bottom: 4rem;
}
.projects-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 7vw, 100px);
  line-height: 0.9;
  letter-spacing: 0.02em;
}
.projects-title .line-accent { color: var(--accent); }
.projects-intro {
  max-width: 360px;
  color: rgba(244,241,235,0.5);
  font-size: 0.95rem;
  line-height: 1.7;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 2.5rem 2.2rem;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
  border-top: 3px solid var(--accent);
  transition: background 0.4s ease, transform 0.3s ease;
}
.project-card:hover,
.project-card:focus-visible {
  background: color-mix(in srgb, var(--accent) 7%, #0a0a0a);
}
.project-card-logo {
  width: 72px; height: 72px;
  object-fit: contain;
  border-radius: 14%;
  margin-bottom: 1.75rem;
  position: relative; z-index: 1;
}
.project-game {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  position: relative; z-index: 1;
}
.project-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.3rem;
  line-height: 1;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  position: relative; z-index: 1;
}
.project-tagline {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(244,241,235,0.6);
  margin-bottom: 2rem;
  position: relative; z-index: 1;
}
.project-go {
  margin-top: auto;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  position: relative; z-index: 1;
}
.project-go span { display: inline-block; transition: transform 0.2s ease; }
.project-card:hover .project-go span { transform: translateX(4px); }
.project-mark {
  position: absolute;
  right: -0.5rem; bottom: -2.2rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 9rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--accent-rgb), 0.16);
  pointer-events: none;
  user-select: none;
}

/* Project page */
.project-hero-logo {
  position: absolute;
  right: clamp(1rem, 6vw, 6rem);
  top: 50%;
  transform: translateY(-40%);
  width: min(260px, 26vw);
  pointer-events: none;
}
/* The glow sits behind the logo rather than on it: a drop-shadow would
   outline the square of a logo that has no transparent background. */
.project-hero-logo::before {
  content: '';
  position: absolute; inset: -35%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.22) 0%, transparent 62%);
  z-index: -1;
}
.project-hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14%;
}
.project-hero-mark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(6rem, 16vw, 14rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--accent-rgb), 0.3);
}
.project-about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}
.project-links {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: 2.5rem;
}
.project-calendar-link { margin-top: 2.5rem; }
.page-empty {
  border: 1px dashed rgba(244,241,235,0.16);
  padding: 2.5rem 2rem;
  max-width: 640px;
}
.page-empty-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.page-empty p { color: rgba(244,241,235,0.5); line-height: 1.7; font-size: 0.95rem; }

/* ---- EVENT ROWS ----
   One tournament per line: project pages and the calendar. */
.event-list { display: grid; gap: 2px; }
.event-row {
  display: grid;
  grid-template-columns: 84px 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--black);
  border-left: 3px solid var(--accent);
}
.page-block:nth-child(odd) .event-row { background: var(--gray); }
.event-date {
  display: flex; flex-direction: column;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.5);
}
.event-date b {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--white);
}
.event-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.event-meta {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(244,241,235,0.5);
}
.event-winner {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--accent);
}
.event-status {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.event-status-upcoming { color: var(--accent); }
.event-status-live { color: #00ff88; }
.event-status-ended { color: rgba(244,241,235,0.35); }
.event-link {
  min-width: 110px;
  text-align: right;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
a.event-link { padding: 0.75rem 0; }
a.event-link:hover { color: var(--accent); }

/* ---- TIMELINE / QUOTE / IMAGE BLOCKS ---- */
.timeline {
  list-style: none;
  position: relative;
  max-width: 820px;
  padding-left: 2rem;
  border-left: 1px solid rgba(var(--accent-rgb), 0.35);
}
.timeline-step {
  position: relative;
  padding-bottom: 3rem;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
  content: '';
  position: absolute;
  left: calc(-2rem - 5px); top: 0.55rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.15);
}
.timeline-when {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.timeline-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.timeline-step p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: rgba(244,241,235,0.6);
}
.page-quote {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.page-quote blockquote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
}
.page-quote figcaption {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
/* A picture is never blown up past its own size (a small one would go
   blurry), and a portrait one never runs taller than the screen. */
.page-figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 1200px);
  max-height: 85vh;
  margin: 0;
}

@media (max-width: 1100px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 0; }
  .project-about { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 900px) {
  .projects { padding: 6rem 2rem; }
  .projects-header { flex-direction: column; align-items: flex-start; margin-bottom: 2.5rem; }
  .projects-intro { max-width: 100%; }
  .project-hero-logo {
    position: relative;
    right: auto; top: auto;
    transform: none;
    width: 120px;
    margin-bottom: 2rem;
  }
  .event-row {
    grid-template-columns: 64px 1fr;
    gap: 0.75rem 1rem;
    padding: 1.1rem 1rem;
  }
  .event-date b { font-size: 1.8rem; }
  .event-status { grid-column: 2; justify-self: start; }
  .event-link { grid-column: 2; text-align: left; min-width: 0; }
  a.event-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0; }
  .event-link-empty { display: none; }
  .timeline-title { font-size: 1.7rem; }
}
@media (max-width: 640px) {
  .projects { padding-left: 1rem; padding-right: 1rem; }
  .project-card { padding: 2rem 1.5rem; }
}

/* ---- CALENDAR ---- */
.calendar-filters-block { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.calendar-filters { display: grid; gap: 1rem; }
.calendar-filter-row {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.5rem;
}
.calendar-filter-label {
  width: 5.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.4);
}
.calendar-filters .chip { min-height: 40px; }
.calendar-filters .chip.project-accent { border-color: rgba(var(--accent-rgb), 0.5); color: var(--accent); }
.calendar-filters .chip.project-accent.chip-active { background: var(--accent); color: var(--black); border-color: var(--accent); }
.event-card { border-top: 3px solid var(--accent); }
.calendar-cards { margin-top: 0; }

.calendar {
  background: var(--black);
  border: 1px solid rgba(244,241,235,0.08);
  padding: 1.5rem;
}
.page-block:nth-child(odd) .calendar { background: var(--gray); }
.calendar-head {
  display: flex; align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.calendar-month {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-width: 11ch;
  text-align: center;
}
.calendar-nav,
.calendar-today {
  min-width: 44px;
  height: 44px;
  border: 1px solid rgba(244,241,235,0.18);
  background: transparent;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.calendar-today {
  margin-left: auto;
  padding: 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.calendar-nav:hover,
.calendar-today:hover { border-color: var(--accent); color: var(--accent); }
.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
}
.calendar-weekdays {
  margin-bottom: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.4);
}
.calendar-weekdays span { padding: 0 0.6rem; }
.calendar-cell {
  position: relative;
  display: flex; flex-direction: column;
  gap: 3px;
  min-height: 112px;
  padding: 0.5rem;
  border: 1px solid transparent;
  background: rgba(244,241,235,0.03);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  text-align: left;
  overflow: hidden;
}
button.calendar-cell { cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease; }
button.calendar-cell:hover { background: rgba(var(--accent-rgb), 0.08); }
.calendar-cell-blank { background: transparent; }
.calendar-cell-today { border-color: rgba(244,241,235,0.35); }
.calendar-cell-today .calendar-daynum { color: var(--accent); font-weight: 600; }
.calendar-cell-selected { border-color: var(--accent); background: rgba(var(--accent-rgb), 0.1); }
.calendar-daynum {
  font-size: 0.8rem;
  color: rgba(244,241,235,0.55);
  margin-bottom: 2px;
}
.calendar-pill {
  display: block;
  padding: 2px 6px;
  border-left: 2px solid var(--accent);
  background: rgba(var(--accent-rgb), 0.14);
  font-size: 0.7rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.calendar-pill-ended { opacity: 0.55; }
.calendar-pill-live { border-left-color: #00ff88; }
.calendar-more { font-size: 0.68rem; color: rgba(244,241,235,0.5); }
.calendar-daylist { margin-top: 2.5rem; }
.calendar-daylist-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.calendar-daylist-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.calendar-daylist-head .calendar-today { margin-left: 0; }
.calendar-empty { color: rgba(244,241,235,0.45); font-size: 0.95rem; }
.calendar-more-row {
  display: flex; align-items: center; gap: 1.5rem;
  margin-top: 2rem;
}
.calendar-more-row .btn-primary { border: 0; cursor: pointer; font-family: inherit; }
.calendar-count { font-size: 0.8rem; color: rgba(244,241,235,0.45); letter-spacing: 0.08em; }
.tournaments-calendar-link { margin-top: 2.5rem; }

@media (max-width: 900px) {
  .calendar-filters-block { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .calendar-filter-label { width: 100%; }
  /* A row of chips scrolls sideways instead of stacking five lines deep. */
  .calendar-filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -2rem;
    padding: 0 2rem 0.25rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .calendar-filter-row::-webkit-scrollbar { display: none; }
  .calendar-filter-row .calendar-filter-label { display: none; }
  .calendar-filter-row .chip { flex-shrink: 0; }
  .calendar { padding: 1rem 0.5rem; border-left: 0; border-right: 0; margin: 0 -1rem; }
  .calendar-head { padding: 0 0.5rem; }
  .calendar-weekdays span { padding: 0; text-align: center; letter-spacing: 0.06em; }
  /* On a phone a day is a number and one dot per event; the names are in
     the list underneath. */
  .calendar-cell {
    min-height: 54px;
    padding: 0.35rem 0.2rem;
    flex-direction: row; flex-wrap: wrap;
    align-content: flex-start; justify-content: center;
    gap: 3px;
  }
  .calendar-daynum { width: 100%; text-align: center; font-size: 0.85rem; margin-bottom: 1px; }
  .calendar-pill {
    width: 6px; height: 6px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    font-size: 0;
  }
  .calendar-pill-live { background: #00ff88; }
  .calendar-more { font-size: 0.6rem; line-height: 6px; }
}
@media (max-width: 640px) {
  .calendar-filter-row { margin: 0 -1rem; padding: 0 1rem 0.25rem; }
  .calendar-month { min-width: 0; flex: 1; font-size: 1.5rem; }
  .calendar-today { padding: 0 0.7rem; }
  .calendar-more-row { flex-direction: column; align-items: stretch; gap: 0.75rem; text-align: center; }
  .calendar-more-row .btn-primary { justify-content: center; }
}

/* ---- DISCORD CONTENT ---- */
.dc-body { margin-top: 1rem; }
.dc-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin: 1.25rem 0 0.6rem;
}
.dc-heading:first-child { margin-top: 0; }
.dc-paragraph {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(244,241,235,0.55);
  margin-bottom: 0.75rem;
}
.dc-quote {
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  margin: 0.75rem 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(244,241,235,0.65);
}
.dc-bullet {
  list-style: none;
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(244,241,235,0.55);
  margin-bottom: 0.35rem;
}
.dc-bullet::before {
  content: '';
  position: absolute;
  left: 0; top: 0.72em;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.dc-paragraph a,
.dc-quote a,
.dc-bullet a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(37, 190, 192, 0.35); }
.dc-paragraph a:hover { border-bottom-color: var(--accent); }
.dc-paragraph code,
.dc-bullet code {
  background: rgba(244,241,235,0.07);
  padding: 0.1rem 0.35rem;
  font-size: 0.85em;
}
.dc-image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1rem;
  border: 1px solid rgba(244,241,235,0.08);
}
/* Long pasted links (Matcherino, YouTube) break instead of overflowing the card. */
.dc-body a,
.dc-card a { overflow-wrap: anywhere; }

/* Custom emojis sit in the line where they were written, at text size. */
.dc-emoji {
  width: 1.35em;
  height: 1.35em;
  object-fit: contain;
  vertical-align: -0.3em;
  margin: 0 0.1em;
}

.dc-feed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.dc-card {
  background: var(--black);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  border-top: 3px solid transparent;
  transition: border-color 0.3s ease, background 0.4s ease;
}
.dc-card:hover { border-top-color: var(--accent); background: #111; }
.dc-card-meta {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.dc-card-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}
.dc-card-link:hover { color: var(--accent); }

.fame-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 1rem;
  align-self: flex-start;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.4);
  text-decoration: none;
}
.fame-link:hover { color: var(--accent); }
.fame-card .dc-image { margin: 0 0 1.25rem; aspect-ratio: 16/9; object-fit: cover; }

@media (max-width: 900px) {
  .dc-feed { grid-template-columns: 1fr; }
  .dc-card { padding: 1.75rem 1.5rem; }
}


/* ---- BRAND GRADIENT TEXT ---- */
.line-accent {
  color: var(--accent);
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero-title .line-accent,
  .page-title .line-accent,
  .shop-title .line-accent,
  .support-title .line-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (min-width: 901px) and (max-width: 1200px) {
  .hero-title {
    max-width: 720px;
  }
  .hero-bottom {
    gap: 2rem;
  }
  .about {
    gap: 3rem;
  }
  .about-stats {
    gap: 1.25rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-social {
    gap: 1rem;
  }
}

/* ---- RESPONSIVE ---- */

/* The header is the first thing to run out of room: the entries plus
   the logo stop fitting well before the page layout needs to change, so
   the burger takes over at 1100px (every iPhone, and an iPad in
   portrait) and the rest waits for 900px. */
@media (max-width: 1100px) {
  :root { --nav-h: 60px; }
  nav { gap: 1rem; }
  .nav-tools { margin-left: auto; }
  .nav-burger { display: inline-flex; margin-right: -10px; }
  nav > .nav-links { display: none; }
  /* The menu opens under the bar, so the logo, the language switch and
     the close button all stay where they were. */
  .nav-overlay {
    position: fixed;
    top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    left: 0; right: 0; bottom: 0;
    background: var(--black);
    padding: 1rem max(1.25rem, env(safe-area-inset-right, 0px)) calc(2rem + env(safe-area-inset-bottom, 0px)) max(1.25rem, env(safe-area-inset-left, 0px));
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }
  .nav-overlay.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-overlay .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .nav-overlay .nav-links li {
    border-bottom: 1px solid rgba(244,241,235,0.08);
  }
  .nav-overlay .nav-links a {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0.5rem 0;
    color: var(--white);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.9rem;
    letter-spacing: 0.06em;
  }
  .nav-overlay .nav-links a.nav-current { color: var(--accent); }
  .nav-overlay .nav-links a::after {
    display: none;
  }
  .nav-socials {
    display: flex;
    gap: 0.5rem 1.5rem;
    flex-wrap: wrap;
    margin-top: auto;
  }
  .nav-socials a,
  .nav-socials .social-placeholder {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: rgba(244,241,235,0.7);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .nav-socials .social-placeholder {
    color: rgba(244,241,235,0.35);
  }
}

@media (max-width: 900px) {
  a,
  button,
  .btn-primary,
  .btn-ghost,
  .tcard,
  .work-item,
  .member-card,
  .partner-card {
    cursor: pointer;
  }
  .hero, .about, .services, .works, .team, .cta-section, .partners { padding: 6rem 2rem; }
  .hero {
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 3rem;
  }
  .hero-title {
    font-size: clamp(3.2rem, 15vw, 5.4rem);
    max-width: 100%;
  }
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .hero-desc {
    max-width: 100%;
  }
  .hero-cta {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .about { grid-template-columns: 1fr; gap: 3rem; }
  .about-stats { gap: 1.25rem; }
  .stat-item { padding-left: 1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .tournaments-actions {
    padding-top: 2rem;
  }
  .tournaments-show-more {
    width: 100%;
  }
  .works-grid { grid-template-columns: 1fr; }
  .works-grid .work-item:first-child { grid-column: span 1; aspect-ratio: 4/3; }
  .work-overlay { opacity: 1; }
  .work-item:hover .work-bg {
    transform: none;
  }
  .cta-title {
    font-size: clamp(3.2rem, 14vw, 5.4rem);
  }
  .cta-sub {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .cta-actions {
    width: 100%;
  }
  .cta-actions .btn-primary {
    width: 100%;
    justify-content: center;
  }
  footer { padding: 2rem; flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-social {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
  }
  .footer-copy {
    line-height: 1.6;
  }
  .hero-number { display: none; }
  .services-header, .works-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

@media (max-width: 640px) {
  .nav-logo {
    font-size: 1.35rem;
  }
  .hero,
  .about,
  .services,
  .works,
  .team,
  .cta-section,
  .partners {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-tag,
  .cta-tag {
    width: 100%;
    text-align: center;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .about-stats {
    grid-template-columns: 1fr;
  }
  .services-header p,
  .works-header .btn-ghost {
    max-width: 100%;
  }
  .services-title,
  .partners-title,
  .team-title,
  .works-title {
    font-size: clamp(2.6rem, 14vw, 4.4rem);
  }
  .work-item,
  .works-grid .work-item:first-child {
    aspect-ratio: 1 / 1.15;
  }
  .work-overlay {
    padding: 1.25rem;
  }
  .work-name {
    font-size: 1.4rem;
  }
  .cta-bg-text {
    font-size: 5rem;
  }
  .footer-logo {
    font-size: 1.6rem;
  }
  .footer-social {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 900px) {
  .halloffame-grid { grid-template-columns: 1fr 1fr; }
  .join-steps { grid-template-columns: 1fr; }
  .tournaments-controls { flex-direction: column; align-items: stretch; }
  .tournament-search { min-width: 0; width: 100%; }
  .hero-countdown { width: 100%; gap: 0.75rem; }
  .fame-card, .chip, .tournament-search { cursor: pointer; }
}

@media (max-width: 640px) {
  .halloffame { padding: 5rem 1rem; }
  .halloffame-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
