:root{
  --brand: #ff7e00;
  --brand-hover: #e66c00;

  /* если их тоже используешь — чтобы тени/паддинги не падали */
  --card-bg:#fff;
  --card-radius:12px;
  --card-pad-v:20px;
  --card-pad-h:20px;
  --card-gap:12px;
  --card-shadow:0 6px 16px rgba(0,0,0,0.06);
  --card-shadow-sm:0 4px 12px rgba(0,0,0,0.06);
  --card-shadow-hover:0 8px 18px rgba(0,0,0,0.08);
  --text:#111;
  --muted:#555;
  --event-page-width: clamp(1200px, 92vw, 1720px);
}

body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Segoe UI', sans-serif;
}

.container, .container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Segoe UI', sans-serif;
  font-weight: 400;
  margin: 0;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* === CONTAINER === */
.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* === HEADER === */

header {
  background-color: #111;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1000;
  padding-bottom: 12px;
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* ==== LOGO ==== */
.logo-wrap img {
  height: 64px;
  align-items: center;
}

/* ==== SEARCH BAR ==== */
.header-search {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  margin-right: 100px;
  background-color: #fff;
  border-radius: 10px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.header-search input {
  flex: 1;
  border: none;
  padding: 10px 12px;
  font-size: 15px;
  color: #333;
  background: transparent;
  outline: none;
}

.header-search button {
  background: none;
  border: none;
  color: #ff7e00;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
}

.header-filters {
  padding: 40px 20px;
  background: #111;
}

.header-filters-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.header-filters .text-wrap h2 {
  font-size: 2.4em;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 800;
}

.header-filters .text-wrap p {
  font-size: 1em;
  color: #aaa;
  margin-bottom: 30px;
}

.header-filters .filter-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.header-filters .tab {
  background: #1e1e1e;
  color: #ccc;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.header-filters .tab.active {
  background-color: #ff7e00;
  color: #fff;
}

.header-filters .tab-content {
  display: none;
}

.header-filters .tab-content.active {
  display: block;
}

.header-filters .selectors {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.header-filters .selectors select {
  padding: 14px 18px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #333;
  background-color: #1f1f1f;
  color: #fff;
  min-width: 220px;
  outline: none;
}

/* ==== AUTH BUTTONS ==== */
.auth-section {
  display: flex;
  gap: 10px;
}

.auth-btn,
.auth-btn-outline {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-btn {
  background-color: #ff7e00;
  color: white;
  border: none;
}

.auth-btn:hover {
  background-color: #e66c00;
}

.auth-btn-outline {
  background-color: transparent;
  color: #ff7e00;
  border: 2px solid #ff7e00;
}

.auth-btn-outline:hover {
  background-color: #ff7e00;
  color: white;
}

/* ==== NAVIGATION ==== */
.nav-line {
  width: 100%;
  border-top: 1px solid #222;
  margin-top: 16px;
  padding-top: 12px;
  display: flex;
  justify-content: center;
}

.menu {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.menu li a {
  display: block;
  padding: 10px 12px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.95em;
  transition: 0.3s;
  white-space: nowrap;
}

.menu li.active a,
.menu li a:hover {
  color: #ff7e00;
}

.burger-icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
  z-index: 9999;
}

.burger-icon span {
  height: 4px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger-icon.open span:nth-child(1) {
  transform: rotate(45deg) translateY(9px);
}
.burger-icon.open span:nth-child(2) {
  opacity: 0;
}
.burger-icon.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px);
}

.navbar {
  display: none;
  flex-direction: column;
  background-color: #111;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}

.navbar a {
  padding: 14px 20px;
  color: white;
  text-decoration: none;
  text-align: left;
  border-top: 1px solid #222;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.burger span {
  height: 3px;
  width: 25px;
  background: #fff;
  display: block;
  border-radius: 2px;
  transition: 0.3s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
}

.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-wrap img {
  height: 80px;
}

.slogan-wrap {
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.slogan-wrap h1 {
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 2.4em;
  letter-spacing: 2px;
  color: #ff7e00;
  margin: 0;
}

.slogan-wrap .subtext {
  color: #fff;
  font-size: 0.85em;
  margin-top: 5px;
}

.icon-wrap {
  display: flex;
  gap: 10px;
}

.nav-item.dropdown {
  position: relative;
}

.dropdown-menu.sports-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  padding: 24px;
  display: none;
  width: 100vw;
  max-width: 1000px;
  color: #fff;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  border-radius: 10px;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.nav-item.dropdown:hover .sports-mega-menu {
  display: flex;
}

.sports-mega-menu h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #fff;
}

.popular-leagues {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.popular-leagues a {
  background: #222;
  padding: 20px 24px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
  font-weight: 700;
  font-size: 14px;
}

.popular-leagues a:hover {
  background: #ff7e00;
}

.all-sports-section ul {
  columns: 3;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.all-sports-section li {
  margin-bottom: 10px;
}

.all-sports-section li a {
  color: #ccc;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.all-sports-section li a:hover {
  color: #ff7e00;
}

@media (max-width: 768px) {
  .dropdown-menu.sports-mega-menu {
    flex-direction: column;
    max-width: 100%;
    width: 100%;
  }
  .all-sports-section ul {
    columns: 2;
  }
  .popular-leagues {
    justify-content: flex-start;
  }
}

/* Контейнер для всплывающего меню */
#league-dropdown-container {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 9999;
}

/* Сам дропдаун */
.custom-dropdown {
  display: flex;
  background: #111;
  color: white;
  padding: 30px 60px;
  justify-content: flex-start;
  border-top: 1px solid #333;
  box-shadow: 0 5px 10px rgba(0,0,0,0.4);
  width: 100%;
  box-sizing: border-box;
  gap: 80px;
  overflow-x: auto;
}

/* Колонки */
.league-column, .event-column {
  flex: 1;
  min-width: 200px;
}

/* Заголовки */
.custom-dropdown h6 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: orange;
}

/* Списки */
.league-list, .event-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.league-item, .event-item {
  padding: 6px 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.league-item:hover, .event-item:hover {
  color: orange;
}

.league-item.active {
  font-weight: bold;
  color: #fff;
  background-color: #222;
  padding: 6px 10px;
  border-radius: 4px;
}

/* Левая колонка — Лиги */
.league-column {
  flex: 1;
  border-right: 1px solid #333;
  padding-right: 20px;
}

.league-column h6 {
  font-size: 16px;
  color: #aaa;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-weight: 600;
}

.league-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.league-item {
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  color: #fff;
}

.league-item:hover,
.league-item.active {
  background-color: #2a2a2a;
  color: #ff7e00;
}

/* Правая колонка — Команды */
.event-column {
  flex: 2;
  padding-left: 20px;
}

.event-column h6 {
  font-size: 16px;
  color: #aaa;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-weight: 600;
}

.event-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2; /* разделить на 2 колонки */
  column-gap: 30px;
}

.event-item {
  padding: 6px 10px;
  cursor: pointer;
  transition: color 0.2s;
  color: #ddd;
}

.event-item:hover {
  color: #ff7e00;
}

/* Анимация появления */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadein {
  animation: fadeIn 0.3s ease-out;
}

/* === MOBILE FULLSCREEN NAV (fix) === */
/* =============================== */
/* MOBILE FULLSCREEN NAV (mnav) UI */
/* Выровнять типографику и стили   */
/* =============================== */

/* наследуем базовый шрифт сайта */
.mnav,
.mnav * {
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* контейнер панели */
.mnav {
  background: #111;
  color: #fff;
  width: 100vw;              /* на всю ширину */
  max-width: 100vw;
  height: 100vh;
  overscroll-behavior: contain;
}

/* верхняя планка */
.mnav__bar {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 12px;
  border-bottom: 1px solid #1e1e1e;
}

.mnav__brand img {
  height: 22px;
  width: auto;
  display: block;
}

.mnav__bar h3 {
  margin: 0;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .2px;
}

/* кнопки в шапке */
.mnav__back,
.mnav__close {
  appearance: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.mnav__back:hover,
.mnav__close:hover { background: rgba(255,255,255,0.06); }
.mnav__back:focus-visible,
.mnav__close:focus-visible { outline: 2px solid #ff7e00; outline-offset: 2px; }

/* контент панелей */
.mnav__panel {
  display: none;
  height: calc(100vh - 56px);
  overflow: auto;
  padding-bottom: env(safe-area-inset-bottom, 16px);
}
.mnav__panel.is-active { display: block; }

/* секции и разделители */
.mnav__section {
  padding: 18px 20px;
}
.mnav__section h4 {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 13px;
  color: #bcbcbc;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.mnav__divider {
  height: 10px;
  background: #121212;
  border-top: 1px solid #1c1c1c;
  border-bottom: 1px solid #1c1c1c;
}

/* списки и элементы */
.mnav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mnav__list li {
  border-bottom: 1px solid #1b1b1b;
}

.mnav__list a,
.mnav__link-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 0;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

/* обнуляем «кнопочные» стили у .mnav__link-next */
.mnav__link-next {
  appearance: none;
  background: transparent;
  border: 0;
  text-align: left;
}

/* chevron */
.mnav__chev {
  color: #8d8d8d;
  font-size: 18px;
  line-height: 1;
}

.mnav__list a:hover,
.mnav__link-next:hover {
  color: #fff;
  background: #161616;
}
.mnav__list a:active,
.mnav__link-next:active { background: #1a1a1a; }

.mnav__list a:focus-visible,
.mnav__link-next:focus-visible {
  outline: 2px solid #ff7e00;
  outline-offset: 2px;
  border-radius: 6px;
}

/* чипы Popular */
.mnav__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #1b1b1b;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #262626;
}
.chip:hover { background: #222; border-color: #2c2c2c; }

/* текущая выбранная лига в списке (если подсвечиваешь из JS) */
.mnav__list .is-current,
.mnav__list [aria-current="true"] {
  background: #1b1b1b;
}

/* скроллбар помощнее на Android/десктопах */
.mnav__panel::-webkit-scrollbar { width: 10px; }
.mnav__panel::-webkit-scrollbar-thumb { background: #202020; border-radius: 10px; }
.mnav__panel::-webkit-scrollbar-track { background: #131313; }

.mnav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  z-index: 10000;
}
.mnav-overlay.is-open { opacity: 1; pointer-events: auto; }

.mnav {
  position: fixed; inset: 0;
  background: #121212; color: #fff;
  z-index: 10001;
  transform: translateX(100%);
  transition: transform .28s ease;
  overflow: hidden;
}
.mnav.is-open { transform: translateX(0); }

/* Панели теперь абсолютные — перекрывают друг друга */
.mnav__panel {
  position: absolute; inset: 0;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 40px;
  transform: translateX(100%);
  transition: transform .28s ease;
  background: #121212; /* чтобы не мигал фон */
}
.mnav__panel.is-active { transform: translateX(0); }

.mnav__bar {
  position: sticky; top: 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 16px 20px;
  background: #0f0f0f; border-bottom: 1px solid #2a2a2a; z-index: 2;
}
.mnav__brand img { height: 22px; }

.mnav__close, .mnav__back {
  background: none; border: 0; color: #fff;
  font-size: 28px; line-height: 1; cursor: pointer; padding: 6px 10px;
}
.mnav__back { font-size: 26px; }

.mnav__list { list-style: none; margin: 0; padding: 12px 0; }
.mnav__list li { border-bottom: 1px solid #232323; }
.mnav__list a, .mnav__link-next {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 18px 20px;
  color: #ddd; text-decoration: none; font-weight: 700; letter-spacing: .3px;
  background: transparent; border: 0; cursor: pointer; text-align: left;
}
.mnav__list a:hover, .mnav__link-next:hover { color: #fff; background: #1a1a1a; }
.mnav__chev { opacity: .9; }

.mnav__section { padding: 18px 20px 6px; }
.mnav__section h4 {
  margin: 10px 0 12px; font-size: 12px; letter-spacing: .12em;
  color: #bbb; font-weight: 800;
}
.mnav__chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  display: inline-block; padding: 8px 12px; border-radius: 8px;
  background: #1f1f1f; color: #fff; font-weight: 700; text-decoration: none;
  border: 1px solid #2a2a2a;
}
.chip:hover { background: #2a2a2a; }
.mnav__divider { height: 1px; background: #2a2a2a; margin: 12px 0; }

/* Мобилка: прячем старую навигацию, оверлеи лиг не мешаем на десктопе */
@media (max-width: 992px) {
  .burger-icon { display: flex; }
  .nav-line { display: none; }
  #league-dropdown-container { display: none; }
}


/* Модальное затемнение */
/* =================== */
/* == МОДАЛЬНОЕ ОКНО == */
/* =================== */

/* === МОДАЛЬНОЕ ЗАТЕМНЕНИЕ === */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(20, 20, 20, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.modal-overlay.active {
  display: flex;
}

/* === АНИМАЦИЯ ВХОДА === */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* === МОДАЛЬНОЕ ОКНО === */
.auth-modal {
  background-color: #fff;
  padding: 32px 24px;
  border-radius: 16px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: fadeIn 0.3s ease;
  box-sizing: border-box;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.auth-modal h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.auth-modal p {
  font-size: 1em;
  color: #444;
  margin-bottom: 12px;
  line-height: 1.5;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover {
  color: #333;
}

/* === ФОРМА === */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.auth-form input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  background-color: #f4f6ff;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.auth-form input:focus {
  border-color: #ff7e00;
}
.auth-form button[type="submit"],
.auth-submit-btn {
  width: 100%;
  padding: 12px;
  background-color: #ff7e00;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 10px;
}
.auth-form button[type="submit"]:hover,
.auth-submit-btn:hover {
  background-color: #e66c00;
}

/* === ПЕРЕКЛЮЧАТЕЛИ === */
.auth-modal .modal-link {
  display: inline-block;
  margin-top: 16px;
  color: #ff7e00;
  font-weight: 600;
  text-decoration: none;
}
.auth-modal .modal-link:hover {
  text-decoration: underline;
}
.auth-extra-links,
.auth-switch-text {
  margin-top: 14px;
  font-size: 14px;
  color: #333;
}
.auth-extra-links span,
.auth-switch-text span {
  color: #ff7e00;
  cursor: pointer;
  font-weight: 600;
  margin-left: 6px;
}
.auth-extra-links span:hover,
.auth-switch-text span:hover {
  text-decoration: underline;
}

/* === ОКНО "ЗАБЫЛ ПАРОЛЬ" === */
#forgotPasswordModal .auth-modal {
  max-width: 420px;
  padding: 32px 24px;
}
#forgotPasswordModal h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}
#forgotPasswordModal p {
  font-size: 15px;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.5;
}
#forgotPasswordModal input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  background-color: #f4f6ff;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 16px;
  box-sizing: border-box;
}
#forgotPasswordModal input[type="email"]:focus {
  border-color: #ff7e00;
}
#forgotPasswordModal button[type="submit"] {
  width: 100%;
  background-color: #ff7e00;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s;
}
#forgotPasswordModal button[type="submit"]:hover {
  background-color: #e66c00;
}
#forgotPasswordModal .modal-close {
  top: 16px;
  right: 16px;
}

/* === СООБЩЕНИЯ === */
.message-error    { color: #e53935; font-size: 14px; margin: -10px 0 10px; }
.message-warning  { color: #ff9800; font-size: 14px; margin: -10px 0 10px; }
.message-info     { color: #2196f3; font-size: 14px; margin: -10px 0 10px; }

input.valid   { border: 2px solid #4caf50; }
input.invalid { border: 2px solid #e53935; }


/* =================== */
/* == ПОДПИСЬ ССЫЛКА == */
/* =================== */

.auth-switch-text {
  margin-top: 12px;
  font-size: 14px;
  color: #666;
}

.auth-switch-text span {
  color: #ff7e00;
  cursor: pointer;
  font-weight: 600;
  transition: color 0.2s;
}

.auth-switch-text span:hover {
  color: #e06600;
}

/* =================== */
/* == КНОПКИ В ХЕДЕРЕ == */
/* =================== */

.auth-section {
  display: flex;
  justify-content: flex-start; /* Выровнять кнопки слева */
  gap: 10px; /* Расстояние между кнопками */
  align-items: center; /* Выравнивание по вертикали */
}

.auth-btn,
.auth-btn-outline {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-btn {
  background-color: #ff7e00;
  color: white;
  border: none;
}

.auth-btn:hover {
  background-color: #e66c00;
}

.auth-btn-outline {
  background-color: transparent;
  color: #ff7e00;
  border: 2px solid #ff7e00;
}

.auth-btn-outline:hover {
  background-color: #ff7e00;
  color: white;
}

/* Когда залогинен пользователь */
.auth-user {
  display: flex;
  align-items: center; /* Выравнивание по вертикали */
  gap: 10px; /* Расстояние между кнопками */
  margin-left: auto; /* Сдвигаем в правую часть */
}

.auth-user span {
  font-size: 14px;
  color: #fff;
}

.login-page {
  display: flex;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
}

.login-left {
  flex: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.login-right {
  flex: 1;
  background: url('/assets/img/stadium-login.jpg') no-repeat center center;
  background-size: cover;
  min-height: 100vh;
}


.login-box {
  width: 100%;
  max-width: 400px;
}

.login-box h1 {
  font-size: 28px;
  font-weight: 800;
  color: #ff7e00;
  margin-bottom: 8px;
}

.login-box .subtext {
  font-size: 14px;
  color: #555;
  margin-bottom: 32px;
}

.login-box .subtext a {
  color: #ff7e00;
  font-weight: 600;
  text-decoration: none;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login-form label {
  font-size: 14px;
  color: #222;
  font-weight: 600;
  display: flex;
  flex-direction: column;
}

.login-form input {
  margin-top: 6px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fffaf4;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.login-form input:focus {
  border-color: #ff7e00;
  box-shadow: 0 0 0 2px rgba(255, 126, 0, 0.2);
}

.login-form button {
  background-color: #ff7e00;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.login-form button:hover {
  background-color: #e66c00;
}

.form-extra {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  gap: 12px;
}

.form-extra label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  line-height: 1;
  margin: 0;
}

.form-extra input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ff7e00;
  border-radius: 4px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: 0.1em; /* 👈 подровнял по глазу */
  cursor: pointer;
  background-color: #fffaf4;
}

.form-extra input[type="checkbox"]::before {
  content: "✔";
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 12px;
  color: #fff;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease;
  line-height: 1;
}

.form-extra input[type="checkbox"]:checked {
  background-color: #ff7e00;
}

.form-extra input[type="checkbox"]:checked::before {
  transform: translate(-50%, -50%) scale(1);
}

.form-extra a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  white-space: nowrap;
  font-size: 15px;
  margin: 0;
  padding-top: 2px;
  line-height: 1;
}

.form-extra a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .login-page {
    flex-direction: column;
  }

  .login-right {
    display: none;
  }

  .login-left {
    padding: 60px 20px;
  }
}

.auth-divider{
  display:flex; align-items:center; gap:12px; margin:16px 0;
}
.auth-divider::before,.auth-divider::after{
  content:""; flex:1; height:1px; background:var(--line, #eef0f3);
}
.auth-divider span{
  font-size:12px; color:var(--muted, #6b7280); text-transform:uppercase; letter-spacing:.08em;
}

.social-login{ display:grid; gap:10px; }
.btn-social{
  display:flex; align-items:center; justify-content:center; gap:10px;
  border:1px solid var(--line, #eef0f3);
  border-radius:10px; padding:10px 14px; font-weight:600; text-decoration:none;
  background:#fff; transition:transform .06s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn-social:hover{ transform:translateY(-1px); box-shadow:0 6px 18px rgba(0,0,0,.06); border-color:#e6e9ee; }
.btn-social svg{ width:18px; height:18px; display:block; }

.btn-google svg{ fill:#DB4437; }    /* Google */
.btn-facebook svg{ fill:#1877F2; }  /* Facebook */


/* === FULLPAGE REGISTER OVERRIDE === */
.register-page {
  display: flex;
  min-height: 100vh;
  background-color: #fff;
}

.register-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}

.register-box {
  width: 100%;
  max-width: 460px;
}

.register-title {
  font-size: 32px;
  font-weight: 800;
  color: #ff7e00;
  margin-bottom: 10px;
}

.register-sub {
  margin-bottom: 30px;
  font-size: 15px;
}

.register-sub a {
  color: #ff7e00;
  font-weight: 600;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-form input {
  padding: 14px 18px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  background-color: #fdf8f2;
}

.auth-form input:focus {
  border-color: #ff7e00;
}

.auth-form button {
  width: 100%;
  padding: 14px;
  background-color: #ff7e00;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.auth-form button:hover {
  background-color: #e96b00;
}

.form-agree {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-top: 10px;
}

.form-agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #ff7e00;
}

.register-right {
  flex: 1;
  background: url('/assets/img/stadium-login-2.jpg') no-repeat center center;
  background-size: cover;
  min-height: 100vh;
}

/* MOBILE */
@media (max-width: 768px) {
  .register-page {
    flex-direction: column;
  }

  .register-right {
    height: 240px;
    display: none;
  }

  .register-left {
    padding: 40px 20px;
  }
}
/* === EMAIL CONFIRMATION PAGE === */

.confirm-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom right, #fff1e0, #fffaf4);
  padding: 40px 20px;
}

.confirm-box {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  max-width: 520px;
  width: 100%;
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.checkmark {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: block;
}

.confirm-title {
  font-size: 24px;
  font-weight: 800;
  color: #29c37b;
  margin-bottom: 16px;
}

.confirm-msg {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 16px;
}

.hint {
  font-size: 14px;
  color: #999;
  margin-bottom: 30px;
}

.back-btn {
  display: inline-block;
  padding: 12px 26px;
  background-color: #ff7e00;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.back-btn:hover {
  background-color: #e66c00;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom right, #fff3e0, #fffaf4);
  padding: 40px 20px;
}

.auth-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 460px;
  text-align: center;
}

.auth-title {
  font-size: 24px;
  font-weight: 800;
  color: #ff7e00;
  margin-bottom: 12px;
}

.auth-subtext {
  font-size: 15px;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.5;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.input-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: 600;
  color: #333;
  font-size: 14px;
  width: 100%;
}

.label-text {
  margin-bottom: 6px;
}

.input-icon-wrap {
  position: relative;
  width: 100%;
}

.input-icon-wrap input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border-radius: 10px;
  border: 1px solid #ffcba4;
  background-color: #fffaf4;
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input-icon-wrap input:focus {
  border-color: #ff7e00;
  box-shadow: 0 0 0 2px rgba(255, 126, 0, 0.2);
  outline: none;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  pointer-events: none;
  fill: #999;
}

.submit-btn {
  padding: 14px;
  background-color: #ff7e00;
  color: white;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background-color: #e66c00;
}

.back-link {
  margin-top: 24px;
  font-size: 14px;
  color: #666;
}

.back-link a {
  color: #ff7e00;
  margin-left: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.back-link a:hover {
  color: #e66c00;
  text-decoration: underline;
}

.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.input-error {
  color: #e63e3e;
  font-size: 13px;
  margin-top: 4px;
  display: none;
}

input.invalid {
  border-color: #e63e3e;
  background-color: #fff6f6;
}

input.valid {
  border-color: #28a745;
  background-color: #f0fff0;
}

.form-error {
  background-color: #fff3f3;
  border: 1px solid #e63e3e;
  padding: 12px;
  border-radius: 10px;
  color: #e63e3e;
  margin-bottom: 16px;
  text-align: center;
  font-weight: 600;
}

/* ===== Reset Password (scoped) ===== */
/* ===== Reset Password (scoped) ===== */
.auth-reset{
  padding:56px 0 96px;
  background:#fff;
}
.auth-reset .container{
  max-width:980px;
  margin:0 auto;
  padding:0 16px;               /* безопасные поля по краям */
  display:flex;                 /* центрируем содержимое */
  justify-content:center;
}

.auth-reset .reset-card{
  width:min(560px,100%);
  margin:0 auto;
  background:#fff;
  color:#0f172a;
  border:1px solid #eef2f7;
  border-radius:16px;
  padding:28px;
  box-shadow:0 16px 40px rgba(0,0,0,.12);
}

.auth-reset h1{
  font-size:28px;
  line-height:1.25;
  margin:0 0 6px;
  font-weight:700;
  color:#111827;
  text-align:center;
}
.auth-reset .subtitle{
  margin:0 0 20px;
  text-align:center;
  color:#6b7280;
  font-size:14px;
}

.auth-reset .alert{
  background:#fef2f2;
  border:1px solid #fecaca;
  color:#991b1b;
  padding:10px 12px;
  border-radius:10px;
  margin:0 0 14px;
  font-size:14px;
}

.auth-reset .form-row{ margin:0 0 14px; }
.auth-reset label{
  display:block;
  font-size:14px;
  color:#374151;
  margin:0 0 6px;
}

.auth-reset .input-wrap{
  position:relative;
  width:100%;
}
.auth-reset .input-wrap input{
  display:block;
  width:100%;
  max-width:100%;
  box-sizing:border-box;            /* фикс переполнения */
  padding:12px 44px 12px 12px;      /* место под глаз */
  font-size:15px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#fff;
  color:#111827;
  outline:none;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.auth-reset .input-wrap input:focus{
  border-color:#ff7a00;
  box-shadow:0 0 0 3px rgba(255,122,0,.15);
}

.auth-reset .toggle{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  height:28px;
  width:32px;
  border:0;
  background:transparent;
  cursor:pointer;
  font-size:16px;
  opacity:.6;
}
.auth-reset .toggle:hover{ opacity:.95; }

.auth-reset .actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:18px;
}
.auth-reset .btn-primary{
  appearance:none;
  border:0;
  background:#ff7a00;
  color:#fff;
  font-weight:600;
  padding:12px 16px;
  border-radius:12px;
  cursor:pointer;
  transition:transform .05s ease, box-shadow .15s ease, background .15s ease;
  box-shadow:0 8px 20px rgba(255,122,0,.25);
}
.auth-reset .btn-primary:hover{ background:#ff840f; }
.auth-reset .btn-primary:active{ transform:translateY(1px); }
.auth-reset .btn-primary:disabled{
  opacity:.6; cursor:not-allowed; box-shadow:none;
}

.auth-reset .btn-link{
  color:#6b7280;
  text-decoration:none;
}
.auth-reset .btn-link:hover{
  color:#111827;
  text-decoration:underline;
}

.auth-reset .hint{
  margin:10px 0 0;
  color:#6b7280;
  font-size:13px;
  text-align:center;
}

/* ===== Mobile ===== */
@media (max-width:640px){
  .auth-reset{ padding:32px 0 64px; }
  .auth-reset .container{ padding:0 12px; }
  .auth-reset .reset-card{ padding:22px 18px; border-radius:14px; }

  .auth-reset .actions{
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }
  .auth-reset .btn-primary{ width:100%; }
  .auth-reset .btn-link{
    display:block;
    text-align:center;
  }
}


/* === Общие стили сообщений === */
.msg {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
}

/* Ошибки */
.message-error {
  color: #dc3545;
}

/* Предупреждения (например, "логин занят") */
.message-warning {
  color: #ffc107;
}

/* Валидация инпутов */
input.valid {
  border-color: #28a745;
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

input.invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15);
}

.alert_red {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background-color: #dc3545;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  animation: fadeInUp 0.4s ease, fadeOut 0.4s ease 4s forwards;
}

.alert_green {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background-color: #28a745;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  animation: fadeInUp 0.4s ease, fadeOut 0.4s ease 4s forwards;
}

.alert_yellow {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #111;
  background-color: #ffc107;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  animation: fadeInUp 0.4s ease, fadeOut 0.4s ease 4s forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 50px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
}


  

/* Адаптивная мелочь, если надо */
@media (max-width: 480px) {
  .msg {
    font-size: 12px;
  }
}

.mobile-sports-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #1e1e1e;
  color: white;
  z-index: 9999;
  overflow-y: auto;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.menu-header h2 {
  font-size: 1.6em;
  text-transform: uppercase;
  font-weight: 700;
}

.close-btn {
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.league-section {
  border-bottom: 1px solid #333;
  padding: 10px 0;
}

.league-header {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  margin-top: 50px;
}

.league-body {
  margin-top: 10px;
  padding-left: 10px;
}

.league-item {
  padding: 8px 0;
  font-size: 0.95em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  color: #ccc;
  border-bottom: 1px solid #222;
}

.league-item:hover {
  color: #ff7e00;
}

.arrow {
  font-size: 0.9em;
  color: #888;
}

/* Плавность */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}


/* === НАВИГАЦИЯ === */
.nav-line {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.menu {
  display: flex;
  gap: 30px;
}

.nav-line .menu li {
  margin: 0 6px;
}

.desktop-nav-line {
  display: none;
}

.nav-line .menu li a {
  display: block;
  padding: 20px 22px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.95em;
  transition: 0.3s;
  white-space: nowrap;
}

.nav-line .menu li.active a,
.nav-line .menu li a:hover {
  color: #ff7e00;
}

.hero {
  text-align: center;
  padding: 60px 20px;
  background-size: cover;
  background-position: center;
  color: white;
}

.hero h1 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 16px;
  margin-bottom: 30px;
}

.hero .btn {
  padding: 12px 24px;
  font-size: 16px;
}

/* === Swiper стрелки (моб адаптация) === */
.swiper-button-next,
.swiper-button-prev {
  color: white;
  width: 30px;
  height: 30px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
}

/* === HERO CAROUSEL === */
.hero-swiper {
  width: 100vw;
  height: 100vh;
  position: relative;
}

.hero-swiper .swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

/* Контейнер одного слайда */
.carousel-slide {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Главное изображение без absolute */
.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Затемнение + контент */
.carousel-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.carousel-text {
  color: white;
  z-index: 3;
}

.carousel-text h2 {
  font-size: 2.8em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}

.carousel-text p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.btn-link-o {
  background: #ff7a00;
  color: white;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-link-o:hover {
  background: #e86a00;
}

/* Mobile adaptation */
@media (max-width: 768px) {
  .carousel-text h2 {
    font-size: 1.8em;
  }

  .carousel-text p {
    font-size: 1em;
  }

  .btn-link-o {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}

/* === ABOUT SECTION === */
.t-black {
  background: #fff;
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
}

.about-section {
  margin-top: 80px;
}

.centered-content {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Заголовки */
.infoClub-wrap h2 {
  font-size: 2.6em;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  text-align: center;
}

.infoClub-wrap h4 {
  font-size: 1.2em;
  font-weight: 400;
  color: #666;
  margin-bottom: 25px;
  text-align: center;
}

/* Основной текст */
.inner-text {
  font-size: 1em;
  line-height: 1.7;
  color: #333;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.inner-text p {
  margin-bottom: 16px;
}

/* Блок преимуществ */
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  width: 100%;
}

.benefit-box {
  background-color: #f8f8f8;
  padding: 25px 20px;
  border-radius: 12px;
  text-align: center;
  flex: 1 1 calc(25% - 20px); /* ✅ Четыре в ряд с gap */
  min-width: 200px; /* Чтобы не сжималось слишком на планшетах */
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

.benefit-box:hover {
  background: #fff4e6;
  transform: translateY(-3px);
}

.benefit-box .icon {
  font-size: 28px;
  color: #ff7e00;
  margin-bottom: 10px;
}

.benefit-box h5 {
  margin: 0;
  font-size: 1.1em;
  font-weight: 600;
  color: #111;
}

.benefit-box p {
  font-size: 0.95em;
  color: #555;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
    margin: 30px 0;
  }

  .benefits-slider .benefit-box {
    max-width: 300px;
    margin: 0 auto;
  }
}


/* Отзывы (Swiper) */
.testimonial-swiper {
  margin-top: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-box {
  background: #fffbe6;
  padding: 20px 25px;
  border-left: 4px solid #ff7e00;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

.testimonial-box .quote {
  font-style: italic;
  color: #444;
  margin-bottom: 8px;
}

.testimonial-box .author {
  font-weight: 600;
  color: #111;
  font-size: 0.95em;
}

/* Кнопка */
.btn-wrap {
  margin-top: 30px;
  text-align: center;

}

.btn-link-w {
  background: #ff7e00;
  color: white;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1em;
  transition: 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-link-w:hover {
  background: #e66c00;
}

.block-Schedule {
  padding: 80px 0;
  background-color: #fff;
  color: #111;
  text-align: center;
}

.schedule-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.schedule-title {
  font-size: 32px;
  font-weight: 700;
  color: #111;
  text-align: center;
  margin-top: 50px;
}

/* Группа лиги */
.league-group .events-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;                 /* равномерные отступы между карточками */
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 8px 2px 16px;
}

/* === League sliders: pagination BELOW the cards and always on top === */
.league-group .swiper{
  position: relative;
  overflow: visible;       /* ничего не режем */
  padding-bottom: 60px;    /* небольшой запас, чтобы секции не слипались */
}

.league-group .swiper .swiper-wrapper{
  align-items: stretch;
}

.league-group .swiper-slide{
  height: auto;
  display: flex;
}

.league-group .swiper-slide .event-card{
  height: 100%;
}

/* Вынесли точки НИЖЕ контейнера и поверх карточек */
.league-group .swiper .swiper-pagination{
  position: absolute;
  left: 0; right: 0;
  bottom: -12px;           /* <- уводим за пределы контейнера */
  z-index: 10;             /* поверх карточек */
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: auto;
}

/* стиль буллетов (как было) */
.league-group .swiper .swiper-pagination-bullet{
  width: 8px; height: 8px;
  background: #ffd2a3;
  opacity: 1;
}
.league-group .swiper .swiper-pagination-bullet-active{
  background: var(--brand, #ff7e00);
}

/* если нужно чуть шире карточки в карусели */
.event-card--carousel{ flex: 0 0 260px; } /* 300 → 320, по желанию */


/* Цена-бейдж (если хочешь как на скрине) */
.price-badge{
  display:inline-block;
  background: var(--brand, #ff7e00);
  color:#fff;
  font-weight:700;
  padding:8px 14px;
  border-radius:8px;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
}

/* Иконки FontAwesome внутри карточки — брендовые и видимые */
.event-card .fa,
.event-card .fas,
.event-card .far,
.event-card .fal,
.event-card .fad,
.event-card .fab,
.event-card [class^="fa-"],
.event-card [class*=" fa-"],
.event-card svg[data-icon]{
  color: var(--brand, #ff7e00) !important;
  font-size: 1.25rem;
  line-height: 1;
  vertical-align: middle;
}

/* Fallback, если нет .events-row в разметке */
.league-group .event-card + .event-card { margin-left: 24px; }

.league-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.league-heading {
  font-size: 24px;
  font-weight: 600;
  color: #222;
}

.view-all-link {
  font-size: 14px;
  color: #ff5a00;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s ease;
}

.view-all-link:hover {
  text-decoration: underline;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  width: auto;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.error-page {
  text-align: center;
  padding: 80px 20px;
  color: #fff;
}

.error-page h1 {
  font-size: 120px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ff7e00;
}

.error-page p {
  font-size: 20px;
  margin-bottom: 30px;
}

.error-page .btn-back {
  display: inline-block;
  padding: 14px 28px;
  background: #ff7e00;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.error-page .btn-back:hover {
  background: #e66c00;
}

/* Адаптация карточек (если нужно — можно убрать, если они сами адаптивны) */
@media (max-width: 1024px) {
  .league-heading {
    font-size: 20px;
  }

}

@media (max-width: 768px) {
  .schedule-title {
    font-size: 26px;
  }

  .league-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .view-all-link {
    align-self: flex-end;
  }
}


.event-card{
  background:var(--card-bg);
  border:1px solid #eee;
  border-radius:var(--card-radius);
  box-shadow:var(--card-shadow);
  padding:var(--card-pad-v) var(--card-pad-h);
  display:flex;
  flex-direction:column;
  gap:var(--card-gap);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
  overflow:hidden; /* на случай больших изображений/тегов */

  /* ДОБАВЛЕНО: карточка растягивается на всю высоту ячейки */
  height: 100%;
}

.event-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--card-shadow-hover);
  background:#fff4e6; /* лёгкий акцент, как на главной */
}

/* Элементы */
.event-card__img {
  position: relative;
  aspect-ratio: 16 / 9;   /* под твой текущий пресет из TM */
  overflow: hidden;
  background: #f4f4f4;
  border-radius: 10px;
}

.event-card__img img{
  width: 100%;
  height: 100%;          /* было auto — меняем, чтобы картинка заполняла окно по высоте */
  object-fit: contain;   /* было cover — теперь показываем всю картинку целиком */
  object-position: center;
  display: block;
}

.event-card .icon,
.event-card .fa,
.event-card svg[data-icon] {
  font-size: 1.1rem;        /* одинаковый размер */
  line-height: 1;           /* фикс линии */
  display: inline-flex;     /* выравнивание */
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-right: 6px;        /* одинаковый отступ справа */
  color: var(--brand);
}

/* Можно отдельно увеличить именно ticket-alt */
.event-card .fa-ticket-alt {
  font-size: 1.4rem;        /* ещё чуть больше, для акцента */
}

/* Заголовок: фиксируем высоту в 3 строки + обрезка, чтобы карточки были равной высоты */
.event-card__title,
.event-card .event-title{               /* fallback под старую разметку */
  font-size:1.2rem;
  font-weight:700;
  color:var(--text);
  margin:0;

  line-height:1.3;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;

  /* 1.2rem * 1.3 * 3 ≈ 4.68rem — резерв под 3 строки */
  min-height:4.7rem;
}

.event-card__meta{
  display:flex;
  flex-direction:column;
  gap:6px;

  /* ДОБАВЛЕНО: резерв под 3 строки меты, чтобы карточки оставались равными */
  min-height:72px; /* подстрой при желании */
}

.event-card__row{
  font-size:.95rem;
  color:var(--muted);
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  line-height:1.4;
}

.event-card__icon{
  font-size:1em;
  color:var(--brand);
}

/* ГРИД-обёртка тянет карточки по высоте строки */
.event-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;   /* все карточки одной высоты */
}

/* CTA всегда у нижней кромки карточки */
.event-card__cta{ margin-top:auto; }

/* Оранжевые иконки внутри карточек, любая версия FA */
.event-card .fa,
.event-card .fas,
.event-card .far,
.event-card .fal,
.event-card .fad,
.event-card .fab,
.event-card [class^="fa-"],
.event-card [class*=" fa-"],
.event-card svg[data-icon] {
  color: var(--brand) !important;
  font-size: 1.25rem;   /* крупнее */
  line-height: 1;
  vertical-align: middle;
}

/* именно билетик можно выделить ещё сильнее */
.event-card .fa-ticket-alt,
.event-card .fa-ticket {
  font-size: 1.35rem !important;
}


@media (max-width: 768px){
  .event-card--carousel{ flex-basis:220px; }
}

.btn-buy {
  display: block;
  background-color: #ff7e00;
  color: white;
  padding: 10px 15px;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
  margin-top: auto;
}

.btn-buy:hover {
  background-color: #e14c00;
}


.btn.btn-small {
  background: #ff7e00;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.80em;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  align-self: start;
}

.btn.btn-small:hover {
  background: #e66c00;
}

.mini-event-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  margin: 10px;
  text-align: left;
  max-width: 260px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: 0.3s ease;
}

.mini-event-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* 📅 Дата */
.mini-event-card .event-date {
  color: #999;
  font-size: 0.85em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 🏷️ Название */
.mini-event-card h4 {
  font-size: 1.1em;
  font-weight: 700;
  color: #111;
  margin: 0;
}

/* 📍 Локация и 🎫 Цена */
.mini-event-card .event-location,
.mini-event-card .event-price {
  font-size: 0.95em;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

/* 🎨 Иконки */
.mini-event-card i {
  color: #ff7e00;
  font-size: 1em;
}

/* 🔘 Кнопка */
.btn-view-ticket {
  display:block; margin-top:12px;
  background: var(--brand); color:#fff; font-weight:700;
  padding:12px 16px; border-radius:8px; text-align:center; text-decoration:none;
}

.btn-view-ticket:hover {
  background: #e96b00;
}

@media (max-width: 768px) {
  .match-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  }

  .match-info {
  text-align: left;
  }

  .match-meta {
  text-align: left;
  }
}

.block-News {
  padding: 80px 0;
  background: #fdfdfd;
}

.block-News .text-wrap {
  margin-bottom: 50px;
}

.block-News h2 {
  font-size: 42px;
  font-weight: 700;
}

.text-wrap.t-center h2 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 3.2em;
  font-weight: 700;
  color: #333;
}

.carousel-wrap-news {
  position: relative;
  padding: 0 30px;
}

.carousel-item-news {
  background: #fff;
  text-align: center;
  border-radius: 4px;
  overflow: hidden;
}

.link-news {
  display: block;
  text-decoration: none;
  color: #111;
}

.car-img-wrap {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.car-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.car-date-wrap {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ff7e00;
  padding: 6px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  border-radius: 0 0 4px 4px;
  z-index: 2;
  line-height: 1.2;
}

.car-text-wrap {
  font-size: 15px;
  padding: 10px 15px 25px;
  color: #222;
}

/* === Swiper arrows === */
.carousel-wrap-news .swiper-button-prev,
.carousel-wrap-news .swiper-button-next {
  color: #111;
  background: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  top: 35%;
  transition: 0.3s;
}

.carousel-wrap-news .swiper-button-prev:hover,
.carousel-wrap-news .swiper-button-next:hover {
  background: #ff7e00;
  color: #fff;
}

.carousel-wrap-news .swiper-button-prev::after,
.carousel-wrap-news .swiper-button-next::after {
  font-size: 18px;
}

/* === Pagination dots === */
.carousel-wrap-news .swiper-pagination {
  margin-top: 20px;
  position: static;
  text-align: center;
}

.carousel-wrap-news .swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}

.carousel-wrap-news .swiper-pagination-bullet-active {
  background: #ff7e00;
}

.block-Club-Gallery {
  background-color: #fff;
  padding: 80px 0;
}

.block-Club-Gallery .text-wrap {
  margin-bottom: 40px;
  text-align: center;
}

.block-Club-Gallery .text-wrap h2 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 3.2em;
  font-weight: 700;
  color: #333;
}

/* === FILTERS === */
.filters-by-category {
  margin-bottom: 40px;
}

.filters-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.filters-list li {
  flex-shrink: 0;
}

.filters-by-category .btn-link-g {
  padding: 10px 20px;
  border: 2px solid #ff7900;
  border-radius: 8px;
  background-color: #f8f8f8;
  color: #333;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.filters-by-category .btn-link-g:hover,
.filters-by-category .btn-link-g.selected {
  background-color: #ff7900;
  color: #fff;
  border-color: #ff7900;
}

/* === Responsive scroll on mobile === */
@media (max-width: 768px) {
  .filters-list {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .filters-list::-webkit-scrollbar {
    display: none;
  }
}

/* === CARDS (глобал для прочих страниц) === */
.event-card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0 20px;
}

.event-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}

/* === BUTTON === */
.btn-wrap-gallery {
  text-align: center;
  margin-top: 40px;
}

.btn-link-w {
  padding: 12px 25px;
  background-color: #ff7f32;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-link-w:hover {
  background-color: #e76f27;
}

.block-Club-Gallery .btn-wrap-gallery{
  margin-top: 80px;           /* было 0 — делаем воздух над кнопкой */
  display: flex;              /* центрируем без хаков */
  justify-content: center;
}

@media (min-width: 992px){
  .block-Club-Gallery .btn-wrap-gallery{
    margin-top: 48px;
  }
}
/* ===== Popular Events (главная) — 3/2/1 колонки, как на поиске ===== */

/* ограничим ширину контейнера секции, чтобы карты не «распухали» */
.block-Club-Gallery .container-fluid{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* собственно сетка карточек */
.block-Club-Gallery .event-card-grid{
  display: grid !important;                      /* перебиваем глобальный flex */
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 60px 20px; /* можно 16px, если хочется ещё плотнее */
  align-items: stretch;
  justify-content: start; /* чтобы карты “прилипали” слева, без дыр справа */
  padding: 0;
}

/* 2 в ряд на планшете */
@media (max-width: 1024px){
  .block-Club-Gallery .event-card-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 1 в ряд на мобилке */
@media (max-width: 640px){
  .block-Club-Gallery .event-card-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px){
  /* контейнер списка карточек внутри блока Popular Events */
  .popular-events .event-grid{
    /* не ломаем текущую раскладку, просто добавляем расстояние */
    gap: 18px !important;      /* вертикальный интервал между карточками */
    row-gap: 18px !important;  /* страховка */
  }

  /* чтобы локальные margin у карточек не сбивали визуальный интервал */
  .popular-events .event-card{
    margin: 0 !important;
  }
}

/* карточка тянется по высоте ячейки */
.block-Club-Gallery .event-card {
  height: 100%;
  display: flex;
  flex-direction: column;

  /* ↓↓↓ добавь эти три строки ↓↓↓ */
  flex: 0 0 240px;   /* базовая ширина карточки в карусели/флексе */
  width: 240px;      /* если родитель не flex — всё равно будет 240px */
  max-width: 240px;  /* перестраховка от раздувания */
}

/* медиа в карточке */
.block-Club-Gallery .event-card .event-card__img,
.block-Club-Gallery .event-card .thumb{
  border-radius: 8px;
  overflow: hidden;
}
.block-Club-Gallery .event-card img{
  width: 100%;
  height: 100%;          /* было auto — меняем, чтобы картинка заполняла окно по высоте */
  object-fit: contain;   /* было cover — теперь показываем всю картинку целиком */
  object-position: center;
  display: block;
}

/* кнопка у нижней кромки */
.block-Club-Gallery .event-card .event-card__cta{
  margin-top: auto;
}

@media (max-width: 768px){
  .block-Club-Gallery .event-card-grid{
    /* было: justify-content: start; */
    justify-content: center;     /* центр по горизонтали */
    justify-items: center;       /* сами карточки тоже по центру */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* можно оставить как у тебя */
    gap: 60px 20px;                   /* чтобы не разъезжалось */
  }
}


.block-partners {
  background: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.partners-container {
  max-width: 1200px;
  margin: 0 auto;
}

.block-partners .text-wrap h2 {
  font-size: 2.2em;
  margin-bottom: 10px;
}

.block-partners .text-wrap p {
  font-size: 1em;
  color: #666;
  margin-bottom: 30px;
}

.swiper-partners .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-link img {
  max-height: 100px;
  width: auto;
  opacity: 0.9;
  transition: 0.2s ease;
}

.block-subscribe {
  background: url('/img/bg-subscribe.jpg') center center / cover no-repeat;
  padding: 80px 20px;
  color: white;
  text-align: center;
  position: relative;
}

.block-subscribe::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.subscribe-wrap {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.subscribe-text h2 {
  font-size: 2.4em;
  font-weight: 700;
  margin-bottom: 20px;
}

.subscribe-text p {
  font-size: 1em;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 30px;
}

.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.subscribe-form input[type="email"] {
  padding: 12px 16px;
  border-radius: 6px;
  border: none;
  max-width: 320px;
  width: 100%;
  font-size: 1em;
}

.subscribe-form button {
  padding: 12px 24px;
  border: none;
  background-color: #ff7e00;
  color: white;
  font-weight: 600;
  font-size: 1em;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.subscribe-form button:hover {
  background-color: #e86100;
}

/* =========================
   EVENT PAGE — BASE LAYOUT
   ========================= */

/* шире только здесь */


/* =========================================================
   EVENT PAGE (scoped)
   Ничего в :root править не надо. Все — внутри .event-page
   ========================================================= */

.event-page{
  /* общая целевая ширина страницы события */
  --event-page-width: clamp(1200px, 92vw, 1720px);
}

/* Центровка любых .container только на странице события */
.event-page .container{
  width: 100%;
  max-width: var(--event-page-width);
  margin-inline: auto !important;
  padding-inline: 32px;
  box-sizing: border-box;
}

/* =============================
   HERO
   ============================= */
.event-page .event-hero{ background:#fafafa; border-bottom:1px solid #eee; }
.event-page .event-hero__wrap{
  display:grid; grid-template-columns:160px 1fr; gap:24px; align-items:center;
  padding-block:32px;
}
.event-page .event-hero__media img{
  width:160px; height:160px; object-fit:cover; border-radius:12px;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}
.event-page .event-title{ margin:0 0 6px; font-size:28px; }
.event-page .event-hero__datetime,
.event-page .event-hero__venue{
  margin:6px 0; color:#333; display:flex; align-items:center; gap:8px;
}
.event-page .event-hero__cta{ margin-top:12px; display:flex; align-items:center; gap:16px; }

/* Бейджи (чёрный текст, белая «таблетка», брендовые иконки) */
.event-page .badge{
  display:inline-flex; align-items:center; gap:6px;
  padding:4px 10px; background:#fff; border:1px solid #eee;
  border-radius:999px; font-size:.92em; color:#111;
}
.event-page .badge i{ color:var(--brand); }

/* =============================
   Seatmap placeholder
   ============================= */
.event-page .seatmap-placeholder{ padding:16px 0 8px; }
.event-page .seatmap-placeholder__box{
  border:1px dashed #ddd; border-radius:12px; padding:16px; text-align:center; background:#fff;
}
.event-page .skeleton{
  background:linear-gradient(90deg,#eee,#f6f6f6,#eee);
  background-size:200% 100%; animation:ep-sh .9s linear infinite;
}
.event-page .skeleton-map{ height:120px; border-radius:10px; }
@keyframes ep-sh{ 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* =============================
   LAYOUT (filters / table / similar)
   ============================= */
.event-page .tickets-layout{
  display: grid;
  grid-template-columns:
    minmax(300px, 340px)     /* filters */
    minmax(860px, 1fr)       /* table (главная колонка) */
    minmax(300px, 340px);    /* similar */
  gap: 32px;
  align-items: start;
}

/* Чуть шире на очень больших экранах */
@media (min-width:1600px){
  .event-page .tickets-layout{
    grid-template-columns:
      minmax(320px, 360px)
      minmax(960px, 1fr)
      minmax(320px, 360px);
    gap: 36px;
  }
}

/* Комфортнее на средних ширинах */
@media (max-width:1360px){
  .event-page .tickets-layout{
    grid-template-columns:
      minmax(280px, 300px)
      minmax(0, 1fr)
      minmax(280px, 300px);
    gap: 28px;
  }
}

/* Планшеты и ниже — одна колонка */
@media (max-width:1100px){
  .event-page .tickets-layout{ grid-template-columns: 1fr; gap: 16px; }
  .event-page .filters, .event-page .similar{ position: static; }
}

/* =============================
   FILTERS + SIMILAR
   ============================= */
.event-page .filters,
.event-page .similar{
  background:#fff; border:none; border-radius:16px;
  box-shadow:0 14px 40px rgba(18,24,40,.06);
  padding:18px 16px 16px;
  position:sticky; top:16px; height:max-content;
}
.event-page .filters .filters__header{
  display:flex; justify-content:space-between; align-items:center; margin-bottom:6px;
}
.event-page .filters .filters__title{ margin:0; font-size:18px; font-weight:700; }
.event-page .filters .filters__reset{
  color:#c11; font-weight:700; font-size:13px; cursor:pointer; background:transparent; border:0;
}
.event-page .filters .filters__reset:hover{ color:#e33; }

.event-page .filters .filter{ margin:14px 0 18px; }
.event-page .filters .filter:not(:first-child){
  padding-top:12px; border-top:1px dashed var(--line, #e6e6e6);
}
.event-page .filters .filter__label{ display:block; font-weight:500; margin:0 0 8px; }

/* Единый вид контролов (+ фикс «убегающего» search) */
.event-page .filters input,
.event-page .filters select,
.event-page .filters textarea{
  width:100%; height:40px; padding:0 12px; box-sizing:border-box;
  border:1px solid var(--line, #e6e6e6); border-radius:10px; background:#fafafa;
  font:inherit; transition:.15s ease;
}
.event-page .filters input::placeholder{ color:#a3a8b0; }
.event-page .filters input:focus,
.event-page .filters select:focus,
.event-page .filters textarea:focus{
  outline:0; background:#fff; border-color:#ffd7b3;
  box-shadow:0 0 0 3px rgba(255,126,0,.12);
}
/* чтобы точно не «вылазило» */
.event-page .filters .section-search,
.event-page .filters input[name="section"],
.event-page .filters input[type="search"]{ max-width:100%; }

/* Селект со стрелкой */
.event-page .filters select{
  -webkit-appearance:none; appearance:none;
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" fill="%236c7683"><path d="M10.59.59 6 5.17 1.41.59 0 2l6 6 6-6z"/></svg>');
  background-repeat:no-repeat; background-position:right 12px center; padding-right:34px;
}

/* Min–Max в одну строку */
.event-page .filters .price-row{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }

/* Чекбоксы */
.event-page .filters .chk{ display:flex; align-items:center; gap:8px; margin:6px 0; }
.event-page .filters input[type="checkbox"]{
  width:18px; height:18px; margin:0 8px 0 0; accent-color:var(--brand);
}

/* Similar list */
/* ========== Similar nearby (event page) ========== */
.event-page .similar-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.event-page .similar-item{
  position:relative;
  border:1px solid #EEF1F5;
  border-radius:14px;
  background:#fff;
  padding:12px 14px;
  box-shadow:0 6px 20px rgba(16,24,40,.06);
  transition:border-color .2s ease, box-shadow .2s ease, transform .12s ease;
}

/* оранжевая «полоса-акцент» слева */
.event-page .similar-item::before{
  content:"";
  position:absolute;
  left:6px;
  top:12px;
  bottom:12px;
  width:3px;
  border-radius:3px;
  background:#FF8A00;
  opacity:.45;
  transition:opacity .2s ease;
}

.event-page .similar-item:hover{
  border-color:#FFD7B0;
  box-shadow:0 10px 26px rgba(16,24,40,.10);
  transform:translateY(-1px);
}
.event-page .similar-item:hover::before{ opacity:.9; }

/* кликабельная область */
.event-page .similar-link{
  display:grid;
  grid-template-columns: 1fr auto; /* заголовок + стрелка справа */
  align-items:start;
  column-gap:10px;
  text-decoration:none;
  color:inherit;
}

/* стрелка справа */
.event-page .similar-item::after{
  content:"";
  width:24px; height:24px;
  position:absolute; top:12px; right:12px;
  border-radius:999px;
  background:#fff;
  border:1px solid #E9EDF3;
  box-shadow:0 4px 10px rgba(16,24,40,.08);
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><path d='M9 6l6 6-6 6' stroke='%23FF8A00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat:no-repeat;
  background-position:center;
  background-size:12px 12px;
  transition:transform .12s ease, background-color .2s ease, border-color .2s ease;
}
.event-page .similar-item:hover::after{
  transform:translateX(2px);
  background-color:#FF8A00;
  border-color:#FF8A00;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><path d='M9 6l6 6-6 6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* заголовок — максимум две строки, дальше многоточие */
.event-page .similar-link .title{
  grid-column:1 / 2;
  font-weight:700;
  margin:0 0 6px;
  line-height:1.25;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* мета-инфа (дата/место) — аккуратные строки */
.event-page .similar-link .meta{
  grid-column:1 / 2;
  color:var(--muted, #6B7280);
  font-size:.95em;
  line-height:1.35;
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-top:2px;
}

/* если в HTML разобьёшь на .when и .where — появятся иконки */
.event-page .similar-link .meta .when,
.event-page .similar-link .meta .where{
  position:relative;
  padding-left:22px;
}

.event-page .similar-link .meta .when::before{
  content:"";
  position:absolute; left:0; top:2px;
  width:16px; height:16px;
  background-repeat:no-repeat; background-size:16px 16px; background-position:center;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'><rect x='3' y='4' width='18' height='17' rx='2' ry='2' stroke='%23FF8A00' stroke-width='2'/><path d='M3 10h18' stroke='%23FF8A00' stroke-width='2'/><path d='M8 2v4M16 2v4' stroke='%23FF8A00' stroke-width='2' stroke-linecap='round'/></svg>");
}

.event-page .similar-link .meta .where::before{
  content:"";
  position:absolute; left:0; top:2px;
  width:16px; height:16px;
  background-repeat:no-repeat; background-size:16px 16px; background-position:center;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'><path d='M12 22s7-7.58 7-12a7 7 0 1 0-14 0c0 4.42 7 12 7 12z' stroke='%23FF8A00' stroke-width='2'/><circle cx='12' cy='10' r='3' stroke='%23FF8A00' stroke-width='2'/></svg>");
}

/* доступность — видимый фокус */
.event-page .similar-item:focus-within{
  outline:2px solid #FF8A00;
  outline-offset:2px;
}


/* =============================
   TICKETS TABLE
   ============================= */
.event-page .tickets__header{
  display:flex; justify-content:space-between; align-items:center; margin-bottom:10px;
}

.event-page .tickets__table-wrap{
  background:#fff; border:1px solid #eee; border-radius:12px;
  box-shadow:0 6px 24px rgba(0,0,0,.04);
  overflow:auto;                /* для sticky thead */
  min-width: 0;                 /* КЛЮЧ: не распираем грид и не «уводим» влево */
}

/* фиксированная сетка + липкая шапка */
.event-page .tickets__table{
  width:100%; border-collapse:separate; border-spacing:0; table-layout:fixed;
}
.event-page .tickets__table thead th,
.event-page .tickets__table tbody td{ padding:14px 16px; vertical-align:middle; }
.event-page .tickets__table thead th{
  position:sticky; top:0; z-index:2; background:#fff;
  border-bottom:1px solid #eee; font-weight:700; text-align:left;
  box-shadow:0 6px 12px rgba(0,0,0,.04);
}

/* Ширины: Section / Row / Seats / Qty / Delivery / Price / Action */
.event-page .tickets__table thead th:nth-child(1),
.event-page .tickets__table tbody td:nth-child(1){ width:16%; }
.event-page .tickets__table thead th:nth-child(2),
.event-page .tickets__table tbody td:nth-child(2){ width:12%; }
.event-page .tickets__table thead th:nth-child(3),
.event-page .tickets__table tbody td:nth-child(3){ width:12%; }
.event-page .tickets__table thead th:nth-child(4),
.event-page .tickets__table tbody td:nth-child(4){ width:12%; text-align:right; }
.event-page .tickets__table thead th:nth-child(5),
.event-page .tickets__table tbody td:nth-child(5){ width:18%; }
.event-page .tickets__table thead th:nth-child(6),
.event-page .tickets__table tbody td:nth-child(6){ width:15%; text-align:right; }
.event-page .tickets__table thead th:nth-child(7),
.event-page .tickets__table tbody td:nth-child(7){ width:15%; text-align:right; }

.event-page .tickets__table td select{ min-width:64px; }

/* Зебра + hover */
.event-page .tickets__table tbody tr:nth-child(even){ background:#fffdfa; }
.event-page .tickets__table tbody tr:hover{ background:#fff7ec; cursor:pointer; }
.event-page .tickets__table tbody tr:active{ transform: translateY(1px); }

/* Доставка — чипы */
.event-page .chip{
  display:inline-flex; align-items:center; gap:6px;
  padding:4px 8px; border:1px solid #eee; border-radius:999px;
  background:#fff; font-size:.92em; line-height:1;
}
.event-page .chip i{ color:var(--brand); }
.event-page .badge-delivery .chip + .chip{ margin-left:6px; }
.event-page .badge--mobile{  background:#eaf6ff; border-color:#cbeaff; color:#0a5ea8; }
.event-page .badge--transfer{background:#f2ffea; border-color:#e6ffd6; color:#2a7a00; }
.event-page .badge--pickup{  background:#fff3ec; border-color:#ffe1cf; color:#b45309; }

/* Цена + кнопка — по краям */
.event-page .td-price{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.event-page .price-pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:10px; background:#fff3e8; color:#b34d00; font-weight:800;
}

/* Узкие экраны — скрываем Seats, немного расширяем правые колонки */
@media (max-width:960px){
  .event-page .tickets__table thead th:nth-child(3),
  .event-page .tickets__table tbody td:nth-child(3){ display:none; }
  .event-page .tickets__table thead th:nth-child(6),
  .event-page .tickets__table tbody td:nth-child(6),
  .event-page .tickets__table thead th:nth-child(7),
  .event-page .tickets__table tbody td:nth-child(7){ width:22%; }
}

/* Состояния/спиннер/«Показать ещё» */
.event-page .state-msg{ padding:20px; text-align:center; color:#444; }
.event-page .state-msg.error{ color:#c00; }
.event-page .load-more{ display:flex; justify-content:center; padding:16px; }
.event-page .more-spinner{
  width:26px; height:26px; border-radius:999px; border:3px solid #eee;
  border-top-color:var(--brand); animation:ep-spin .8s linear infinite;
}
@keyframes ep-spin{ to{ transform:rotate(1turn); } }

/* =============================
   Buttons / Cart-bar
   ============================= */
.event-page .btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 16px; border-radius:8px; font-weight:700; border:none; cursor:pointer; text-decoration:none;
}
.event-page .btn-brand{ background:var(--brand); color:#fff; }
.event-page .btn-brand:hover{ background:var(--brand-hover); }
.event-page .btn-ghost{ background:#fff; border:1px solid #ddd; color:#333; }
.event-page .btn-ghost:hover{ background:#fafafa; }

/* === Cart bar — fixed bottom, всегда видимая, с плавным выездом === */
.event-page .cart-bar{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1100;

  background: #0f1114;     /* можно #fff если нужен светлый */
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 -10px 24px rgba(0,0,0,.14);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));

  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .2s ease, opacity .2s ease;
}
.event-page .cart-bar.is-visible{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.event-page .cart-bar__content{
  display:flex; justify-content:space-between; align-items:center; gap:12px;
}
.event-page .cart-bar__left{ font-weight:700; }
.event-page .cart-bar .btn{ margin-left:8px; }

/* Резервируем место под плашку, чтобы ничего не пряталось под неё */
main.event-page{ padding-bottom: var(--cart-height, 0px); }

/* мобилка */
@media (max-width: 575px){
  .event-page .cart-bar__left{ font-size:14px; }
  .event-page .cart-bar__content{ gap:8px; }
}




/* === FOOTER === */

.page-footer {
  background-color: #111;
  color: #ccc;
  padding: 80px 0 40px;
  font-size: 15px;
  border-top: 2px solid #222;
}

.footer-wrap .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-start;
}

.footer-logo img {
  max-width: 180px;
  margin-bottom: 20px;
}

.footer-info,
.footer-call {
  min-width: 220px;
  line-height: 1.7;
}

.footer-info .orange-text {
  color: #ff7e00;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}

.email-link {
  color: #ff7e00;
  text-decoration: none;
  font-weight: 600;
}

.email-link:hover {
  text-decoration: underline;
}

.footer-number {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-top: 6px;
}

.footer-columns {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #ff7e00;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 50px;
  padding-top: 25px;
  text-align: center;
  font-size: 14px;
  color: #aaa;
}

.footer-bottom a {
  color: #ff7e00;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}



/* === Swiper === */
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  width: 50px;
  height: 50px;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #ff7e00;
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
  margin: 0 6px !important;
}
.swiper-pagination-bullet-active {
  background: #ff7e00;
  opacity: 1;
}

.how-it-works {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
  line-height: 1.6;
  color: #222;
}

.hiw-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.hiw-section {
  margin-bottom: 40px;
}

.hiw-section h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ff4500;
}

.hiw-section p {
  font-size: 16px;
  color: #555;
}

.hiw-footer-note {
  text-align: center;
  margin-top: 60px;
  font-size: 15px;
  color: #888;
}

/* ===== Общая стилистика страницы ===== */
.partners-page {
  background: linear-gradient(180deg, #fff 0%, #f6f6f6 100%);
  padding: 80px 20px;
}

.partners-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
  color: #333;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.partners-intro {
  font-size: 18px;
  color: #555;
  max-width: 680px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* ===== Логотипы ===== */
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 70px;
}

.partner-item img {
  height: 70px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
  transform: scale(1);
}

.partner-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.12);
}

/* ===== Блок с преимуществами ===== */
.partners-highlights {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.highlight-block {
  max-width: 600px;
  text-align: left;
}

.highlight-block h2 {
  font-size: 28px;
  color: #ff7e00;
  margin-bottom: 20px;
}

.highlight-block ul {
  padding-left: 0;
  list-style: none;
}

.highlight-block ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 18px;
  color: #333;
  font-size: 16px;
  line-height: 1.5;
}

.highlight-block ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  color: #ff7e00;
  font-weight: bold;
}

/* ===== CTA блок ===== */
.partners-cta-wide {
  margin-top: 60px;
  padding: 40px 30px;
  color: #fff;
  border-radius: 12px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.partners-cta-wide h2 {
  font-size: 28px;
  margin-bottom: 12px;
  color: #ff7e00;
}

.cta-divider {
  width: 60px;
  height: 3px;
  background: #ff7e00;
  border: none;
  margin: 16px auto;
}

.partners-cta-wide p {
  font-size: 16px;
  color: #444;
  margin-bottom: 24px;
  line-height: 1.6;
}

.partners-contact-btn {
  display: inline-block;
  padding: 14px 28px;
  background-color: #ff7e00;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.partners-contact-btn:hover {
  background-color: #e66c00;
  transform: scale(1.05);
}

/* ===== Анимации ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.2s;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.7s ease-out forwards;
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .partner-item img {
    height: 60px; /* Уменьшаем иконки на мобильных устройствах */
  }

  .partners-cta {
    padding: 20px;
    font-size: 14px;
  }

  .partners-title {
    font-size: 28px; /* Уменьшаем размер заголовка на мобильных */
  }

  .partners-logos {
    gap: 20px; /* Меньше промежутки между логотипами */
  }

  .partners-intro {
    font-size: 14px;
  }

  .partners-contact-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}


.support-page {
  background: linear-gradient(180deg, #fff 0%, #f8f8f8 100%);
  padding: 80px 20px;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  color: #222;
}

.support-title {
  font-size: 42px;
  color: #333;
  font-weight: 700;
  margin-bottom: 10px;
}

.support-subtext {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
}

.support-details p {
  font-size: 15px;
  color: #444;
  margin-bottom: 6px;
}

.support-form-section {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.support-form {
  background: #fff;
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
  width: 100%;
  max-width: 520px;
  margin: 0 auto; /* Центровка */
  text-align: left;
}

.form-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #ff7e00;
  padding-left: 4px; /* Немного отступа слева */
}


.support-form input,
.support-form textarea {
  width: 100%;
  padding: 16px 20px;
  margin-bottom: 18px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background-color: #fefefe;
  font-size: 15px;
  font-family: inherit;
  color: #333;
  transition: border-color 0.3s, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.support-form input::placeholder,
.support-form textarea::placeholder {
  color: #999;
  font-style: italic;
}

.support-form input:focus,
.support-form textarea:focus {
  border-color: #ff7e00;
  box-shadow: 0 0 0 2px rgba(255, 126, 0, 0.2);
  outline: none;
}

.support-btn {
  width: 100%;
  padding: 14px;
  background-color: #ff7e00;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.support-btn:hover {
  background-color: #e66c00;
  transform: scale(1.02);
}

/* Анимации */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease forwards;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === ОБЩАЯ СТРУКТУРА === */
.profile-page {
  display: flex;
  gap: 40px;
  padding: 50px 80px;
  background: #fdfdfd;
  font-family: 'Segoe UI', sans-serif;
  box-sizing: border-box;
}

/* === САЙДБАР === */
.sidebar {
  width: 260px;
  background: #fff;
  border-radius: 14px;
  padding: 32px 24px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.sidebar h3 {
  font-size: 18px;
  margin-bottom: 30px;
  color: #111;
  line-height: 1.4;
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar nav ul li {
  padding: 12px 18px;
  margin-bottom: 10px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  color: #333;
  transition: background 0.2s;
}

.sidebar nav ul li.active,
.sidebar nav ul li:hover {
  background: rgba(255, 126, 0, 0.1);
  color: #ff7e00;
}

.sign-out {
  margin-top: 40px;
  color: #d00000;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
}

/* === КОНТЕНТ === */
.profile-content {
  flex: 1;
  background: #ffffff;
  border-radius: 14px;
  padding: 48px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.profile-content h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 32px;
  color: #111;
}

/* === ФОРМА === */
.form-section {
  margin-bottom: 48px;
}

.form-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
}

.form-section label {
  display: block;
  font-weight: 500;
  color: #444;
  margin-bottom: 6px;
}

.form-section input,
.form-section select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-bottom: 18px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-section input:focus,
.form-section select:focus {
  border-color: #ff7e00;
}

.card-icons {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: 12px;
}

.card-icons img {
  height: 28px;
  width: auto;
  border: 2px solid #ff7e00;
  border-radius: 6px;
  padding: 4px 8px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 0 6px rgba(255, 126, 0, 0.15);
  transition: transform 0.2s ease;
}

.card-icons img:hover {
  transform: scale(1.05);
}

/* === КНОПКА === */
.btn-primary {
  background: #ff7e00;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 4px 10px rgba(255, 126, 0, 0.3);
}

.btn-primary:hover {
  background: #e66c00;
}

/* === Default Submit Buttons === */
.profile-content button[type="submit"],
.profile-content button {
  background: #ff7e00;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
  box-shadow: 0 4px 10px rgba(255, 126, 0, 0.3);
  margin-top: 10px;
}

.profile-content button:hover {
  background: #e66c00;
}

#billing h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 36px;
  color: #111;
}

/* === Общие блоки === */
.billing-block {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

.billing-block h3 {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.billing-block p {
  font-size: 15px;
  color: #333;
  margin-bottom: 16px;
}

.billing-block button {
  background: #ff7e00;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  box-shadow: 0 4px 10px rgba(255, 126, 0, 0.3);
  font-size: 15px;
}

.billing-block button:hover {
  background: #e66c00;
}

/* === Иконки платёжных методов (Visa, Stripe, Amex) === */
.card-icons img {
  height: 26px;
  width: auto;
  border: 2px solid #ff7e00;
  border-radius: 6px;
  padding: 4px 8px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 0 6px rgba(255, 126, 0, 0.15);
  transition: transform 0.2s ease;
}

.card-icons img:hover {
  transform: scale(1.05);
}

/* === Info блок === */
.billing-block.info {
  padding-top: 10px;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.info-row img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 6px;
}

.info-row strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}

.info-row p {
  font-size: 14px;
  color: #444;
  line-height: 1.4;
}


/* === ПРАВИЛА ПАРОЛЯ === */
.password-rules {
  font-size: 14px;
  color: #555;
  margin: 10px 0 20px;
  padding-left: 20px;
}

.password-rules li {
  margin-bottom: 4px;
}

.password-rules li::before {
  content: '✓';
  color: #00b800;
  margin-right: 6px;
}

/* ================================================
   Account / Orders / Billing
   File: /assets/css/account.css
   ================================================ */

/* ---------- Orders & Tickets ---------- */
.orders-wrap{margin-top:8px}
.orders-list{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.order-card{border:1px solid #eee;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.04);transition:box-shadow .2s,transform .2s}
.order-card:hover{box-shadow:0 6px 22px rgba(0,0,0,.06);transform:translateY(-1px)}
.order-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;cursor:pointer}
.order-header:hover{background:#fafafa}
.order-meta{min-width:0}
.order-title{font-weight:700}
.order-sub{color:#666;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.order-amount{font-weight:700}
.order-actions .btn{margin-left:6px}

.order-card.open .order-header{background:#f8f8f8}

.order-items{padding:8px 16px 16px;border-top:1px solid #eee;background:#fff;
/* <-- делает таблицу скроллируемой на узких экранах */
overflow-x:auto;-webkit-overflow-scrolling:touch}
.order-items table{width:100%;border-collapse:collapse;min-width:640px}
.order-items th,.order-items td{padding:10px 8px;border-bottom:1px solid #f0f0f0;text-align:left;font-size:14px}
.order-items th.right,.order-items td.right{text-align:right}
.order-items td.actions{white-space:nowrap}
.order-items td.actions .btn{margin-right:6px}

/* ---------- Badges ---------- */
.badge{display:inline-block;padding:2px 8px;border-radius:999px;font-size:12px;background:#eef2ff;color:#3b5bdb}
.badge.ready{background:#eaf8ee;color:#2b8a3e}
.badge.pending{background:#fff4e6;color:#d9480f}
.badge.failed{background:#fdecee;color:#c92a2a}

/* ---------- Billing helpers ---------- */
.pm-list ul{list-style:none;padding:0;margin:0}
.pm-item{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border:1px solid #eee;border-radius:8px;margin-bottom:8px;gap:12px}
.pm-text{font-size:14px}
.pm-actions button{margin-left:8px}
.pm-card-element{padding:12px;border:1px solid #eee;border-radius:8px;margin-bottom:10px;background:#fff}
.pm-add .muted{display:block;margin-top:6px;font-size:12px;color:#888}
.btn-connect.is-connected{background:#e9f7ee;border-color:#bfe3cb}
.t-danger{color:#b00020}

/* ---------- Tabs / Sidebar harmonization ---------- */
.tab-menu-mobile{display:none;gap:12px;padding:0 16px 12px}
.tab-menu-mobile .tab{display:inline-block;padding:10px 8px;border-bottom:2px solid transparent;color:#444;text-decoration:none;font-weight:600;white-space:nowrap}
.tab-menu-mobile .tab.active{border-color:#ff7a00;color:#111}
.profile-page .sidebar li{cursor:pointer}

/* ==================================================
   Responsive
   ================================================== */

/* <= 1024px : компактнее шапку заказа, экшены становятся переносимыми */
@media (max-width:1024px){
  .order-header{flex-wrap:wrap;align-items:flex-start}
  .order-amount{margin-left:auto}
  .order-actions{width:100%;display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-start;margin-top:6px}
  .order-actions .btn{margin:0}
}

/* <= 768px : мобильная навигация, сайдбар обычно скрыт вашим лейаутом */
@media (max-width:768px){
  .tab-menu-mobile{display:flex;overflow:auto}
  .order-items table{min-width:560px}
  .order-items td.actions .btn{margin-bottom:6px}
}

/* <= 520px : ещё компактнее таблицу и кнопки */
@media (max-width:520px){
  .order-header{padding:12px}
  .order-sub{font-size:12px}
  .order-items table{min-width:520px}
  .order-items th,.order-items td{padding:8px 6px;font-size:13px}
}

/* <= 400px : кнопки на всю ширину внутри клетки (поочередно) */
@media (max-width:400px){
  .order-items td.actions{display:flex;flex-direction:column;gap:8px;white-space:normal}
  .order-items td.actions .btn{width:100%;margin:0}
}

/* === TOAST-УВЕДОМЛЕНИЯ === */
.toast-message {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #ff7e00;
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 9999;
}

.toast-message.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === МОБИЛЬНАЯ АДАПТАЦИЯ === */
@media (max-width: 992px) {
  .profile-page {
    flex-direction: column;
    padding: 30px 20px;
  }

  .sidebar {
    display: none;
  }

  .profile-content {
    padding: 24px;
    border-radius: 12px;
  }

  .profile-content h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 24px;
  }

  .form-section h3 {
    font-size: 18px;
  }

  .form-section input,
  .form-section select {
    font-size: 14px;
    padding: 12px;
  }

  .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 15px;
  }
}

/* === МОБИЛЬНОЕ ГОРИЗОНТАЛЬНОЕ МЕНЮ === */
.tab-menu-mobile {
  display: none;
}

.seller-block {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.seller-block h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.seller-block p {
  font-size: 15px;
  color: #555;
  margin-bottom: 24px;
}

.seller-block input[type="file"] {
  border: 1px dashed #ccc;
  background: #fafafa;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: border-color 0.2s;
}

.seller-block input[type="file"]:hover {
  border-color: #ff7e00;
}

.accounts-block {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.accounts-block h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.accounts-block p {
  font-size: 15px;
  color: #555;
  margin-bottom: 24px;
}

.accounts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.account-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 12px 16px;
  background: #fafafa;
  transition: box-shadow 0.2s;
}

.account-item:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.account-item img {
  height: 24px;
  margin-right: 12px;
}

.account-item span {
  flex: 1;
  font-weight: 500;
  font-size: 15px;
  color: #333;
}

.btn-connect {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #ff7e00;
  background: #fff;
  color: #ff7e00;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.btn-connect:hover {
  background: #ff7e00;
  color: #fff;
}

.accessibility-block {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.accessibility-block h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.accessibility-block p {
  font-size: 15px;
  color: #555;
  margin-bottom: 24px;
}

.accessibility-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.accessibility-form label {
  font-size: 15px;
  color: #333;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.accessibility-form input[type="checkbox"] {
  margin-right: 10px;
  accent-color: #ff7e00;
  transform: scale(1.2);
}

.accessibility-form textarea {
  resize: vertical;
  min-height: 80px;
  padding: 12px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
}

.accessibility-form textarea:focus {
  border-color: #ff7e00;
}

.promos-block {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.promos-block h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.promos-block p {
  font-size: 15px;
  color: #555;
  margin-bottom: 16px;
}

.promo-redeem {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.promo-redeem input {
  flex: 1;
  padding: 12px 14px;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  outline: none;
}

.promo-redeem input:focus {
  border-color: #ff7e00;
}

.promo-list h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #333;
}

.promo-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #f8f8f8;
  border-radius: 10px;
  margin-bottom: 12px;
}

.promo-code strong {
  font-size: 16px;
  color: #ff7e00;
}

.promo-code span {
  display: block;
  font-size: 14px;
  color: #666;
}

.btn-outline {
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.btn-outline:hover {
  border-color: #ff7e00;
  color: #ff7e00;
}


.promo-redeem {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  gap: 0;
  margin-bottom: 28px;
}


.promo-redeem input {
  flex: 1;
  min-width: 0;
  border-radius: 10px 0 0 10px;
  border: 1px solid #ccc;
  border-right: none;
  padding: 12px 16px;
  font-size: 15px;
  box-sizing: border-box;
}

.promo-redeem input:focus {
  border-color: #ff7e00;
}

.promo-redeem .btn-primary {
  width: 100px; /* 👈 фиксированная ширина */
  border-radius: 0 10px 10px 0;
  background: linear-gradient(to right, #ff7e00, #ff9900);
  color: #fff;
  font-weight: 600;
  border: none;
  height: 44px;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.2s;
  font-size: 15px;
}

.promo-list {
  margin-top: 20px;
}

.promo-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #f8f8f8;
  border-radius: 10px;
  margin-bottom: 10px;
}

.promo-code {
  display: flex;
  flex-direction: column;
}

.promo-code strong {
  font-size: 16px;
  color: #ff7e00;
}

.promo-code span {
  font-size: 14px;
  color: #666;
}

.btn-outline {
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.btn-outline:hover {
  border-color: #ff7e00;
  color: #ff7e00;
}


@media (max-width: 992px) {
  .tab-menu-mobile {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 10px 16px;
    margin-bottom: 24px;
    background: #fff;
    border-bottom: 2px solid #eee;
    border-radius: 12px;
    scrollbar-width: none;
  }

  .tab-menu-mobile::-webkit-scrollbar {
    display: none;
  }

  .tab-menu-mobile .tab {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    padding: 10px 14px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    transition: 0.2s;
  }

  .tab-menu-mobile .tab.active {
    color: #ff7e00;
    border-bottom: 2px solid #ff7e00;
  }

  .tab-menu-mobile .tab:hover {
    color: #ff7e00;
  }
}

.faq-section {
  background-color: #fff;
  color: #111;
  padding: 80px 20px;
}

.faq-title {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #000;
}

.faq-intro {
  text-align: center;
  color: #555;
  font-size: 16px;
  margin-bottom: 50px;
}

.faq-list {
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  background: #f9f9f9;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-question {
  cursor: pointer;
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-left: 5px solid #ff7e00;
  color: #222;
}

.faq-question:hover {
  background-color: #f2f2f2;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 24px;
  background: #fefefe;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

.faq-item.active .faq-answer {
  padding: 16px 24px 24px;
  max-height: 500px;
}

.arrow {
  font-size: 24px;
  color: #ff7e00;
  transition: transform 0.3s ease;
}

.faq-item.active .arrow {
  transform: rotate(45deg);
}

/* Mobile */
@media (max-width: 768px) {
  .faq-title {
    font-size: 30px;
  }

  .faq-question {
    font-size: 16px;
    padding: 16px;
  }

  .faq-answer {
    font-size: 15px;
  }
}

.terms-section {
  background-color: #fff;
  color: #111;
  padding: 80px 20px;
}

.terms-title {
  font-size: 42px;
  text-align: center;
  font-weight: 800;
  margin-bottom: 10px;
  color: #000;
}

.terms-updated {
  text-align: center;
  color: #777;
  font-size: 15px;
  margin-bottom: 50px;
}

.terms-block {
  max-width: 880px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.terms-block h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  color: #ff7e00;
}

.terms-block ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.terms-block li {
  margin-bottom: 8px;
}

.terms-link {
  color: #ff7e00;
  text-decoration: underline;
}

.terms-link:hover {
  text-decoration: none;
}

/* Mobile */
@media (max-width: 768px) {
  .terms-title {
    font-size: 30px;
  }

  .terms-block {
    font-size: 15px;
    padding: 0 10px;
  }
}

.careers-section {
  padding: 80px 20px;
  background: #fff;
  color: #111;
}

.container {
  max-width: 960px;
  margin: 0 auto;
}

.careers-title {
  font-size: 42px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
}

.careers-subtitle {
  font-size: 18px;
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

.careers-intro p {
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.careers-openings h2,
.careers-values h2,
.careers-cta h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ff7e00;
}

.job-card {
  background: #f9f9f9;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 30px;
}

.job-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #111;
}

.job-location {
  color: #888;
  font-size: 14px;
  margin-bottom: 12px;
}

.apply-btn {
  display: inline-block;
  margin-top: 12px;
  background: #ff7e00;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.apply-btn:hover {
  background: #e96b00;
}

.careers-values ul {
  list-style: none;
  padding-left: 0;
}

.careers-values ul li {
  padding: 10px 0;
  font-size: 16px;
  border-bottom: 1px solid #eee;
}

.careers-cta {
  background: #fafafa;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  margin-top: 50px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.careers-cta a {
  color: #ff7e00;
  font-weight: bold;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .careers-title {
    font-size: 30px;
  }

  .job-card {
    padding: 16px;
  }
}

.sell-tickets-section {
  background-color: #fff;
  padding: 80px 20px;
  color: #111;
}

.sell-title {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 10px;
}

.sell-subtitle {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-bottom: 50px;
}

.sell-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 60px;
}

.step-card {
  flex: 1 1 280px;
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.step-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #111;
}

.step-card p {
  color: #555;
  font-size: 15px;
}

.sell-form {
  max-width: 640px;
  margin: 0 auto;
}

.sell-form h2 {
  font-size: 26px;
  margin-bottom: 24px;
  color: #ff7e00;
  text-align: center;
}

.sell-form form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sell-form label {
  font-weight: 600;
  margin-bottom: 4px;
}

.sell-form input[type="text"],
.sell-form input[type="date"],
.sell-form input[type="number"],
.sell-form input[type="file"] {
  padding: 12px 14px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #f5f5f5;
  outline: none;
}

.sell-form input:focus {
  border-color: #ff7e00;
}

.btn-primary {
  background-color: #ff7e00;
  color: #fff;
  padding: 14px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #e66900;
}

@media (max-width: 768px) {
  .sell-steps {
    flex-direction: column;
  }

  .step-card {
    text-align: left;
  }

  .sell-form {
    padding: 0 10px;
  }
}

.affiliate-hero {
  background: linear-gradient(to right, #fff, #fff);
  text-align: center;
  padding: 80px 20px;
}

.affiliate-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #111;
}

.affiliate-hero p {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
}

.affiliate-hero .btn-primary {
  padding: 14px 28px;
  font-size: 16px;
  background-color: #ff7e00;
  color: #fff;
  border-radius: 8px;
  border: none;
  transition: background 0.3s ease;
}

.affiliate-hero .btn-primary:hover {
  background-color: #e66900;
}

.affiliate-how-it-works, .affiliate-benefits, .affiliate-commissions {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.step-box {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  flex: 1 1 280px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.step-box h3 {
  font-size: 20px;
  color: #111;
  margin-bottom: 10px;
}

.step-box p {
  font-size: 15px;
  color: #555;
}

.benefits-list {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  list-style: none;
  padding-left: 0;
  font-size: 16px;
  color: #444;
}

.benefits-list li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.benefits-list li::before {
  content: "✔";
  color: #ff7e00;
  position: absolute;
  left: 0;
}

.commission-table {
  margin: 40px auto 0;
  border-collapse: collapse;
  width: 100%;
  max-width: 600px;
}

.commission-table th,
.commission-table td {
  border: 1px solid #ddd;
  padding: 14px;
  font-size: 15px;
}

.commission-table th {
  background-color: #ff7e00;
  color: #fff;
  font-weight: 700;
}

.commission-table tr:nth-child(even) {
  background-color: #fff;
}

@media (max-width: 768px) {
  .steps-grid {
    flex-direction: column;
  }

  .step-box {
    text-align: left;
  }

  .affiliate-hero h1 {
    font-size: 32px;
  }

  .affiliate-hero p {
    font-size: 16px;
  }
}

/* === Event page === */
/* ===== HERO (только картинка: размытие cover + чёткий contain) ===== */
.event-hero{
  position: relative;
  height: clamp(240px, 34vw, 520px);
  background-color: #0e1013;   /* фон под «письма» */
  background-repeat: no-repeat;/* изображение задаёшь инлайном style="background-image:url(...)" */
  overflow: hidden;
}
.event-hero::before{
  content:"";
  position:absolute; inset:-6%;
  background: inherit;         /* тот же background-image */
  background-size: cover;      /* заполняем края размытым фоном */
  background-position: center;
  filter: blur(18px) saturate(1.06);
  transform: scale(1.08);
  z-index:0;
}
.event-hero::after{
  content:"";
  position:absolute; inset:0;
  background: inherit;
  background-size: contain;    /* логотип/баннер целиком */
  background-repeat: no-repeat;
  background-position: center top; /* при необходимости: center 8% */
  z-index:1;
}

/* Если в разметке всё ещё остался .overlay внутри hero — скрываем */
.event-hero .overlay{ display:none !important; }

/* Небольшая корректировка высоты */
@media (max-width: 576px){ .event-hero{ height: 220px; } }
@media (min-width: 1280px){ .event-hero{ height: 500px; } }

/* ===== БЕЛЫЙ БЛОК С ЗАГОЛОВКОМ/ПОДЗАГОЛОВКОМ ===== */
.event-head{
  background:#fff;
  padding: clamp(20px, 3.5vw, 40px) 0 clamp(10px, 2vw, 20px);
  border-bottom: 1px solid #eef0f3;
  text-align:center;
}
.event-head .event-title{
  margin:0 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height:1.05;
  color:#1a1d23;
}
.event-head .event-subtitle{
  margin:0 auto;
  max-width: min(90vw, 920px);
  font-size: clamp(14px, 1.6vw, 18px);
  color:#4a5564;
  opacity:.95;
}

/* ===== INFO (карточка под заголовком) ===== */
.event-info{
  background:#fff;
  padding: clamp(24px, 3vw, 48px) 20px;
  text-align:center;
}
.info-block{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  padding:16px 20px;
  background:#fff;
  border:1px solid #eef0f3;
  border-radius:14px;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
  margin-top: 12px;            /* больше НЕ заезжаем на hero */
}
.info-block p{
  font-size:18px;
  margin:8px 0;
}

/* Кнопка */
.btn-buy-big{
  margin-top:12px;
  display:inline-block;
  background:#ff7e00;
  color:#fff;
  padding:12px 26px;
  font-weight:700;
  border-radius:10px;
  text-decoration:none;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
  box-shadow:0 6px 18px rgba(255,126,0,.25);
}
.btn-buy-big:hover{ background:#e86600; transform: translateY(-1px); }
.btn-buy-big:active{ transform: translateY(0); box-shadow:0 8px 22px rgba(255,126,0,.32); }

/* ===== Секция со списком событий (если нужна консистентность) ===== */
.event-tickets{
  background:#f8f8f8;
  padding: clamp(40px, 5vw, 72px) 20px;
}

.event-subtitle{ font-size: 18px; opacity: .85; }

.section-title {
  font-size: 2em;
  font-weight: 700;
  text-align: center; /* <--- ВОТ ЭТА СТРОКА */
  margin-bottom: 40px;
  color: #222;
}

/* ==== Upcoming Events: 4 в ряд на десктопе, фикс-ширина карточек ==== */

/* Чуть шире контейнер именно в этой секции */
.event-tickets .container{
  max-width: 1360px; /* можно 1400–1480, если хочешь еще свободнее */
}

/* Базовая раскладка: flex + wrap, карточки не растягиваем */
.event-tickets .event-card-grid{
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;           /* горизонтальный и вертикальный зазор */
  padding: 0 8px;
}

/* Карточка по умолчанию (планшет и меньше — 2/1 в ряд) */
.event-tickets .event-card{
  flex: 0 0 240x;     /* базовая ширина карточки */
  width: 240px;
  max-width: 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Лэптоп: обычно 3 в ряд (ширина окна 992–1279) — оставляем ширину 300px */
@media (min-width: 992px) and (max-width: 1279.98px){
  .event-tickets .event-card-grid{ gap: 24px; }
  .event-tickets .event-card{
    flex-basis: 300px;
    width: 300px;
    max-width: 300px;
  }
}

/* Десктоп: гарантировано 4 в ряд.
   4×280 + 3×28 = 1204px — уверенно помещается в контейнер 1360px */
@media (min-width: 1280px){
  .event-tickets .event-card-grid{ gap: 28px; }
  .event-tickets .event-card{
    flex-basis: 280px;  /* ← ключ: делаем чуть уже */
    width: 280px;
    max-width: 280px;
  }
}

/* Очень широкие экраны: можно вернуть 300px и больше воздуха */
@media (min-width: 1536px){
  .event-tickets .container{ max-width: 1480px; }
  .event-tickets .event-card-grid{ gap: 32px; }
  .event-tickets .event-card{
    flex-basis: 300px;
    width: 300px;
    max-width: 300px;
  }
}

/* Картинка/контент — чтобы всё выглядело ровно при фикс-ширине */
.event-tickets .event-card__img{
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
  background: #f4f4f4;
}
.event-tickets .event-card__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.event-tickets .event-card__title{
  margin: 12px 0 8px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;    /* фиксируем 2 строки, чтобы ряды не гуляли */
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.event-tickets .event-card__meta .event-card__row{ margin: 6px 0; }
.event-tickets .event-card__cta{ margin-top: auto; } /* кнопка у низа */

.event-description {
  background: #fff;
  padding: 60px 20px;
  color: #444;
  line-height: 1.6;
  text-align: center;
}

/* ============ CHECKOUT ============ */
.checkout-page{
  padding-block: clamp(16px, 2.5vw, 28px);
}

/* Header */
.checkout-page .checkout-header{
  margin-bottom: 16px;
  border-bottom: 1px solid #eef0f3;
  padding-bottom: 12px;
}
.checkout-page .checkout-header h1{
  margin: 0;
  font-size: clamp(22px, 3.3vw, 32px);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.checkout-page .checkout-sub{
  margin-top: 6px;
  color: #6b7280;
  font-size: 14px;
}

/* Grid */
.checkout-page .co-grid{
  display: grid;
  grid-template-columns: 1fr minmax(300px, 360px);
  gap: 20px;
}
@media (max-width: 960px){
  .checkout-page .co-grid{ grid-template-columns: 1fr; }
}

/* Cards */
.checkout-page .co-card{
  background:#fff;
  border:1px solid #eef0f3;
  border-radius:14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.checkout-page .co-card--table{ padding: 0; overflow: hidden; }
.checkout-page .co-card--summary{
  padding: 16px 16px 18px;
  position: sticky;
  top: 10px; /* приятно "прилипает" на десктопе */
}

/* Summary */
.checkout-page .co-summary h3{
  margin: 4px 0 12px;
  font-size: 16px;
  color:#6b7280;
  font-weight: 600;
}
.checkout-page .co-summary .row{
  display:flex; justify-content:space-between; align-items:center;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
}
.checkout-page .co-summary .row + .row{ border-top:1px dashed #eef0f3; }
.checkout-page .co-summary .row.total{
  margin-top: 4px;
  padding-top: 12px;
  border-top: 2px solid #eef0f3;
  font-size: 18px;
  font-weight: 800;
  color:#111827;
}
.checkout-page .co-summary small{
  display:block; margin-top:10px; color:#6b7280; line-height:1.4;
  font-size:12px;
}
.checkout-page .co-error{
  margin-top:10px;
  color:#b91c1c;
  font-weight:700;
  font-size:13px;
}

/* Table */
.checkout-page .co-table{
  width:100%;
  border-collapse: separate;
  border-spacing: 0;
}
.checkout-page .co-table thead th{
  text-align:left;
  font-size:13px;
  font-weight:600;
  color:#6b7280;
  background:#fafafa;
  border-bottom:1px solid #eef0f3;
  padding: 12px 14px;
}
.checkout-page .co-table td{
  padding: 14px;
  border-bottom:1px solid #f1f3f6;
  vertical-align: middle;
  font-size:15px;
}
.checkout-page .co-table tr:last-child td{ border-bottom:0; }
.checkout-page .co-table td.price{ text-align:right; white-space:nowrap; }
.checkout-page .co-table td.right{ text-align:right; }

/* Qty select */
.checkout-page .co-qty{
  width: 68px;
  padding: 6px 8px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#fff;
  outline:none;
  font: inherit;
}
.checkout-page .co-qty:focus{ border-color:#c7d2fe; box-shadow:0 0 0 3px rgba(99,102,241,.15); }

/* Remove button */
.checkout-page .co-remove{
  appearance: none;
  border:1px solid #ffe2cc;
  background:#fff7ed;
  color:#9a3412;
  padding: 7px 12px;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
  transition: .15s ease-in-out;
}
.checkout-page .co-remove:hover{ background:#ffedd5; border-color:#ffddb8; }

/* Primary button */
.checkout-page .btn-primary{
  width:100%;
  display:inline-block;
  text-align:center;
  border:0;
  border-radius:12px;
  padding: 12px 16px;
  font-weight:800;
  cursor:pointer;
  background: var(--brand, #ff7e00);
  color:#fff;
  box-shadow: 0 10px 22px rgba(255,126,0,.25);
  transition: transform .12s ease, box-shadow .15s ease, background-color .2s;
}
.checkout-page .btn-primary:hover{
  background: var(--brand-hover, #e86600);
  transform: translateY(-1px);
}
.checkout-page .btn-primary:disabled{
  opacity:.6; cursor:not-allowed; transform:none; box-shadow:none;
}

/* Helpers (на случай, если в проекте их нет) */
.checkout-page .muted{ color:#6b7280; }


/* ==============================
   Checkout Success — final CSS
   ============================== */

/* =========================
   CHECKOUT SUCCESS (clean)
   ========================= */
.checkout-success{
  /* theme */
  --brand:#ff7a00; --brand-600:#e96f00;
  --ok:#059669; --ink:#111; --muted:#6b7280;
  --line:#eef0f3; --bg:#fafbfc; --card:#fff;

  /* page spacing */
  padding-block:18px 56px;
  color:var(--ink);

  /* важное: не перекрываем другие элементы сайта */
  position: relative;
  z-index: 10;            /* ниже, чем у выпадающих меню/хедера */
}

/* ---------- Card ---------- */
.checkout-success .co-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px 20px;
  box-shadow:0 6px 24px rgba(0,0,0,.05);
  overflow:hidden;
}

/* ===============================
   HERO / HEADER (.cs-head / .cs-hero)
   =============================== */
.checkout-success .cs-head,
.checkout-success .cs-hero{
  padding:12px 14px;
  border-radius:14px;
  display:flex;
  align-items:center;           /* ровное выравнивание */
  gap:12px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 4px 18px rgba(0,0,0,.05);
  margin-bottom:16px;
}

/* иконка */
.checkout-success .cs-icon,
.checkout-success .cs-badge{
  width:44px; height:44px; flex:0 0 44px;
  border-radius:50%;
  display:grid; place-items:center;
  color:var(--ok);
  background:radial-gradient(circle at 30% 30%, #d9ffe9, #e8fff0);
  font-size:20px;
}

/* заголовки и мета */
.checkout-success .cs-head h1,
.checkout-success .cs-hero .cs-title{
  margin:0; font-size:20px; line-height:1.2; font-weight:800;
}
.checkout-success .cs-head .muted,
.checkout-success .cs-hero .cs-meta{
  margin:2px 0 0; color:var(--muted);
}
.checkout-success .sep{ opacity:.6; margin:0 6px }

/* действия справа */
.checkout-success .cs-actions,
.checkout-success .cs-cta{
  margin-left:auto;
  display:flex; gap:8px; flex-wrap:wrap;
}
.checkout-success .cs-head button,
.checkout-success .cs-hero button{
  all:unset;
  display:inline-flex; align-items:center; justify-content:center;
  height:36px; padding:0 12px; border-radius:10px;
  border:1px solid var(--line);
  background:#fff; color:var(--ink); font-weight:700; cursor:pointer;
}
.checkout-success .cs-head button:hover,
.checkout-success .cs-hero button:hover{
  background:#fffaf5; border-color:#ffe3cc;
}

/* мобильное поведение */
@media (max-width:720px){
  .checkout-success .cs-actions,
  .checkout-success .cs-cta{ width:100%; margin-left:0; }
}

/* скрывать пустые */
.checkout-success .cs-head:empty,
.checkout-success .cs-hero:empty{ display:none; }

/* ================== GRID: table + summary ================== */
.checkout-success .cs-grid{
  display:grid;
  grid-template-columns:1fr minmax(320px,380px);
  gap:22px;
}
@media (max-width:960px){
  .checkout-success .cs-grid{ grid-template-columns:1fr; }
  .checkout-success .cs-summary{ order:-1; }
}

/* ================= Buttons (унификация) ================= */
.checkout-success .btn{
  --btn-bg:#fff; --btn-bd:#e5e7eb; --btn-fg:#111;
  display:flex; align-items:center; justify-content:center;
  gap:8px; height:44px; padding:0 14px;
  border-radius:12px; border:1px solid var(--btn-bd);
  background:var(--btn-bg); color:var(--btn-fg);
  font-weight:700; text-decoration:none; line-height:1.2;
  transition:transform .04s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  box-shadow:0 2px 0 rgba(0,0,0,.03); cursor:pointer; text-align:center;
}
.checkout-success .btn:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(0,0,0,.08);
}
.checkout-success .btn:active{
  transform:translateY(0);
  box-shadow:0 2px 10px rgba(0,0,0,.06);
}

/* варианты */
.checkout-success .btn.btn-brand{
  --btn-bg:linear-gradient(180deg,#ff8a26 0%,var(--brand) 100%);
  --btn-bd:#ff8a26; --btn-fg:#fff;
  width:100%;                       /* широкая кнопка заполняет блок */
}
.checkout-success .btn.btn-brand:hover{
  --btn-bg:linear-gradient(180deg,#ffa14f 0%,var(--brand-600) 100%);
  --btn-bd:var(--brand-600);
}
.checkout-success .btn.btn-ghost{
  --btn-bg:#fff; --btn-bd:var(--line); --btn-fg:#111;
}
.checkout-success .btn.btn-ghost:hover{
  background:#fffaf5; --btn-bd:#ffe3cc;
}

/* широкие кнопки в summary */
.checkout-success .cs-summary{ padding:18px 14px; }
.checkout-success .btn-wide{
  --inset:10px;
  display:block; width:calc(100% - var(--inset)*2);
  margin:12px var(--inset) 0;
  border-radius:12px; max-width:100%; overflow:hidden;
}
.checkout-success .btn-wide + .btn-wide{ margin-top:10px; }
@media (max-width:480px){
  .checkout-success .btn-wide{ --inset:8px; }
}

/* ================= Tickets table ================= */
.checkout-success .co-table{ width:100%; border-collapse:collapse; }
.checkout-success .co-table thead th{
  font-size:12px; text-transform:uppercase; letter-spacing:.04em;
  color:#52525b; background:#f9fafb;
  border-bottom:1px solid #f1f3f5; padding:12px 10px; text-align:left;
}
.checkout-success .co-table td{
  padding:12px 10px; border-bottom:1px solid #f1f3f5; font-size:14px;
}
.checkout-success .co-table th.right,
.checkout-success .co-table td.right{ text-align:right; }
.checkout-success .co-table tbody tr:hover{ background:#fcfdff; }

/* горизонтальный скролл на малых экранах */
.checkout-success .co-card .table-scroll{ overflow:auto; }
@media (max-width:760px){
  .checkout-success .co-card{ padding:12px 12px 14px; }
  .checkout-success .co-card .table-scroll{ margin:0 -4px; padding:0 4px; }
}

/* подпись под таблицей */
.checkout-success .cs-note{ margin-top:10px; font-size:13px; color:var(--muted); }

/* ================= Summary ================= */
.checkout-success .cs-summary h3{ margin:0 0 8px 0; font-weight:800; }
.checkout-success .cs-summary .row{
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 0; border-top:1px dashed var(--line);
}
.checkout-success .cs-summary .row:first-child{ border-top:0; }
.checkout-success .cs-summary .row span:last-child{ font-variant-numeric:tabular-nums; }

.checkout-success .cs-summary .cs-total{
  display:flex; justify-content:space-between; align-items:center;
  border-top:2px solid var(--line);
  margin-top:8px; padding-top:12px;
  font-weight:900; font-size:18px;
}
.checkout-success .cs-summary .cs-total span:last-child{ font-size:20px; }

.checkout-success .cs-help{ margin-top:10px; color:var(--muted); }
.checkout-success .cs-help a{ color:inherit; text-decoration:underline }

/* ================= Print ================= */
@media print{
  header, nav, .footer,
  .cs-head .cs-actions, .cs-hero .cs-cta,
  .cs-summary .btn, .btn{ display:none !important; }
  .checkout-success{ padding:0; }
  .checkout-success .co-card{ border:0; box-shadow:none; }
}
/* Checkout Success — center button text */
.checkout-success .btn-brand.btn-wide,
.checkout-success .btn-ghost.btn-wide{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important; /* <-- горизонтально по центру */
  text-align: center !important;
}



/* ---------- PRINT ---------- */
@media print{
  header, nav, .footer, .cs-hero-actions, .btn{ display:none !important; }
  .checkout-success .co-card{ box-shadow:none; border:0; padding:0 }
  .checkout-success .cs-layout{ gap:12px }
}

.privacy-hero {
  background: #fff;
  text-align: center;
  padding: 60px 20px 30px;
}

.privacy-hero h1 {
  font-size: 40px;
  font-weight: 800;
  color: #111;
  margin-bottom: 12px;
}

.privacy-hero p {
  color: #666;
  font-size: 14px;
}

.privacy-content {
  background: #fafafa;
  padding: 50px 20px;
}

.privacy-content .container {
  max-width: 860px;
  margin: 0 auto;
  color: #333;
  line-height: 1.7;
}

.privacy-content h2 {
  margin-top: 36px;
  font-size: 22px;
  color: #ff7e00;
  font-weight: 700;
}

.privacy-content ul {
  margin: 12px 0 20px;
  padding-left: 24px;
  list-style: disc;
}

.privacy-content ul li {
  margin-bottom: 10px;
}

.privacy-content a {
  color: #ff7e00;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .privacy-hero h1 {
    font-size: 28px;
  }

  .privacy-content h2 {
    font-size: 20px;
  }

  .privacy-content .container {
    padding: 0 12px;
  }
}

.refund-hero {
  background: #fff;
  text-align: center;
  padding: 60px 20px 30px;
}

.refund-hero h1 {
  font-size: 40px;
  font-weight: 800;
  color: #111;
  margin-bottom: 12px;
}

.refund-hero p {
  color: #666;
  font-size: 14px;
}

.refund-content {
  background: #fafafa;
  padding: 50px 20px;
}

.refund-content .container {
  max-width: 860px;
  margin: 0 auto;
  color: #333;
  line-height: 1.7;
}

.refund-content h2 {
  margin-top: 36px;
  font-size: 22px;
  color: #ff7e00;
  font-weight: 700;
}

.refund-content ul {
  margin: 12px 0 20px;
  padding-left: 24px;
  list-style: disc;
}

.refund-content ul li {
  margin-bottom: 10px;
}

.refund-content a {
  color: #ff7e00;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .refund-hero h1 {
    font-size: 28px;
  }

  .refund-content h2 {
    font-size: 20px;
  }

  .refund-content .container {
    padding: 0 12px;
  }
}

/* === TEAM PAGE STYLES === */

/* HERO */
.team-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 400px;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* фиксим overlay */
.team-hero .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

/* фиксим .container */
.team-hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.team-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
  background-color: white;
  padding: 10px;
  margin-bottom: 30px;
}

.team-name {
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.team-league {
  font-size: 16px;
  color: #ddd;
}

/* EVENTS SECTION */
.upcoming-events {
  padding: 60px 20px;
  background-color: #fff;
}

.upcoming-events .section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
}

.team-empty{
  background: var(--bg, #fafbfc);
  border-top: 1px solid var(--line, #eef0f3);
  padding: 32px 0 56px;
  animation: te-fade .25s ease-out;
}

.team-empty .empty-card{
  max-width: 820px;
  margin: -36px auto 0;              /* слегка «подъезжает» под hero */
  padding: 28px 28px;
  background: var(--card, #fff);
  border: 1px solid var(--line, #eef0f3);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  text-align: center;
}

.team-empty .empty-card h2{
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: .2px;
  color: var(--ink, #111);
}

.team-empty .empty-card p{
  margin: 0 0 18px;
  color: var(--muted, #6b7280);
  font-size: 15px;
}

/* Кнопка */
.team-empty .btn-outline{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--line, #eef0f3);
  border-radius: 12px;
  font-weight: 600;
  line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink, #111);
}

.team-empty .btn-outline:hover{
  border-color: var(--brand, #ff7a00);
  box-shadow: 0 6px 18px rgba(255,122,0,.18);
  transform: translateY(-1px);
}

.team-empty .btn-outline:active{
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* Небольшая анимация появления */
@keyframes te-fade{
  from{ opacity: 0; transform: translateY(6px); }
  to  { opacity: 1; transform: translateY(0); }
}

/* Адаптив */
@media (max-width: 992px){
  .team-empty .empty-card{ max-width: 720px; }
}
@media (max-width: 768px){
  .team-empty{ padding: 20px 0 40px; }
  .team-empty .empty-card{
    margin: 8px 16px 0;
    padding: 20px 18px;
    border-radius: 14px;
  }
  .team-empty .empty-card h2{ font-size: 20px; }
  .team-empty .empty-card p { font-size: 14px; }
  .team-empty .btn-outline { padding: 9px 14px; border-radius: 10px; }
}

/* Event card scroll list */
.upcoming-events .event-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: stretch;
  overflow: visible;       /* ничего не режем */
  padding: 0;              /* убираем лишние внутренние отступы */
}

/* Колонки: 3 в ряд на десктопе, 2 на таблетах, 1 на мобилках */
.upcoming-events .event-grid > .event-card{ 
  grid-column: span 4;     /* 12 / 4 = 3 карточки */
  height: 100%;
  display: flex;
  flex-direction: column;
}
@media (max-width: 992px){
  .upcoming-events .event-grid > .event-card{ grid-column: span 6; }  /* 2 в ряд */
}
@media (max-width: 576px){
  .upcoming-events .event-grid > .event-card{ grid-column: span 12; } /* 1 в ряд */
}

.upcoming-events .event-card .event-card-img{ border-radius: 8px; overflow: hidden; }
.upcoming-events .event-card .event-card-img img{
  width: 100%; height: auto; display: block;
  aspect-ratio: 4/3; object-fit: cover;
}

/* Заголовок: не даём вытягивать карточку */
.upcoming-events .event-card .event-title{
  font-weight: 700; margin: 12px 0 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;       /* максимум 3 строки */
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1rem * 1.3 * 3); /* резерв под 3 строки (если font-size=1rem) */
}

/* Блок с датой/локацией — небольшой резерв, чтобы выровнять высоты */
.upcoming-events .event-card .event-date,
.upcoming-events .event-card .event-location,
.upcoming-events .event-card .event-price{
  margin: 8px 0 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: #555;
}
.upcoming-events .event-card .event-price{ margin-bottom: 4px; }

/* Кнопка всегда внизу карточки */
.upcoming-events .event-card .btn-buy{
  margin-top: auto;
  display: inline-block;
  background: var(--brand, #ff7e00);
  color: #fff; font-weight: 700;
  padding: 12px 16px; border-radius: 8px;
  text-align: center; text-decoration: none;
}
.upcoming-events .event-card .btn-buy:hover{ background: var(--brand-hover, #e66c00); }

/* Иконки FontAwesome — брендовые и чуть крупнее */
.upcoming-events .event-card .fa,
.upcoming-events .event-card [class^="fa-"],
.upcoming-events .event-card [class*=" fa-"]{
  color: var(--brand, #ff7e00);
  font-size: 1.1rem; line-height: 1; vertical-align: middle;
}

.upcoming-events .container .event-grid{
  gap: 60px 24px !important;  /* row-gap 48px, column-gap 24px */
}

/* если где-то на этой странице используешь event-card-grid — на всякий */
.upcoming-events .container .event-card-grid{
  gap: 48px 24px !important;
}

.event-card__img{ position:relative; }
.event-card__fav{
  position:absolute; top:8px; right:8px; z-index:5;
  width:36px; height:36px; display:grid; place-items:center;
  background:#fff; border:1px solid var(--line,#eef0f3); border-radius:999px;
  box-shadow:0 6px 18px rgba(0,0,0,.08); cursor:pointer;
}
.event-card__fav .fa-heart{ transition: transform .2s; }
.event-card__fav.is-fav .fa-heart{ color:#e11d48; } /* розовый для "в избранном" */
.event-card__fav.is-fav .fa-regular{ display:none; }
.event-card__fav.is-fav .fa-solid{ display:inline-block; }

/* =========================================
   Favorites — те же карточки, что и в списках
   ========================================= */

/* Сетка карточек */
#favorites .event-card-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap:24px;
  align-items:start;
}

/* Базовая карточка */
#favorites .event-card{
  display:flex;
  flex-direction:column;
  height:100%;
  background:#fff;
  border:1px solid #EEF1F5;
  border-radius:16px;
  box-shadow:0 10px 24px rgba(16,24,40,.06);
  padding:0 16px 16px;
}

/* Изображение — как везде */
#favorites .event-card__img{
  position:relative;
  aspect-ratio:16/9;
  width:100%;
  border-radius:12px;
  overflow:hidden;
  margin:16px 0 12px;
}
#favorites .event-card__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Заголовок и текст — оставляем общий стиль,
   тут только отступы для一致ности */
#favorites .event-card__title{ margin:6px 0 8px; }

/* Кнопка прижимается вниз */
#favorites .event-card__cta{ margin-top:auto; }

/* ==============================
   Сердечко — как на других страницах
   ============================== */
.event-card__img{ position:relative; }

.event-card__fav{
  position:absolute;
  top:12px; right:12px;
  width:36px; height:36px;.profile-content button[type="submit"], .profi
  display:grid; place-items:center;
  border-radius:999px;
  border:2px solid #fff;               /* белая окантовка */
  box-shadow:0 6px 18px rgba(16,24,40,.12);
  cursor:pointer;
  z-index:3;
  transition:transform .12s ease-out;
}
.event-card__fav:hover{ transform:scale(1.06); }

.event-card__fav .fa-heart{
  font-size:18px;
  line-height:1;
  color:#fff;                          /* белое сердце */
}

/* Активное избранное — заливка heart (solid) */
.event-card__fav.is-fav .fa-heart{
  font-weight:900;                     /* solid FA6 */
}

/* На странице Favorites не даём «прыжков» */
#favorites .event-card__fav{ transform:none; }


.profile-content .event-card__fav{
  /* сперва полностью сбросим чужие стили кнопки */
  all: unset;

  /* и вернём нужный вид сердечка */
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #FFF;              /* оранжевый кружок как на карточках */
  border: 2px solid #fff;            /* белая окантовка */
  box-shadow: 0 6px 18px rgba(16,24,40,.12);
  cursor: pointer;
  z-index: 3;
}

.profile-content .event-card__fav .fa-heart{
  font-size: 18px;
  line-height: 1;
  color: #fff;                       /* белое сердце */
  font-weight: 400;                  /* регуляр по умолчанию */
}

.profile-content .event-card__fav.is-fav .fa-heart{
  font-weight: 900;                  /* solid для активного */
}

/* лёгкий hover (по желанию) */
.profile-content .event-card__fav:hover{
  transform: scale(1.06);
  transition: transform .12s ease-out;
}

/* DESCRIPTION SECTION */
.team-description {
  padding: 60px 20px;
  background-color: #f7f7f7;
}

.team-description .section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
  color: #222;
}

.description-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  text-align: center;
}

/* Адаптивность */
@media (max-width: 768px) {
  .team-name {
    font-size: 26px;
  }

  .event-card {
    min-width: 220px;
  }

  .team-logo {
    width: 80px;
    height: 80px;
  }
}


/* === Адаптивное бургер-меню === */
/* === MOBILE HEADER === */
@media screen and (max-width: 768px) {
  .burger-icon {
  display: flex;
  }

  .nav-line {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100vh;
  width: 80%;
  background: #111;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 80px 20px;
  transition: left 0.3s ease;
  z-index: 9998;
  }

  .nav-line.active {
  left: 0;
  }

  .nav-line ul.menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  }

  .nav-line ul.menu li {
  width: 100%;
  padding: 15px 10px;
  border-bottom: 1px solid #333;
  }

  .nav-line ul.menu li a {
  color: white;
  font-weight: 600;
  }
}

@media screen and (max-width: 768px) {
  .hero-block {
  text-align: center;
  padding: 60px 20px;
  }

  .hero-block h1 {
  font-size: 32px;
  }

  .hero-search {
  flex-direction: column;
  gap: 10px;
  }
}

@media (max-width: 768px) {
  .carousel-text h2 {
    font-size: 1.8em;
    
  }

  .carousel-text p {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .about-row {
  flex-direction: column;
  text-align: center;
  }

  .left-col {
  margin-bottom: 30px;
  }

  .infoClub-wrap h2 {
  font-size: 2em;
  }

  .infoClub-wrap h4 {
  font-size: 1.2em;
  }

  .inner-text p {
  font-size: 1em;
  max-width: 90%;
  margin: 0 auto;
  text-align: left;
  }

  .btn-wrap .btn {
  padding: 8px 15px;
  }

  .right-col .image-wrap img {
  width: 80%;
  margin: 0 auto;
  }
}

/* Для планшетов и устройств с большим экраном (от 768px и выше) */
@media (min-width: 769px) {
  .about-row {
  flex-direction: row;
  }

  .left-col {
  flex: 1;
  }

  .right-col {
  flex: 1;
  }
}

@media screen and (max-width: 768px) {
  .league-filter, .team-filter {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  }
}

@media (max-width: 768px) {
  .schedule-header h2 {
  font-size: 2em;
  }

  .schedule-header h4 {
  font-size: 1.2em;
  }

  .schedule-buttons {
  flex-direction: column;
  align-items: center;
  }

  .schedule-buttons .btn {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  }

  .schedule-list {
  gap: 15px;
  }

  .schedule-item {
  padding: 10px;
  }

  .schedule-item p {
  font-size: 0.9em;
  }
}

@media (min-width: 769px) {
  .schedule-list {
  gap: 25px;
  }

  .schedule-item p {
  font-size: 1em;
  }
}

@media screen and (max-width: 768px) {
  .carousel-wrap-news .swiper-slide {
  width: 100% !important;
  }

  .carousel-item-news {
  margin: 0 auto;
  width: 90%;
  }

  .car-img-wrap img {
  width: 100%;
  height: auto;
  }
}


/* Для планшетов и устройств с большим экраном (от 768px и выше) */
@media (min-width: 769px) {
  .filters-by-category ul {
  flex-direction: row;
  }

  .gallery__item {
  width: 30%; /* 3 колонки */
  }

  .gallery__item__img {
  height: 300px;
  }

  .gallery__item img {
  object-fit: cover;
  }
}

@media screen and (max-width: 768px) {
  .filters-by-category ul {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  }

  .gallery__item {
  width: 100% !important;
  }
}

@media screen and (max-width: 768px) {
  .carousel-wrap-partners .swiper-slide {
    width: 33% !important;
  }

  .block-wrap-sponsor a {
    font-size: 16px;
    padding: 12px 20px;
  }
}

@media screen and (max-width: 768px) {
  .box-email-form {
    flex-direction: column;
    gap: 10px;
  }

  .box-email-form input,
  .box-email-form button {
    width: 100%;
  }

  .b-wrap-soc-network {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .footer-main {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    text-align: left;
  }

  .footer-info,
  .footer-call,
  .footer-col {
    flex: 0 1 250px;
    min-width: 220px;
  }

  .footer-logo {
    width: 100%;
    text-align: center;
  }

  .footer-logo img {
    margin: 0 auto;
  }

  .footer-bottom {
    font-size: 13px;
    padding-top: 20px;
  }

  .footer-columns {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
  }

  .footer-col h4 {
    font-size: 15px;
    margin-bottom: 10px;
    text-align: left;
  }

  .footer-col ul {
    padding-left: 0;
  }

  .footer-col ul li {
    font-size: 14px;
    margin-bottom: 8px;
  }
}

/* 📱 повтор адаптации карусели для мобильных */
@media (max-width: 768px) {
  .carousel-text h2 {
    font-size: 1.8em;
  }

  .carousel-text p {
    font-size: 1em;
  }

  .btn-link-o {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}

/* === Cookie banner (оба варианта) === */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #111;
  color: #fff;
  padding: 16px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  font-size: 14px;
  gap: 10px;
}

.cookie-banner button {
  background: #ff7e00;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.cookie-banner a {
  color: #ff7e00;
  text-decoration: underline;
}

/* Вторая версия баннера (id) — может использоваться на других страницах */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: #222;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

#cookie-banner p {
  margin: 0;
  line-height: 1.6;
  flex: 1;
  padding-right: 20px;
}

#accept-cookies {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  background-color: #ff7e00;
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#accept-cookies:hover {
  background-color: #e66c00;
}

.event-page section.event-hero:has(.event-hero__media){
  height:auto !important;
  min-height:0 !important;
  background:#fafafa;
  overflow:visible;
}
.event-page section.event-hero:has(.event-hero__media)::before,
.event-page section.event-hero:has(.event-hero__media)::after{
  content:none !important; /* не рисуем блюр/оверлеи для контентного героя */
}
.event-page section.event-hero:has(.event-hero__media) .event-hero__wrap{
  display:grid; grid-template-columns:160px 1fr; gap:24px; align-items:center;
}
.event-page section.event-hero:has(.event-hero__media) .event-hero__media img{
  width:160px; height:160px; object-fit:cover; border-radius:12px;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}
.event-title{ margin-top:0; } /* страховка от коллапса маргинов */

/* 2) Для страниц спорта/лиги (когда ВНУТРИ НЕТ .event-hero__media) — оставляем баннер */
section.event-hero:not(:has(.event-hero__media)){
  /* вместо height даём min-height, чтобы не было пустой плашки где не нужно */
  min-height: clamp(240px, 34vw, 520px);
  background-size: cover;
  background-position: center;
  overflow:hidden;
}
section.event-hero:not(:has(.event-hero__media))::before{
  content:""; position:absolute; inset:-6%;
  background: inherit; background-size:cover; background-position:center;
  filter: blur(18px) saturate(1.06); transform: scale(1.08); z-index:0;
}
section.event-hero:not(:has(.event-hero__media))::after{
  content:""; position:absolute; inset:0;
  background: inherit; background-size:contain; background-repeat:no-repeat;
  background-position:center top; z-index:1;
}
section.event-hero:not(:has(.event-hero__media)) .event-hero__wrap{
  position:relative; z-index:2; padding-block:32px;
}

/* ===== EVENT CARD: иконка + текст в две колонки ===== */

/* контейнер со строками (даты/место/цена) */
.event-card .meta-list{
  display: grid;
  row-gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* каждая строка — фикс-колонка под иконку + колонка под текст */
.event-card .meta-item{
  display: grid;
  grid-template-columns: 1.25em 1fr;   /* иконка ~размер символа, текст на всю ширину */
  column-gap: 10px;
  align-items: baseline;               /* базовые линии совпадают */
  min-width: 0;                        /* чтобы переносы работали */
}

/* жёстко сбрасываем «старые» стили иконок только внутри meta-item */
.event-card .meta-item .icon,
.event-card .meta-item .fa,
.event-card .meta-item [class^="fa-"],
.event-card .meta-item [class*=" fa-"],
.event-card .meta-item svg[data-icon],
.event-card .meta-item .svg-inline--fa{
  display: inline-block !important;    /* НИ КАКОГО inline-flex */
  width: 1em !important;
  height: 1em !important;
  font-size: 1em !important;           /* перекрываем 1.25rem */
  line-height: 1 !important;
  margin: 0 !important;                /* убираем margin-right:6px */
  vertical-align: -0.125em;            /* оптическая корректировка FA */
  color: var(--brand) !important;
}

/* сам текст — во второй колонке, переносится под себя */
.event-card .meta-item .meta-text{
  min-width: 0;
  overflow-wrap: anywhere;
}

/* на узких экранах чутка плотнее */
@media (max-width: 460px){
  .event-card .meta-item{ column-gap: 8px; }
}

/* ===== EVENT CARD: крупные иконки + ровное выравнивание ===== */

/* настраиваем через переменные, чтобы было удобно крутить размер */
.event-card__meta{
  --icon-size: 1.35em;          /* РАЗМЕР ИКОНКИ (крупнее/мельче) */
  --icon-gap: .55em;            /* промежуток между иконкой и текстом */
}

/* каждая строка — две колонки: иконка (ровно по её размеру) + текст */
.event-card__row{
  display: grid;
  grid-template-columns: var(--icon-size) 1fr;  /* текст стартует сразу после иконки */
  column-gap: var(--icon-gap);
  align-items: baseline;                         /* базовые линии совпадают */
  margin: 8px 0;
  min-width: 0;
}

/* Сбрасываем старые правила и масштабируем иконку */
.event-card__row .icon,
.event-card__row .fa,
.event-card__row .svg-inline--fa,
.event-card__row svg[data-icon]{
  display: inline-block !important;    /* вместо inline-flex */
  font-size: var(--icon-size) !important;
  width: 1em !important;               /* 1em от текущего font-size => = --icon-size */
  height: 1em !important;
  line-height: 1 !important;
  margin: 0 !important;                /* никакого margin-right:6px */
  vertical-align: -0.125em;            /* оптическое выравнивание FA */
  color: var(--brand) !important;
}

/* Текстовая колонка — переносится под себя, не под иконку */
.event-card__row > span{
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Убираем дефолтные отступы у <p>, чтобы не было «прыжков» */
.event-card__row{ padding: 0; }
.event-card__row:first-child{ margin-top: 0; }
.event-card__row:last-child{ margin-bottom: 0; }

/* На узких экранах можно чуть плотнее */
@media (max-width: 460px){
  .event-card__meta{ --icon-size: 1.3em; --icon-gap: .5em; }
}

:root{
  --brand-600:var(--brand);   /* твой фирм. цвет */
  --brand-700:var(--brand);
  --brand-ring:rgba(20,58,123,.35);
}

/* Центрируем ряд */
#confirmationModal .confirm-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
  text-align:center;
}

/* Принудительно показываем обе кнопки (перебиваем чужие классы/inline) */
#confirmationModal .confirm-actions .confirm-btn-primary,
#confirmationModal .confirm-actions #confirmResendBtn{
  display:inline-flex !important;
  visibility:visible !important;
  opacity:1 !important;
}

/* База для кнопок */
#confirmationModal .confirm-actions button{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:140px;
  padding:10px 16px;
  border-radius:12px;
  border:1px solid #e5e7eb;
  font:600 14px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  transition:background .15s, border-color .15s, box-shadow .15s, transform .06s;
  cursor:pointer;
}
#confirmationModal .confirm-actions button:hover{ background:#f3f4f6; }
#confirmationModal .confirm-actions button:focus-visible{ outline:none; box-shadow:0 0 0 3px var(--brand-ring); }
#confirmationModal .confirm-actions button:active{ transform:translateY(1px); }

/* Primary — Send again */
#confirmationModal .confirm-actions .confirm-btn-primary,
#confirmationModal .confirm-actions #confirmResendBtn{
  background:var(--brand-600) !important;
  border-color:var(--brand-600) !important;
  color:#fff !important;
}
#confirmationModal .confirm-actions .confirm-btn-primary:hover,
#confirmationModal .confirm-actions #confirmResendBtn:hover{
  background:var(--brand-700) !important;
  border-color:var(--brand-700) !important;
}

/* Secondary — Change email */
#confirmationModal .confirm-actions .confirm-btn-secondary,
#confirmationModal .confirm-actions #confirmChangeEmailBtn{
  background:#fff !important;
  color:var(--brand-600) !important;
  border-color:rgba(20,58,123,.35) !important;
}
#confirmationModal .confirm-actions .confirm-btn-secondary:hover,
#confirmationModal .confirm-actions #confirmChangeEmailBtn:hover{
  background:#f8fafc !important;
  border-color:var(--brand-600) !important;
}

@media (max-width:480px){
  #confirmationModal .confirm-actions button{ min-width:120px; padding:9px 14px; border-radius:10px; }
}

/* ===== Special Event — page-like layout (no card) ===== */
.sp{ background: var(--bg,#fafbfc); padding: 10px 0 64px; color: var(--ink,#111); }

.sp-hero__in{ display:block; }
.sp-hero .pill{
  display:inline-block; font-size:12px; font-weight:700; letter-spacing:.06em;
  padding:6px 10px; border-radius:999px; background:var(--brand); color:#fff;
  margin-bottom:10px;
}
.sp-hero__head{ display:flex; align-items:center; gap:16px; }
.sp-hero__logo{
  width:64px; height:64px; border-radius:12px; background:#151515; display:grid; place-items:center; overflow:hidden;
  border:1px solid #222; flex:0 0 64px;
}
.sp-hero__logo img{ width:100%; height:100%; object-fit:cover; display:block; }
.sp-title{
  color:#333; font-size:40px; font-weight:800; line-height:1.1;
  text-shadow:0 1px 0 rgba(0,0,0,.2);
}
.sp-sub{ color:#333; margin-top:6px; }

.sp-content{ padding-top:22px; }
.sp-h2{ margin:0 0 6px; font-size:22px; font-weight:800; }
.sp-lead{ margin:0 0 12px; color:#444; }

.sp-form{ display:flex; gap:10px; flex-wrap:wrap; margin:12px 0 6px; }
.sp-form input{
  flex:1 1 420px; min-width:240px; padding:12px 14px; border-radius:10px;
  border:1px solid #e5e7eb; background:#fff; font-size:15px; outline:none;
  transition:border-color .2s, box-shadow .2s;
}
.sp-form input:focus{
  border-color: var(--brand,#ff7e00);
  box-shadow:0 0 0 3px rgba(255,126,0,.14);
}
.sp-form button{
  padding:12px 16px; border-radius:10px; border:0; cursor:pointer;
  background:var(--brand,#ff7e00); color:#fff; font-weight:700;
  transition:filter .15s, transform .03s;
}
.sp-form button:hover{ filter:brightness(.98); }
.sp-form button:active{ transform:translateY(1px); }

.sp-note{ font-size:12px; color:#6b7280; margin-top:6px; }

.sp-actions{ display:flex; gap:10px; flex-wrap:wrap; margin:18px 0 6px; }
.sp-btn{
  display:inline-block; text-decoration:none; font-weight:700; padding:12px 16px; border-radius:10px;
}
.sp-btn--brand{ background:var(--brand,#ff7e00); color:#fff; }
.sp-btn--brand:hover{ filter:brightness(.98); }
.sp-btn--dark{ background:#111; color:#fff; }
.sp-btn--dark:hover{ filter:brightness(1.08); }

.sp-bc{ margin-top:14px; color:#6b7280; font-size:14px; }
.sp-bc a{ color:#111; text-decoration:none; border-bottom:1px dashed #d1d5db; }
.sp-bc a:hover{ border-bottom-color:#111; }
.sp-bc .sep{ margin:0 6px; color:#b9bdc3; }

/* a11y helper */
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Responsive */
@media (max-width: 640px){
  .sp-title{ font-size:28px; }
  .sp-hero__logo{ width:56px; height:56px; border-radius:10px; flex-basis:56px; }
}
