/* ============================================================
   ФК «ДЕРБЕНТ» — дизайн-система
   Цвета: #f0831e (оранжевый), #ffffff, #211409 (тёмный)
   ============================================================ */
:root {
  --orange: #f0831e;
  --orange-2: #ff9d3f;
  --orange-dark: #c96a10;
  --white: #ffffff;
  --dark: #211409;
  --bg: #120b04;
  --bg-2: #180f06;
  --surface: #1e1309;
  --surface-2: #27190c;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f7f1e8;
  --muted: #b3a08a;
  --muted-2: #8a7660;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(240, 131, 30, 0.10), transparent 60%),
    radial-gradient(800px 400px at -10% 40%, rgba(240, 131, 30, 0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--orange); color: var(--dark); }

.container { width: min(1200px, 92%); margin: 0 auto; position: relative; z-index: 1; }

/* ---------- Типографика ---------- */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: 0.01em; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.kicker::before { content: ''; width: 26px; height: 2px; background: var(--orange); border-radius: 2px; }
.section-title { font-size: clamp(26px, 4vw, 42px); text-transform: uppercase; }
.section-sub { color: var(--muted); max-width: 640px; margin-top: 10px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 800; font-size: 15px; letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--orange); color: #1a0e03; box-shadow: 0 10px 30px rgba(240, 131, 30, 0.35); }
.btn-primary:hover { background: var(--orange-2); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(240, 131, 30, 0.45); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--white); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 700; font-size: 14px; transition: gap 0.2s ease; }
.link-arrow:hover { gap: 12px; }

/* ---------- Шапка ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}
.site-header.scrolled {
  background: rgba(18, 11, 4, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(240, 131, 30, 0.3)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; }
.brand-sub { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--orange); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  font-weight: 700; font-size: 14.5px; color: var(--text);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover { color: var(--orange); }
.nav-item.active > .nav-link { color: var(--orange); background: rgba(240, 131, 30, 0.10); }
.nav-caret { width: 10px; height: 10px; transition: transform 0.2s ease; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 230px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px; opacity: 0; visibility: hidden; transition: all 0.25s ease; box-shadow: var(--shadow);
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px; transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}
.dropdown a:hover { background: rgba(240, 131, 30, 0.12); color: var(--orange); padding-left: 18px; }
.dropdown a.active { color: var(--orange); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.25s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Мобильное меню ---------- */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
  background: rgba(18, 11, 4, 0.97); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line); padding: 12px 4% 28px;
  transform: translateY(-110%); transition: transform 0.3s ease; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a { display: block; padding: 13px 8px; font-weight: 700; font-size: 16px; border-bottom: 1px solid var(--line); }
.mobile-nav a.active { color: var(--orange); }
.mobile-nav .m-sub { padding-left: 20px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.mobile-nav .m-label { padding: 14px 8px 4px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 11, 4, 0.94) 0%, rgba(18, 11, 4, 0.72) 45%, rgba(18, 11, 4, 0.35) 100%),
    linear-gradient(0deg, var(--bg) 2%, transparent 40%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(240, 131, 30, 0.5); background: rgba(240, 131, 30, 0.12);
  color: var(--orange-2); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-title {
  font-size: clamp(52px, 11vw, 128px); text-transform: uppercase; line-height: 0.98;
  background: linear-gradient(180deg, #fff 30%, #ffd9ae 75%, var(--orange) 105%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
}
.hero-sub { font-size: clamp(17px, 2.4vw, 24px); color: var(--text); font-weight: 600; max-width: 560px; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  position: relative; z-index: 2; margin-top: clamp(48px, 7vh, 84px);
  display: flex; gap: clamp(24px, 5vw, 72px); flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 26px;
}
.hero-stat .num { font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 38px); color: var(--orange); font-weight: 700; }
.hero-stat .lbl { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 4px; }

/* ---------- Внутренний hero страниц ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + clamp(48px, 8vw, 84px)) 0 clamp(40px, 6vw, 64px);
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(240, 131, 30, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted-2); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs .sep { opacity: 0.5; }
.page-title { font-size: clamp(30px, 5.5vw, 54px); text-transform: uppercase; }
.page-desc { color: var(--muted); margin-top: 12px; max-width: 640px; font-size: 16.5px; }

/* ---------- Новости ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.news-card:hover { transform: translateY(-6px); border-color: rgba(240, 131, 30, 0.45); box-shadow: var(--shadow); }
.news-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-media img { transform: scale(1.06); }
.news-date {
  position: absolute; top: 14px; left: 14px; padding: 6px 13px; border-radius: 999px;
  background: rgba(18, 11, 4, 0.8); backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 800; color: var(--orange-2); border: 1px solid rgba(240, 131, 30, 0.35);
}
.news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-title { font-size: 17.5px; font-weight: 800; line-height: 1.35; }
.news-excerpt { color: var(--muted); font-size: 14.5px; flex: 1; }

/* ---------- Матчи ---------- */
.tabs { display: inline-flex; gap: 6px; background: var(--surface); border: 1px solid var(--line); padding: 6px; border-radius: 999px; }
.tab {
  padding: 9px 20px; border-radius: 999px; border: 0; background: transparent;
  color: var(--muted); font-weight: 700; font-size: 13.5px; transition: all 0.2s ease;
}
.tab.active { background: var(--orange); color: #1a0e03; }
.matches-list { display: flex; flex-direction: column; gap: 12px; }
.match-row {
  display: grid; grid-template-columns: 110px 1fr auto 1fr; align-items: center; gap: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 22px; transition: border-color 0.2s ease, transform 0.2s ease;
}
.match-row:hover { border-color: rgba(240, 131, 30, 0.4); transform: translateX(4px); }
.match-row.is-derbent { border-left: 3px solid var(--orange); background: linear-gradient(90deg, rgba(240, 131, 30, 0.08), var(--surface) 55%); }
.match-date { font-size: 13px; color: var(--muted); font-weight: 700; line-height: 1.4; }
.match-date .d { display: block; color: var(--text); font-size: 14px; }
.match-team { display: flex; align-items: center; gap: 12px; min-width: 0; font-weight: 700; font-size: 15px; }
.match-team.home { justify-content: flex-end; text-align: right; }
.match-team .t-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-score {
  font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: 0.05em;
  background: var(--surface-2); border: 1px solid var(--line); padding: 8px 18px; border-radius: 12px; min-width: 84px; text-align: center;
}
.match-row.is-derbent .match-score { border-color: rgba(240, 131, 30, 0.5); color: var(--orange-2); }
.match-venue { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted-2); display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.match-venue svg { width: 13px; height: 13px; opacity: 0.7; }
.team-badge { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.team-badge img { width: 100%; height: 100%; object-fit: contain; }
.team-badge .fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; }
.matches-more { display: flex; justify-content: center; margin-top: 24px; }

/* ---------- Турнирная таблица ---------- */
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.standings { width: 100%; border-collapse: collapse; min-width: 720px; }
.standings th {
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2);
  padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: center; font-weight: 800;
}
.standings th.t-left { text-align: left; }
.standings td { padding: 13px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); text-align: center; font-weight: 600; font-size: 14.5px; }
.standings td.t-left { text-align: left; }
.standings tr:last-child td { border-bottom: 0; }
.standings tbody tr { transition: background 0.15s ease; }
.standings tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
.standings tr.is-derbent { background: linear-gradient(90deg, rgba(240, 131, 30, 0.14), rgba(240, 131, 30, 0.03)); }
.standings tr.is-derbent td:first-child { box-shadow: inset 3px 0 0 var(--orange); }
.standings .pos { font-family: var(--font-display); font-weight: 700; }
.standings .club-cell { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.standings .pts { font-family: var(--font-display); color: var(--orange-2); font-weight: 700; }
.table-note { margin-top: 14px; font-size: 13px; color: var(--muted-2); display: flex; gap: 8px; align-items: flex-start; }
.table-note svg { width: 15px; height: 15px; flex: 0 0 15px; margin-top: 3px; color: var(--orange); }

/* ---------- Карточки людей / игроков ---------- */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.person-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex; flex-direction: column;
}
.person-card:hover { transform: translateY(-6px); border-color: rgba(240, 131, 30, 0.5); box-shadow: var(--shadow); }
.person-photo { position: relative; aspect-ratio: 1/1.05; overflow: hidden; background: linear-gradient(160deg, var(--surface-2), var(--bg-2)); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo .avatar-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 52px; font-weight: 700; color: rgba(255, 255, 255, 0.9);
}
.person-number {
  position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(18, 11, 4, 0.75); backdrop-filter: blur(6px); border: 1px solid rgba(240, 131, 30, 0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--orange); font-size: 17px;
}
.person-role {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 26px 16px 12px;
  background: linear-gradient(0deg, rgba(18, 11, 4, 0.92), transparent);
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-2);
}
.person-body { padding: 16px 18px 20px; }
.person-name { font-size: 16.5px; font-weight: 800; line-height: 1.3; }
.person-meta { margin-top: 6px; font-size: 13px; color: var(--muted); }
.pos-group { margin-bottom: 44px; }
.pos-group:last-child { margin-bottom: 0; }
.pos-title { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.pos-title h3 { font-size: 19px; text-transform: uppercase; letter-spacing: 0.04em; }
.pos-title .count { font-size: 12px; font-weight: 800; color: var(--orange); background: rgba(240, 131, 30, 0.12); border: 1px solid rgba(240, 131, 30, 0.35); padding: 3px 12px; border-radius: 999px; }
.pos-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------- Страница человека / игрока ---------- */
.profile-hero { padding: calc(var(--header-h) + 40px) 0 40px; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-bottom: 1px solid var(--line); }
.profile-layout { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: start; }
.profile-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1/1.1; background: linear-gradient(160deg, var(--surface-2), var(--bg-2)); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo .avatar-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 84px; color: rgba(255, 255, 255, 0.9); }
.profile-name { font-size: clamp(26px, 4vw, 40px); text-transform: uppercase; }
.profile-role { color: var(--orange); font-weight: 800; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 8px; }
.profile-facts { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.fact {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 18px; min-width: 120px;
}
.fact .f-lbl { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); font-weight: 800; }
.fact .f-val { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-top: 4px; color: var(--orange-2); }
.profile-bio { margin-top: 28px; }
.profile-bio p { color: #d8cbbc; margin-bottom: 16px; font-size: 16px; line-height: 1.75; }

/* ---------- Инфо-блоки ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color 0.2s ease; }
.info-card:hover { border-color: rgba(240, 131, 30, 0.4); }
.info-card .ic-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(240, 131, 30, 0.12); border: 1px solid rgba(240, 131, 30, 0.3); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--orange); }
.info-card .ic-icon svg { width: 22px; height: 22px; }
.info-card h4 { font-size: 15px; margin-bottom: 8px; }
.info-card p, .info-card a { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.info-card a:hover { color: var(--orange); }

/* ---------- История / визитка ---------- */
.history-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.timeline { position: relative; padding-left: 30px; display: flex; flex-direction: column; gap: 26px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--orange), rgba(240, 131, 30, 0.1)); }
.tl-item { position: relative; }
.tl-item::before { content: ''; position: absolute; left: -28px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(240, 131, 30, 0.2); }
.tl-year { font-family: var(--font-display); color: var(--orange); font-weight: 700; font-size: 19px; }
.tl-text { color: var(--muted); font-size: 15px; margin-top: 4px; }
.prose p { color: #d8cbbc; margin-bottom: 16px; font-size: 16px; line-height: 1.75; }
.prose h3 { margin: 26px 0 14px; font-size: 21px; }
.achieve-card { background: linear-gradient(135deg, rgba(240, 131, 30, 0.12), var(--surface)); border: 1px solid rgba(240, 131, 30, 0.3); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 16px; }
.achieve-card .a-season { font-family: var(--font-display); color: var(--orange); font-weight: 700; font-size: 18px; }
.achieve-card .a-text { color: var(--text); font-size: 15px; margin-top: 6px; }

/* ---------- Формы ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0.03em; }
.form-field input, .form-field textarea, .form-field select {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; color: var(--text); font-family: inherit; font-size: 15px; outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease; width: 100%;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240, 131, 30, 0.15); }
.form-success {
  display: none; align-items: flex-start; gap: 14px; background: rgba(46, 160, 67, 0.12);
  border: 1px solid rgba(46, 160, 67, 0.45); border-radius: var(--radius-sm); padding: 18px 20px; color: #7ee2a0; font-weight: 600;
}
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; }
.form-error {
  display: flex; align-items: flex-start; gap: 12px; background: rgba(214, 48, 49, 0.10);
  border: 1px solid rgba(214, 48, 49, 0.45); border-radius: var(--radius-sm);
  padding: 14px 16px; color: #ff9a9a; font-weight: 600; margin-top: 16px;
}

/* ---------- Пустое состояние ---------- */
.empty-state { text-align: center; padding: clamp(60px, 10vw, 110px) 20px; }
.empty-state .es-icon { width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 24px; background: rgba(240, 131, 30, 0.1); border: 1px solid rgba(240, 131, 30, 0.3); display: flex; align-items: center; justify-content: center; color: var(--orange); }
.empty-state .es-icon svg { width: 40px; height: 40px; }
.empty-state h3 { font-size: 22px; margin-bottom: 10px; text-transform: uppercase; }
.empty-state p { color: var(--muted); max-width: 440px; margin: 0 auto; }

/* ---------- Лидеры: бомбардиры / ассистенты / гол+пас ---------- */
.lb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lb-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; transition: border-color 0.2s ease; }
.lb-card:hover { border-color: rgba(240, 131, 30, 0.4); }
.lb-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.lb-head h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; }
.lb-icon { width: 38px; height: 38px; border-radius: 11px; background: rgba(240, 131, 30, 0.12); border: 1px solid rgba(240, 131, 30, 0.3); display: flex; align-items: center; justify-content: center; color: var(--orange); flex: 0 0 38px; }
.lb-icon svg { width: 19px; height: 19px; }
.lb-row { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); transition: padding-left 0.15s ease; }
.lb-row:hover { padding-left: 8px; }
.lb-row:hover .lb-name { color: var(--orange); }
.lb-row:last-of-type { border-bottom: 0; }
.lb-rank { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 800; color: var(--muted); }
.lb-rank.top { background: rgba(240, 131, 30, 0.15); border-color: rgba(240, 131, 30, 0.5); color: var(--orange); }
.lb-name { flex: 1; font-weight: 700; font-size: 14.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-val { font-family: var(--font-display); font-weight: 700; color: var(--orange-2); font-size: 15px; }
.lb-extra { display: none; }
.lb-card.expanded .lb-extra { display: flex; }
.lb-more { width: 100%; margin-top: 12px; padding: 10px; background: none; border: 1px dashed rgba(255, 255, 255, 0.22); border-radius: 10px; color: var(--muted); font-weight: 700; font-size: 13px; transition: all 0.2s ease; }
.lb-more:hover { border-color: var(--orange); color: var(--orange); }
.lb-empty { padding: 24px 0; color: var(--muted-2); font-size: 14px; text-align: center; }

/* ---------- Партнёры ---------- */
.partners { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(36px, 5vw, 56px) 0; }
.partners-grid { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 48px; flex-wrap: nowrap; }
.partner-logo { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; opacity: 0.9; transition: opacity 0.2s ease, transform 0.2s ease; }
.partner-logo:hover { opacity: 1; transform: translateY(-2px); }
.partner-logo img { height: 52px; width: auto; max-width: 220px; object-fit: contain; }
@media (max-width: 640px) {
  .partners-grid { gap: 24px; }
  .partner-logo img { height: 40px; max-width: 150px; }
}

/* ---------- Подвал ---------- */
.site-footer { background: #0d0702; border-top: 1px solid var(--line); margin-top: 40px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; padding: clamp(44px, 6vw, 72px) 0 44px; }
.footer-brand img { width: 58px; height: 58px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 300px; }
.footer-col h5 { font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; font-weight: 800; }
.footer-col a, .footer-col span { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color 0.15s ease, padding-left 0.15s ease; }
.footer-col a:hover { color: var(--orange); padding-left: 4px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted-2); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all 0.2s ease; }
.socials a:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Анимации появления ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Плашка предпросмотра ---------- */
.preview-bar {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 200;
  display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 20px;
  background: rgba(33, 20, 9, 0.95); border: 1px solid rgba(240, 131, 30, 0.5); border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--orange-2); box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.preview-bar button { background: var(--orange); color: #1a0e03; border: 0; border-radius: 999px; padding: 7px 16px; font-weight: 800; font-size: 12.5px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .profile-layout { grid-template-columns: 260px 1fr; gap: 26px; }
  .lb-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: flex; }
  .match-row { grid-template-columns: 1fr auto; row-gap: 10px; padding: 16px 18px; }
  .match-date { grid-column: 1 / -1; display: flex; gap: 8px; align-items: baseline; }
  .match-team.home { justify-content: flex-start; text-align: left; }
  .match-score { justify-self: center; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-photo { max-width: 340px; }
  .history-block { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .news-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions .btn { width: 100%; }
  .standings { min-width: 640px; }
}
