/* «Кубок Мэра Москвы. Хоккей 2026» — страница-приглашение.
   Mobile-first (375–430px), десктоп — колонка ~560px по центру. */

/* ---------- Шрифты ---------- */

/* Unbounded — заголовки */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/unbounded-400-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/unbounded-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/unbounded-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('assets/fonts/unbounded-600-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('assets/fonts/unbounded-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('assets/fonts/unbounded-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('assets/fonts/unbounded-800-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('assets/fonts/unbounded-800-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('assets/fonts/unbounded-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Onest — текст */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/onest-400-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/onest-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/onest-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/onest-500-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/onest-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/onest-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('assets/fonts/onest-700-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('assets/fonts/onest-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('assets/fonts/onest-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Bebas Neue — только цифры/латиница в разделе «Спартака» (кириллицы в шрифте нет) */
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/BebasNeue-Regular.ttf') format('truetype'); }

/* Raleway — текст в разделе «Спартака» */
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/Raleway-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/Raleway-Medium.ttf') format('truetype'); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('assets/fonts/Raleway-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('assets/fonts/Raleway-Bold.ttf') format('truetype'); }

/* ---------- Токены ---------- */

:root {
  --bg: #090B3C;
  --blue: #006DF3;
  --red: #BB1413;
  --light: #FEFDF8;
  --card: #0A1E55;
  --card-2: #1D2257;
  --grad: linear-gradient(0deg, #0358CC, #08134B);
  --muted: rgba(254, 253, 248, 0.62);
  --line: rgba(254, 253, 248, 0.12);
  --font-head: 'Unbounded', 'Arial Black', sans-serif;
  --font-text: 'Onest', 'Segoe UI', sans-serif;
  --col: 560px;
}

/* ---------- База ---------- */

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--light);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: var(--light);
  border: none;
  border-radius: 999px;
  padding: 18px 36px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--light {
  background: var(--light);
  color: var(--bg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.btn--blue {
  background: var(--blue);
  box-shadow: 0 8px 32px rgba(0, 109, 243, 0.35);
}
.btn--red {
  background: var(--red);
  box-shadow: 0 8px 32px rgba(187, 20, 19, 0.35);
}

/* ---------- Интро ---------- */

.intro {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.intro__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 11, 60, 0.55) 0%, rgba(9, 11, 60, 0.35) 45%, rgba(9, 11, 60, 0.92) 100%);
}

.intro__content {
  position: relative;
  z-index: 1;
  padding: 64px 24px;
  max-width: 640px;
  animation: intro-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes intro-in {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

.intro__logo {
  width: clamp(150px, 42vw, 210px);
  height: auto;
  margin: 0 auto 36px;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.4));
}

.intro__kicker {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.intro__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px, 7vw, 42px);
  line-height: 1.18;
  text-wrap: balance;
}

.intro__title-accent {
  display: block;
  margin-top: 6px;
  color: var(--blue);
  text-shadow: 0 0 42px rgba(0, 109, 243, 0.55);
}

.intro__meta {
  margin: 26px 0 42px;
  font-size: 17px;
  font-weight: 500;
  color: rgba(254, 253, 248, 0.85);
}

.intro__hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0.55;
}

.intro__hint-arrow {
  display: block;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--light);
  border-bottom: 2px solid var(--light);
  transform: rotate(45deg);
  animation: hint-bob 1.8s ease-in-out infinite;
}

@keyframes hint-bob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50%      { transform: rotate(45deg) translate(5px, 5px); }
}

/* ---------- Секции ---------- */

.section { padding: 110px 0; }

.section__kicker {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.section__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 8vw, 46px);
  line-height: 1.15;
  margin-bottom: 40px;
  text-wrap: balance;
}

/* ---------- О турнире ---------- */

.about__big {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.about__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(64px, 20vw, 112px);
  line-height: 1;
  background: linear-gradient(180deg, #4D9BFF 0%, var(--blue) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--blue);
}

.about__num-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(18px, 5vw, 26px);
  color: var(--light);
}

.about__texts p {
  margin-bottom: 22px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(254, 253, 248, 0.88);
}
.about__texts p:first-child {
  font-size: 21px;
  font-weight: 500;
  color: var(--light);
}

.clubs { margin-top: 56px; }

.clubs__label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 22px;
  color: var(--muted);
}

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

.club {
  min-width: 0;
  background: var(--light);
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  transition: transform 0.25s ease;
}
.club:hover { transform: translateY(-3px); }

.club__logo {
  width: 68%;
  height: 62%;
  object-fit: contain;
}

.club__name {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: #22264d;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ---------- Афиша ---------- */

.matchday {
  background: var(--grad);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline__item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(9, 11, 60, 0.45);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 22px;
}


/* Главный матч */
.timeline__item--main {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: rgba(9, 11, 60, 0.75);
  border: 1px solid rgba(0, 109, 243, 0.45);
  box-shadow: 0 12px 48px rgba(3, 20, 70, 0.5);
  padding: 34px 24px 30px;
  text-align: center;
}

.timeline__main-label {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.timeline__vs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 24px;
}

.timeline__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 130px;
}

.timeline__team-logo-wrap {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline__team-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.timeline__team-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
}

.timeline__vs-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  /* исходный vs.svg тёмно-синий — на тёмном фоне делаем белым */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.timeline__main-time {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(40px, 12vw, 58px);
  line-height: 1;
  color: var(--light);
}

.timeline__main-date {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}


/* ---------- Выбор команды ---------- */

.fan-choice { text-align: center; }

.fan-choice__container { min-height: 40px; }

.team-picker {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.team-picker__option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 240px;
  padding: 32px 24px;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-picker__option:hover,
.team-picker__option:focus-visible { transform: translateY(-4px); }

.team-picker__option--cska {
  background: linear-gradient(155deg, #E30613 0%, #E30613 46%, #142B72 46%, #142B72 100%);
  box-shadow: 0 16px 48px rgba(20, 43, 114, 0.45);
}

.team-picker__option--spartak {
  background: linear-gradient(165deg, #EA2630 0%, #EA2630 91%, #FEFDF8 91%, #FEFDF8 100%);
  box-shadow: 0 16px 48px rgba(234, 38, 48, 0.35);
}

.team-picker__logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  background: var(--light);
  border-radius: 50%;
  padding: 12px;
}

.team-picker__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--light);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.team-picker__hint {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(254, 253, 248, 0.85);
}

/* ---------- Разделы команд: общий каркас ---------- */

.team-section {
  display: none;
  position: relative;
  padding: 96px 0 110px;
  overflow: hidden;
}
.team-section.is-active { display: block; }

.team-section__motif {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.team-section .container { position: relative; z-index: 1; }

.team-section--cska {
  --bg: #0A1230;
  --card: #131F4A;
  --card-2: #1B2C63;
  --line: rgba(254, 253, 248, 0.14);
  --accent: #E30613;
  --accent-2: #1E3A8A;
  background: var(--bg);
  color: var(--light);
}

.team-section--spartak {
  --bg: #1C0A09;
  --card: #2C1211;
  --card-2: #3B1917;
  --line: rgba(216, 158, 80, 0.22);
  --accent: #D89E50;
  --accent-2: #EA2630;
  --font-text: 'Raleway', 'Onest', sans-serif;
  background: var(--bg);
  color: var(--light);
}

.team-section--cska .team-section__motif::before,
.team-section--cska .team-section__motif::after {
  content: '★';
  position: absolute;
  line-height: 1;
}
.team-section--cska .team-section__motif::before {
  right: -10%;
  top: -8%;
  font-size: 480px;
  color: var(--accent-2);
  opacity: 0.14;
}
.team-section--cska .team-section__motif::after {
  left: -14%;
  bottom: -10%;
  font-size: 320px;
  color: var(--accent);
  opacity: 0.08;
  transform: rotate(-12deg);
}

.team-section--spartak .team-section__motif::before {
  content: '80';
  position: absolute;
  right: -4%;
  top: -8%;
  font-family: 'Bebas Neue', var(--font-head), sans-serif;
  font-size: 480px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
  opacity: 0.1;
}

.team-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--line);
  color: var(--light);
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  margin-bottom: 48px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.team-back:hover { border-color: var(--accent); background: rgba(254, 253, 248, 0.06); }

.team-hero { text-align: center; margin-bottom: 56px; }

.team-hero__logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  background: var(--light);
  border-radius: 50%;
  padding: 14px;
  margin: 0 auto 24px;
}

.team-hero__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 8vw, 42px);
  line-height: 1.15;
  margin-bottom: 10px;
  text-wrap: balance;
}

.team-hero__meta {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 18px;
}

.team-hero__cup {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--light);
  background: rgba(254, 253, 248, 0.08);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 10px 20px;
  max-width: 100%;
}

.team-summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 24px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(254, 253, 248, 0.9);
  margin-bottom: 64px;
}

.team-block { margin-bottom: 64px; }
.team-block:last-child { margin-bottom: 0; }

.team-block__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

/* ---------- Карточки новичков ---------- */

.newcomers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.newcomer-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}

.newcomer-card__photo-wrap {
  aspect-ratio: 4 / 3;
  background: var(--card-2);
  overflow: hidden;
}

.newcomer-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.newcomer-card__photo-wrap--cutout {
  background: linear-gradient(160deg, var(--accent-2) 0%, var(--card-2) 100%);
}
.newcomer-card__photo-wrap--cutout .newcomer-card__photo {
  object-fit: contain;
  object-position: bottom center;
  padding-top: 14px;
}

.newcomer-card__placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(150deg, var(--accent-2) 0%, var(--accent) 100%);
}
.newcomer-card__placeholder-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 46px;
  color: rgba(254, 253, 248, 0.95);
}
.newcomer-card__placeholder-initials {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(254, 253, 248, 0.78);
}

.newcomer-card__body { padding: 22px 20px; }

.newcomer-card__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 4px;
}

.newcomer-card__role {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 12px;
}

.newcomer-card__from {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.newcomer-card__analysis {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(254, 253, 248, 0.85);
  margin-bottom: 12px;
}

.newcomer-card__regalia {
  font-size: 13px;
  line-height: 1.5;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--light);
}

/* ---------- Кто ушёл: табло вылетов ---------- */

.departures-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 18px 6px;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.departures-panel__head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin-bottom: 2px;
}

.departures-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.departures-row:last-child { border-bottom: none; }

.departures-row__name { color: var(--light); }

.departures-row__to {
  color: var(--accent);
  opacity: 0.85;
  font-style: italic;
  font-size: 11.5px;
  text-align: right;
  flex-shrink: 0;
  max-width: 55%;
}

/* ---------- Чем усилились: чипы ---------- */

.strengthened-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 7px 14px 7px 12px;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--light);
  background: rgba(254, 253, 248, 0.04);
  cursor: default;
}
.chip::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---------- Состав ---------- */

.roster-group {
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--card);
}
.roster-group:last-child { margin-bottom: 0; }

.roster-group summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--light);
}
.roster-group summary::-webkit-details-marker { display: none; }

.roster-group__count {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  margin-right: auto;
  margin-left: 10px;
}

.roster-group__toggle {
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.roster-group[open] .roster-group__toggle { transform: rotate(45deg); }

.roster-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
  hyphens: auto;
}
.roster-table th, .roster-table td {
  padding: 9px 8px;
  text-align: left;
  border-top: 1px solid var(--line);
  overflow-wrap: break-word;
}
.roster-table td:nth-child(3), .roster-table td:last-child { white-space: nowrap; }
.roster-table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}
.roster-table td:first-child, .roster-table th:first-child { width: 12%; color: var(--accent); font-weight: 700; }
.roster-table td:nth-child(2), .roster-table th:nth-child(2) { width: 34%; }
.roster-table td:nth-child(3), .roster-table th:nth-child(3) { width: 28%; }
.roster-table td:last-child, .roster-table th:last-child { width: 26%; color: var(--muted); }

/* ---------- Сравнение команд ---------- */

.comparison__table { margin-bottom: 48px; }

.comparison-table__head { display: none; }

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  margin-bottom: 14px;
}
.comparison-row:last-child { margin-bottom: 0; }

.comparison-row__param {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.comparison-row__cell {
  font-size: 14.5px;
  line-height: 1.55;
  padding-left: 14px;
  border-left: 3px solid var(--line);
}
.comparison-row__cell--cska { border-left-color: #E30613; }
.comparison-row__cell--spartak { border-left-color: #EA2630; }

.comparison-row__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}

.comparison__finale p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(254, 253, 248, 0.88);
  margin-bottom: 16px;
}
.comparison__finale p:last-child { margin-bottom: 0; }

/* ---------- Как добраться ---------- */

.visit__card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
}

.visit__venue {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 8px;
}

.visit__address {
  color: var(--muted);
  margin-bottom: 28px;
}

/* ---------- Футер ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 48px;
  text-align: center;
}

.footer__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.footer__logo {
  height: 44px;
  width: auto;
  opacity: 0.85;
}

.footer__copy {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Появления при скролле ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

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

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .intro__content { animation: none; }
  .intro__hint-arrow { animation: none; }
  .btn, .club { transition: none; }
}

/* ---------- Десктоп ---------- */

@media (min-width: 768px) {
  body { font-size: 18px; }
  .section { padding: 140px 0; }
  .clubs__grid { gap: 16px; }
  .club__name { font-size: 11px; }
  .timeline__team-logo-wrap { width: 108px; height: 108px; }
  .timeline__team-logo { width: 74px; height: 74px; }

  .team-picker { flex-direction: row; }
  .team-picker__option { flex: 1; min-height: 320px; }

  .team-hero__logo { width: 128px; height: 128px; }

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

  .roster-table { font-size: 14px; }

  .comparison-table__head {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1.3fr;
    gap: 20px;
    padding: 0 22px 12px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .comparison-row {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1.3fr;
    gap: 20px;
    align-items: start;
  }
  .comparison-row__label { display: none; }
}
