/* OML — cyberpunk × esports */
:root {
  --bg: #050511;
  --bg-elevated: #0a061f;
  --bg-card: #120b32;
  --border: rgba(0, 245, 212, 0.14);
  --text: #f2f6ff;
  --muted: #8ea6e6;

  /* Neon cyber */
  --neon-cyan: #00f5d4;
  --neon-cyan-soft: #62ffe8;
  --neon-magenta: #ff2dce;
  --neon-purple: #a855ff;

  /* Esports punch */
  --energy-gold: #ffe24a;
  --energy-amber: #ff9f1c;

  /* Совместимость с существующими классами */
  --accent: var(--neon-cyan);
  --accent-strong: var(--neon-cyan-soft);
  --accent-dim: rgba(0, 245, 212, 0.14);
  --accent-glow: rgba(0, 245, 212, 0.32);
  --ice: #7af8ff;
  --ice-dim: rgba(122, 248, 255, 0.11);

  --live: #ff2d7a;
  --shadow-soft: 0 22px 56px rgba(0, 0, 0, 0.55);
  --shadow-glow:
    0 0 0 1px rgba(0, 245, 212, 0.2),
    0 10px 36px rgba(255, 45, 206, 0.12),
    0 16px 48px rgba(0, 0, 0, 0.45);

  --radius: 14px;
  --font-display: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --shell: min(1120px, 92vw);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Гейт по ролям: скрыть контент до проверки fetch(data/roles.json) */
html.oml-access-pending body {
  visibility: hidden;
}

html.oml-access-ready body {
  visibility: visible;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 65% at 50% -30%, rgba(0, 245, 212, 0.14), transparent 52%),
    radial-gradient(ellipse 50% 45% at 100% 20%, rgba(255, 45, 206, 0.12), transparent 48%),
    radial-gradient(ellipse 55% 50% at 0% 80%, rgba(168, 85, 255, 0.1), transparent 46%),
    radial-gradient(ellipse 40% 35% at 70% 95%, rgba(255, 226, 74, 0.06), transparent 42%),
    linear-gradient(180deg, rgba(18, 8, 45, 0.55) 0%, transparent 32%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(0, 245, 212, 0.025) 3px,
      rgba(0, 245, 212, 0.025) 4px
    );
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(255, 45, 206, 0.38);
  color: var(--text);
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--neon-magenta);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(0, 245, 212, 0.22);
}

:focus:not(:focus-visible) {
  outline: none;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow: visible;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(
      90deg,
      transparent,
      rgba(0, 245, 212, 0.45),
      rgba(255, 45, 206, 0.35),
      rgba(255, 226, 74, 0.25),
      transparent
    )
    1;
  background: linear-gradient(180deg, rgba(6, 4, 18, 0.97) 0%, rgba(5, 5, 17, 0.9) 100%);
  backdrop-filter: blur(16px);
  box-shadow:
    0 1px 0 rgba(0, 245, 212, 0.08),
    0 12px 40px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem 0.75rem;
  padding: 0.5rem 0;
  flex-wrap: nowrap;
  min-width: 0;
}

.header-inner .btn-primary.btn-sm {
  margin-left: auto;
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

/* Эмблема клана (огонь/лёд, прозрачный фон — assets/oml-crest-header@2x.png) */
.brand-mark {
  display: block;
  height: 56px;
  width: auto;
  max-width: 104px;
  border-radius: 12px;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 18px rgba(0, 245, 212, 0.2),
    0 0 26px rgba(255, 45, 206, 0.1);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.52rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-tag {
  font-size: 0.76rem;
  color: rgba(122, 248, 255, 0.75);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Главное меню: разделы + выпадающие панели (details/summary) */
/* Точка входа «Хаб» — главная операционная страница клана */
.nav-hub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-end: 0.15rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 212, 0.35);
  background: rgba(0, 245, 212, 0.08);
  color: rgba(230, 238, 255, 0.96);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    color 0.18s var(--ease-out),
    background 0.18s var(--ease-out),
    box-shadow 0.18s var(--ease-out),
    border-color 0.18s var(--ease-out);
}

.nav-hub:hover {
  color: var(--text);
  background: rgba(0, 245, 212, 0.18);
  border-color: rgba(0, 245, 212, 0.45);
  box-shadow: 0 0 18px rgba(0, 245, 212, 0.18);
}

.nav-hub[aria-current="page"] {
  color: #050511;
  background: linear-gradient(135deg, var(--neon-cyan-soft) 0%, var(--neon-purple) 75%);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 0 22px rgba(0, 245, 212, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.2rem 0.35rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(18, 10, 48, 0.92) 0%, rgba(8, 6, 28, 0.88) 100%);
  border: 1px solid rgba(0, 245, 212, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(255, 45, 206, 0.06),
    0 4px 24px rgba(0, 0, 0, 0.35);
}

.nav-dropdown {
  position: relative;
  list-style: none;
}

.nav-dropdown > summary {
  list-style: none;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  color: rgba(196, 210, 255, 0.92);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  transition:
    color 0.18s var(--ease-out),
    background 0.18s var(--ease-out),
    box-shadow 0.18s var(--ease-out),
    border-color 0.18s var(--ease-out);
}

.nav-dd-trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(122, 248, 255, 0.75);
  transition: transform 0.2s var(--ease-out);
}

.nav-dropdown[open] > .nav-dd-trigger::after {
  transform: rotate(180deg);
}

.nav-dd-trigger:hover {
  color: var(--text);
  background: rgba(0, 245, 212, 0.12);
  border-color: rgba(0, 245, 212, 0.22);
  box-shadow: 0 0 18px rgba(0, 245, 212, 0.15);
}

.nav-dropdown[open] > .nav-dd-trigger {
  color: var(--text);
  background: rgba(0, 245, 212, 0.16);
  border-color: rgba(0, 245, 212, 0.35);
}

.nav-dropdown:has(a[aria-current="page"]) > .nav-dd-trigger {
  color: #050511;
  background: linear-gradient(135deg, var(--neon-cyan-soft) 0%, var(--neon-purple) 70%);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 0 18px rgba(0, 245, 212, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.nav-dropdown:has(a[aria-current="page"]) > .nav-dd-trigger::after {
  border-top-color: rgba(5, 5, 17, 0.85);
}

.nav-dd-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 11.5rem;
  max-width: min(18rem, calc(100vw - 2rem));
  padding: 0.35rem;
  border-radius: var(--radius);
  z-index: 40;
  background: linear-gradient(175deg, rgba(22, 12, 52, 0.98) 0%, rgba(10, 8, 32, 0.98) 100%);
  border: 1px solid rgba(0, 245, 212, 0.28);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 45, 206, 0.12),
    0 0 32px rgba(0, 245, 212, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

/* Мост над зазором между summary и панелью — курсор не «рвёт» hover */
.nav-dd-panel::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 0.45rem;
}

.nav-dd-panel a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: rgba(210, 220, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.15s var(--ease-out),
    color 0.15s var(--ease-out),
    box-shadow 0.15s var(--ease-out);
}

.nav-dd-panel a:hover {
  color: var(--text);
  background: rgba(0, 245, 212, 0.12);
}

.nav-dd-panel a[aria-current="page"] {
  color: #050511;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon-cyan-soft) 0%, var(--neon-magenta) 100%);
  box-shadow: 0 0 14px rgba(0, 245, 212, 0.35);
}

.nav-dd-panel a:focus-visible {
  outline-offset: 1px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.75rem;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--accent-strong);
}

.page-hero {
  position: relative;
  padding: clamp(2rem, 4vw, 2.75rem) 0 1.25rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 65% 55% at 85% 0%, rgba(255, 45, 206, 0.12), transparent 58%),
    radial-gradient(ellipse 55% 50% at 15% 30%, rgba(0, 245, 212, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--text);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .page-hero h1 {
    background: linear-gradient(
      102deg,
      #ffffff 8%,
      var(--neon-cyan-soft) 38%,
      var(--neon-magenta) 72%,
      var(--energy-gold) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 28px rgba(0, 245, 212, 0.25));
  }
}

.page-hero .section-desc {
  margin: 0;
}

.page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, min(28vw, 260px));
  gap: 1.25rem 2rem;
  align-items: center;
}

.page-hero-copy .section-desc {
  max-width: 65ch;
}

.page-hero-copy .section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}

.page-hero-visual {
  margin: 0;
  justify-self: end;
}

.page-hero-visual img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) + 4px);
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.5));
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, min(42vw, 440px));
  gap: clamp(1.25rem, 4vw, 2.75rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-visual {
  margin: 0;
  justify-self: end;
}

figure.hero-visual,
figure.page-hero-visual {
  margin-block: 0;
  margin-inline: 0;
}

.hero-visual img {
  width: 100%;
  max-width: min(440px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 56px rgba(0, 245, 212, 0.28)) drop-shadow(0 12px 40px rgba(255, 45, 206, 0.18));
}

.section-banner {
  margin: 0;
  width: 100%;
  border-block: 1px solid var(--border);
  overflow: hidden;
  line-height: 0;
  background: linear-gradient(90deg, rgba(10, 6, 30, 0.98), rgba(22, 8, 42, 0.95), rgba(10, 6, 30, 0.98));
  box-shadow: inset 0 1px 0 rgba(0, 245, 212, 0.12);
}

.section-banner img {
  width: 100%;
  height: clamp(76px, 11vw, 128px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.section-link-grid .card:hover {
  border-color: rgba(0, 245, 212, 0.35);
}

.section-link-grid .card-title a {
  color: inherit;
  text-decoration: none;
}

.section-link-grid .card-title a:hover {
  color: var(--accent-strong);
}

.article-body {
  max-width: 65ch;
}

.article-body h2 {
  margin: 1.75rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.article-body p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.article-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.inline-code {
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: rgba(168, 85, 255, 0.09);
  border: 1px solid rgba(0, 245, 212, 0.2);
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.88em;
  color: var(--neon-cyan-soft);
}

.tracker-meta {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.tracker-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-end;
}

.tracker-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 140px;
}

.tracker-field-grow {
  flex: 1 1 220px;
  min-width: 200px;
}

.tracker-field-wide {
  flex: 1 1 200px;
  min-width: 180px;
  max-width: 320px;
}

.tracker-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.tracker-select,
.tracker-input {
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

.tracker-input::placeholder {
  color: rgba(142, 166, 230, 0.55);
}

.tracker-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tracker-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(200px, 1fr);
  gap: 1.25rem;
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(22, 12, 52, 0.96) 0%, rgba(12, 8, 36, 0.94) 100%);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.35);
  align-items: start;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.tracker-row:hover {
  border-color: rgba(0, 245, 212, 0.22);
  box-shadow: 0 6px 28px rgba(255, 45, 206, 0.08);
}

.tracker-main {
  min-width: 0;
}

.tracker-titleline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.35rem;
}

.tracker-titleline a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.tracker-titleline a:hover {
  color: var(--accent-strong);
}

.tracker-sub {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.tracker-sub-dim {
  opacity: 0.92;
  margin-top: 0.25rem;
}

.tracker-tag {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--muted);
}

.tracker-tag-type {
  background: rgba(0, 245, 212, 0.1);
  border-color: rgba(0, 245, 212, 0.35);
  color: var(--neon-cyan-soft);
}

.tracker-tag-clan {
  font-size: 0.62rem;
}

.tracker-tag-clan-none {
  border-color: rgba(142, 166, 230, 0.35);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.tracker-tag-clan-watching {
  border-color: rgba(120, 160, 220, 0.45);
  color: #9eb8e8;
}

.tracker-tag-clan-planned {
  border-color: rgba(255, 226, 74, 0.45);
  color: var(--energy-gold);
}

.tracker-tag-clan-registered {
  border-color: rgba(80, 200, 140, 0.45);
  color: #7dccb0;
}

.tracker-tag-clan-playing {
  border-color: rgba(230, 69, 69, 0.45);
  color: #ff9a9a;
}

.tracker-tag-clan-done {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

.tracker-tag-clan-skip {
  border-color: rgba(100, 100, 110, 0.5);
  color: #888898;
}

.tracker-roster-label {
  font-weight: 600;
  color: var(--text);
}

.announce-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.announce-card {
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(22, 12, 48, 0.96) 0%, rgba(10, 8, 32, 0.94) 100%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.announce-card:hover {
  border-color: rgba(255, 45, 206, 0.28);
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(0, 245, 212, 0.08);
}

.announce-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
}

.announce-card-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  max-width: min(100%, 42rem);
}

.announce-card-head h3 a {
  color: var(--text);
  text-decoration: none;
}

.announce-card-head h3 a:hover {
  color: var(--accent-strong);
}

.announce-time {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}

.announce-meta {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.announce-source {
  font-weight: 500;
  color: var(--text);
}

.announce-channel {
  color: var(--accent-strong);
  text-decoration: none;
}

.announce-channel:hover {
  text-decoration: underline;
}

.announce-excerpt {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.announce-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.announce-tag {
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--muted);
}

.tracker-org,
.tracker-notes {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.tracker-dates {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.tracker-dates div {
  display: grid;
  gap: 0.15rem;
}

.tracker-dates dt {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.tracker-dates dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text);
}

.tracker-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tracker-badge-upcoming {
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.2), rgba(255, 45, 206, 0.14));
  color: var(--neon-cyan-soft);
  border: 1px solid rgba(0, 245, 212, 0.25);
}

.tracker-badge-live {
  background: rgba(230, 69, 69, 0.2);
  color: #ff7a7a;
}

.tracker-badge-finished {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.tracker-badge-cancelled {
  background: rgba(120, 120, 130, 0.25);
  color: #b8b8c8;
}

.tracker-empty {
  margin: 0 0 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  color: var(--muted);
  text-align: center;
}

.tracker-error {
  margin: 0;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(230, 69, 69, 0.35);
  background: rgba(230, 69, 69, 0.08);
  color: #ffb3b3;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

.btn-primary {
  background: linear-gradient(135deg, #00f5d4 0%, #00b4d8 42%, #c300ff 100%);
  color: #f6ffff;
  border-color: rgba(255, 255, 255, 0.35);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
  box-shadow:
    0 4px 20px rgba(0, 245, 212, 0.45),
    0 8px 32px rgba(195, 0, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover {
  filter: brightness(1.08) saturate(1.05);
  box-shadow:
    0 6px 28px rgba(0, 245, 212, 0.55),
    0 12px 40px rgba(255, 45, 206, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 45, 206, 0.35);
  background: rgba(255, 45, 206, 0.08);
  color: var(--neon-cyan-soft);
  text-decoration: none;
}

.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(3rem, 6vw, 4rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -20%, var(--accent-glow), transparent 55%),
    radial-gradient(ellipse 45% 40% at 92% 28%, rgba(255, 45, 206, 0.14), transparent 52%),
    radial-gradient(ellipse 38% 42% at 8% 60%, rgba(168, 85, 255, 0.12), transparent 48%),
    radial-gradient(ellipse 50% 35% at 55% 88%, rgba(255, 226, 74, 0.07), transparent 45%),
    linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 48%);
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 245, 212, 0.05) 1px, transparent 1px);
  background-size: 100% 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(122, 248, 255, 0.88);
  text-shadow: 0 0 24px rgba(0, 245, 212, 0.35);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 18ch;
  color: var(--text);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 {
    background: linear-gradient(
      105deg,
      #ffffff 5%,
      var(--neon-cyan-soft) 32%,
      var(--neon-magenta) 68%,
      var(--energy-gold) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 32px rgba(0, 245, 212, 0.28));
  }
}

.lead {
  margin: 0 0 1.75rem;
  max-width: 52ch;
  color: rgba(196, 210, 255, 0.92);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 560px;
}

.stat {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 245, 212, 0.18);
  background: linear-gradient(165deg, rgba(24, 14, 52, 0.92) 0%, rgba(10, 8, 34, 0.78) 100%);
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(8px);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.stat-value.live {
  color: var(--live);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
}

.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-alt {
  background: linear-gradient(
    180deg,
    rgba(14, 8, 38, 0.94) 0%,
    rgba(6, 4, 22, 0.98) 100%
  );
  border-block: 1px solid rgba(168, 85, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(0, 245, 212, 0.06);
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  flex-direction: column;
  gap: 0.45rem;
}

.section-head h2::after {
  content: "";
  width: 3.25rem;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta), var(--energy-gold));
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.55), 0 0 28px rgba(255, 45, 206, 0.22);
}

.section-desc {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
}

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

@media (min-width: 1000px) {
  .audience-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* YouTube LIVE (js/stream-status.js) */
.nav-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-right: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 45, 80, 0.95), rgba(195, 0, 255, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 16px rgba(255, 45, 80, 0.55),
    0 2px 10px rgba(0, 0, 0, 0.35);
  animation: live-pulse 2s ease-in-out infinite;
}

.nav-live-pill:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

@keyframes live-pulse {
  0%,
  100% {
    box-shadow:
      0 0 14px rgba(255, 45, 80, 0.45),
      0 2px 10px rgba(0, 0, 0, 0.35);
  }
  50% {
    box-shadow:
      0 0 22px rgba(255, 45, 80, 0.75),
      0 2px 12px rgba(0, 0, 0, 0.4);
  }
}

.nav-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff;
}

.live-stream-banner {
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(0, 245, 212, 0.22);
  overflow: hidden;
  background: linear-gradient(165deg, rgba(22, 12, 48, 0.96) 0%, rgba(8, 6, 28, 0.98) 100%);
  box-shadow: var(--shadow-soft), 0 0 40px rgba(255, 45, 80, 0.06);
}

.live-stream-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.live-stream-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(255, 45, 80, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.live-stream-title {
  flex: 1 1 auto;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.live-embed-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}

.live-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.live-stream-offline {
  max-width: 42rem;
}

@media (prefers-reduced-motion: reduce) {
  .nav-live-pill {
    animation: none;
  }
}

.card {
  position: relative;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(24, 14, 54, 0.96) 0%, rgba(12, 8, 36, 0.94) 100%);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.38);
  transition:
    border-color 0.22s var(--ease-out),
    box-shadow 0.22s var(--ease-out),
    transform 0.22s var(--ease-out);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 245, 212, 0.25),
    var(--neon-magenta),
    var(--energy-gold),
    transparent
  );
  opacity: 0.95;
  pointer-events: none;
  box-shadow: 0 0 14px rgba(0, 245, 212, 0.35);
}

.card:hover {
  border-color: rgba(0, 245, 212, 0.28);
  box-shadow:
    var(--shadow-soft),
    0 0 0 1px rgba(255, 45, 206, 0.12),
    0 0 40px rgba(0, 245, 212, 0.06);
  transform: translateY(-2px);
}

.card-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--energy-gold);
  text-shadow: 0 0 18px rgba(255, 226, 74, 0.35);
}

.card-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.card-meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.18), rgba(255, 45, 206, 0.12));
  color: var(--neon-cyan-soft);
  border: 1px solid rgba(0, 245, 212, 0.22);
}

.badge-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}

.badge-soon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  margin-top: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.team-card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(22, 12, 50, 0.96) 0%, rgba(10, 8, 34, 0.94) 100%);
  box-shadow: 0 4px 26px rgba(0, 0, 0, 0.38);
}

.team-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.team-card-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.roster {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.roster li {
  margin-bottom: 0.35rem;
}

.role {
  color: var(--text);
  font-weight: 500;
}

.muted {
  color: var(--muted);
}

.match-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.match-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  padding-right: 4.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(22, 12, 48, 0.96) 0%, rgba(10, 8, 32, 0.94) 100%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.match-row-dim {
  opacity: 0.85;
}

.match-side-right {
  text-align: right;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.match-center {
  text-align: center;
}

.match-score {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--neon-cyan-soft);
  text-shadow: 0 0 20px rgba(0, 245, 212, 0.35);
}

.match-meta {
  font-size: 0.78rem;
  color: var(--muted);
}

.match-status {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}

.badge-live {
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(230, 69, 69, 0.2);
  color: #ff7a7a;
}

.badge-done {
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list li {
  border-bottom: 1px solid var(--border);
}

.news-link {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 1rem 0;
  color: inherit;
  text-decoration: none;
}

.news-link:hover .news-title {
  color: var(--accent-strong);
}

.news-date {
  font-size: 0.85rem;
  color: var(--muted);
  min-width: 6rem;
}

.news-title {
  font-weight: 600;
}

.cta-section {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(0, 245, 212, 0.28);
  background:
    radial-gradient(ellipse 85% 75% at 100% 0%, rgba(255, 45, 206, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 60% at 0% 100%, rgba(0, 245, 212, 0.1), transparent 50%),
    linear-gradient(135deg, rgba(255, 226, 74, 0.08) 0%, rgba(18, 10, 48, 0.96) 42%, rgba(8, 6, 28, 0.98) 100%);
  box-shadow:
    var(--shadow-soft),
    0 0 0 1px rgba(255, 45, 206, 0.1),
    0 0 48px rgba(0, 245, 212, 0.08);
}

.cta-inner h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer {
  border-top: 1px solid transparent;
  border-image: linear-gradient(
      90deg,
      transparent,
      rgba(0, 245, 212, 0.25),
      rgba(255, 45, 206, 0.2),
      transparent
    )
    1;
  padding: 1.75rem 0 2.25rem;
  background: linear-gradient(180deg, rgba(4, 3, 14, 0.98) 0%, var(--bg) 100%);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    justify-self: center;
    max-width: min(320px, 90vw);
  }
}

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

  .page-hero-visual {
    order: -1;
    justify-self: center;
    max-width: 200px;
  }

  .header-inner {
    flex-wrap: wrap;
    row-gap: 0.45rem;
    align-items: center;
  }

  /* Строка 1: лого · LIVE · … · «В клуб»; строка 2: полная ширина меню-рейки */
  .header-inner .btn-primary.btn-sm {
    order: 3;
    margin-left: auto;
  }

  .nav {
    order: 4;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
  }

  .match-row {
    grid-template-columns: 1fr;
    padding-right: 1.25rem;
    padding-bottom: 2.75rem;
  }

  .match-side-right {
    text-align: left;
  }

  .match-center {
    text-align: left;
  }

  .match-status {
    top: auto;
    bottom: 1rem;
    right: 1rem;
    transform: none;
  }

  .tracker-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Приветственный лендинг (первая точка входа) ---------- */
body.page-welcome {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(120, 60, 180, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 50%, rgba(0, 180, 200, 0.12) 0%, transparent 45%),
    var(--bg-deep, #050511);
}

.welcome-header {
  border-bottom: 1px solid rgba(0, 245, 212, 0.15);
  background: rgba(6, 4, 22, 0.65);
  backdrop-filter: blur(12px);
}

.welcome-header .nav--welcome-actions {
  margin-left: auto;
  flex-shrink: 0;
}

.welcome-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4rem) 0;
}

.welcome-hero {
  max-width: min(52rem, 100%);
}

.welcome-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #fff 0%, rgba(180, 220, 255, 0.92) 45%, var(--neon-magenta, #ff6ee8) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.welcome-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(210, 218, 245, 0.88);
  margin: 0 0 1.75rem;
}

.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.welcome-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.welcome-cta-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 0.85rem;
  margin: 0 0 2.25rem;
}

.welcome-cta-tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 245, 212, 0.28);
  background: linear-gradient(165deg, rgba(26, 16, 56, 0.92) 0%, rgba(10, 10, 34, 0.82) 100%);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    transform 0.18s var(--ease-out);
}

.welcome-cta-tile:hover {
  border-color: rgba(0, 245, 212, 0.55);
  box-shadow: 0 0 28px rgba(0, 245, 212, 0.15);
  transform: translateY(-2px);
}

.welcome-cta-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(140, 220, 255, 0.85);
}

.welcome-cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: rgba(245, 248, 255, 0.96);
}

.welcome-cta-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(190, 198, 228, 0.78);
}

.welcome-gate {
  margin: 2rem 0 2.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(255, 45, 206, 0.22);
  background: linear-gradient(165deg, rgba(32, 14, 42, 0.88) 0%, rgba(12, 8, 30, 0.92) 100%);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.welcome-gate h2 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: rgba(240, 245, 255, 0.96);
}

.welcome-gate-lead {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(200, 208, 235, 0.82);
}

.welcome-gate-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.welcome-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.welcome-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(210, 218, 245, 0.88);
}

.welcome-optional {
  font-weight: 500;
  color: var(--muted);
}

.welcome-input {
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 245, 212, 0.22);
  background: rgba(5, 5, 20, 0.65);
  color: var(--text);
  font-size: 0.95rem;
  max-width: 22rem;
}

.welcome-input:focus {
  outline: 2px solid rgba(0, 245, 212, 0.45);
  outline-offset: 1px;
}

.welcome-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(200, 208, 230, 0.85);
  cursor: pointer;
}

.welcome-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--neon-cyan, #00f5d4);
}

.welcome-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  margin-top: 0.25rem;
}

.welcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.welcome-grid--compact {
  margin-top: 0.25rem;
}

.welcome-card {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 245, 212, 0.2);
  background: linear-gradient(165deg, rgba(22, 14, 48, 0.85) 0%, rgba(8, 8, 28, 0.75) 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.welcome-card h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  color: rgba(160, 240, 255, 0.95);
}

.welcome-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(200, 208, 235, 0.82);
}

.welcome-footer {
  margin-top: auto;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.welcome-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.welcome-footer-inner a {
  color: rgba(160, 220, 255, 0.85);
  text-decoration: none;
}

.welcome-footer-inner a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* Хаб: полоса сезона (tournaments + announcements) */
.hub-season-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.25rem 2rem;
}

.hub-season-subtitle {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  color: rgba(160, 240, 255, 0.92);
}

.hub-season-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(210, 218, 245, 0.88);
}

.hub-season-list li {
  margin-bottom: 0.45rem;
}

/* Путь игрока */
.player-path-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: min(42rem, 100%);
}

.player-path-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.player-path-num {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  background: rgba(0, 245, 212, 0.12);
  border: 1px solid rgba(0, 245, 212, 0.35);
  color: rgba(230, 248, 255, 0.96);
}

.player-path-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

@media (max-width: 520px) {
  .welcome-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
