/* ============ The International 2026 — афиша: секции ============ */
.section {
  width: min(70rem, 100%);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 1.25rem 0;
}

.section__title {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin: 0 0 1.8rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section__title span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--red-bright);
}

.section__lead {
  margin: -0.6rem 0 1.8rem;
  max-width: 46rem;
  line-height: 1.65;
  color: var(--muted);
}

.section__lead strong {
  color: var(--gold-soft);
}

/* ---------- карточки-детали ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.card {
  position: relative;
  padding: 1.5rem 1.4rem 1.6rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
}

.card:hover {
  transform: translateY(-7px);
  border-color: rgba(230, 184, 79, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.card__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.card__value {
  margin: 0.7rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.06;
  color: var(--gold-soft);
}

.card__note {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- расписание ---------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.2rem;
  padding: 0 0 2.2rem 1.8rem;
}

.timeline__item::before {
  content: '';
  position: absolute;
  top: 0.45rem;
  left: -9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(230, 184, 79, 0.14);
}

.timeline__item--final::before {
  background: var(--red-bright);
  border-color: var(--gold-soft);
  box-shadow: 0 0 18px var(--red-bright);
}

.timeline__date {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.timeline__body h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  letter-spacing: 0.02em;
}

.timeline__body p {
  margin: 0;
  max-width: 44rem;
  line-height: 1.6;
  color: var(--muted);
}

.timeline__item--final .timeline__body h3 {
  color: var(--red-bright);
}

/* ---------- команды ---------- */
.teams {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  gap: 0.9rem;
}

.team {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-left: 4px solid var(--tc, var(--gold));
  border-radius: 12px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.team:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.075);
}

.team__tag {
  display: grid;
  place-items: center;
  min-width: 3rem;
  height: 3rem;
  padding: 0 0.3rem;
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: #140b06;
  background: var(--tc, var(--gold));
  border-radius: 10px;
}

.team b {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

/* ---------- чемпион ---------- */
.section--champion {
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.champ {
  position: relative;
  padding: clamp(2rem, 5vw, 3.4rem) clamp(1.4rem, 4vw, 3rem);
  text-align: center;
  background:
    radial-gradient(700px 240px at 50% 0%, rgba(230, 184, 79, 0.22), transparent 70%),
    linear-gradient(160deg, rgba(194, 58, 46, 0.24), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(230, 184, 79, 0.45);
  border-radius: 24px;
  overflow: hidden;
}

.champ::after {
  content: 'AEGIS';
  position: absolute;
  right: -1.2rem;
  bottom: -2.6rem;
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 11rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(230, 184, 79, 0.16);
  pointer-events: none;
}

.champ__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.26em;
  color: var(--gold-soft);
}

.champ__title {
  margin: 0.9rem 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, #fff6dd, var(--gold) 55%, #a06f18);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.champ__text {
  position: relative;
  z-index: 1;
  margin: 1.1rem auto 0;
  max-width: 46rem;
  line-height: 1.65;
  color: var(--muted);
}

.champ__text strong {
  color: var(--gold-soft);
}

.champ__row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 1.7rem;
}

.champ__place {
  padding: 0.6rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.champ__place--1 {
  color: #1c1104;
  font-weight: 700;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  border-color: transparent;
}

/* ---------- подвал ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.35);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--gold);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* ---------- появление при скролле ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- адаптив ---------- */
@media (max-width: 640px) {
  .timeline__item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding-left: 1.5rem;
  }

  .hero__year {
    font-size: clamp(7rem, 40vw, 14rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
