/* ===== HERO-слайдер ===== */
.hero { padding-top: 28px; }
.hero__box {
  position: relative; height: 560px; border-radius: 26px; overflow: hidden;
  background: var(--surface); isolation: isolate;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9);
}
.slide {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide__img { position: absolute; inset: 0; overflow: hidden; }
.slide__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.12); transition: transform 7s linear; }
.slide.is-active .slide__img img { transform: scale(1); }
.slide__img::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,16,36,.92) 0%, rgba(5,16,36,.55) 40%, transparent 70%),
    linear-gradient(0deg, rgba(5,16,36,.95) 0%, transparent 55%);
}
/* фирменные диагональные полосы */
.hero__stripes { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.hero__stripes i {
  position: absolute; top: -20%; height: 140%; width: 10px;
  transform: skewX(-24deg); opacity: .9;
  animation: stripeIn 1.2s var(--ease) both;
}
.hero__stripes i:nth-child(1) { left: 58%; background: linear-gradient(180deg, transparent, var(--green-2), transparent); box-shadow: 0 0 30px var(--green); }
.hero__stripes i:nth-child(2) { left: 60.5%; width: 26px; background: linear-gradient(180deg, transparent 20%, var(--red), transparent 80%); opacity: .6; animation-delay: .15s; }
.hero__stripes i:nth-child(3) { left: -2%; width: 60px; top: -10%; height: 30%; background: var(--red); animation-delay: .3s; }

.slide__content { position: relative; z-index: 3; padding: 0 56px 64px; max-width: 760px; }
.slide__content > * { opacity: 0; transform: translateY(30px); }
.slide.is-active .slide__content > * { animation: riseIn .9s var(--ease) forwards; }
.slide.is-active .slide__content > *:nth-child(2) { animation-delay: .12s; }
.slide.is-active .slide__content > *:nth-child(3) { animation-delay: .22s; }
.slide.is-active .slide__content > *:nth-child(4) { animation-delay: .32s; }
.slide__meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.slide__title {
  margin-top: 16px; font-size: clamp(30px, 4vw, 52px); font-weight: 900; line-height: 1.05;
  text-wrap: balance;
}
.slide__title::after { content: ""; display: block; width: 72px; height: 4px; background: var(--red); border-radius: 4px; margin-top: 20px; }
.slide__lead { margin-top: 16px; color: rgba(255,255,255,.78); font-size: 17px; max-width: 560px; }
.slide__cta { margin-top: 26px; display: flex; gap: 12px; }

/* превью-навигация справа */
.hero__thumbs {
  position: absolute; right: 24px; bottom: 24px; z-index: 4;
  display: flex; flex-direction: column; gap: 8px; width: 290px;
}
.thumb {
  position: relative; display: flex; gap: 12px; align-items: center; text-align: left;
  padding: 8px; border-radius: 14px;
  background: rgba(5,16,36,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); overflow: hidden;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.thumb:hover { transform: translateX(-4px); border-color: var(--line-2); }
.thumb.is-active { background: rgba(12,31,62,.85); border-color: rgba(30,136,255,.5); }
.thumb img { width: 58px; height: 42px; object-fit: cover; border-radius: 8px; }
.thumb span { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.thumb__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--red-2); }
.thumb.is-active .thumb__bar { animation: fillBar var(--slide-time, 7s) linear forwards; }
.hero__box.is-paused .thumb.is-active .thumb__bar { animation-play-state: paused; }

.hero__arrows { position: absolute; left: 56px; top: 32px; z-index: 4; display: flex; gap: 8px; }
.hero__arrows button {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(5,16,36,.5); border: 1px solid var(--line-2); backdrop-filter: blur(8px);
  transition: background .25s, transform .25s var(--ease);
}
.hero__arrows button:hover { background: var(--red); border-color: var(--red); transform: scale(1.08); }
.hero__counter { position: absolute; right: 28px; top: 28px; z-index: 4; font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hero__counter b { color: #fff; font-size: 26px; }
.hero__dots { display: none; }

/* ===== Заголовок секции и фильтры ===== */
.section { padding-top: 64px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.section__title { font-size: 34px; font-weight: 900; font-style: italic; text-transform: uppercase; display: flex; align-items: center; gap: 14px; }
.section__title::before { content: ""; width: 10px; height: 30px; background: var(--grad-d); transform: skewX(-20deg); border-radius: 2px; }
.section__count { font-size: 14px; color: var(--muted); font-style: normal; font-weight: 600; }

.filters { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); position: relative; }
.filter {
  position: relative; z-index: 1;
  padding: 9px 18px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .03em;
  color: var(--muted); transition: color .3s;
  white-space: nowrap;
}
.filter:hover { color: #fff; }
.filter.is-active { color: #fff; }
.filters__pill {
  position: absolute; top: 5px; bottom: 5px; border-radius: 999px; background: var(--grad);
  box-shadow: 0 6px 20px -6px rgba(30,136,255,.9);
  transition: left .45s var(--ease), width .45s var(--ease);
}

/* ===== Сетка карточек (блоки посередине) ===== */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 22px; }
.grid.is-switching { animation: gridOut .25s var(--ease); }

.card {
  position: relative; height: 320px; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between;
  transform-style: preserve-3d; isolation: isolate;
  transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease);
}
.card--wide { grid-column: span 2; }
.card:hover { border-color: var(--line-2); box-shadow: 0 30px 60px -25px rgba(0,0,0,.9), 0 0 0 1px rgba(30,136,255,.25); }
.card__media { position: absolute; inset: 0; z-index: -1; }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 1s var(--ease), filter .5s; }
.card:hover .card__media img { transform: scale(1.07); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,16,36,.96) 5%, rgba(5,16,36,.55) 45%, rgba(5,16,36,.05) 75%); transition: opacity .4s; }
/* блик при наведении */
.card::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.12), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card:hover::after { opacity: 1; }
.card__top { display: flex; justify-content: space-between; align-items: center; padding: 18px 18px 0; }
.card__play {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.14); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25);
  transition: transform .4s var(--ease-back), background .3s;
}
.card:hover .card__play { transform: scale(1.15); background: var(--red); }
.card__body { padding: 0 22px 24px; }
.card__title { font-size: 21px; font-weight: 800; line-height: 1.2; text-wrap: balance; transition: transform .5s var(--ease); }
.card--wide .card__title { font-size: 28px; }
.card:hover .card__title { transform: translateY(-4px); }
.card__lead { color: rgba(255,255,255,.7); font-size: 14px; margin-top: 8px; max-width: 560px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; gap: 14px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.card__bar { position: absolute; left: 22px; bottom: 0; height: 3px; width: 70px; border-radius: 3px 3px 0 0; transition: width .6s var(--ease); }
.card--football .card__bar { background: var(--green-2); box-shadow: 0 0 14px var(--green); }
.card--mma .card__bar { background: var(--red-2); box-shadow: 0 0 14px var(--red); }
.card:hover .card__bar { width: calc(100% - 44px); }

.grid__more { display: flex; justify-content: center; margin-top: 30px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); }

/* ===== Нижние виджеты ===== */
.widgets { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 22px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; }
.panel__title { font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel__title small { font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--muted); }

.top-list li + li { border-top: 1px solid var(--line); }
.top-list a { display: flex; gap: 16px; padding: 13px 0; align-items: flex-start; transition: transform .3s var(--ease); }
.top-list a:hover { transform: translateX(6px); }
.top-list a:hover .top-list__t { color: var(--red-2); }
.top-list__n { font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: 28px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); min-width: 34px; }
.top-list__t { font-weight: 600; font-size: 15px; line-height: 1.35; transition: color .25s; }
.top-list__m { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }

.events li { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.events li + li { border-top: 1px solid var(--line); }
.events__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; font-size: 12px; flex-shrink: 0; }
.events__ico--football { background: rgba(94,214,92,.15); color: var(--green-2); }
.events__ico--mma { background: rgba(30,136,255,.15); color: var(--red-2); }
.events__t { font-weight: 600; font-size: 14px; line-height: 1.3; }
.events__l { font-size: 12px; color: var(--muted); }
.events__cd { margin-left: auto; font-family: var(--font-head); font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--gold); white-space: nowrap; }

.panel--cta { background: linear-gradient(140deg, #0a2d63, #0a1d40 45%, #0b3a3c); border-color: rgba(30,136,255,.3); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.panel--cta h3 { font-size: 26px; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.05; }
.panel--cta p { color: rgba(255,255,255,.72); font-size: 15px; margin-top: 10px; }
.panel--cta .orb { position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(30,136,255,.5), transparent 70%); animation: float 6s ease-in-out infinite; }
