/* ============ FONTS ============ */
@font-face {
  font-family: 'Mossport';
  src: url('../uploads/Mossport.otf') format('opentype'),
       url('../uploads/Mossport.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ============ BASE ============ */
:root {
  --red: #eb3333;
  --ink: #121212;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'PT Sans', sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body > .footer { margin-top: auto; flex-shrink: 0; }

::selection { background: var(--red); color: #fff; }

img { display: block; }

/* Scroll-reveal: sections fade/slide in once they enter the viewport (see main.js) */
[data-reveal] {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Shared section heading */
.section-title {
  margin: 0;
  font-family: 'Mossport', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  line-height: 1;
  font-size: clamp(30px, 4.5vw, 48px);
}
.section-title--dark { color: var(--ink); }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  min-height: 80px;
  background: #fff;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px 24px;
  transition: box-shadow 0.2s ease;
}
.nav--scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.14); }
.nav__logos {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}
.nav__logo-link { display: flex; align-items: center; }
.nav__logo { height: 46px; width: auto; }
.nav__logo--depsport { height: 48px; }
.nav__logo--kp { height: 48px; }
.nav__menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 18px;
}
.nav__link {
  font-family: 'Mossport', sans-serif;
  font-weight: normal;
  font-size: 28px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  color: var(--red);
  text-decoration: none;
  text-transform: uppercase;
}
.nav__link--cta {
  color: #fff;
  background: var(--red);
  padding: 9px 16px;
  border-radius: 2px;
}
.nav__link--active {
  border-bottom: 3px solid var(--ink);
  padding-bottom: 3px;
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 42px;
  flex-shrink: 0;
  background: #fff;
  border: 2px solid var(--red);
  border-radius: 4px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
}

/* ============ HERO (gallery/ratings pages) ============ */
.hero {
  background: #000;
  padding-top: 145px;
  padding-bottom: 60px;
  text-align: center;
}
.hero__title {
  margin: 0;
  font-family: 'Mossport', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  color: #fff;
  font-size: clamp(54px, 9vw, 110px);
  line-height: 0.95;
  letter-spacing: 1px;
}
@keyframes heroWord {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__word {
  display: inline-block;
  animation: heroWord 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__word--1 { animation-delay: 0.1s; }
.hero__word--2 { animation-delay: 0.35s; }
.hero__word--3 { animation-delay: 0.6s; }

/* ============ HERO SLIDESHOW (landing) ============ */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: clamp(520px, 85vh, 960px);
  overflow: hidden;
  background: #111;
}
.hero-slideshow__track { position: absolute; inset: 0; }
.hero-slideshow__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.9s ease;
}
.hero-slideshow__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.48) 100%);
  z-index: 3;
  pointer-events: none;
}
.hero-slideshow__content {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 24px 24px 80px;
  text-align: center;
  pointer-events: none;
}
.hero-slideshow__title-wrap {
  padding: 20px 40px;
  border-radius: 6px;
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-slideshow__title {
  margin: 0;
  font-family: 'Mossport', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  color: #fff;
  font-size: clamp(38px, 7vw, 96px);
  line-height: 1;
  letter-spacing: 1px;
}
.hero-slideshow__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,0.28);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.hero-slideshow__arrow:hover { background: rgba(0,0,0,0.6); }
.hero-slideshow__arrow--prev { left: 20px; }
.hero-slideshow__arrow--next { right: 20px; }
.hero-slideshow__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 4px;
  align-items: center;
}
.hero-slideshow__dot {
  height: 4px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  padding: 0;
  background: rgba(255,255,255,0.45);
  width: 6px;
  transition: all 0.35s ease;
}
.hero-slideshow__dot--active { width: 22px; background: #fff; }

/* ============ ABOUT / ЧТО ВАС ЖДЁТ ============ */
.about {
  background: var(--red);
  color: #fff;
  padding: 80px 24px;
  scroll-margin-top: 70px;
}
.about__inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.about__title {
  margin: 0 0 16px;
  font-family: 'Mossport', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1;
}
.about__lead {
  margin: 0 0 48px;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  opacity: 0.9;
}
.about__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  text-align: left;
  margin-bottom: 14px;
}
.about-card {
  background: #fff;
  border-radius: 6px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.about-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.18); }
.about-card--full { grid-column: 1 / -1; }
.about-card__num {
  font-family: 'Oswald', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  color: var(--red);
  opacity: 0.18;
  margin-bottom: -8px;
}
.about-card__title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(16px, 1.8vw, 20px);
  letter-spacing: 0.5px;
  color: var(--ink);
}
.about-card__line { width: 32px; height: 3px; background: var(--red); border-radius: 2px; }
.about-card__desc { font-size: clamp(13px, 1.5vw, 16px); line-height: 1.55; color: #444; }
.about__also {
  background: rgba(0,0,0,0.22);
  border-radius: 6px;
  padding: 24px 28px;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.about__also-logo {
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.about__also-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(14px, 1.6vw, 17px);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.about__also-text { font-size: clamp(13px, 1.5vw, 16px); line-height: 1.6; opacity: 0.9; }

/* ============ POINTS / КАК ПОЛУЧИТЬ ПРИЗЫ ============ */
.points {
  background: #f2f2f2;
  padding: 80px 24px;
}
.points__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.points .section-title { margin-bottom: 18px; }
.points__lead {
  margin: 0 auto 56px;
  max-width: 720px;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.6;
  color: #333;
  text-align: center;
}
.points__lead p { margin: 0 0 16px; }
.points__lead p:last-child { margin: 0; }
.points__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.point {
  box-sizing: border-box;
  width: calc(33.333% - 16px);
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(20, 20, 20, 0.06);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.point:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(235, 51, 51, 0.16);
  border-color: rgba(235, 51, 51, 0.3);
}
.point__icon { width: 78px; height: 78px; }
.point__title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(17px, 2vw, 21px);
  letter-spacing: 0.5px;
  color: var(--ink);
}
.point__pts {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--red);
}
.points__pdf-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
}
.points__pdf {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(16px, 2vw, 19px);
  letter-spacing: 0.5px;
  color: var(--red);
  background: #fff;
  border: 2px solid var(--red);
  padding: 14px 30px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.points__pdf:hover { background: var(--red); color: #fff; }
.points__pdf--disabled {
  color: #aaa;
  border-color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
}
.points__pdf-wip {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #aaa;
  background: #f0f0f0;
  border-radius: 20px;
  padding: 4px 12px;
}
.points__pdf-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 26px;
  border: 2px solid currentColor;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
}

/* ============ PRIZES / ПОДАРКИ ============ */
.prizes {
  background: #fff;
  padding: 80px 24px 30px;
  scroll-margin-top: 70px;
}
.prizes__inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.prizes .section-title { margin-bottom: 14px; }
.prizes__lead {
  margin: 0 0 50px;
  font-size: clamp(16px, 2vw, 20px);
  color: #333;
}
.prizes__link {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}
.prizes__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.prize-group {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #ececec;
  display: flex;
  flex-direction: column;
  will-change: transform;
  transition: transform 0.38s cubic-bezier(0.18, 0.9, 0.22, 1), box-shadow 0.38s cubic-bezier(0.18, 0.9, 0.22, 1);
}
.prize-group:hover {
  transform: translateY(-12px) scale(1.025);
  box-shadow: 0 36px 72px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.07);
}
@keyframes prizeEnter {
  from { opacity: 0; transform: translateY(48px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.prize-group--pre { opacity: 0; }
.prize-group--visible { animation: prizeEnter 0.7s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
.prize-group__head { position: relative; overflow: hidden; padding: 20px 22px; }
.prize-group__ghost {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Oswald', sans-serif;
  font-weight: 900;
  font-size: 64px;
  line-height: 1;
  color: rgba(255,255,255,0.12);
  pointer-events: none;
  letter-spacing: -2px;
}
.prize-group__head-row { position: relative; display: flex; align-items: center; gap: 12px; }
.prize-group__badge {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.prize-group:hover .prize-group__badge { transform: scale(1.08); box-shadow: 0 8px 24px rgba(0,0,0,0.22); }
.prize-group__badge img { width: 28px; height: 28px; object-fit: contain; display: block; }
.prize-group__level {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1;
}
.prize-group__sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 3px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.prize-group__accent { height: 4px; }
.prize-group__body {
  padding: 28px 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.prize-group__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.prize-group__img-wrap {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.prize-group__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.prize-group__name {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 16px;
  color: var(--ink);
  margin-top: 12px;
  text-align: center;
}
.prize-group__or {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
}
.prize-group__or span {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #ccc;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--red);
  border-radius: 3px;
}
.btn--big {
  margin-top: 50px;
  font-size: 22px;
  letter-spacing: 1px;
  padding: 16px 48px;
  animation: ctaPulse 2.5s ease-out infinite 3s;
}
@keyframes ctaPulse {
  0%   { box-shadow: 0 4px 24px rgba(235, 51, 51, 0.45), 0 0 0 0 rgba(235, 51, 51, 0.45); }
  70%  { box-shadow: 0 4px 24px rgba(235, 51, 51, 0.2), 0 0 0 18px rgba(235, 51, 51, 0); }
  100% { box-shadow: 0 4px 24px rgba(235, 51, 51, 0.45), 0 0 0 0 rgba(235, 51, 51, 0); }
}

/* ============ WORK / РАСПИСАНИЕ РАБОТЫ ============ */
.work {
  background: var(--red);
  color: #fff;
  padding: 80px 24px;
  scroll-margin-top: 70px;
}
.work__inner { max-width: 900px; margin: 0 auto; }
.work__head { text-align: center; margin-bottom: 56px; }
.work__head .section-title { margin-bottom: 14px; }
.work__dates {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: clamp(19px, 2.4vw, 26px);
}
.work__time {
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
  letter-spacing: 1px;
}

/* ============ ACTIVITIES / АКТИВНОСТИ ============ */
.activities {
  background: #e0e0e0;
  padding: 80px 24px;
  scroll-margin-top: 70px;
}
.activities__inner { max-width: 1080px; margin: 0 auto; }
.activities__title { margin-bottom: 14px; text-align: center; }
.activities__lead {
  margin: 0 auto 56px;
  max-width: 640px;
  text-align: center;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  color: #444;
}
.activities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.activity-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ececec;
  box-shadow: 0 6px 20px rgba(20, 20, 20, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(235, 51, 51, 0.2);
  border-color: rgba(235, 51, 51, 0.35);
}
.activity-card__head {
  position: relative;
  background: linear-gradient(135deg, #f23a3a 0%, #c81e1e 100%);
  color: #fff;
  padding: 14px 22px;
  overflow: hidden;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.activity-card__num {
  position: absolute;
  right: -14px;
  top: -28px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 96px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.activity-card__date-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
}
.activity-card__date-row svg { flex-shrink: 0; opacity: 0.95; }
.activity-card__date {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0.5px;
}
.activity-card__time {
  position: relative;
  margin-top: 6px;
  padding-left: 29px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.5px;
  opacity: 0.92;
}
.activity-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.activity-card__loc-row {
  display: flex;
  align-items: flex-start;
  min-height: 48px;
}
.activity-card__loc-badge {
  display: inline-flex;
  align-items: flex-start;
  gap: 7px;
  background: #fbeaea;
  color: #c81e1e;
  padding: 7px 12px;
  border-radius: 14px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.8px;
  box-sizing: border-box;
}
.activity-card__loc-badge svg { flex-shrink: 0; margin-top: 0.5px; }
.activity-card__title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.12;
  color: var(--ink);
  min-height: 54px;
}
.activity-card__desc {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: #555;
}
.activity-card__btn {
  align-self: center;
  margin-top: auto;
  padding-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 12px rgba(235,51,51,0.35);
  transition: transform 0.22s cubic-bezier(0.22,1,0.36,1), box-shadow 0.22s ease, background 0.18s ease;
}
.activity-card__btn:hover {
  background: #c81e1e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(235,51,51,0.45);
}
.btn--sm {
  padding: 9px 16px;
  font-size: 13px;
  letter-spacing: 1px;
}

/* ============ FIND / КАК НАС НАЙТИ ============ */
.find {
  background: #fff;
  padding: 80px 24px;
  scroll-margin-top: 70px;
}
.find__inner {
  max-width: 1080px;
  margin: 0 auto;
}
.find .section-title { margin-bottom: 10px; font-size: clamp(28px, 4vw, 42px); }
.find__lead {
  margin: 0 0 28px;
  font-size: clamp(16px, 2vw, 19px);
  color: #444;
}
.find__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.find__btn {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid var(--red);
  background: #fff;
  color: var(--red);
  transition: filter 0.15s;
}
.find__btn:hover { filter: brightness(0.95); }
.find__btn--active { background: var(--red); color: #fff; }
.find__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
}
.find__name {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
  color: var(--red);
  margin-bottom: 18px;
}
.find__text {
  font-size: 17px;
  line-height: 1.7;
  color: #2a2a2a;
}
.find__text p { margin: 0 0 18px; }
.find__text p:last-child { margin: 0; }
.find__text strong { font-weight: 700; }
.find__map {
  position: relative;
  height: 400px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  background-color: #e8eae6;
}
.find__map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============ FOOTER ============ */
.footer {
  background: #111;
  color: #fff;
  padding: 30px 24px;
  scroll-margin-top: 70px;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__copy {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.5px;
}
.footer__email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.3px;
  transition: opacity 0.15s;
}
.footer__email:hover { opacity: 0.8; }

/* ============ GALLERY / ГАЛЕРЕЯ ============ */
.hero--gallery { padding-bottom: 60px; }
.hero__eyebrow {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.gallery-event {
  background: #fff;
  padding: 72px 24px;
  border-bottom: 1px solid #ececec;
}
.gallery-event__inner { max-width: 1280px; margin: 0 auto; }
.gallery-event__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 24px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--red);
}
.gallery-event__date {
  font-family: 'Mossport', sans-serif;
  font-weight: normal;
  font-size: clamp(28px, 5vw, 58px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -1px;
}
.gallery-event__name {
  font-family: 'Mossport', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  font-size: clamp(16px, 2.2vw, 24px);
  color: var(--red);
  letter-spacing: 0.5px;
}
.gallery-event__loc {
  font-size: 15px;
  color: #aaa;
  margin-left: auto;
  white-space: nowrap;
}
.gallery-event__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.gallery-slot {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  background: #f2f2f2;
}
.gallery-event__notice {
  text-align: center;
  margin-top: 24px;
  padding: 20px 24px;
  background: #f8f8f8;
  border-radius: 4px;
  border: 1px dashed #ddd;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2.5px;
  color: #ccc;
}

@media (max-width: 920px) {
  .gallery-event__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .gallery-event { padding: 48px 18px; }
  .gallery-event__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ RATINGS / РЕЙТИНГИ ============ */
.hero--ratings { padding-bottom: 56px; }
.ratings-bar { height: 5px; background: var(--red); }

.rank { background: #f2f2f2; padding: 72px 24px; }
.rank--districts { background: #fff; }
.rank__inner { max-width: 960px; margin: 0 auto; }
.rank__head { margin-bottom: 40px; }
.rank__title {
  margin: 0 0 12px;
  font-family: 'Mossport', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  font-size: clamp(26px, 4vw, 40px);
  color: var(--ink);
}
.rank__lead { margin: 0; font-size: 17px; color: #666; line-height: 1.55; max-width: 640px; }

.rank-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
.rank-card--districts {
  background: #f9f9f9;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #ececec;
}
.rank-card__head {
  display: grid;
  grid-template-columns: 72px 1fr 130px 120px;
  align-items: center;
  padding: 14px 24px;
  gap: 12px;
}
.rank-card__head--dark { background: var(--ink); }
.rank-card__head--red { background: var(--red); }
.rank-card__col {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.6);
}
.rank-card__col--right { text-align: right; }
.rank-card__body { position: relative; min-height: 420px; }

.rank-row {
  display: grid;
  grid-template-columns: 72px 1fr 130px 120px;
  align-items: center;
  padding: 18px 24px;
  gap: 12px;
  border-bottom: 1px solid #f5f5f5;
}
.rank-row--district { grid-template-columns: 72px 1fr 140px 120px; }
.rank-row__badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #bbb;
}
.rank-row__badge--medal {
  width: 32px;
  height: 32px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}
.rank-row__name { display: flex; align-items: center; gap: 12px; }
.rank-row__avatar { width: 36px; height: 36px; border-radius: 50%; background: #ebebeb; flex-shrink: 0; }
.rank-row__pts { justify-self: end; }
.skel-bar { display: inline-block; height: 13px; background: #ebebeb; border-radius: 4px; width: 40px; }
.skel-bar--sm { width: 32px; }

.rank-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  padding: 32px 24px;
  text-align: center;
}
.rank-overlay__icon { margin-bottom: 20px; flex-shrink: 0; }
.rank-overlay__title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(17px, 2.5vw, 24px);
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.2;
}
.rank-overlay__text { font-size: 16px; color: #888; margin-bottom: 28px; }
.rank-overlay__text strong { color: var(--red); font-weight: 700; }
.rank-overlay__btn { padding: 12px 28px; font-size: 16px; }

.rank-legend {
  margin-top: 32px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 6px;
  border-left: 4px solid var(--red);
}
.rank-legend__title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.8px;
  color: var(--ink);
  margin-bottom: 12px;
}
.rank-legend__items { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: clamp(13px, 1.8vw, 14px); color: #555; line-height: 1.6; }

@media (max-width: 600px) {
  .rank { padding: 48px 18px; }
  .rank-card__head, .rank-row { grid-template-columns: 48px 1fr 90px; }
  .rank-card__col:nth-child(3), .rank-row > *:nth-child(3) { display: none; }
}

/* ============ LK / ЛИЧНЫЙ КАБИНЕТ (ВХОД) ============ */
.lk-page { background: #f2f2f2; }

.nav--lk { justify-content: space-between; }

.lk {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 116px 20px 56px;
}
.lk__inner { width: 100%; max-width: 460px; }

.lk-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.1);
  padding: 48px 40px 40px;
}

.lk-card__brand { text-align: center; margin-bottom: 36px; }
.lk-card__logo { height: 56px; width: auto; margin: 0 auto 18px; }
.lk-card__title {
  margin: 0 0 8px;
  font-family: 'Mossport', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--ink);
}
.lk-card__lead { margin: 0; font-size: 15px; color: #999; line-height: 1.4; }

.lk-notice {
  background: #fff8f0;
  border: 1px solid rgba(235, 51, 51, 0.18);
  border-left: 3px solid var(--red);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 28px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.lk-notice__icon { flex-shrink: 0; margin-top: 1px; }
.lk-notice__text { font-size: 14px; color: #555; line-height: 1.6; }
.lk-notice__text strong { color: var(--red); font-weight: 700; }

.lk-field { margin-bottom: 18px; }
.lk-field__label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
  margin-bottom: 7px;
}
.lk-field__input {
  width: 100%;
  box-sizing: border-box;
  height: 50px;
  padding: 0 14px;
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  display: block;
}
.lk-field__input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(235, 51, 51, 0.12);
}
.lk-field__pwd-wrap { position: relative; display: flex; align-items: center; }
.lk-field__pwd-wrap .lk-field__input { padding-right: 50px; }
.lk-field__pwd-toggle {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 48px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  padding: 0;
}
.lk-field__pwd-toggle:hover { color: var(--red); }

.lk-form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 8px;
  flex-wrap: wrap;
}
.lk-remember { display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.lk-remember__checkbox { width: 16px; height: 16px; accent-color: var(--red); cursor: pointer; flex-shrink: 0; }
.lk-remember span { font-size: 14px; color: #555; }

.lk-link { font-size: 14px; color: var(--red); font-weight: 700; text-decoration: none; }
.lk-link:hover { text-decoration: underline; }
.lk-link--muted { color: #ccc; font-weight: 400; text-decoration: underline; }

.lk-error {
  background: #fff5f5;
  border: 1px solid #fcc;
  border-radius: 4px;
  padding: 11px 14px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #c81e1e;
  line-height: 1.45;
}

.lk-submit {
  display: block;
  width: 100%;
  height: 52px;
  line-height: 52px;
  background: var(--red);
  color: #fff;
  border-radius: 4px;
  font-family: 'Mossport', sans-serif;
  font-weight: normal;
  font-size: 22px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}
.lk-submit:hover { background: #c81e1e; }
.lk-submit:active { background: #a81818; }

.lk-form__register { text-align: center; margin: 20px 0 0; font-size: 15px; color: #777; }
.lk-form__agreement { text-align: center; margin: 0 0 16px; font-size: 12px; color: #ccc; line-height: 1.55; text-wrap: pretty; }

.lk-field__label-hint {
  font-weight: 400;
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
  color: #aaa;
}

select.lk-field__input--select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.lk-back { text-align: center; margin-top: 24px; }
.lk-back__link {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #aaa;
  text-decoration: none;
}
.lk-back__link:hover { color: var(--red); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .activities__grid { grid-template-columns: repeat(2, 1fr); }
  .point { width: calc(50% - 12px); }
}

@media (max-width: 600px) {
  .about__cards { grid-template-columns: 1fr; }
  .about-card--full { grid-column: auto; }
  .hero-slideshow__arrow--prev { left: 10px; }
  .hero-slideshow__arrow--next { right: 10px; }
  .hero-slideshow__arrow { width: 38px; height: 38px; }
  .hero-slideshow__content { padding: 96px 24px 68px; }
  .hero-slideshow__title-wrap { margin-top: 32px; padding: 16px 24px; }
}

@media (max-width: 920px) {
  .nav__burger { display: flex; }
  .nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    padding: 18px 20px 22px;
    border-top: 1px solid #f0f0f0;
  }
  .nav__menu--open { display: flex; }
  .nav { justify-content: flex-start; }
  .nav__burger { margin-left: auto; }
  .nav__logos { gap: 16px; flex-shrink: 1; min-width: 0; max-width: calc(100% - 70px); }
  .nav__logo { height: 36px; }
  .nav__logo--depsport { height: 38px; }
  .nav__logo--kp { height: 38px; }
}

@media (max-width: 480px) {
  .nav { padding: 10px 14px; gap: 12px; }
  .nav__logos { gap: 10px; }
  .nav__logo { height: 28px; }
  .nav__logo--depsport { height: 30px; }
  .nav__logo--kp { height: 30px; }
}

@media (max-width: 720px) {
  .find__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .point { width: 100%; }
  .prizes__grid { grid-template-columns: 1fr; }
  .activities__grid { grid-template-columns: 1fr; }
}
