:root {
  --bg: #160b28;
  --bg-2: #221038;
  --bg-3: #2d1748;
  --surface: rgba(255, 255, 255, 0.04);
  --text: #f6f1ff;
  --muted: #b9a8d4;
  --violet: #8b4dff;
  --violet-deep: #5a2db3;
  --yellow: #ffe14a;
  --yellow-hot: #ffd000;
  --line: rgba(255, 255, 255, 0.12);
  --font-display: "Teko", sans-serif;
  --font-body: "Outfit", sans-serif;
  --max: 1120px;
  --header-h: 72px;
  --ticker-h: 40px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(139, 77, 255, 0.35), transparent 55%),
    radial-gradient(900px 500px at -10% 30%, rgba(255, 225, 74, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #0f071c 100%);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Ticker */
.ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 45;
  height: var(--ticker-h);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
  background: #0a0414;
  border-bottom: 1px solid var(--line);
}

.ticker__label {
  flex: 0 0 auto;
  padding: 0.2rem 0.55rem;
  background: var(--yellow);
  color: #1a0a2e;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

.ticker__track {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker__inner {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: ticker 42s linear infinite;
}

.ticker__inner a {
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.ticker__inner a:hover {
  color: var(--yellow);
}

.ticker__social {
  display: flex;
  gap: 0.45rem;
}

.ticker__social a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ticker__social a:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

/* Header */
.site-header {
  position: fixed;
  top: var(--ticker-h);
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(14, 6, 24, 0.55);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(14, 6, 24, 0.88);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  font-style: italic;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 1.15rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--yellow);
}

.search input {
  width: min(150px, 18vw);
  min-height: 36px;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
}

.search input:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 1px;
  width: min(220px, 28vw);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.4rem;
  background: var(--yellow);
  color: #1a0a2e;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: transform 0.25s var(--ease), background 0.2s;
  cursor: pointer;
}

.btn:hover {
  background: var(--yellow-hot);
  transform: translateY(-2px);
}

.btn--sm {
  min-height: 40px;
  padding: 0 1.1rem;
  font-size: 0.85rem;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--yellow);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--yellow);
  font-weight: 600;
  font-size: 0.95rem;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--ticker-h) + var(--header-h) + 2rem) clamp(1.25rem, 4vw, 2.5rem) 4.5rem;
  isolation: isolate;
}

.hero__kicker {
  margin: 0 0 0.4rem;
  color: var(--yellow);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.08);
  animation: heroZoom 18s var(--ease) forwards;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 5, 22, 0.92) 0%, rgba(12, 5, 22, 0.55) 48%, rgba(12, 5, 22, 0.35) 100%),
    linear-gradient(0deg, rgba(12, 5, 22, 0.95) 0%, transparent 42%);
}

.hero__bars {
  position: absolute;
  left: clamp(1.25rem, 4vw, 2.5rem);
  top: 28%;
  display: grid;
  gap: 0.55rem;
  z-index: -1;
  animation: slideIn 1s var(--ease) both;
}

.bar {
  display: block;
  width: min(180px, 28vw);
  height: 14px;
  transform: skewX(-24deg);
}

.bar--violet {
  background: var(--violet);
  animation: barPulse 2.8s ease-in-out infinite;
}

.bar--yellow {
  background: var(--yellow);
  width: min(120px, 18vw);
  animation: barPulse 2.8s ease-in-out 0.35s infinite;
}

.hero__content {
  max-width: 720px;
  animation: rise 1s var(--ease) 0.15s both;
}

.brand-mark {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 12vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(110deg, #fff 20%, var(--yellow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero__lead {
  margin: 0 0 1.75rem;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Sections shared */
section {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 4vw, 2.5rem);
}

.section-head {
  max-width: var(--max);
  margin: 0 auto 2.75rem;
}

.section-head h2,
.about h2,
.watch h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-head p,
.about .lede {
  margin: 0;
  color: var(--muted);
  max-width: 46ch;
  font-size: 1.05rem;
}

.section-head--light h2,
.section-head--light p {
  color: var(--text);
}

.section-head--light p {
  color: rgba(255, 255, 255, 0.72);
}

/* News */
.news {
  max-width: calc(var(--max) + 5rem);
  margin: 0 auto;
}

.feature {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: 2.5rem;
}

.feature__visual {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.feature__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.feature__visual:hover img {
  transform: scale(1.04);
}

.feature__body time {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--yellow);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature__body h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.feature__body p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

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

.news-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.news-row time {
  color: var(--violet);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.news-row h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
}

.news-row h3 a:hover {
  color: var(--yellow);
}

.tag {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Spotlight */
.spotlight {
  background:
    linear-gradient(135deg, rgba(90, 45, 179, 0.45), rgba(22, 11, 40, 0.2)),
    url("assets/thumb-sport-40.jpg") center / cover fixed;
  position: relative;
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 5, 22, 0.72);
}

.spotlight > * {
  position: relative;
}

.spotlight__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.spot {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  isolation: isolate;
}

.spot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 5, 22, 0.92) 0%, transparent 55%);
}

.spot:hover img {
  transform: scale(1.06);
}

.spot__meta {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1;
  display: grid;
  gap: 0.45rem;
}

.spot__meta span {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spot__meta strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.05;
  font-weight: 600;
  text-transform: uppercase;
}

/* About */
.about {
  max-width: calc(var(--max) + 5rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about p {
  color: var(--muted);
}

.about__points {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.about__points li {
  position: relative;
  padding-left: 1.4rem;
  font-weight: 500;
}

.about__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--yellow);
  transform: skewX(-20deg);
}

.about__visual {
  position: relative;
  min-height: 320px;
  background: radial-gradient(circle at 50% 40%, #4a2480, #160b28 70%);
  overflow: hidden;
}

.about__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  opacity: 0.95;
}

.about__visual::before,
.about__visual::after {
  content: "";
  position: absolute;
  left: 12%;
  width: 46%;
  height: 12px;
  transform: skewX(-24deg);
  z-index: 1;
}

.about__visual::before {
  top: 18%;
  background: var(--violet);
}

.about__visual::after {
  bottom: 18%;
  width: 32%;
  background: var(--yellow);
}

/* Events */
.events {
  max-width: calc(var(--max) + 5rem);
  margin: 0 auto;
}

.events__rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

.event {
  display: grid;
  gap: 0.55rem;
  padding: 1.35rem 1rem;
  background: var(--surface);
  border-top: 3px solid var(--violet);
  transition: border-color 0.2s, background 0.2s, transform 0.25s var(--ease);
}

.event:hover {
  border-top-color: var(--yellow);
  background: rgba(255, 225, 74, 0.08);
  transform: translateY(-4px);
}

.event span {
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.event strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 600;
}

/* Watch */
.watch {
  max-width: calc(var(--max) + 5rem);
  margin: 0 auto;
}

.watch__panel {
  padding: clamp(1.75rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(139, 77, 255, 0.18), rgba(255, 225, 74, 0.06)),
    var(--bg-2);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.watch__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--violet), var(--yellow));
}

.watch__panel > p {
  max-width: 58ch;
  color: var(--muted);
}

.specs {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.5rem;
}

.specs div {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.specs dt {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.specs dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  text-transform: uppercase;
}

.watch__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  max-width: calc(var(--max) + 5rem);
  margin: 0 auto;
  padding: 3rem clamp(1.25rem, 4vw, 2.5rem) 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  border-top: 1px solid var(--line);
}

.footer__brand {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.footer__brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-transform: uppercase;
  font-style: italic;
  line-height: 1;
}

.footer__brand p,
.footer__copy {
  color: var(--muted);
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
}

.subscribe label {
  display: block;
  margin-bottom: 0.55rem;
  font-weight: 600;
}

.subscribe__row {
  display: flex;
  gap: 0.5rem;
}

.subscribe input {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.subscribe input:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 1px;
}

.footer__copy {
  grid-column: 1 / -1;
  padding-top: 0.5rem;
}

.footer__nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer__nav a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer__nav a:hover {
  color: var(--yellow);
}

/* Mosaic */
.mosaic {
  max-width: calc(var(--max) + 5rem);
  margin: 0 auto;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
  min-height: 520px;
}

.mosaic__card {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  min-height: 220px;
  background: var(--bg-2);
}

.mosaic__card--lg {
  grid-row: 1 / span 2;
  min-height: 100%;
}

.mosaic__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.mosaic__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 5, 22, 0.92) 0%, transparent 55%);
}

.mosaic__card:hover img {
  transform: scale(1.05);
}

.mosaic__meta {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: grid;
  gap: 0.4rem;
}

.mosaic__meta strong {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.mosaic__meta time {
  color: var(--muted);
  font-size: 0.8rem;
}

.pill {
  justify-self: start;
  padding: 0.2rem 0.55rem;
  background: var(--violet);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* News cards grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.card {
  background: var(--surface);
  border: 1px solid transparent;
  transition: border-color 0.2s, transform 0.25s var(--ease);
}

.card:hover {
  border-color: rgba(255, 225, 74, 0.35);
  transform: translateY(-4px);
}

.card.is-hidden,
.feature.is-hidden {
  display: none;
}

.card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.05);
}

.card__body {
  padding: 1rem 1.05rem 1.15rem;
  display: grid;
  gap: 0.45rem;
}

.card__body time {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.card__body h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
}

.card__body h3 a:hover {
  color: var(--yellow);
}

/* Videos */
.videos {
  max-width: calc(var(--max) + 5rem);
  margin: 0 auto;
}

.videos__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
}

.video {
  display: grid;
  gap: 0.7rem;
}

.video__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}

.video__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), opacity 0.3s;
  opacity: 0.9;
}

.video:hover .video__thumb img {
  transform: scale(1.06);
  opacity: 1;
}

.play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  background: var(--yellow);
  clip-path: polygon(38% 28%, 72% 50%, 38% 72%);
  box-shadow: 0 0 0 10px rgba(255, 225, 74, 0.2);
}

.video__time {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  padding: 0.15rem 0.4rem;
  background: rgba(0, 0, 0, 0.75);
  font-size: 0.72rem;
  font-weight: 600;
}

.video strong {
  font-size: 0.95rem;
  line-height: 1.3;
  font-weight: 600;
}

.video:hover strong {
  color: var(--yellow);
}

/* Split recommended + popular */
.split {
  max-width: calc(var(--max) + 5rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.split__side {
  padding: 1.5rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  position: sticky;
  top: calc(var(--ticker-h) + var(--header-h) + 1rem);
}

.split__side h2,
.split__side h3 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}

.split__side h2 {
  font-size: 2rem;
}

.split__side h3 {
  margin-top: 1.75rem;
  font-size: 1.45rem;
  color: var(--yellow);
}

.rank {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.rank li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.65rem;
  align-items: start;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.rank span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--violet);
  line-height: 1;
}

.rank a {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
}

.rank a:hover {
  color: var(--yellow);
}

.side-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.side-links a {
  color: var(--muted);
  font-size: 0.92rem;
}

.side-links a:hover {
  color: var(--yellow);
}

.rec-list {
  display: grid;
  gap: 0.75rem;
}

.rec {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.65rem;
  background: var(--surface);
  transition: background 0.2s;
}

.rec:hover {
  background: rgba(255, 225, 74, 0.08);
}

.rec img {
  width: 110px;
  height: 74px;
  object-fit: cover;
}

.rec span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rec strong {
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 600;
}

.events__group {
  margin-bottom: 2rem;
}

.events__group h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  text-transform: uppercase;
  color: var(--yellow);
}

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

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes barPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.65;
  }
}

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

/* Responsive */
@media (max-width: 1100px) {
  .videos__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav {
    gap: 0.85rem;
  }

  .search {
    display: none;
  }
}

@media (max-width: 960px) {
  .feature,
  .about,
  .spotlight__grid,
  .split {
    grid-template-columns: 1fr;
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .mosaic__card--lg {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 280px;
  }

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

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

  .spot {
    aspect-ratio: 16 / 10;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
  }

  .split__side {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav,
  .site-header > .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    background: rgba(14, 6, 24, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .nav a {
    padding: 0.95rem 1.25rem;
    border-top: 1px solid var(--line);
  }

  .mosaic,
  .news-grid,
  .videos__grid {
    grid-template-columns: 1fr;
  }

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

  .subscribe__row {
    flex-direction: column;
  }

  .ticker__social {
    display: none;
  }

  .rec {
    grid-template-columns: 88px 1fr;
  }

  .rec img {
    width: 88px;
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__img,
  .reveal,
  .hero__content,
  .hero__bars,
  .bar--violet,
  .bar--yellow,
  .ticker__inner {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

/* ========== Accessibility widget ========== */
.a11y-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: #1e6bff;
  box-shadow: 0 10px 28px rgba(30, 107, 255, 0.45);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

.a11y-fab:hover {
  transform: scale(1.06);
}

.a11y-fab.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.a11y-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(8, 4, 18, 0.45);
}

.a11y-panel {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 80;
  width: min(340px, calc(100vw - 24px));
  max-height: min(860px, calc(100vh - 24px));
  display: flex;
  flex-direction: column;
  background: #eef2f7;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  color: #1a2332;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.a11y-panel[hidden],
.a11y-backdrop[hidden],
.a11y-mask[hidden],
.a11y-structure[hidden] {
  display: none !important;
}

.a11y-panel__head,
.a11y-panel__foot {
  background: #1e6bff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
}

.a11y-panel__head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
  color: #fff;
}

.a11y-panel__actions {
  display: flex;
  gap: 0.25rem;
}

.a11y-icon-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.a11y-icon-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.a11y-panel__body {
  overflow: auto;
  padding: 0.85rem;
  display: grid;
  gap: 0.75rem;
}

.a11y-group {
  background: #fff;
  border-radius: 14px;
  padding: 0.85rem;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

.a11y-group h3 {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
  color: #1a2332;
}

.a11y-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.a11y-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 92px;
  padding: 0.65rem 0.4rem;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #f3f5f8;
  color: #1a2332;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.a11y-opt:hover {
  background: #e8eef8;
}

.a11y-opt.is-active {
  border-color: #1e6bff;
  background: #edf3ff;
  color: #1e6bff;
}

.a11y-opt__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: inherit;
}

.a11y-opt__icon svg {
  width: 34px;
  height: 34px;
}

.a11y-panel__foot {
  font-size: 0.85rem;
  font-weight: 600;
  gap: 0.45rem;
  justify-content: flex-start;
}

.a11y-panel__badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #1e6bff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Reading mask */
.a11y-mask {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  background:
    linear-gradient(#000c, #000c) 0 0 / 100% calc(var(--mask-y, 50%) - 48px) no-repeat,
    linear-gradient(#000c, #000c) 0 calc(var(--mask-y, 50%) + 48px) / 100% 100% no-repeat;
}

/* Page structure drawer */
.a11y-structure {
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 75;
  width: min(280px, calc(100vw - 32px));
  max-height: min(70vh, 520px);
  background: #fff;
  color: #1a2332;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: system-ui, sans-serif;
}

.a11y-structure__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  background: #1e6bff;
  color: #fff;
}

.a11y-structure__head button {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.a11y-structure__list {
  overflow: auto;
  padding: 0.65rem;
  display: grid;
  gap: 0.25rem;
}

.a11y-structure__item {
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  color: #1a2332;
  font-size: 0.88rem;
}

.a11y-structure__item:hover {
  background: #edf3ff;
  color: #1e6bff;
}

.a11y-structure__item--h1 { font-weight: 700; }
.a11y-structure__item--h2 { padding-left: 0.9rem; }
.a11y-structure__item--h3 { padding-left: 1.4rem; font-size: 0.82rem; }

/* Mode effects on page */
html.a11y-big-text {
  font-size: 125%;
}

html.a11y-big-text body {
  font-size: 1.15rem;
}

html.a11y-spacing body,
html.a11y-spacing p,
html.a11y-spacing li,
html.a11y-spacing a {
  line-height: 1.9 !important;
  letter-spacing: 0.04em !important;
}

html.a11y-align body,
html.a11y-align p,
html.a11y-align h1,
html.a11y-align h2,
html.a11y-align h3,
html.a11y-align li {
  text-align: left !important;
}

html.a11y-readable body,
html.a11y-readable h1,
html.a11y-readable h2,
html.a11y-readable h3,
html.a11y-readable button,
html.a11y-readable input {
  font-family: Arial, Helvetica, sans-serif !important;
  font-style: normal !important;
}

html.a11y-contrast {
  filter: contrast(1.25);
}

html.a11y-contrast body {
  background: #000 !important;
  color: #fff !important;
}

html.a11y-contrast .site-header,
html.a11y-contrast .ticker,
html.a11y-contrast .watch__panel,
html.a11y-contrast .split__side,
html.a11y-contrast .card,
html.a11y-contrast .event {
  background: #111 !important;
  color: #fff !important;
  border-color: #fff !important;
}

html.a11y-contrast a {
  color: #ffe14a !important;
}

html.a11y-grayscale body > *:not(.a11y-panel):not(.a11y-backdrop):not(.a11y-fab):not(.a11y-mask):not(.a11y-structure) {
  filter: grayscale(1);
}

html.a11y-hide-images img:not(.a11y-panel img):not(.a11y-fab img) {
  visibility: hidden !important;
}

html.a11y-hide-images .hero__media,
html.a11y-hide-images .mosaic__card,
html.a11y-hide-images .card__media,
html.a11y-hide-images .spot,
html.a11y-hide-images .video__thumb,
html.a11y-hide-images .feature__visual,
html.a11y-hide-images .about__visual {
  background: #2a2a2a !important;
}

html.a11y-stop-motion *,
html.a11y-stop-motion *::before,
html.a11y-stop-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

html.a11y-links a {
  outline: 2px solid #ffe14a !important;
  outline-offset: 2px !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  background: rgba(255, 225, 74, 0.18) !important;
}

html.a11y-focus *:focus {
  outline: 3px solid #1e6bff !important;
  outline-offset: 3px !important;
}

html.a11y-focus *:focus-visible {
  outline: 3px solid #ffe14a !important;
  outline-offset: 3px !important;
}

@media (max-width: 760px) {
  .a11y-panel {
    right: 12px;
    left: 12px;
    width: auto;
    top: auto;
    bottom: 12px;
    transform: none;
    max-height: calc(100vh - 24px);
  }

  .a11y-structure {
    left: 12px;
    right: 12px;
    width: auto;
    top: auto;
    bottom: 12px;
    transform: none;
  }
}
