/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #060606;
  --bg-card: #111;
  --bg-card-hover: #1a1a1a;
  --text-primary: #f5f5f5;
  --text-secondary: #aaa;
  --accent: #325f91;
  --accent-glow: #6f95bd;
  --neon-blue: #00d4ff;
  --gold: #91a9c3;
  --border: #222;
  --radius: 12px;
  --radius-sm: 8px;
  --header-height: 80px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Montserrat", "Inter", Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

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

ul {
  list-style: none;
}

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

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(6, 6, 6, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(6, 6, 6, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 1.5px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.3;
  transition: var(--transition);
}

.logo:hover {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.logo__icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 8px var(--accent-glow));
  animation: logoPulse 2s infinite;
}

@keyframes logoPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 8px var(--accent-glow));
  }
  50% {
    filter: drop-shadow(0 0 20px var(--accent-glow))
      drop-shadow(0 0 30px var(--accent));
  }
}

.logo__city {
  color: var(--accent);
}

.nav__list {
  display: flex;
  gap: 28px;
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  transition: var(--transition);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-blue);
  box-shadow:
    0 0 10px var(--neon-blue),
    0 0 20px var(--neon-blue);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: #fff;
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.6s;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn--header {
  background: var(--accent);
  color: #fff;
  padding: 11px 24px;
  font-size: 0.8rem;
  box-shadow: 0 0 20px rgba(84, 126, 173, 0.3);
}

.btn--header:hover {
  box-shadow: 0 0 35px rgba(84, 126, 173, 0.6);
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(84, 126, 173, 0.35);
}

.btn--accent:hover {
  background: transparent;
  color: var(--accent-glow);
  box-shadow: 0 0 45px rgba(84, 126, 173, 0.65);
  transform: translateY(-3px);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.4);
  transform: translateY(-3px);
}

.btn--block {
  display: block;
  width: 100%;
}

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
  border-radius: 2px;
}

.burger--active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.burger--active span:nth-child(2) {
  opacity: 0;
}
.burger--active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ========== СТРАНИЦЫ ========== */
.page {
  display: none;
  padding-top: var(--header-height);
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

#page-home {
  padding-top: 0;
}

.page.active {
  display: block;
  animation: pageFadeIn 0.5s ease;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== HERO (Главная) ========== */
.hero--index {
  position: relative;
  height: 100vh;
  min-height: 650px;
  background: url("images/hero-bg.jpg") center/cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(6, 6, 6, 0.7) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  animation: heroSlideIn 1s ease;
  margin-top: -320px;
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero__arena {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--neon-blue);
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.hero__title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero__title .highlight {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(84, 126, 173, 0.5);
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 550px;
  line-height: 1.8;
}

.hero__buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Скролл-индикатор */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounceDown 2s infinite;
}

.scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

.scroll-indicator__arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  animation: arrowPulse 1.5s infinite;
}

@keyframes bounceDown {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(12px);
  }
}

@keyframes arrowPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* ========== PAGE HERO ========== */
.page-hero {
  background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(
      circle at 30% 50%,
      rgba(84, 126, 173, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 70% 50%,
      rgba(0, 212, 255, 0.06) 0%,
      transparent 60%
    );
  animation: bgShift 15s infinite linear;
}

@keyframes bgShift {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #fff 0%, var(--accent-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 1.15rem;
}

/* ========== ADVANTAGES ========== */
.advantages {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.advantage-card {
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
}

.advantage-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.advantage-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(84, 126, 173, 0.08) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity var(--transition);
}

.advantage-card:hover {
  transform: translateY(-10px);
  border-color: rgba(84, 126, 173, 0.4);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(84, 126, 173, 0.1);
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-card__icon {
  font-size: 3rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.advantage-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  position: relative;
  z-index: 1;
}

.advantage-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* ========== СЧЁТЧИКИ ========== */
.counters {
  padding: 80px 0;
  background: rgba(17, 17, 17, 0.5);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.counters__grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.counter-item {
  text-align: center;
}

.counter-number {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-glow), var(--neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(84, 126, 173, 0.3);
}

.counter-label {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-top: 6px;
}

/* ========== СЛАЙДЕР ========== */
.gallery {
  padding: 100px 0;
}

.gallery h2 {
  text-align: center;
  font-size: 2.2rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.gallery .subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 50px;
}

.slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.slider__track {
  display: flex;
  transition: transform 0.5s ease;
}

.slider__slide {
  min-width: 100%;
  height: 450px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.slider__slide::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.slider__caption {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 2;
  font-weight: 700;
  font-size: 1.2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 3;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(84, 126, 173, 0.5);
}

.slider__btn--prev {
  left: 15px;
}
.slider__btn--next {
  right: 15px;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.slider__dot.active {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  width: 28px;
  border-radius: 10px;
}

/* ========== CTA ========== */
.cta {
  padding: 100px 0;
  background: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(16px);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.cta p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

/* ========== CONTENT SECTIONS ========== */
.content-section {
  padding: 70px 0;
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  text-transform: uppercase;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: var(--accent);
  margin: 14px auto 0;
  border-radius: 2px;
  box-shadow: 0 0 15px var(--accent-glow);
}

.text-block {
  max-width: 800px;
  margin: 0 auto 45px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.text-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.text-block h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
  color: #fff;
}

.text-block p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.text-block ul {
  list-style: none;
  padding-left: 0;
  color: var(--text-secondary);
}

.text-block ul li {
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
}

.text-block ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ========== SCHEDULE TABLE ========== */
.schedule-table-wrapper {
  overflow-x: auto;
  margin-bottom: 60px;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  overflow: hidden;
}

.schedule-table th,
.schedule-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.schedule-table th {
  background: rgba(0, 0, 0, 0.5);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  color: var(--neon-blue);
}

.schedule-table tr {
  transition: var(--transition);
}

.schedule-table tr:hover td {
  background: rgba(84, 126, 173, 0.08);
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

/* ========== PRICING ========== */
.pricing-grid {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.pricing-card {
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 40px 30px;
  flex: 1 1 280px;
  max-width: 360px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(84, 126, 173, 0.5);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(84, 126, 173, 0.1);
}

.pricing-card--featured {
  border-color: var(--accent);
  background: rgba(28, 10, 10, 0.8);
  box-shadow: 0 0 35px rgba(84, 126, 173, 0.2);
}

.pricing-card--featured:hover {
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 55px rgba(84, 126, 173, 0.3);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(84, 126, 173, 0.5);
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  margin-top: 10px;
}

.pricing-card__price {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 22px;
  text-shadow: 0 0 20px rgba(84, 126, 173, 0.3);
}

.pricing-card ul {
  margin-bottom: 32px;
  text-align: left;
}

.pricing-card ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.pricing-card ul li:last-child {
  border-bottom: none;
}

.pricing-note {
  text-align: center;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 24px;
  font-size: 0.95rem;
}

/* ========== CONTACTS ========== */
.contacts-layout {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.contacts-info,
.contacts-form {
  flex: 1 1 380px;
}

.contacts-info h2,
.contacts-form h2 {
  font-size: 1.7rem;
  margin-bottom: 24px;
}

.contacts-form p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
  align-items: flex-start;
  background: rgba(17, 17, 17, 0.5);
  backdrop-filter: blur(8px);
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.contact-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.contact-item__icon {
  font-size: 1.5rem;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--neon-blue);
}

.contact-item a {
  color: var(--accent-glow);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: var(--transition);
}

.contact-item a:hover {
  color: #fff;
}

.contact-item small {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ========== FORM ========== */
.form {
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 35px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.form__group {
  margin-bottom: 20px;
}

.form__group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(84, 126, 173, 0.2);
  background: rgba(0, 0, 0, 0.7);
}

.form__group textarea {
  resize: vertical;
  min-height: 90px;
}

/* ========== ТАЙМЕР ========== */
.timer-section {
  padding: 50px 0;
  text-align: center;
}

.timer-section h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--neon-blue);
}

.timer {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.timer__block {
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  min-width: 80px;
}

.timer__value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-glow);
  text-shadow: 0 0 15px rgba(84, 126, 173, 0.4);
}

.timer__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ========== FOOTER ========== */
.footer {
  background: #020202;
  padding: 35px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.footer__info p {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.footer__links {
  display: flex;
  gap: 22px;
}

.footer__links a {
  color: #777;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--accent-glow);
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .nav__list {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(6, 6, 6, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    gap: 20px;
    display: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav__list--open {
    display: flex;
  }
  .burger {
    display: flex;
  }
  .btn--header {
    display: none;
  }
  .hero__title {
    font-size: 2.2rem;
  }
  .hero__subtitle {
    font-size: 1rem;
  }
  .hero--index {
    background-attachment: scroll;
  }
  .counters__grid {
    gap: 30px;
  }
  .counter-number {
    font-size: 2.5rem;
  }
  .slider__slide {
    height: 280px;
  }
  .contacts-layout {
    flex-direction: column;
  }
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.7rem;
  }
  .hero__buttons {
    flex-direction: column;
  }
  .page-hero h1 {
    font-size: 2rem;
  }
  .timer__block {
    padding: 14px 16px;
    min-width: 60px;
  }
  .timer__value {
    font-size: 1.8rem;
  }
}

/* Поднимаем главный текстовый блок и сохраняем нормальное положение на телефонах */
@media (max-width: 768px) {
  .hero__content {
    margin-top: -40px;
  }
}

/* ========== ХОККЕЙНАЯ ИГРА ========== */
.nav__link--game {
  color: var(--accent-glow);
}

.hockey-game-page {
  overflow: hidden;
  background:
    radial-gradient(
      circle at 10% 8%,
      rgba(84, 126, 173, 0.11),
      transparent 28rem
    ),
    radial-gradient(
      circle at 90% 32%,
      rgba(0, 212, 255, 0.07),
      transparent 28rem
    ),
    #050607;
}

.hg-bg-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  opacity: 0.09;
}

.hg-bg-glow--red {
  top: 20px;
  left: -240px;
  background: var(--accent);
}

.hg-bg-glow--cyan {
  top: 440px;
  right: -240px;
  background: var(--neon-blue);
}

.hg-intro {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding-top: 52px;
  padding-bottom: 28px;
}

.hg-eyebrow {
  margin: 0 0 12px;
  color: var(--neon-blue);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hg-eyebrow span {
  display: inline-block;
  width: 24px;
  height: 2px;
  margin-right: 9px;
  vertical-align: middle;
  background: var(--neon-blue);
  box-shadow: 0 0 10px var(--neon-blue);
}

.hg-intro h1 {
  margin: 0;
  font-size: clamp(3.1rem, 6.8vw, 5.7rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
  font-style: italic;
  font-weight: 1000;
}

.hg-intro h1 em,
.hg-real-ice h2 em {
  color: var(--accent);
  font-style: inherit;
  text-shadow: 0 0 30px rgba(84, 126, 173, 0.3);
}

.hg-intro > div:first-child > p:last-child {
  max-width: 720px;
  margin-top: 18px;
  color: #9ba0a6;
  font-size: 0.94rem;
}

.hg-statuses {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  flex: none;
}

.hg-statuses span {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  color: #848a90;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.hg-statuses i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #49dd8c;
  box-shadow: 0 0 12px #49dd8c;
  animation: hgPulse 1.5s infinite;
}

.hg-statuses b {
  color: #fff;
}

.hg-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  align-items: start;
  gap: 18px;
  padding-bottom: 70px;
}

.hg-console,
.hg-side {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(8, 10, 12, 0.94);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.hg-console {
  min-width: 0;
}

.hg-scoreboard {
  min-height: 80px;
  padding: 12px 22px;
  display: grid;
  grid-template-columns: 1.2fr 0.75fr 1.2fr 0.85fr 1fr;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #111418, #080a0c);
}

.hg-score-item,
.hg-clock {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hg-score-item span,
.hg-clock span {
  color: #73787e;
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.hg-score-item strong {
  font-size: 1.42rem;
  font-style: italic;
  letter-spacing: -0.04em;
}

.hg-score-item strong i {
  color: #fff;
  font-style: inherit;
}

.hg-score-item--small strong {
  font-size: 1.18rem;
}

.hg-score-item--right {
  align-items: flex-end;
}

.hg-clock {
  min-width: 104px;
  padding: 9px 14px;
  align-items: center;
  justify-self: center;
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: 7px;
  background: rgba(0, 212, 255, 0.05);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.07);
}

.hg-clock strong {
  color: var(--neon-blue);
  font:
    800 1.45rem Consolas,
    monospace;
  line-height: 1;
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

.hg-clock.danger {
  border-color: rgba(84, 126, 173, 0.55);
  animation: hgClockDanger 0.7s infinite alternate;
}

.hg-clock.danger strong {
  color: var(--accent-glow);
  text-shadow: 0 0 14px rgba(84, 126, 173, 0.7);
}

.hg-rink-shell {
  position: relative;
  overflow: hidden;
  background: #020608;
  touch-action: none;
}

.hg-canvas {
  width: 100%;
  aspect-ratio: 1000 / 620;
  display: block;
  cursor: crosshair;
  touch-action: none;
}

.hg-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background: radial-gradient(
    circle at 50% 47%,
    rgba(8, 20, 25, 0.6),
    rgba(1, 3, 4, 0.91) 72%
  );
  backdrop-filter: blur(3px);
}

.hg-overlay[hidden],
.hg-event[hidden],
.hg-combo-chip[hidden] {
  display: none !important;
}

.hg-overlay::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.hg-overlay__kicker {
  margin-bottom: 11px;
  color: var(--neon-blue);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.3em;
}

.hg-overlay h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  line-height: 0.91;
  letter-spacing: -0.055em;
  font-style: italic;
  font-weight: 1000;
}

.hg-overlay h2 span {
  color: var(--accent);
}

.hg-overlay > p {
  max-width: 540px;
  margin: 14px 0 17px;
  color: #a1a6ab;
  font-size: 0.78rem;
  line-height: 1.55;
}

.hg-difficulty {
  display: flex;
  gap: 7px;
  margin: 0 0 14px;
}

.hg-difficulty button {
  min-width: 88px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #858b91;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: 0.2s ease;
}

.hg-difficulty button b {
  font-size: 0.45rem;
  letter-spacing: 0.1em;
}

.hg-difficulty button small {
  color: #60666b;
  font-size: 0.45rem;
}

.hg-difficulty button.selected {
  color: #fff;
  border-color: rgba(0, 212, 255, 0.55);
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.12);
}

.hg-difficulty button.selected small {
  color: var(--neon-blue);
}

.hg-instructions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-bottom: 17px;
}

.hg-instructions span {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #90959a;
  background: rgba(0, 0, 0, 0.44);
  font-size: 0.46rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.hg-instructions kbd {
  margin-right: 5px;
  color: #fff;
  font: inherit;
}

.hg-primary {
  min-height: 48px;
  padding: 0 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #547ead, #274f7f);
  box-shadow:
    0 10px 28px rgba(84, 126, 173, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.075em;
  cursor: pointer;
  transition: 0.2s ease;
}

.hg-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(84, 126, 173, 0.45);
}

.hg-primary span {
  font-size: 1.2rem;
}

.hg-enter-tip {
  margin-top: 7px;
  color: #62676c;
  font-size: 0.5rem;
  letter-spacing: 0.11em;
}

.hg-overlay--compact h2 {
  margin-bottom: 23px;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.hg-results h2 {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
}

.hg-result-score {
  margin: 4px 0 0;
  font-size: clamp(3.4rem, 8vw, 5.8rem);
  line-height: 1;
  font-weight: 1000;
  font-style: italic;
  letter-spacing: -0.06em;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.25);
}

.hg-result-stats {
  display: flex;
  gap: 22px;
  margin: 7px 0 17px;
  color: #8b9196;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.hg-result-stats b {
  color: #fff;
}

.hg-event,
.hg-combo-chip {
  position: absolute;
  z-index: 7;
  pointer-events: none;
}

.hg-event {
  top: 18%;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 3.1rem);
  font-weight: 1000;
  font-style: italic;
  letter-spacing: -0.04em;
  white-space: nowrap;
  text-shadow:
    0 4px 0 rgba(0, 0, 0, 0.28),
    0 0 25px currentColor;
  animation: hgEventIn 0.22s ease-out;
}

.hg-event.red {
  color: var(--accent-glow);
}
.hg-event.cyan {
  color: var(--neon-blue);
}

.hg-combo-chip {
  top: 15px;
  right: 17px;
  padding: 8px 11px;
  border: 1px solid rgba(84, 126, 173, 0.55);
  background: rgba(2, 7, 10, 0.84);
  color: #fff;
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  box-shadow: 0 0 20px rgba(84, 126, 173, 0.2);
}

.hg-combo-chip b {
  color: var(--accent-glow);
}

.hg-controls {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #090b0d;
}

.hg-power {
  flex: 1;
  min-width: 150px;
}

.hg-power__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #73797f;
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hg-power__label b {
  color: #fff;
}

.hg-power__track,
.hg-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 10px;
  background: #20242a;
}

.hg-power__track i,
.hg-progress i {
  display: block;
  width: 24%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    var(--neon-blue) 0%,
    #d8e8f5 64%,
    var(--accent) 86%
  );
  box-shadow: 0 0 12px var(--accent);
  transition: width 0.06s linear;
}

.hg-utility,
.hg-mobile-move button,
.hg-shoot,
.hg-pass-controls button {
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #a7abb0;
  background: #111418;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.hg-utility {
  min-width: 96px;
  padding: 0 12px;
}

.hg-utility.active,
.hg-utility:hover {
  color: #fff;
  border-color: rgba(0, 212, 255, 0.35);
}

.hg-utility:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.hg-mobile-move,
.hg-shoot {
  display: none;
}

.hg-pass-controls {
  display: flex;
  gap: 6px;
}

.hg-pass-controls button {
  min-width: 76px;
  padding: 0 9px;
  border-color: rgba(0, 212, 255, 0.22);
  color: #bcecf4;
  background: linear-gradient(
    180deg,
    rgba(0, 212, 255, 0.09),
    rgba(17, 20, 24, 0.95)
  );
  transition: 0.2s ease;
}

.hg-pass-controls button:hover {
  color: #fff;
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.14);
}

.hg-pass-controls kbd {
  color: var(--neon-blue);
  font: inherit;
}

.hg-mobile-move {
  gap: 8px;
}

.hg-mobile-move button {
  width: 48px;
  font-size: 1.1rem;
}

.hg-shoot {
  padding: 0 17px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #547ead, #274f7f);
  box-shadow: 0 8px 18px rgba(84, 126, 173, 0.24);
  touch-action: none;
}

.hg-side {
  padding: 18px;
}

.hg-side__heading,
.hg-card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #797f85;
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hg-side__heading {
  margin: 0 2px 14px;
}

.hg-side__heading b,
.hg-card-title b {
  color: var(--neon-blue);
}

.hg-player-card,
.hg-mission-card,
.hg-tip-card,
.hg-level-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.012)
  );
}

.hg-player-card {
  display: grid;
  grid-template-columns: 46px 1fr 36px;
  gap: 10px;
  align-items: center;
  padding: 13px;
  position: relative;
  overflow: hidden;
}

.hg-player-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  top: -80px;
  right: -45px;
  background: var(--accent);
  filter: blur(45px);
  opacity: 0.16;
}

.hg-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(84, 126, 173, 0.55);
  background: linear-gradient(145deg, #381018, #101215);
  font-size: 0.72rem;
  font-weight: 1000;
  box-shadow: 0 0 16px rgba(84, 126, 173, 0.16);
}

.hg-player-card > div:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hg-player-card span,
.hg-player-card small,
.hg-rating span {
  color: #73787e;
  font-size: 0.4rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hg-player-card strong {
  font-size: 0.56rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hg-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hg-rating b {
  color: var(--accent-glow);
  font-size: 1.35rem;
  font-style: italic;
}

.hg-mission-card,
.hg-tip-card,
.hg-level-card {
  margin-top: 12px;
  padding: 15px;
}

.hg-mission {
  margin-top: 15px;
}

.hg-mission > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  font-size: 0.47rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hg-mission > div:first-child span {
  color: #dfe2e4;
}
.hg-mission > div:first-child b {
  color: #73787e;
  font-weight: 700;
}
.hg-progress {
  height: 4px;
}
.hg-progress i {
  width: 0;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.hg-progress--cyan i {
  background: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
}
.hg-progress--gold i {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.hg-tip-card p {
  margin: 13px 0 0;
  color: #989da3;
  font-size: 0.66rem;
  line-height: 1.6;
}

.hg-level-card > span,
.hg-level-card small {
  color: #7a7f84;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.hg-level-dots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 12px 0 10px;
}

.hg-level-dots i {
  height: 5px;
  background: #24282d;
  transform: skewX(-16deg);
}

.hg-level-dots i.filled {
  background: var(--accent);
  box-shadow: 0 0 9px rgba(84, 126, 173, 0.7);
}

.hg-real-ice {
  padding-top: 90px;
  padding-bottom: 110px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hg-eyebrow--center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

.hg-eyebrow--center span {
  margin: 0;
}

.hg-real-ice h2 {
  max-width: 850px;
  margin: 15px auto;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.97;
  letter-spacing: -0.055em;
  font-style: italic;
  font-weight: 1000;
}

.hg-real-ice > p:not(.hg-eyebrow) {
  max-width: 640px;
  margin: 0 auto 28px;
  color: #969ba1;
}

@keyframes hgPulse {
  50% {
    opacity: 0.35;
    transform: scale(0.8);
  }
}

@keyframes hgEventIn {
  from {
    opacity: 0;
    transform: translateX(-50%) scale(0.65) rotate(4deg);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) scale(1) rotate(-2deg);
  }
}

@keyframes hgClockDanger {
  to {
    box-shadow: 0 0 25px rgba(84, 126, 173, 0.4);
  }
}

@media (max-width: 1080px) {
  .hg-layout {
    grid-template-columns: 1fr;
  }
  .hg-side {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 1fr;
    gap: 12px;
  }
  .hg-side__heading {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  .hg-mission-card,
  .hg-tip-card,
  .hg-level-card {
    margin-top: 0;
  }
  .hg-tip-card {
    display: none;
  }
}

@media (max-width: 768px) {
  .hg-intro {
    padding-top: 34px;
    align-items: flex-start;
    flex-direction: column;
  }
  .hg-intro h1 {
    font-size: clamp(2.7rem, 16vw, 4.6rem);
  }
  .hg-statuses {
    display: none;
  }
  .hg-layout {
    padding-left: 10px;
    padding-right: 10px;
  }
  .hg-scoreboard {
    min-height: 68px;
    padding: 9px 11px;
    grid-template-columns: 1fr 0.82fr 1fr;
  }
  .hg-score-item--small {
    display: none;
  }
  .hg-score-item strong {
    font-size: 1.1rem;
  }
  .hg-clock {
    min-width: 90px;
    padding: 7px 9px;
  }
  .hg-clock strong {
    font-size: 1.1rem;
  }
  .hg-canvas {
    min-height: 355px;
    object-fit: cover;
  }
  .hg-overlay {
    padding: 17px;
  }
  .hg-overlay::before {
    inset: 10px;
  }
  .hg-overlay h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  .hg-overlay > p {
    margin: 10px 0 12px;
    font-size: 0.68rem;
  }
  .hg-difficulty {
    margin-bottom: 9px;
  }
  .hg-difficulty button {
    min-width: 76px;
    padding: 7px;
  }
  .hg-difficulty button b,
  .hg-difficulty button small {
    font-size: 0.4rem;
  }
  .hg-instructions {
    margin-bottom: 11px;
  }
  .hg-instructions span {
    font-size: 0.4rem;
  }
  .hg-primary {
    min-height: 42px;
    padding: 0 20px;
    font-size: 0.62rem;
  }
  .hg-result-score {
    font-size: 3.4rem;
  }
  .hg-result-stats {
    gap: 10px;
    font-size: 0.5rem;
  }
  .hg-controls {
    flex-wrap: wrap;
  }
  .hg-power {
    flex-basis: 100%;
  }
  .hg-mobile-move {
    display: flex;
    flex: 1;
  }
  .hg-pass-controls {
    order: 3;
    width: 100%;
  }
  .hg-pass-controls button {
    flex: 1;
  }
  .hg-shoot {
    display: block;
  }
  .hg-utility {
    min-width: 72px;
  }
  .hg-utility span {
    display: none;
  }
  .hg-side {
    grid-template-columns: 1fr;
  }
  .hg-side__heading {
    grid-column: auto;
  }
  .hg-tip-card {
    display: block;
  }
  .hg-real-ice {
    padding-top: 65px;
    padding-bottom: 75px;
  }
}

@media (max-width: 480px) {
  .hg-eyebrow {
    font-size: 0.52rem;
    letter-spacing: 0.16em;
  }
  .hg-intro > div:first-child > p:last-child {
    font-size: 0.8rem;
  }
  .hg-rink-shell {
    min-height: 360px;
  }
  .hg-difficulty {
    gap: 4px;
  }
  .hg-difficulty button {
    min-width: 70px;
  }
  .hg-overlay__kicker {
    font-size: 0.46rem;
  }
  .hg-enter-tip {
    display: none;
  }
}

/* Статус отправки формы */
.form__status {
  min-height: 24px;
  margin-top: 14px;
  text-align: center;
  font-weight: 700;
}
.form__status--success {
  color: #62e6a7;
}
.form__status--error {
  color: #9abce0;
}
.form button:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* ==========================================================================\n   ICE TEKHNICS ACADEMY — BRAND THEME V2\n   Palette extracted from the approved logo.\n   ========================================================================== */
:root {
  --bg-dark: #f4f7fb;
  --bg-card: #ffffff;
  --bg-card-hover: #edf3f9;
  --text-primary: #102443;
  --text-secondary: #62718a;
  --accent: #102c57;
  --accent-glow: #5576a3;
  --neon-blue: #8eb5dc;
  --gold: #8295ae;
  --border: #d8e1ec;
  --brand-navy: #0f254d;
  --brand-navy-deep: #07162f;
  --brand-steel: #43516b;
  --brand-ice: #eff6fc;
  --brand-line: #cdd9e7;
}

body.ice-brand {
  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(142, 181, 220, 0.18),
      transparent 28rem
    ),
    #f4f7fb;
  color: var(--text-primary);
}

#particles-canvas {
  opacity: 0.24;
  mix-blend-mode: multiply;
}
.cursor {
  filter: drop-shadow(0 4px 12px rgba(15, 37, 77, 0.28));
}
.cursor-dot {
  background: var(--brand-navy);
}

.header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(15, 37, 77, 0.1);
  box-shadow: 0 8px 28px rgba(15, 37, 77, 0.05);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 36px rgba(15, 37, 77, 0.12);
}
.brand-logo {
  gap: 12px;
  color: var(--brand-navy);
  min-width: 245px;
}
.brand-logo__mark {
  width: 60px;
  height: 54px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brand-logo__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-logo__name {
  font-size: 0.82rem;
  letter-spacing: 1.45px;
  line-height: 1.15;
  white-space: nowrap;
}
.brand-logo__name b {
  display: block;
  color: var(--brand-steel);
  font-size: 0.75rem;
  letter-spacing: 3px;
}
.logo:hover {
  text-shadow: none;
  transform: translateY(-1px);
}
.nav__link {
  color: #53637b;
}
.nav__link:hover,
.nav__link.active {
  color: var(--brand-navy);
}
.nav__link::after {
  background: var(--brand-navy);
  box-shadow: 0 0 14px rgba(85, 118, 163, 0.35);
}
.btn--header,
.btn--accent {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  box-shadow: 0 12px 30px rgba(15, 37, 77, 0.22);
}
.btn--header:hover,
.btn--accent:hover {
  background: #1a3d6c;
  color: #fff;
  box-shadow: 0 16px 38px rgba(15, 37, 77, 0.32);
}
.burger span {
  background: var(--brand-navy);
}

.hero--index {
  min-height: 720px;
  background:
    radial-gradient(
      circle at 77% 36%,
      rgba(101, 143, 190, 0.24),
      transparent 26%
    ),
    radial-gradient(
      circle at 18% 82%,
      rgba(67, 81, 107, 0.28),
      transparent 30%
    ),
    linear-gradient(115deg, #06152d 0%, #0b2144 48%, #17375f 100%);
  background-attachment: scroll;
  isolation: isolate;
}

/* Clean rink graphic: no rectangular logo card baked into the background. */
.hero__rink {
  position: absolute;
  z-index: 0;
  inset: 7.5rem 4vw 4.8rem;
  border: 2px solid rgba(221, 236, 249, 0.54);
  border-radius: 6.8rem;
  opacity: 0.7;
  pointer-events: none;
  transform: translateY(calc(var(--hero-shift, 0px) * 0.08));
}
.hero__rink::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(221, 236, 249, 0.48);
  transform: translateX(-50%);
}
.hero__rink::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(7rem, 10vw, 11rem);
  aspect-ratio: 1;
  border: 2px solid rgba(221, 236, 249, 0.48);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero__overlay {
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(7, 22, 47, 0.98) 0%,
      rgba(7, 22, 47, 0.89) 44%,
      rgba(7, 22, 47, 0.38) 73%,
      rgba(7, 22, 47, 0.2) 100%
    ),
    linear-gradient(180deg, rgba(15, 37, 77, 0.08), rgba(7, 22, 47, 0.72));
}

.hero__brand-mark {
  position: absolute;
  z-index: 1;
  top: 51%;
  right: clamp(2rem, 7vw, 9rem);
  width: clamp(24rem, 31vw, 36rem);
  transform: translateY(calc(-50% + var(--hero-shift, 0px) * 0.05));
  pointer-events: none;
  opacity: 0.28;
}
.hero__brand-mark img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 18px 42px rgba(1, 9, 24, 0.38));
}
.hero__brand-glow {
  position: absolute;
  z-index: 0;
  inset: 6% -8% 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(174, 207, 238, 0.22),
    transparent 66%
  );
  filter: blur(18px);
}

.hero__content {
  margin-top: 0;
  max-width: 820px;
  padding-top: 70px;
}
.hero__arena {
  color: #c6dcf0;
  text-shadow: none;
}
.hero__title {
  color: #fff;
  font-size: clamp(3rem, 5.4vw, 5.3rem);
  letter-spacing: -0.04em;
}
.hero__title .highlight {
  color: #a8c8e6;
  text-shadow: 0 0 38px rgba(142, 181, 220, 0.25);
}
.hero__subtitle {
  color: #d9e5f0;
  max-width: 680px;
  font-size: 1.16rem;
}
.hero__services {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 0 0 34px;
  padding: 0;
}
.hero__services li {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  color: #edf6ff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  border: 1px solid rgba(190, 216, 239, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  transform: translateY(0) scale(1);
  transition:
    transform 0.28s cubic-bezier(0.2, 0.8, 0.25, 1),
    border-color 0.28s ease,
    background-color 0.28s ease,
    box-shadow 0.28s ease;
  will-change: transform;
}
.hero__services li span {
  flex: 0 0 auto;
  color: #91b7d9;
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  transition: color 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {
  .hero__services li:hover {
    transform: translateY(-6px) scale(1.018);
    border-color: rgba(184, 220, 251, 0.62);
    background: rgba(119, 172, 221, 0.13);
    box-shadow:
      0 13px 26px rgba(0, 9, 27, 0.38),
      0 0 22px rgba(112, 180, 235, 0.13);
  }

  .hero__services li:hover span {
    color: #c6e5ff;
  }
}
.hero .btn--outline,
.hero--index .btn--outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.hero--index .btn--outline:hover {
  background: #fff;
  color: var(--brand-navy);
  border-color: #fff;
  box-shadow: none;
}
.scroll-indicator span {
  color: rgba(255, 255, 255, 0.72);
}
.scroll-indicator__arrow {
  border-color: #a8c8e6;
}

.advantages {
  background: #fff;
}
.advantage-card {
  background: linear-gradient(180deg, #fff, #f8fbfe);
  border: 1px solid var(--brand-line);
  box-shadow: 0 18px 45px rgba(15, 37, 77, 0.07);
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.advantage-card::before {
  background: radial-gradient(
    circle at center,
    rgba(142, 181, 220, 0.18),
    transparent 70%
  );
}
.advantage-card:hover {
  border-color: #9fb8d3;
  box-shadow: 0 24px 54px rgba(15, 37, 77, 0.13);
}
.advantage-card h3 {
  color: var(--brand-navy);
  margin-bottom: 0;
  font-size: 1.35rem;
}
.advantage-card__number {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  color: #7898ba;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.counter-number--range {
  min-width: 150px;
}
.advantage-card p {
  color: #61718a;
}
.advantage-card__icon {
  filter: grayscale(1) saturate(0.2)
    drop-shadow(0 5px 10px rgba(15, 37, 77, 0.15));
}

.counters {
  background: var(--brand-ice);
  border-color: var(--brand-line);
}
.counter-number {
  background: linear-gradient(135deg, var(--brand-navy), #6e8fb5);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}
.counter-label {
  color: #5b6a81;
}

.gallery {
  background: linear-gradient(180deg, #07162f, #102c57);
  color: #fff;
}
.gallery .subtitle {
  color: #b8c8da;
}
.slider {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 65px rgba(1, 8, 21, 0.45);
}
.slider__caption {
  color: #fff;
}
.slider__dot {
  background: rgba(255, 255, 255, 0.35);
}
.slider__dot.active {
  background: #fff;
  box-shadow: 0 0 16px rgba(174, 207, 238, 0.7);
}
.slider__btn:hover {
  background: #fff;
  color: var(--brand-navy);
  border-color: #fff;
  box-shadow: none;
}

.timer-section {
  background: #fff;
}
.timer-section h3 {
  color: var(--brand-navy);
}
.timer__block {
  background: var(--brand-ice);
  border: 1px solid var(--brand-line);
  box-shadow: 0 10px 25px rgba(15, 37, 77, 0.06);
}
.timer__value {
  color: var(--brand-navy);
  text-shadow: none;
}

.cta {
  background: linear-gradient(135deg, #0b2042, #17365f);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}
.cta p {
  color: #d6e1ed;
}
.cta .btn--accent {
  background: #fff;
  color: var(--brand-navy);
  border-color: #fff;
}
.cta .btn--accent:hover {
  background: #dceaf6;
  color: var(--brand-navy);
}

.page-hero {
  background: linear-gradient(135deg, #07162f, #17365f);
  border-bottom: 0;
}
.page-hero::before {
  background:
    radial-gradient(
      circle at 25% 50%,
      rgba(142, 181, 220, 0.2),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 35%,
      rgba(255, 255, 255, 0.08),
      transparent 42%
    );
}
.page-hero h1 {
  background: linear-gradient(135deg, #fff, #b9d0e7);
  -webkit-background-clip: text;
  background-clip: text;
}
.page-hero p {
  color: #c8d7e6;
}
.content-section {
  background: #f7f9fc;
}
.text-block h2,
.section-title {
  color: var(--brand-navy);
}
.text-block p,
.text-block ul {
  color: #5d6d84;
}
.section-title::after {
  background: var(--brand-navy);
  box-shadow: none;
}

.schedule-table-wrapper {
  box-shadow: 0 16px 42px rgba(15, 37, 77, 0.1);
  border: 1px solid var(--brand-line);
}
.schedule-table {
  background: #fff;
  color: var(--brand-navy);
}
.schedule-table th {
  background: var(--brand-navy);
  color: #ddebf7;
}
.schedule-table th,
.schedule-table td {
  border-color: #e1e8f0;
}
.schedule-table tr:hover td {
  background: #eef5fb;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--brand-line);
  box-shadow: 0 18px 45px rgba(15, 37, 77, 0.07);
}
.pricing-card:hover {
  border-color: #9fb8d3;
  box-shadow: 0 24px 54px rgba(15, 37, 77, 0.13);
}
.pricing-card--featured {
  background: linear-gradient(180deg, #f1f6fb, #fff);
  border-color: var(--brand-navy);
  box-shadow: 0 20px 50px rgba(15, 37, 77, 0.14);
}
.pricing-card h3 {
  color: var(--brand-navy);
}
.pricing-card__price {
  color: var(--brand-navy);
  text-shadow: none;
}
.pricing-card ul li {
  border-color: #e6ebf1;
  color: #5f6e84;
}
.pricing-card .btn--outline {
  color: var(--brand-navy);
  border-color: #9db0c6;
}
.pricing-card .btn--outline:hover {
  background: var(--brand-navy);
  color: #fff;
  border-color: var(--brand-navy);
  box-shadow: none;
}
.pricing-note {
  color: #68768a;
}

.contact-item {
  background: #fff;
  border: 1px solid var(--brand-line);
  box-shadow: 0 12px 30px rgba(15, 37, 77, 0.06);
}
.contact-item strong {
  color: var(--brand-navy);
}
.contact-item a {
  color: #355e8d;
}
.contact-item a:hover {
  color: var(--brand-navy);
}
.form {
  background: #fff;
  border: 1px solid var(--brand-line);
  box-shadow: 0 20px 50px rgba(15, 37, 77, 0.1);
}
.form__group label {
  color: #43516b;
}
.form__group input,
.form__group select,
.form__group textarea {
  background: #f5f8fb;
  color: var(--brand-navy);
  border-color: #cad6e4;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  background: #fff;
  border-color: #5576a3;
  box-shadow: 0 0 0 4px rgba(85, 118, 163, 0.12);
}

.footer {
  background: #07162f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__info p,
.footer__links a {
  color: #aebed0;
}
.footer__links a:hover {
  color: #fff;
}

/* Game page: preserve the strong console look, replace red with the brand blues. */
.hockey-game-page {
  --hg-red: #547ead;
  --hg-red-deep: #274f7f;
  --hg-cyan: #9ac2e6;
  --hg-ink: #07162f;
}
.hg-bg-glow--red {
  background: rgba(84, 126, 173, 0.26) !important;
}
.hg-bg-glow--cyan {
  background: rgba(154, 194, 230, 0.18) !important;
}
.hg-primary,
.hg-shoot {
  background: linear-gradient(135deg, #335f91, #17365f) !important;
}
.hg-avatar {
  background: linear-gradient(135deg, #eaf2f9, #b4cbe0) !important;
  color: #102c57 !important;
}
.hg-real-ice .btn--accent {
  background: #fff;
  color: var(--brand-navy);
  border-color: #fff;
}

@media (max-width: 980px) {
  .brand-logo {
    min-width: auto;
  }
  .brand-logo__name {
    display: none;
  }
  .brand-logo__mark {
    width: 54px;
    height: 48px;
  }
  .hero__content {
    padding-top: 110px;
  }
}
@media (max-width: 1100px) {
  .hero__brand-mark {
    right: -3rem;
    width: 31rem;
    opacity: 0.18;
  }
  .hero__rink {
    left: 2vw;
    right: 2vw;
  }
}

@media (max-width: 600px) {
  .header {
    height: 70px;
  }
  :root {
    --header-height: 70px;
  }
  .brand-logo__mark {
    width: 48px;
    height: 44px;
  }
  .hero--index {
    min-height: 760px;
  }
  .hero__rink {
    inset: 7rem -15rem 5rem -15rem;
    border-radius: 5rem;
    opacity: 0.24;
  }
  .hero__brand-mark {
    display: none;
  }
  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(7, 22, 47, 0.76),
      rgba(7, 22, 47, 0.98) 60%,
      rgba(7, 22, 47, 1)
    );
  }
  .hero__content {
    padding-top: 120px;
  }
  .hero__title {
    font-size: 2.7rem;
  }
  .hero__subtitle {
    font-size: 1rem;
  }
  .hero__services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 26px;
  }
  .hero__services li {
    min-height: 50px;
    padding: 9px 10px;
    font-size: 0.78rem;
  }
  .advantages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .advantage-card {
    min-height: 160px;
    padding: 24px 16px;
  }
  .advantage-card h3 {
    font-size: 1.05rem;
  }
  .slider__slide {
    height: 330px;
  }
}

@media (max-width: 390px) {
  .hero__services {
    grid-template-columns: 1fr;
  }
  .hero--index {
    min-height: 960px;
  }
  .advantages__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== V4: header/hero seam and synchronized hero fade ===== */
/* The decorative canvas must not occupy 150px in the normal document flow. */
#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  pointer-events: none;
  z-index: 0;
}

/* Keep the first screen directly under the fixed header, without a light gap. */
#page-home,
#page-home .hero--index {
  margin-top: 0;
}

.hero__brand-mark {
  transition: opacity 0.08s linear;
  will-change: transform, opacity;
}

.hero__content {
  will-change: transform, opacity;
}

.hero__title .highlight {
  letter-spacing: 0.02em;
  font-kerning: none;
}

.hero__title {
  letter-spacing: 0.02em;
  font-kerning: none;
}

/* ===== V6: compact interactive 3D emblem ===== */
.hero__brand-mark {
  position: absolute;
  z-index: 3;
  top: clamp(118px, 15vh, 150px);
  right: clamp(54px, 7vw, 112px);
  width: clamp(230px, 20vw, 300px);
  aspect-ratio: 335 / 264;
  overflow: visible;
  opacity: 1;
  pointer-events: none;
  perspective: 900px;
  transform: translateY(calc(var(--hero-shift, 0px) * 0.08));
  transform-origin: 50% 50%;
  transition: opacity 0.08s linear;
  will-change: transform, opacity;
}

.hero-emblem-3d {
  width: 100%;
  height: 100%;
  animation: emblemFloat 5.5s ease-in-out infinite;
}

.hero-emblem-3d__tilt {
  --emblem-rotate-x: 2deg;
  --emblem-rotate-y: -5deg;
  --emblem-shine-x: 38%;
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--emblem-rotate-x)) rotateY(var(--emblem-rotate-y));
  transition: transform 0.24s cubic-bezier(0.2, 0.75, 0.25, 1);
  will-change: transform;
}

.hero-emblem-3d__layer {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background: url("images/logo-transparent.png") center top / 157.3% auto no-repeat;
  user-select: none;
}

.hero-emblem-3d__layer--deep {
  transform: translate3d(12px, 16px, -28px);
  filter: brightness(0.16) saturate(1.4) hue-rotate(175deg) blur(0.4px);
  opacity: 0.82;
}

.hero-emblem-3d__layer--mid {
  transform: translate3d(8px, 11px, -18px);
  filter: brightness(0.35) saturate(1.1) hue-rotate(175deg);
  opacity: 0.9;
}

.hero-emblem-3d__layer--edge {
  transform: translate3d(4px, 6px, -8px);
  filter: brightness(0.72) saturate(0.75) contrast(1.18);
  opacity: 0.96;
}

.hero-emblem-3d__layer--face {
  transform: translateZ(12px);
  filter:
    contrast(1.12)
    saturate(1.08)
    drop-shadow(0 16px 19px rgba(0, 5, 18, 0.45))
    drop-shadow(0 0 13px rgba(169, 214, 255, 0.22));
}

.hero-emblem-3d__glow {
  position: absolute;
  z-index: -1;
  inset: 13% 4% 2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 200, 249, 0.36), transparent 66%);
  filter: blur(24px);
  transform: translate3d(13px, 18px, -40px);
}

.hero-emblem-3d__shine {
  position: absolute;
  z-index: 5;
  inset: 0;
  background: linear-gradient(
    112deg,
    transparent 24%,
    rgba(255, 255, 255, 0.08) 38%,
    rgba(216, 239, 255, 0.72) 49%,
    rgba(255, 255, 255, 0.07) 59%,
    transparent 73%
  );
  background-size: 60% 100%;
  background-position: var(--emblem-shine-x) 0;
  background-repeat: no-repeat;
  -webkit-mask: url("images/logo-transparent.png") center top / 157.3% auto no-repeat;
  mask: url("images/logo-transparent.png") center top / 157.3% auto no-repeat;
  mix-blend-mode: screen;
  opacity: 0.68;
  transform: translateZ(18px);
  transition: background-position 0.24s ease;
}

@keyframes emblemFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-9px) scale(1.012);
  }
}

@media (max-width: 1100px) {
  .hero__brand-mark {
    top: 120px;
    right: 34px;
    width: 215px;
  }
}

@media (max-width: 820px) {
  .hero__brand-mark {
    top: 104px;
    right: 22px;
    width: 150px;
  }
}

@media (max-width: 600px) {
  .hero__brand-mark {
    display: block;
    top: 86px;
    right: 16px;
    width: 112px;
    opacity: 0.52;
    perspective: none;
  }

  .hero-emblem-3d {
    animation: none;
  }

  .hero-emblem-3d__tilt {
    transform: none;
  }

  .hero-emblem-3d__layer--deep,
  .hero-emblem-3d__layer--mid {
    display: none;
  }

  .hero-emblem-3d__layer--edge {
    transform: translate(2px, 3px);
  }

  .hero-emblem-3d__layer--face,
  .hero-emblem-3d__shine {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-emblem-3d {
    animation: none;
  }

  .hero-emblem-3d__tilt {
    transition: none;
  }
}

/* ===== V7: clean brand mark without artificial highlights ===== */
.hero__brand-mark {
  top: clamp(116px, 15vh, 148px);
  right: clamp(48px, 7vw, 108px);
  width: clamp(220px, 19vw, 286px);
  aspect-ratio: 586 / 461;
  opacity: 1;
  perspective: none;
  transform: translateY(calc(var(--hero-shift, 0px) * 0.08));
}

.hero__brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(1, 9, 24, 0.28));
  animation: emblemCalmFloat 6s ease-in-out infinite;
}

@keyframes emblemCalmFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@media (max-width: 1100px) {
  .hero__brand-mark {
    top: 116px;
    right: 30px;
    width: 205px;
  }
}

@media (max-width: 820px) {
  .hero__brand-mark {
    top: 102px;
    right: 20px;
    width: 142px;
  }
}

@media (max-width: 600px) {
  .hero__brand-mark {
    top: 84px;
    right: 14px;
    width: 104px;
    opacity: 0.72;
  }

  .hero__brand-mark img {
    filter: drop-shadow(0 8px 14px rgba(1, 9, 24, 0.24));
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__brand-mark img {
    animation: none;
  }
}

/* ===== V9: centered header lockup and clean mobile service cards ===== */
.brand-logo {
  align-items: center;
}

.brand-logo__mark {
  flex: 0 0 auto;
}

.brand-logo__name {
  display: flex;
  min-height: 54px;
  flex-direction: column;
  justify-content: center;
  align-self: center;
}

@media (max-width: 980px) {
  .brand-logo {
    gap: 9px;
  }

  .brand-logo__mark {
    width: 48px;
    height: 48px;
  }

  .brand-logo__name {
    display: flex;
    min-height: 48px;
    font-size: 0.64rem;
    letter-spacing: 0.9px;
    line-height: 1.12;
  }

  .brand-logo__name b {
    font-size: 0.59rem;
    letter-spacing: 2px;
  }
}

@media (max-width: 600px) {
  .brand-logo {
    gap: 7px;
  }

  .brand-logo__mark {
    width: 42px;
    height: 42px;
  }

  .brand-logo__name {
    min-height: 42px;
    font-size: 0.56rem;
    letter-spacing: 0.65px;
  }

  .brand-logo__name b {
    font-size: 0.52rem;
    letter-spacing: 1.5px;
  }

  /* The rink centre line and circle were shining through the translucent cards. */
  .hero__rink::before,
  .hero__rink::after {
    display: none;
  }

  .hero__services li {
    background: rgba(8, 28, 58, 0.94);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* ===== V10: mobile hero name aligned centre-to-centre with the emblem ===== */
.hero__mobile-lockup {
  display: none;
}

@media (max-width: 600px) {
  .hero__brand-mark,
  .hero__arena {
    display: none;
  }

  /* Keep the decorative rink outline from crossing through the mobile logo. */
  .hero__rink {
    border: 0;
  }

  .hero__mobile-lockup {
    position: absolute;
    z-index: 3;
    top: 84px;
    left: 23px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 104px;
    color: #c6dcf0;
    pointer-events: none;
  }

  .hero__mobile-lockup span {
    flex: 0 1 auto;
    font-size: clamp(0.7rem, 3.35vw, 0.82rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: clamp(2.4px, 0.85vw, 3.2px);
    white-space: nowrap;
  }

  .hero__mobile-lockup img {
    flex: 0 0 104px;
    width: 104px;
    height: 104px;
    object-fit: contain;
    opacity: 0.72;
    filter: drop-shadow(0 8px 14px rgba(1, 9, 24, 0.24));
  }
}

@media (max-width: 390px) {
  .hero__mobile-lockup {
    left: 18px;
    right: 10px;
    gap: 8px;
  }

  .hero__mobile-lockup img {
    flex-basis: 92px;
    width: 92px;
    height: 92px;
  }
}

/* ===== V12: content and mobile readability refresh ===== */
body,
button,
input,
select,
textarea {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

.hero__services li {
  min-height: 64px;
  padding: 12px 15px;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__services li span {
  font-size: 0.7rem;
}

.advantage-card {
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 225px;
  padding: 38px 30px;
  text-align: left;
}

.advantage-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.advantage-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
}

.process-steps {
  padding: 88px 0;
}

.process-steps__eyebrow,
.about-intro__eyebrow,
.training-format-strip__content > span,
.price-info > div > span {
  display: block;
  color: #6d8fb2;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.process-steps__eyebrow,
.process-steps__title {
  text-align: center;
}

.process-steps__title {
  margin: 10px 0 46px;
  color: var(--brand-navy);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.15;
}

.process-steps .counters__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-steps .counter-item {
  min-width: 0;
  padding: 26px 20px;
  border: 1px solid var(--brand-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
}

.process-steps .counter-number {
  margin-bottom: 12px;
  font-size: 2rem;
  line-height: 1;
}

.process-steps .counter-label {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.slider__slide {
  height: clamp(360px, 50vw, 500px);
  background-position: center;
}

.slider__slide::after {
  top: 0;
  height: auto;
  background: linear-gradient(
    180deg,
    rgba(3, 13, 31, 0.05) 35%,
    rgba(3, 13, 31, 0.82) 100%
  );
}

.slider__caption {
  right: 30px;
  bottom: 24px;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 520px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: rgba(5, 22, 49, 0.76);
  box-shadow: 0 12px 28px rgba(0, 7, 20, 0.28);
  text-shadow: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.slider__caption span {
  color: #abc9e4;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.slider__caption strong {
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  line-height: 1.18;
}

.training-format-strip {
  padding: 56px 0 72px;
  background: #fff;
}

.training-format-strip__content {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(260px, 1.15fr) minmax(260px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 32px 36px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #0b2042, #17365f);
  box-shadow: 0 22px 48px rgba(15, 37, 77, 0.18);
}

.training-format-strip__content > span {
  color: #a8c8e6;
}

.training-format-strip__content strong {
  font-size: 1.35rem;
  line-height: 1.3;
}

.training-format-strip__content p {
  margin: 0;
  color: #d7e4ef;
  line-height: 1.65;
}

.about-intro {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.about-intro h2,
.method-origin h2 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 1.18;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-card {
  max-width: none;
  margin: 0;
  padding: 32px 28px;
  border: 1px solid var(--brand-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 37, 77, 0.07);
}

.about-card > span,
.format-card > span {
  color: #7698b9;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.about-card h3,
.format-card h3 {
  margin: 18px 0 12px;
  color: var(--brand-navy);
  font-size: 1.22rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.about-card p,
.format-card p {
  margin: 0;
  color: #5d6d84;
  line-height: 1.7;
}

.method-origin {
  max-width: none;
  margin: 22px 0 0;
  padding: 42px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0b2042, #17365f);
  box-shadow: 0 22px 48px rgba(15, 37, 77, 0.18);
}

.method-origin h2,
.method-origin p {
  color: #fff;
}

.method-origin p {
  max-width: 830px;
  margin: 16px 0 0;
  line-height: 1.75;
}

.coaches {
  max-width: none;
  margin: 22px 0 0;
  padding: 34px 36px;
  border: 1px solid var(--brand-line);
  border-radius: 20px;
  background: #eef4fa;
}

.coaches__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.coaches__grid--single {
  grid-template-columns: minmax(0, 520px);
}

.coaches__grid > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 22px;
  border-radius: 14px;
  background: #fff;
}

.coaches__grid strong {
  color: var(--brand-navy);
}

.coaches__grid span {
  color: #6a7890;
  font-size: 0.88rem;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.format-grid--pricing {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.format-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 34px 28px;
  border: 1px solid var(--brand-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 37, 77, 0.07);
}

.format-card small {
  display: block;
  margin-top: auto;
  padding-top: 24px;
  color: #58718e;
  font-weight: 700;
  line-height: 1.5;
}

.format-card__price {
  margin: 4px 0 18px;
  color: var(--brand-navy);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.format-card--accent {
  color: #fff;
  border-color: #17365f;
  background: linear-gradient(145deg, #0b2042, #1a416f);
}

.format-card--accent h3,
.format-card--accent p,
.format-card--accent small,
.format-card--accent .format-card__price {
  color: #fff;
}

.format-card--accent > span {
  color: #a8c8e6;
}

.price-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 22px;
  padding: 34px 36px;
  border-radius: 18px;
  background: #e8f0f7;
}

.price-info h2 {
  margin: 8px 0 8px;
  color: var(--brand-navy);
  font-size: 1.55rem;
}

.price-info p {
  max-width: 650px;
  margin: 0;
  color: #5d6d84;
  line-height: 1.65;
}

.price-info .btn {
  flex: 0 0 auto;
}

.page-hero--contacts {
  min-height: 430px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 19, 43, 0.92) 0%, rgba(5, 19, 43, 0.72) 48%, rgba(5, 19, 43, 0.34) 100%),
    url("images/training-live-3.png") center 45% / cover no-repeat;
}

.page-hero--contacts::before {
  background: linear-gradient(180deg, transparent 55%, rgba(5, 19, 43, 0.44));
}

.page-hero--contacts .container {
  width: 100%;
  text-align: left;
}

.page-hero--contacts p {
  max-width: 620px;
}

.contacts-info h2,
.contacts-form h2 {
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.contact-item {
  align-items: flex-start;
  padding: 24px;
  border-radius: 16px;
}

.contact-item strong {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-item small {
  display: inline-block;
  margin-top: 7px;
  color: #718097;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .process-steps .counters__grid,
  .about-grid,
  .format-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-card:last-child,
  .format-card:last-child {
    grid-column: 1 / -1;
  }

  .format-grid--pricing .format-card:last-child {
    grid-column: auto;
  }

  .training-format-strip__content {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .price-info {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .hero__services li {
    min-height: 68px;
    padding: 12px;
    font-size: 0.86rem;
    line-height: 1.28;
  }

  .advantages__grid,
  .about-grid,
  .format-grid,
  .coaches__grid {
    grid-template-columns: 1fr;
  }

  .about-card:last-child,
  .format-card:last-child {
    grid-column: auto;
  }

  .advantage-card {
    min-height: 0;
    padding: 26px 22px;
  }

  .advantage-card__number {
    margin-bottom: 12px;
  }

  .process-steps {
    padding: 64px 0;
  }

  .process-steps__title {
    margin-bottom: 30px;
  }

  .process-steps .counters__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .process-steps .counter-item {
    padding: 20px 14px;
  }

  .process-steps .counter-number {
    font-size: 1.55rem;
  }

  .process-steps .counter-label {
    font-size: 0.78rem;
  }

  .gallery {
    padding: 72px 0 64px;
  }

  .gallery h2 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .gallery .subtitle {
    margin-bottom: 28px;
  }

  .slider__slide {
    height: clamp(320px, 86vw, 390px);
    background-position: center;
  }

  .slider__caption {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
    padding: 14px 16px;
  }

  .slider__caption strong {
    padding-right: 36px;
    font-size: 1.16rem;
  }

  .slider__btn {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .slider__btn--prev {
    left: 10px;
  }

  .slider__btn--next {
    right: 10px;
  }

  .training-format-strip {
    padding: 36px 0 48px;
  }

  .training-format-strip__content,
  .method-origin,
  .coaches,
  .price-info {
    padding: 28px 22px;
  }

  .about-intro {
    margin-bottom: 30px;
  }

  .about-card,
  .format-card {
    min-height: 0;
    padding: 26px 22px;
  }

  .method-origin p {
    font-size: 0.95rem;
  }

  .page-hero--contacts {
    min-height: 390px;
    background-position: 40% center;
  }

  .page-hero--contacts .container {
    text-align: center;
  }

  .page-hero--contacts p {
    margin-right: auto;
    margin-left: auto;
  }

  .contact-item {
    padding: 22px 18px;
  }
}

@media (max-width: 390px) {
  .hero__services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero--index {
    min-height: 790px;
  }

  .hero__services li {
    padding: 10px;
    font-size: 0.78rem;
  }
}

/* ===== V13: refined gallery navigation ===== */
.slider__btn {
  width: 48px;
  height: 48px;
  color: #f4f8fc;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(5, 22, 49, 0.62);
  box-shadow: 0 8px 24px rgba(0, 8, 24, 0.22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.slider__btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slider__btn:hover {
  color: var(--brand-navy);
  background: rgba(255, 255, 255, 0.94);
  transform: translateY(-50%) scale(1.06);
}

.slider__btn:active {
  transform: translateY(-50%) scale(0.96);
}

@media (max-width: 600px) {
  .slider__btn {
    width: 42px;
    height: 42px;
  }

  .slider__btn svg {
    width: 20px;
    height: 20px;
  }
}
