:root {
  color-scheme: dark;
  --bg: #07080c;
  --bg-2: #101018;
  --panel: rgba(17, 18, 27, 0.78);
  --panel-strong: rgba(24, 25, 36, 0.94);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f7f2e8;
  --muted: #a9a8b6;
  --gold: #ffc84a;
  --red: #ff3d32;
  --violet: #8b64ff;
  --green: #43f0a0;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 61, 50, 0.2), transparent 32rem),
    radial-gradient(circle at 85% 12%, rgba(255, 200, 74, 0.14), transparent 30rem),
    linear-gradient(180deg, #050609 0%, #0c0d13 42%, #07080c 100%);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.035) 39%, transparent 40% 100%),
    linear-gradient(90deg, transparent, rgba(255, 200, 74, 0.045), transparent);
  background-size: 180px 100%, 100% 100%;
  opacity: 0.7;
  animation: scan-sheen 9s linear infinite;
}

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

button {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  box-shadow: 0 0 18px rgba(255, 200, 74, 0.55);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 48px);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 8, 12, 0.78);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Orbitron, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.fan-made-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--red), var(--gold));
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 61, 50, 0.3);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.section {
  position: relative;
  padding: clamp(80px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.hero {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 360px);
  align-items: end;
  gap: 32px;
  padding-top: 120px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

.hero-bg::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 8, 12, 0.78) 0%, rgba(7, 8, 12, 0.24) 44%, rgba(7, 8, 12, 0.76) 100%),
    linear-gradient(180deg, rgba(7, 8, 12, 0.02), rgba(7, 8, 12, 0.82));
  z-index: 2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.06);
  animation: hero-kenburns 18s linear infinite;
  filter: saturate(1.18) contrast(1.12) brightness(1.14);
}

.hero-slide-one {
  background-image: url("assets/hero-br-champions.jpg");
}

.hero-slide-two {
  background-image: url("assets/hero-clash-champions.jpg");
  animation-delay: 6s;
}

.hero-slide-three {
  background-image: url("assets/hero-standings.jpg");
  animation-delay: 12s;
}

@keyframes hero-kenburns {
  0% {
    opacity: 0;
    transform: scale(1.08) translateX(0);
  }
  7% {
    opacity: 1;
  }
  31% {
    opacity: 1;
  }
  39% {
    opacity: 0;
    transform: scale(1.16) translateX(-2%);
  }
  100% {
    opacity: 0;
  }
}

.arena-grid {
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  height: 42%;
  background-image:
    linear-gradient(rgba(255, 200, 74, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 61, 50, 0.14) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(transparent, black 35%, transparent);
  transform: perspective(380px) rotateX(68deg) translateY(35%);
  transform-origin: bottom;
}

.hero-player {
  display: none;
  position: absolute;
  z-index: 3;
  right: clamp(18px, 10vw, 170px);
  bottom: 16%;
  width: min(31vw, 370px);
  aspect-ratio: 0.72;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 44% 44% 8px 8px;
  background:
    url("assets/team-logo.png") center 16% / 46% auto no-repeat,
    linear-gradient(160deg, rgba(255, 200, 74, 0.18), rgba(255, 61, 50, 0.06)),
    linear-gradient(180deg, transparent 0 16%, rgba(255, 200, 74, 0.2) 16% 17%, transparent 17% 100%),
    radial-gradient(circle at 50% 22%, #ffe2b0 0 11%, #151720 12% 100%);
  box-shadow: 0 0 80px rgba(255, 61, 50, 0.28);
  opacity: 0.78;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 800px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: Orbitron, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.95;
}

h1 {
  max-width: 780px;
  font-family: Orbitron, sans-serif;
  font-size: clamp(4rem, 8.6vw, 8.6rem);
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  max-width: 820px;
  font-family: Orbitron, sans-serif;
  font-size: clamp(2rem, 5vw, 5.6rem);
  font-weight: 900;
  text-transform: uppercase;
}

h3 {
  font-size: 1.1rem;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: #dedbe4;
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.7;
}

.hero-actions,
.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.button.primary {
  background: linear-gradient(135deg, var(--gold), #ff7b32);
  color: #120d08;
  border-color: transparent;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.hero-panel {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 10px;
  align-self: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 9, 14, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-logo {
  display: grid;
  min-height: 150px;
  place-items: center;
  background:
    radial-gradient(circle, rgba(255, 200, 74, 0.18), transparent 65%),
    rgba(255, 255, 255, 0.045);
}

.hero-logo img {
  width: min(150px, 70%);
  max-height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.42));
}

.hero-panel div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.metric {
  display: block;
  color: var(--gold);
  font-family: Orbitron, sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
}

.label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 48px;
  padding: 16px 0;
  color: var(--gold);
  font-family: Orbitron, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  animation: ticker 28s linear infinite;
}

.ticker-track span {
  white-space: nowrap;
}

@keyframes ticker {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

@keyframes scan-sheen {
  from { background-position: -220px 0, 0 0; }
  to { background-position: 220px 0, 0 0; }
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.legacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-panel,
.source-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-panel {
  min-height: 240px;
  padding: 26px;
}

.panel-number {
  color: var(--red);
  font-family: Orbitron, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-panel h3 {
  margin-top: 48px;
  font-size: 1.4rem;
}

.feature-panel p,
.source-card p {
  color: var(--muted);
  line-height: 1.72;
}

.tabs {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.tab-list {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: thin;
}

.tab-button,
.chip {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.tab-button.is-active,
.chip.is-active {
  background: var(--text);
  color: #08090d;
  border-color: transparent;
}

.tab-panel {
  display: none;
  padding: 16px;
}

.tab-panel.is-active {
  display: block;
}

.trophy-grid,
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.carousel-shell {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  perspective: 1400px;
}

.carousel-shell::before,
.carousel-shell::after {
  position: absolute;
  z-index: 3;
  top: 54px;
  bottom: 4px;
  width: 76px;
  content: "";
  pointer-events: none;
}

.carousel-shell::before {
  left: 0;
  background: linear-gradient(90deg, rgba(17, 18, 27, 0.96), transparent);
}

.carousel-shell::after {
  right: 0;
  background: linear-gradient(270deg, rgba(17, 18, 27, 0.96), transparent);
}

.carousel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 2px 4px 14px;
  color: var(--gold);
  font-family: Orbitron, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 200, 74, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.carousel-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 200, 74, 0.14);
  border-color: rgba(255, 200, 74, 0.58);
}

.flash-carousel,
.trophy-flash-carousel {
  position: relative;
  height: 520px;
  outline: none;
  transform-style: preserve-3d;
}

.flash-carousel::before,
.trophy-flash-carousel::before {
  position: absolute;
  inset: 9% 4% 4%;
  content: "";
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 200, 74, 0.14), transparent 62%);
  filter: blur(10px);
  transform: rotateX(72deg);
}

.flash-carousel .player-card,
.trophy-flash-carousel .trophy-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(270px, 30vw, 370px);
  opacity: var(--card-opacity, 0);
  transform:
    translateX(calc(-50% + var(--card-x, 0px)))
    translateY(var(--card-y, 0px))
    translateZ(var(--card-z, 0px))
    rotateY(var(--card-rotate, 0deg))
    scale(var(--card-scale, 1));
  z-index: var(--card-layer, 1);
  pointer-events: none;
}

.flash-carousel .player-card.is-active,
.flash-carousel .player-card.is-near,
.trophy-flash-carousel .trophy-card.is-active,
.trophy-flash-carousel .trophy-card.is-near {
  pointer-events: auto;
}

.flash-carousel .player-card.is-active,
.trophy-flash-carousel .trophy-card.is-active {
  border-color: rgba(255, 200, 74, 0.58);
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.62), 0 0 42px rgba(255, 200, 74, 0.2);
}

.player-card,
.trophy-card,
.summary-card {
  min-height: 180px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.player-card {
  min-height: 470px;
  overflow: hidden;
  padding: 0;
  transform: translateZ(0);
  transition:
    transform 520ms cubic-bezier(0.2, 0.78, 0.18, 1),
    opacity 420ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    filter 420ms ease;
  filter: brightness(var(--card-brightness, 0.58)) saturate(var(--card-saturation, 0.75));
}

.player-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 36%, rgba(7, 8, 12, 0.9) 72%, #07080c 100%),
    linear-gradient(135deg, rgba(255, 200, 74, 0.14), rgba(255, 61, 50, 0.12));
  pointer-events: none;
}

.player-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, transparent 0 28%, rgba(255, 255, 255, 0.16) 33%, transparent 38% 100%);
  opacity: 0;
  transform: translateX(-110%);
  transition: transform 540ms ease, opacity 220ms ease;
  pointer-events: none;
}

.player-card:hover {
  border-color: rgba(255, 200, 74, 0.48);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5), 0 0 32px rgba(255, 200, 74, 0.16);
}

.player-card:hover::after {
  opacity: 1;
  transform: translateX(110%);
}

.player-photo {
  position: relative;
  height: 305px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 200, 74, 0.24), transparent 45%),
    linear-gradient(145deg, #f6f2e9, #d9d2c5 45%, #181922 46%);
}

.player-photo::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 244, 217, 0.68), rgba(255, 244, 217, 0.08) 38%, rgba(17, 18, 27, 0.12)),
    url("assets/team-logo.png") center 48% / 56% auto no-repeat;
  opacity: 0.72;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
}

.player-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(1.08) contrast(1.05);
}

.player-photo::after {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  content: "";
  background: linear-gradient(transparent, rgba(7, 8, 12, 0.86));
  pointer-events: none;
}

.player-tag {
  position: absolute;
  z-index: 1;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  border: 1px solid rgba(255, 200, 74, 0.36);
  border-radius: 999px;
  background: rgba(7, 8, 12, 0.72);
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.player-avatar {
  position: relative;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin: -35px 18px 0;
  border: 1px solid rgba(255, 200, 74, 0.38);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 200, 74, 0.2), rgba(255, 61, 50, 0.12));
  color: var(--gold);
  font-family: Orbitron, sans-serif;
  font-weight: 900;
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.player-card h3,
.trophy-card h3,
.summary-card h3 {
  margin-top: 16px;
  line-height: 1.18;
}

.player-card h3,
.player-card p,
.player-card .player-meta,
.player-card .slang-line {
  position: relative;
  margin-inline: 18px;
}

.player-card h3 {
  margin-top: 18px;
  font-size: 1.35rem;
}

.player-card p {
  margin-bottom: 8px;
  color: var(--muted);
}

.slang-line {
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 36px);
  min-height: 28px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 200, 74, 0.26);
  border-radius: 999px;
  background: rgba(255, 200, 74, 0.09);
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.person-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.person-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  min-height: 180px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 20% 0%, rgba(255, 200, 74, 0.12), transparent 55%);
}

.person-passport {
  display: grid;
  width: 96px;
  height: 122px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 200, 74, 0.32);
  border-radius: var(--radius);
  background:
    url("assets/team-logo.png") center / 64% auto no-repeat,
    #161720;
}

.person-passport img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.person-card h3 {
  margin-top: 12px;
  line-height: 1.1;
}

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

.static-tag {
  position: static;
  display: inline-flex;
}

.player-meta,
.trophy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.trophy-shell {
  min-height: 520px;
}

.trophy-flash-carousel {
  height: 440px;
}

.trophy-flash-carousel .trophy-card {
  min-height: 430px;
  padding: 24px;
  transform:
    translateX(calc(-50% + var(--card-x, 0px)))
    translateY(var(--card-y, 0px))
    translateZ(var(--card-z, 0px))
    rotateY(var(--card-rotate, 0deg))
    scale(var(--card-scale, 1));
  opacity: var(--card-opacity, 0);
  z-index: var(--card-layer, 1);
  pointer-events: none;
  filter: brightness(var(--card-brightness, 0.58)) saturate(var(--card-saturation, 0.75));
  transition:
    transform 520ms cubic-bezier(0.2, 0.78, 0.18, 1),
    opacity 420ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    filter 420ms ease;
}

.trophy-visual {
  position: relative;
  display: grid;
  height: 184px;
  place-items: center;
  margin-bottom: 18px;
}

.trophy-visual::before {
  position: absolute;
  inset: 18px 16px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 74, 0.3), transparent 62%);
  filter: blur(18px);
}

.trophy-visual img {
  position: relative;
  z-index: 2;
  max-width: 78%;
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.52));
  transform: translateZ(30px);
}

.trophy-3d {
  position: relative;
  position: absolute;
  right: 20px;
  bottom: 0;
  width: 74px;
  height: 82px;
  margin: 0;
  opacity: 0.76;
  transform: perspective(520px) rotateX(8deg) rotateZ(4deg) scale(0.62);
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.5));
}

.cup-bowl,
.cup-bowl::before,
.cup-bowl::after,
.cup-stem,
.cup-base {
  position: absolute;
  display: block;
}

.cup-bowl {
  left: 24px;
  top: 12px;
  width: 80px;
  height: 72px;
  border-radius: 12px 12px 38px 38px;
  background: linear-gradient(135deg, #fff3a6, #ffb029 48%, #895113 100%);
  box-shadow: inset -14px -12px 18px rgba(78, 42, 0, 0.28), inset 10px 8px 18px rgba(255, 255, 255, 0.36);
}

.cup-bowl::before,
.cup-bowl::after {
  top: 14px;
  width: 34px;
  height: 42px;
  content: "";
  border: 8px solid #d58d20;
  border-radius: 50%;
}

.cup-bowl::before {
  left: -34px;
  border-right-color: transparent;
}

.cup-bowl::after {
  right: -34px;
  border-left-color: transparent;
}

.cup-stem {
  left: 55px;
  top: 78px;
  width: 18px;
  height: 34px;
  background: linear-gradient(90deg, #8b520c, #ffd35b, #8b520c);
}

.cup-base {
  left: 34px;
  top: 108px;
  width: 60px;
  height: 24px;
  border-radius: 6px 6px 10px 10px;
  background: linear-gradient(135deg, #6f3f0d, #ffba30, #5e3309);
}

.pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.place-1st {
  color: var(--gold);
}

.place-2nd {
  color: #d4d9e8;
}

.place-3rd {
  color: #ff9f62;
}

.data-table-wrap {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.data-table-wrap.tall {
  max-height: 560px;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: rgba(8, 9, 14, 0.48);
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #151620;
  color: var(--gold);
  font-family: Orbitron, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
}

td {
  color: #e5e1dc;
}

.timeline-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.timeline-year {
  color: var(--gold);
  font-family: Orbitron, sans-serif;
  font-weight: 900;
}

.timeline-text {
  color: #dfdce8;
  line-height: 1.6;
}

.jersey-section {
  padding-top: 0;
}

.jersey-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top left, rgba(255, 200, 74, 0.16), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.jersey-visual {
  position: relative;
  display: grid;
  min-height: 320px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 200, 74, 0.26);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 200, 74, 0.3), transparent 36%),
    linear-gradient(160deg, rgba(255, 61, 50, 0.16), rgba(8, 9, 14, 0.9));
}

.jersey-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 0 24%, rgba(7, 8, 12, 0.35) 24% 76%, rgba(7, 8, 12, 0.86) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%);
}

.jersey-visual img {
  position: relative;
  z-index: 1;
  width: min(52%, 220px);
  max-height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.42));
}

.coming-soon-banner {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 200, 74, 0.36);
  border-radius: 999px;
  background: rgba(7, 8, 12, 0.8);
  color: var(--gold);
  font-family: Orbitron, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.jersey-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 16px 6px 16px 4px;
}

.jersey-copy p {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.jersey-copy h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.jersey-page {
  min-height: 100svh;
}

.jersey-hero {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 120px clamp(18px, 5vw, 72px) 72px;
}

.jersey-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  width: min(920px, 100%);
  align-items: center;
  justify-items: center;
}

.jersey-card {
  position: relative;
  display: grid;
  width: min(100%, 720px);
  min-height: 560px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 200, 74, 0.26);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 200, 74, 0.12), transparent 28%),
    linear-gradient(160deg, rgba(255, 61, 50, 0.1), rgba(10, 11, 18, 0.95));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.jersey-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 0 20%, rgba(7, 8, 12, 0.16) 20% 75%, rgba(7, 8, 12, 0.92) 100%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.12), transparent 42%);
}

.jersey-card::after {
  position: absolute;
  inset: 12px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  pointer-events: none;
}

.jersey-shirt {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(72%, 460px);
  aspect-ratio: 0.8;
  place-items: center;
  clip-path: polygon(22% 0, 78% 0, 93% 15%, 100% 16%, 100% 100%, 0 100%, 0 16%, 7% 15%);
  border: 1px solid rgba(255, 200, 74, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at 50% 18%, rgba(255, 200, 74, 0.12), transparent 28%),
    linear-gradient(160deg, #281614 0 18%, #150f11 18% 82%, #1e1313 82% 100%);
  box-shadow: inset 0 -28px 80px rgba(0, 0, 0, 0.35);
}

.jersey-shirt::before,
.jersey-shirt::after {
  position: absolute;
  top: 0;
  width: 18%;
  height: 24%;
  content: "";
  background: linear-gradient(145deg, #ff5a1f, #ff3d32 56%, #c91f12);
}

.jersey-shirt::before {
  left: -2px;
  clip-path: polygon(100% 0, 0 18%, 0 100%, 100% 100%);
}

.jersey-shirt::after {
  right: -2px;
  clip-path: polygon(0 0, 100% 18%, 100% 100%, 0 100%);
}

.jersey-neckline {
  position: absolute;
  top: 16px;
  width: 31%;
  height: 60px;
  border: 1px solid rgba(255, 200, 74, 0.22);
  border-radius: 0 0 38px 38px;
  background: linear-gradient(180deg, rgba(255, 200, 74, 0.08), transparent);
}

.jersey-chest-logo,
.jersey-flag {
  position: absolute;
  z-index: 1;
  top: 39%;
  transform: translateY(-50%);
}

.jersey-chest-logo {
  right: 16%;
  width: min(20%, 92px);
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.42));
}

.jersey-flag {
  left: 18%;
  width: min(18%, 88px);
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.22);
}

.jersey-sample-label {
  position: absolute;
  top: 18px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(255, 200, 74, 0.24);
  border-radius: 999px;
  background: rgba(7, 8, 12, 0.72);
  color: var(--muted);
  font-family: Orbitron, sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jersey-shirt .jersey-logo {
  display: none;
}

.jersey-overlay {
  position: absolute;
  inset: auto 0 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 0 18px;
  text-align: center;
}

.jersey-overlay .coming-soon-banner {
  position: static;
}

.jersey-overlay p {
  margin: 0;
  color: #f1ece3;
  font-size: 0.95rem;
  line-height: 1.6;
}

.jersey-back {
  justify-self: center;
  margin-top: 20px;
}

.jersey-image {
  position: relative;
  z-index: 1;
  width: min(88%, 520px);
  max-height: 72vh;
  object-fit: contain;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.55));
}

.jersey-footnote {
  display: grid;
  gap: 14px;
  justify-items: center;
  max-width: 720px;
  margin: 4px auto 0;
  text-align: center;
}

.jersey-footnote p {
  color: var(--muted);
  line-height: 1.72;
}

.jersey-footnote h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.source-card {
  max-width: 920px;
  padding: clamp(24px, 5vw, 48px);
}

.partner-section {
  padding-top: 0;
}

.partner-card {
  max-width: 920px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(255, 200, 74, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 15% 0%, rgba(139, 100, 255, 0.16), transparent 26rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.partner-branding {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.partner-logo {
  width: 100%;
  max-width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.35));
}

.partner-card p {
  color: var(--muted);
  line-height: 1.72;
}

.partner-branding h2 {
  margin-bottom: 8px;
}

@media (max-width: 720px) {
  .partner-branding {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .partner-logo {
    max-width: 140px;
  }
}

.quick-scroll {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 8px;
}

.quick-scroll button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(17, 18, 27, 0.82);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(7, 8, 12, 0.95);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: end;
  }

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

  .legacy-grid {
    grid-template-columns: 1fr;
  }

  .jersey-panel,
  .jersey-stage {
    grid-template-columns: 1fr;
  }

  .jersey-card {
    min-height: 480px;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 66px;
    padding-inline: 14px;
  }

  .brand {
    font-size: 0.78rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: 92svh;
    padding-top: 110px;
  }

  .hero-player {
    right: -18vw;
    bottom: 28%;
    width: 62vw;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 5.2rem);
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .metric {
    font-size: 1.28rem;
  }

  .carousel-shell::before,
  .carousel-shell::after {
    width: 28px;
  }

  .carousel-topline {
    padding-inline: 2px;
  }

  .carousel-shell {
    min-height: 540px;
  }

  .flash-carousel {
    height: 490px;
  }

  .flash-carousel .player-card,
  .trophy-flash-carousel .trophy-card {
    width: min(78vw, 310px);
  }

  .player-card {
    min-height: 460px;
  }

  .player-photo {
    height: 300px;
  }

  .person-card {
    grid-template-columns: 1fr;
  }

  .person-passport {
    width: 118px;
    height: 142px;
  }

  .trophy-shell {
    min-height: 500px;
  }

.trophy-flash-carousel {
    height: 450px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .jersey-visual {
    min-height: 260px;
  }

  .jersey-card {
    min-height: 420px;
    border-radius: 22px;
  }

  .jersey-shirt {
    width: min(82%, 340px);
  }

  .jersey-chest-logo {
    width: min(21%, 74px);
  }

  .jersey-flag {
    width: min(20%, 72px);
  }

  .jersey-hero {
    padding-top: 104px;
  }

  .quick-scroll {
    grid-auto-flow: column;
    right: 12px;
    left: 12px;
    justify-content: center;
  }
}

/* Footer and Legal Notice Styles */
.site-footer {
  background: rgba(7, 8, 12, 0.95);
  border-top: 1px solid var(--line);
  padding: clamp(32px, 5vw, 64px) clamp(18px, 4vw, 48px);
  margin-top: 64px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.legal-notice {
  background: rgba(24, 25, 36, 0.6);
  border-left: 3px solid var(--red);
  padding: 20px 24px;
  border-radius: var(--radius);
}

.legal-notice p {
  margin: 12px 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.legal-notice p:first-child {
  margin-top: 0;
}

.legal-notice p:last-child {
  margin-bottom: 0;
  font-size: 0.85rem;
  opacity: 0.8;
}

.legal-notice strong {
  color: var(--text);
  font-weight: 600;
}
