:root {
  --ink: #071a38;
  --cream: #eef3f9;
  --paper: #ffffff;
  --lime: #b9f227;
  --orange: #ff672f;
  --blue: #55b7ff;
  --line: rgba(7, 26, 56, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

.portal-header {
  align-items: center;
  background: #071a38;
  color: white;
  display: flex;
  min-height: 76px;
  padding: 0 4vw;
  position: sticky;
  top: 0;
  z-index: 50;
}

.portal-brand {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  font-size: 0.95rem;
  font-weight: 900;
  gap: 10px;
  letter-spacing: -0.04em;
}

.portal-brand img {
  border-radius: 50%;
  height: 40px;
  width: 40px;
}

.portal-brand strong {
  color: var(--orange);
}

.portal-nav {
  align-items: center;
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.portal-nav a {
  color: #b9c7da;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  padding: 30px 0 27px;
  position: relative;
  text-transform: uppercase;
}

.portal-nav a::after {
  background: var(--orange);
  bottom: 18px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transition: transform 180ms ease;
  width: 100%;
}

.portal-nav a:hover,
.portal-nav a.active {
  color: white;
}

.portal-nav a:hover::after,
.portal-nav a.active::after {
  transform: scaleX(1);
}

.portal-nav .portal-championat {
  background: var(--orange);
  border-radius: 999px;
  color: white;
  padding: 11px 15px;
}

.portal-nav .portal-championat::after {
  display: none;
}

.event-ribbon {
  align-items: center;
  background: var(--orange);
  color: white;
  display: grid;
  gap: 18px;
  grid-template-columns: auto auto 1fr auto auto;
  padding: 13px 4vw;
}

.event-ribbon span {
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.event-ribbon strong {
  border-left: 1px solid rgba(255,255,255,.45);
  font-size: 0.77rem;
  padding-left: 18px;
}

.event-ribbon b {
  font-size: 0.8rem;
}

.event-ribbon i,
.event-ribbon em {
  font-size: 0.68rem;
  font-style: normal;
}

.event-ribbon em {
  font-weight: 900;
}

.home-header {
  position: relative;
}

.home-header + .event-ribbon + .hero {
  padding-top: 115px;
}

.portal-main {
  background: var(--cream);
  min-height: 80vh;
}

.portal-hero {
  background-color: var(--ink);
  background-image: linear-gradient(rgba(85,183,255,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(85,183,255,.1) 1px,transparent 1px);
  background-size: 64px 64px;
  color: white;
  overflow: hidden;
  padding: 100px 6vw;
  position: relative;
}

.portal-hero::after {
  background: var(--orange);
  border-radius: 50%;
  content: "";
  filter: blur(1px);
  height: 300px;
  opacity: .9;
  position: absolute;
  right: -80px;
  top: -100px;
  width: 300px;
}

.portal-hero.compact {
  min-height: 430px;
}

.portal-kicker {
  color: var(--lime);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .16em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.portal-hero h1 {
  font-size: clamp(4rem,8vw,8rem);
  letter-spacing: -.08em;
  line-height: .82;
  margin: 0;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.portal-hero h1 em {
  color: var(--orange);
  font-family: Georgia,serif;
  font-weight: 400;
  text-transform: none;
}

.portal-hero > p:last-child {
  color: #b9c7da;
  line-height: 1.65;
  max-width: 560px;
}

.portal-section {
  margin: 0 auto;
  max-width: 1350px;
  padding: 80px 5vw;
}

.event-list {
  background: white;
  border-top: 4px solid var(--orange);
}

.event-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 30px;
  grid-template-columns: 145px 1fr auto;
  padding: 28px;
}

.event-date {
  color: var(--orange);
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: -.03em;
}

.event-row span,
.video-card > span {
  color: #6a7788;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.event-row h2,
.video-card h2 {
  font-size: 1.6rem;
  letter-spacing: -.05em;
  margin: 5px 0;
}

.event-row p {
  color: #687386;
  margin: 4px 0;
}

.event-row > a,
.portal-button {
  background: var(--orange);
  border: 0;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  font-size: .68rem;
  font-weight: 900;
  padding: 13px 17px;
  text-transform: uppercase;
}

.video-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3,1fr);
}

.video-card {
  background: white;
  border: 1px solid var(--line);
  padding: 16px;
}

.video-card-media {
  align-items: center;
  aspect-ratio: 16/9;
  background: var(--ink);
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.video-card-media video {
  height: 100%;
  width: 100%;
}

.video-card-media > a {
  align-items: center;
  background: var(--orange);
  border-radius: 50%;
  color: white;
  display: flex;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.video-card p {
  color: #687386;
  line-height: 1.6;
}

.song-filter input {
  background: white;
  border: 1px solid var(--line);
  font-size: 1rem;
  padding: 17px 20px;
  width: 100%;
}

.song-tools {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.5fr 1fr;
}

.playlist-panel,
.ranking-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
}

.listener-name { display:block; font-size:.75rem; font-weight:800; margin:22px 0; }
.listener-name input { border:1px solid var(--line); display:block; margin-top:8px; padding:12px; width:100%; }
.playlist-actions { display:flex; flex-wrap:wrap; gap:9px; }
.playlist-actions button,.song-add { background:var(--orange); border:0; color:#fff; cursor:pointer; font-weight:900; padding:10px 14px; }
#my-playlist { list-style:none; margin:20px 0 0; padding:0; }
#my-playlist li,.ranking-panel li { align-items:center; border-top:1px solid var(--line); display:flex; gap:12px; justify-content:space-between; padding:12px 0; }
#my-playlist small,.ranking-panel small { display:block; }
#my-playlist button { cursor:pointer; margin-left:4px; }
.ranking-panel ol { list-style-position:inside; margin:0; padding:0; }
.song-add { border-radius:50%; font-size:1.2rem; height:38px; padding:0; width:38px; }

.song-group {
  margin-top: 45px;
}

.song-group > h2 {
  align-items: baseline;
  color: var(--ink);
  display: flex;
  font-size: 2rem;
  gap: 12px;
  letter-spacing: -.05em;
}

.song-group > h2 span {
  color: #7b8797;
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.song-list {
  background: white;
  border-top: 3px solid var(--orange);
}

.song-list article {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 15px;
  grid-template-columns: 42px 1fr minmax(240px,420px);
  padding: 13px 18px;
}

.song-list article[hidden],
.song-group[hidden],
.portal-empty[hidden] {
  display: none !important;
}

.song-play {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--lime);
  display: flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.song-list article > div {
  display: flex;
  flex-direction: column;
}

.song-list small {
  color: #7c8796;
}

.song-list audio {
  height: 34px;
  width: 100%;
}

.partner-layout {
  align-items: start;
  display: grid;
  gap: 35px;
  grid-template-columns: 1.2fr .8fr;
}

.section-minihead span,
.partner-form > p {
  color: var(--orange);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.section-minihead h2,
.partner-form h2 {
  font-size: 2.4rem;
  letter-spacing: -.06em;
  margin: 5px 0 25px;
}

.partner-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.partner-list article {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 50px 1fr auto;
  padding: 18px;
}

.partner-list article.matched {
  opacity: .65;
}

.partner-avatar {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--lime);
  display: flex;
  font-size: 1.2rem;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.partner-list span {
  color: var(--orange);
  font-size: .58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.partner-list h3 {
  margin: 4px 0;
}

.partner-list p,
.partner-list small {
  color: #6f7b8b;
}

.partner-list article > b {
  background: var(--lime);
  border-radius: 999px;
  font-size: .58rem;
  padding: 8px 10px;
  text-transform: uppercase;
}

.partner-form {
  background: var(--ink);
  color: white;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 30px;
  position: sticky;
  top: 95px;
}

.partner-form label {
  color: #b9c7da;
  display: flex;
  flex-direction: column;
  font-size: .62rem;
  font-weight: 900;
  gap: 6px;
  text-transform: uppercase;
}

.partner-form input,
.partner-form select,
.partner-form textarea {
  background: #122d54;
  border: 1px solid #3c5272;
  color: white;
  font: 400 .82rem Arial,sans-serif;
  padding: 12px;
}

.form-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.form-success,
.form-error {
  background: var(--lime);
  color: var(--ink);
  font-size: .7rem;
  font-weight: 800;
  padding: 12px;
}

.form-error {
  background: #ffb39a;
}

.portal-empty {
  background: white;
  color: #6f7b8b;
  padding: 30px;
  text-align: center;
}

.portal-footer {
  align-items: center;
  background: #031127;
  color: white;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
  padding: 45px 4vw;
}

.portal-footer > p,
.portal-footer > small {
  color: #8191a7;
  justify-self: end;
}

.portal-footer nav {
  display: flex;
  font-size: .65rem;
  font-weight: 900;
  gap: 20px;
  text-transform: uppercase;
}

.portal-footer > small {
  font-size: .6rem;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  align-items: center;
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 82px;
  left: 0;
  padding: 0 4vw;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.brand {
  align-items: center;
  display: flex;
  font-size: 1.05rem;
  font-weight: 900;
  gap: 11px;
  letter-spacing: -0.04em;
}

.brand > span:last-child > span {
  color: #5d6258;
  font-weight: 500;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--lime);
  display: inline-flex;
  font-size: 0.72rem;
  height: 38px;
  justify-content: center;
  letter-spacing: -0.07em;
  transform: rotate(-8deg);
  width: 38px;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  position: relative;
  text-transform: uppercase;
}

nav a::after {
  background: var(--ink);
  bottom: -8px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  align-items: center;
  display: flex;
  font-size: 0.72rem;
  font-weight: 900;
  gap: 10px;
  justify-self: end;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-cta span {
  align-items: center;
  background: var(--lime);
  border-radius: 50%;
  display: flex;
  font-size: 1rem;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.hero {
  background: var(--cream);
  min-height: 780px;
  overflow: hidden;
  padding: 185px 4vw 70px;
  position: relative;
}

.hero-grid {
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  height: 100%;
  inset: 0;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  opacity: 0.35;
  position: absolute;
}

.hero-copy {
  max-width: 730px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.kicker {
  align-items: center;
  display: flex;
  font-size: 0.69rem;
  font-weight: 900;
  gap: 9px;
  letter-spacing: 0.15em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.live-dot {
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 100, 51, 0.17);
  height: 7px;
  width: 7px;
}

.hero h1 {
  font-size: clamp(4.5rem, 8.4vw, 9rem);
  font-weight: 950;
  letter-spacing: -0.085em;
  line-height: 0.79;
  margin: 0;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-transform: none;
}

.outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.hero-intro {
  font-size: 1.1rem;
  line-height: 1.65;
  margin: 40px 0 30px;
  max-width: 520px;
}

.hero-actions {
  align-items: center;
  display: flex;
  gap: 26px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.73rem;
  font-weight: 900;
  gap: 34px;
  letter-spacing: 0.08em;
  padding: 17px 22px;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  box-shadow: 0 10px 0 rgba(16, 18, 15, 0.15);
  transform: translateY(-3px);
}

.button-primary {
  background: var(--lime);
  border: 2px solid var(--ink);
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-light {
  background: white;
  color: var(--ink);
}

.text-link {
  border-bottom: 1px solid var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 12px 0 7px;
  text-transform: uppercase;
}

.arena {
  height: 540px;
  position: absolute;
  right: -30px;
  top: 145px;
  width: 540px;
}

.arena::before {
  background: var(--lime);
  border-radius: 50%;
  content: "";
  filter: blur(2px);
  height: 360px;
  left: 90px;
  position: absolute;
  top: 90px;
  width: 360px;
}

.arena-ring {
  border: 1px solid rgba(16, 18, 15, 0.32);
  border-radius: 50%;
  inset: 35px;
  position: absolute;
}

.ring-one {
  animation: spin 18s linear infinite;
  border-style: dashed;
}

.ring-two {
  inset: 74px;
}

.arena-core {
  align-items: center;
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  position: absolute;
  transform: rotate(-7deg);
}

.arena-core span {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.34em;
}

.arena-core strong {
  font-size: 4.1rem;
  letter-spacing: -0.09em;
  line-height: 1;
}

.arena-core small {
  border-top: 2px solid;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  margin-top: 8px;
  padding-top: 8px;
}

.orbit-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  display: flex;
  flex-direction: column;
  padding: 13px 17px;
  position: absolute;
  transform: rotate(-5deg);
}

.orbit-card b {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.orbit-card span {
  font-size: 0.66rem;
  margin-top: 4px;
}

.orbit-one {
  left: 4px;
  top: 110px;
}

.orbit-two {
  right: 14px;
  top: 112px;
  transform: rotate(7deg);
}

.orbit-three {
  bottom: 52px;
  left: 194px;
  transform: rotate(3deg);
}

.ball {
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 50%;
  height: 26px;
  position: absolute;
  width: 26px;
}

.ball-one {
  left: 35px;
  top: 315px;
}

.ball-two {
  background: var(--blue);
  right: 48px;
  top: 350px;
}

.hero-stat {
  bottom: 56px;
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 4vw;
  width: 420px;
}

.hero-stat > span {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
}

.hero-stat > strong {
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero-stat div {
  border-top: 1px solid var(--ink);
  display: flex;
  gap: 20px;
  margin-top: 10px;
  padding-top: 10px;
}

.hero-stat i {
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ticker {
  background: var(--ink);
  color: white;
  overflow: hidden;
  padding: 19px 0;
  white-space: nowrap;
}

.ticker div {
  animation: marquee 24s linear infinite;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  width: max-content;
}

.ticker span {
  color: var(--lime);
  margin: 0 28px;
}

.section {
  padding: 110px 4vw;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 40px;
  grid-template-columns: 1.4fr 0.6fr;
  margin-bottom: 52px;
}

.section-heading h2,
.knowledge h2,
.software h2,
.championat h2,
.cta-section h2 {
  font-size: clamp(3.1rem, 5.6vw, 6rem);
  letter-spacing: -0.075em;
  line-height: 0.92;
  margin: 0;
  text-transform: uppercase;
}

.section-heading h2 span,
.knowledge h2 span,
.software h2 span,
.cta-section h2 span {
  color: var(--orange);
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

.section-heading > p {
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
  max-width: 470px;
}

.tournament-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.tournament-card {
  border: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  overflow: hidden;
  padding: 22px;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tournament-card:hover {
  box-shadow: 9px 9px 0 var(--ink);
  transform: translate(-4px, -4px);
}

.card-summary {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 650;
  line-height: 1.45;
  margin: 52px 0 30px;
  max-width: 38ch;
  opacity: .78;
}

.card-image {
  border: 1px solid rgba(16, 18, 15, .45);
  height: 190px;
  margin: 24px 0 18px;
  object-fit: cover;
  width: 100%;
}

.card-image + .card-summary {
  margin-top: 0;
}

.tournament-card.lime {
  background: var(--lime);
}

.tournament-card.orange {
  background: var(--orange);
}

.tournament-card.blue {
  background: var(--blue);
}

.card-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.card-top > span:first-child {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.round-arrow {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.court-lines {
  inset: 75px 22px 135px;
  opacity: 0.28;
  position: absolute;
}

.court-lines::before,
.court-lines::after {
  border: 2px solid var(--ink);
  content: "";
  inset: 0;
  position: absolute;
}

.court-lines::after {
  border-bottom: 0;
  border-top: 0;
  left: 50%;
  width: 0;
}

.court-lines span {
  border-top: 2px solid var(--ink);
  left: 0;
  position: absolute;
  top: 50%;
  width: 100%;
}

.card-copy {
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.card-copy p {
  font-size: 0.72rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.card-copy h3 {
  font-size: clamp(1.8rem, 2.7vw, 3rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.card-copy > span {
  border-top: 1px solid rgba(16, 18, 15, 0.42);
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding-top: 12px;
  text-transform: uppercase;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.knowledge {
  background: var(--ink);
  color: white;
  display: grid;
  gap: 8vw;
  grid-template-columns: 0.85fr 1.15fr;
}

.kicker.light {
  color: var(--lime);
}

.knowledge-head > p:last-child {
  color: #b6baaf;
  line-height: 1.7;
  max-width: 430px;
}

.guide {
  align-items: center;
  border-top: 1px solid #3d4139;
  display: grid;
  gap: 22px;
  grid-template-columns: 28px 120px 1fr 28px;
  padding: 22px 0;
}

.guide:last-child {
  border-bottom: 1px solid #3d4139;
}

.guide-number {
  color: #767b70;
  font-size: 0.68rem;
  font-weight: 800;
}

.video-preview {
  align-items: center;
  aspect-ratio: 1.5;
  background: #2a2d27;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.video-preview::before {
  background: linear-gradient(115deg, transparent 20%, #43483e 20%, #43483e 45%, transparent 45%);
  content: "";
  inset: 0;
  opacity: 0.55;
  position: absolute;
}

.play {
  align-items: center;
  background: var(--lime);
  border-radius: 50%;
  color: var(--ink);
  display: flex;
  font-size: 0.7rem;
  height: 36px;
  justify-content: center;
  padding-left: 2px;
  position: relative;
  width: 36px;
}

.duration {
  bottom: 5px;
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  position: absolute;
  right: 7px;
}

.guide-copy > span {
  color: var(--lime);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-copy h3 {
  font-size: 1.25rem;
  margin: 7px 0;
}

.guide-copy p {
  color: #aeb2a8;
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0;
}

.guide-arrow {
  font-size: 1.2rem;
}

.software {
  align-items: center;
  background: var(--cream);
  display: grid;
  gap: 8vw;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 720px;
}

.software-copy > p:not(.kicker) {
  line-height: 1.7;
  margin: 30px 0;
  max-width: 520px;
}

.software-board {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 500px;
  perspective: 900px;
  position: relative;
}

.board-glow {
  background: var(--lime);
  border-radius: 50%;
  filter: blur(50px);
  height: 380px;
  opacity: 0.55;
  position: absolute;
  width: 380px;
}

.board-window {
  background: #171a15;
  border: 1px solid #444a3e;
  box-shadow: 28px 34px 0 rgba(16, 18, 15, 0.12);
  color: white;
  position: relative;
  transform: rotateY(-9deg) rotateX(4deg) rotateZ(2deg);
  width: min(540px, 92%);
  z-index: 1;
}

.window-top {
  align-items: center;
  border-bottom: 1px solid #3a3e36;
  display: flex;
  gap: 6px;
  padding: 12px 14px;
}

.window-top span {
  background: #555a50;
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.window-top span:first-child {
  background: var(--orange);
}

.window-top b {
  color: #9ca096;
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  margin-left: auto;
}

.window-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 25px;
}

.window-score {
  border-right: 1px solid #3a3e36;
  display: flex;
  flex-direction: column;
}

.window-score small {
  color: var(--lime);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.window-score strong {
  font-size: 5rem;
  letter-spacing: -0.09em;
}

.window-score strong i {
  color: #676c62;
  font-style: normal;
}

.window-score span {
  color: #8d9288;
  font-size: 0.7rem;
}

.window-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  padding-left: 25px;
}

.window-rows span {
  align-items: center;
  border-bottom: 1px solid #343830;
  display: flex;
  font-size: 0.65rem;
  gap: 8px;
  padding-bottom: 9px;
}

.window-rows i {
  background: var(--lime);
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.window-rows b {
  margin-left: auto;
}

.feature-chip {
  background: white;
  border: 1px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  padding: 10px 14px;
  position: absolute;
  text-transform: uppercase;
  z-index: 2;
}

.chip-one {
  left: 0;
  top: 86px;
}

.chip-two {
  right: 8px;
  top: 42px;
}

.chip-three {
  bottom: 56px;
  right: 6px;
}

.championat {
  background: var(--orange);
  display: grid;
  gap: 8vw;
  grid-template-columns: 1fr 1fr;
  padding: 100px 4vw;
}

.gallery-section {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(12, 1fr);
}

.gallery-grid figure {
  background: var(--ink);
  grid-column: span 4;
  height: 280px;
  margin: 0;
  overflow: hidden;
}

.gallery-grid figure:nth-child(1),
.gallery-grid figure:nth-child(6) {
  grid-column: span 7;
}

.gallery-grid figure:nth-child(2),
.gallery-grid figure:nth-child(5) {
  grid-column: span 5;
}

.gallery-grid img {
  height: 100%;
  object-fit: cover;
  transition: filter 250ms ease, transform 400ms ease;
  width: 100%;
}

.gallery-grid figure:hover img {
  filter: saturate(1.15);
  transform: scale(1.035);
}

.legal-page {
  background: var(--cream);
  min-height: 100vh;
  padding: 80px 20px;
}

.legal-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  margin: 0 auto;
  max-width: 860px;
  padding: clamp(28px, 5vw, 65px);
}

.legal-card h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: -0.07em;
  margin: 22px 0 40px;
  text-transform: uppercase;
}

.legal-card h2 {
  border-top: 1px solid var(--line);
  font-size: 1.2rem;
  margin: 32px 0 12px;
  padding-top: 24px;
}

.legal-card p,
.legal-card li {
  font-size: 0.92rem;
  line-height: 1.7;
}

.legal-back {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.championat h2 {
  font-size: clamp(4rem, 7vw, 7.4rem);
}

.championat-copy > p {
  font-size: 1.25rem;
  line-height: 1.55;
  margin: 5px 0 32px;
  max-width: 580px;
}

.championat-facts {
  border-bottom: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 35px;
  padding: 19px 0;
}

.championat-facts span {
  display: flex;
  flex-direction: column;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.championat-facts b {
  font-size: 1.8rem;
}

.cta-section {
  align-items: center;
  background: var(--ink);
  color: white;
  display: flex;
  flex-direction: column;
  min-height: 640px;
  padding: 120px 4vw;
  text-align: center;
}

.cta-section > p {
  color: var(--lime);
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
}

.cta-section h2 {
  font-size: clamp(4rem, 8vw, 8rem);
  margin-bottom: 50px;
}

footer {
  align-items: center;
  background: var(--ink);
  border-top: 1px solid #353830;
  color: white;
  display: grid;
  gap: 25px;
  grid-template-columns: 1fr 1fr;
  padding: 42px 4vw;
}

.footer-brand > span:last-child > span {
  color: #9ca096;
}

footer > p {
  color: #8f9488;
  font-size: 0.75rem;
  justify-self: end;
  margin: 0;
}

.footer-links {
  display: flex;
  font-size: 0.67rem;
  font-weight: 800;
  gap: 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer small {
  color: #6f746a;
  font-size: 0.62rem;
  justify-self: end;
}

.admin-footer-link {
  color: #6f746a;
  font-size: 0.58rem;
  justify-self: end;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1050px) {
  .portal-header {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 10px;
    padding-top: 10px;
    position: relative;
  }

  .portal-nav {
    flex-wrap: wrap;
    gap: 14px;
    margin: 8px 0 0;
  }

  .portal-nav a {
    padding: 7px 0;
  }

  .portal-nav a::after {
    bottom: 1px;
  }

  .event-ribbon {
    grid-template-columns: auto 1fr auto;
  }

  .event-ribbon i,
  .event-ribbon span {
    display: none;
  }

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

  .partner-layout {
    grid-template-columns: 1fr;
  }

  .partner-form {
    position: static;
  }
  nav {
    display: none;
  }

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

  .arena {
    opacity: 0.32;
    right: -150px;
  }

  .hero-stat {
    display: none;
  }

  .knowledge,
  .software {
    gap: 60px;
    grid-template-columns: 1fr;
  }

  .software-board {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .song-tools { grid-template-columns:1fr; }
  .portal-brand img {
    height: 34px;
    width: 34px;
  }

  .portal-nav .portal-championat {
    padding: 7px 10px;
  }

  .event-ribbon {
    gap: 9px;
    grid-template-columns: auto 1fr;
  }

  .event-ribbon b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .event-ribbon em {
    display: none;
  }

  .portal-hero.compact {
    min-height: 350px;
    padding: 75px 20px;
  }

  .portal-section {
    padding: 55px 15px;
  }

  .event-row {
    grid-template-columns: 1fr;
  }

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

  .song-list article {
    grid-template-columns: 36px 1fr;
  }

  .song-list audio {
    grid-column: 1/-1;
  }

  .partner-list article {
    grid-template-columns: 45px 1fr;
  }

  .partner-list article > b {
    grid-column: 2;
    justify-self: start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .portal-footer > p,
  .portal-footer > small {
    justify-self: start;
  }
  .site-header {
    height: 70px;
    padding: 0 20px;
  }

  .header-cta {
    font-size: 0;
  }

  .hero {
    min-height: 730px;
    padding: 150px 20px 70px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 17vw, 6rem);
  }

  .hero-intro {
    font-size: 1rem;
    max-width: 85%;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .arena {
    bottom: -170px;
    height: 430px;
    opacity: 0.25;
    right: -140px;
    top: auto;
    width: 430px;
  }

  .arena-core strong {
    font-size: 3.2rem;
  }

  .section {
    padding: 80px 20px;
  }

  .section-heading {
    align-items: start;
    grid-template-columns: 1fr;
  }

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

  .tournament-card {
    aspect-ratio: 1.1;
  }

  .knowledge {
    gap: 45px;
  }

  .guide {
    gap: 14px;
    grid-template-columns: 25px 90px 1fr;
  }

  .guide-arrow {
    display: none;
  }

  .guide-copy p {
    display: none;
  }

  .software {
    min-height: auto;
  }

  .software-board {
    min-height: 350px;
  }

  .window-main {
    grid-template-columns: 1fr;
  }

  .window-score {
    border-bottom: 1px solid #3a3e36;
    border-right: 0;
    padding-bottom: 20px;
  }

  .window-rows {
    padding: 20px 0 0;
  }

  .chip-one,
  .chip-two {
    top: 6px;
  }

  .championat {
    gap: 45px;
    grid-template-columns: 1fr;
    padding: 80px 20px;
  }

  .gallery-grid figure,
  .gallery-grid figure:nth-child(n) {
    grid-column: span 12;
    height: 230px;
  }

  .championat-facts {
    gap: 12px;
  }

  .cta-section {
    min-height: 560px;
    padding: 90px 20px;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  footer > p,
  footer small {
    justify-self: start;
  }

  .admin-footer-link {
    justify-self: start;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

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