
/* ============================================================
   ГЛОБАЛЬНЫЕ СТИЛИ — ТЁМНО-СЕРЫЙ ПРЕМИУМ (ФИОЛЕТОВЫЕ АКЦЕНТЫ)
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #1a1d24;
  color: #cbd5e1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(109, 40, 217, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(91, 33, 182, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(76, 29, 149, 0.03) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #1a1d24; border-radius: 8px; }
::-webkit-scrollbar-thumb { background: #374151; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #4b5563; }
* { scrollbar-width: thin; scrollbar-color: #374151 #1a1d24; }

/* ============================================================
   ШАПКА
   ============================================================ */
.header {
  background: rgba(26, 29, 36, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.06);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.logo:hover { opacity: 0.8; }
.logo-icon { font-size: 26px; }
.logo-text {
  color: #f1f5f9;
}
.logo-highlight {
  color: #a78bfa;
}

.nav { flex: 1; margin: 0 18px; }
.nav-list {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 6px 20px;
  flex-wrap: wrap;
}
.nav-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #a78bfa;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-link:hover::after,
.nav-link.active::after { width: 70%; }
.nav-link:hover { color: #e2e8f0; }
.nav-link.active { color: #e2e8f0; }

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #9ca3af;
  border-radius: 2px;
  transition: 0.3s;
}

/* ============================================================
   ЗАГОЛОВКИ
   ============================================================ */
.section-title {
  font-size: 26px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.08);
  letter-spacing: -0.3px;
}

/* ============================================================
   ФИЛЬТРЫ
   ============================================================ */
.filters-section { margin: 28px 0 20px; }
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  justify-content: center;
  background: rgba(55, 65, 81, 0.15);
  backdrop-filter: blur(6px);
  padding: 10px 14px;
  border-radius: 40px;
  border: 1px solid rgba(139, 92, 246, 0.06);
}
.filter-btn {
  background: transparent;
  border: none;
  color: #9ca3af;
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-btn:hover {
  color: #e2e8f0;
  background: rgba(139, 92, 246, 0.08);
}
.filter-btn.active {
  background: rgba(139, 92, 246, 0.15);
  color: #f1f5f9;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.1);
}

.forecast-filters { margin-bottom: 22px; }
.forecast-filters .filter-btn { font-size: 12px; padding: 4px 14px; }

/* ============================================================
   КАРТОЧКИ — ЕДИНЫЙ СТИЛЬ
   ============================================================ */
.card,
.bookmaker-card,
.capper-card,
.article-card,
.share-card,
.review-card,
.forecast-card {
  background: rgba(31, 35, 44, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, 0.06);
  padding: 20px 22px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 0.4s ease forwards;
}

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

.card:hover,
.bookmaker-card:hover,
.capper-card:hover,
.article-card:hover,
.share-card:hover,
.review-card:hover,
.forecast-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.2);
  box-shadow: 0 8px 30px rgba(91, 33, 182, 0.15);
  background: rgba(55, 65, 81, 0.3);
}

.card:nth-child(1) { animation-delay: 0.04s; }
.card:nth-child(2) { animation-delay: 0.08s; }
.card:nth-child(3) { animation-delay: 0.12s; }
.card:nth-child(4) { animation-delay: 0.16s; }
.card:nth-child(5) { animation-delay: 0.20s; }
.card:nth-child(6) { animation-delay: 0.24s; }
.card:nth-child(7) { animation-delay: 0.28s; }
.card:nth-child(8) { animation-delay: 0.32s; }
.card:nth-child(9) { animation-delay: 0.36s; }
.card:nth-child(10) { animation-delay: 0.40s; }

.bookmaker-card:nth-child(1) { animation-delay: 0.04s; }
.bookmaker-card:nth-child(2) { animation-delay: 0.08s; }
.bookmaker-card:nth-child(3) { animation-delay: 0.12s; }

/* ============================================================
   СЕТКИ
   ============================================================ */
.cards-grid,
.bookmakers-grid,
.cappers-grid,
.articles-grid,
.shares-grid,
.reviews-grid,
.forecasts-grid {
  display: grid;
  gap: 20px;
}
.cards-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.bookmakers-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cappers-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.articles-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.shares-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.reviews-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.forecasts-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ============================================================
   КАРТОЧКА КАНАЛА
   ============================================================ */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.card-title {
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
}
.card-title a { color: #f1f5f9; text-decoration: none; transition: color 0.2s; }
.card-title a:hover { color: #a78bfa; }
.card-description {
  font-size: 14px;
  color: #a0afbe;
  line-height: 1.5;
  margin: 6px 0 12px;
}
.card-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #6b7280;
}
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  border-top: 1px solid rgba(139, 92, 246, 0.06);
  padding-top: 12px;
}
.card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.card-rating .stars {
  color: #a78bfa;
  letter-spacing: 1px;
  font-size: 14px;
}
.card-rating .value {
  background: rgba(139, 92, 246, 0.1);
  padding: 1px 8px;
  border-radius: 30px;
  font-size: 13px;
  color: #a78bfa;
}
.card-link {
  background: rgba(139, 92, 246, 0.08);
  color: #a0afbe;
  padding: 5px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  transition: all 0.2s ease;
}
.card-link:hover {
  background: rgba(139, 92, 246, 0.15);
  color: #e2e8f0;
}

/* ============================================================
   БУКМЕКЕРЫ
   ============================================================ */
.bookmaker-logo {
  width: 100%;
  height: 80px;
  border-radius: 12px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(139, 92, 246, 0.06);
  transition: all 0.3s ease;
  overflow: hidden;
  background: rgba(55, 65, 81, 0.2);
}
.bookmaker-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.bookmaker-card:hover .bookmaker-logo {
  border-color: rgba(139, 92, 246, 0.2);
}
.bookmaker-logo.pari-bg {
    background: linear-gradient(135deg, #2d2f38, #353841);
    border-color: #4a4e58;
}
.bookmaker-logo.winline-bg {
    background: linear-gradient(135deg, #1f2228, #25282f);
    border-color: #3a3d45;
}
.bookmaker-logo.betboom-bg {
    background: linear-gradient(135deg, #1b1f28, #212530);
    border-color: #333845;
}

.bookmaker-card .card-title { font-size: 19px; font-weight: 700; color: #f1f5f9; }
.bookmaker-card .card-title .highlight { color: #a78bfa; }
.bookmaker-rating-badge {
  background: rgba(139, 92, 246, 0.1);
  padding: 2px 12px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.08);
}
.bookmaker-features {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 8px 0 10px;
}
.bookmaker-feature {
  background: rgba(139, 92, 246, 0.06);
  padding: 2px 10px;
  border-radius: 30px;
  font-size: 11px;
  color: #9ca3af;
  border: 1px solid rgba(139, 92, 246, 0.04);
}
.bookmaker-link {
  background: #a78bfa;
  color: #1a1d24;
  padding: 6px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.25s ease;
}
.bookmaker-link:hover {
  background: #c4b5fd;
  transform: scale(1.02);
}
.bookmaker-bonus {
  color: #a78bfa;
  font-weight: 600;
  font-size: 12px;
}

/* ============================================================
   КАППЕРЫ
   ============================================================ */
.capper-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f232b, #282c35);
  border: 2px solid rgba(139, 92, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 10px;
  transition: all 0.3s ease;
}
.capper-card:hover .capper-avatar {
  border-color: rgba(167, 139, 250, 0.4);
}
.capper-name { font-size: 19px; font-weight: 700; text-align: center; color: #f1f5f9; }
.capper-sport { text-align: center; color: #9ca3af; font-size: 13px; }
.capper-stats {
  display: flex;
  justify-content: space-around;
  background: rgba(139, 92, 246, 0.05);
  border-radius: 10px;
  padding: 8px;
  margin: 8px 0;
  border: 1px solid rgba(139, 92, 246, 0.06);
}
.capper-stat { text-align: center; }
.capper-stat .number {
  font-size: 20px;
  font-weight: 700;
  color: #a78bfa;
}
.capper-stat .label { font-size: 11px; color: #6b7280; }
.capper-link {
  background: rgba(139, 92, 246, 0.08);
  color: #a0afbe;
  padding: 6px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  transition: all 0.2s ease;
  display: inline-block;
  margin-top: 8px;
}
.capper-link:hover { background: rgba(139, 92, 246, 0.15); color: #e2e8f0; }

/* ============================================================
   СТАТЬИ
   ============================================================ */
.article-card {
  background: rgba(31, 35, 44, 0.6);
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.2);
  box-shadow: 0 8px 30px rgba(91, 33, 182, 0.15);
}
.article-image-wrapper {
  width: 100%;
  height: 170px;
  overflow: hidden;
  background: #1f232b;
}
.article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card:hover .article-img { transform: scale(1.02); }
.article-content { padding: 16px 18px; }
.article-title {
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
  line-height: 1.3;
}
.article-excerpt {
  font-size: 13px;
  color: #a0afbe;
  line-height: 1.6;
  margin-bottom: 10px;
}
.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #6b7280;
  border-top: 1px solid rgba(139, 92, 246, 0.06);
  padding-top: 10px;
  flex-wrap: wrap;
  gap: 4px;
}
.article-read-link {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.article-read-link:hover { color: #c4b5fd; }

/* ============================================================
   СТАТУСЫ
   ============================================================ */
.match-status {
  padding: 2px 12px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 11px;
  display: inline-block;
}
.match-status.Завершен {
  background: rgba(107, 114, 128, 0.15);
  color: #9ca3af;
}
.match-status.Идет {
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7;
  animation: pulse-status 2s ease-in-out infinite;
}
@keyframes pulse-status {
  0%, 100% { box-shadow: 0 0 8px rgba(52, 211, 153, 0.1); }
  50% { box-shadow: 0 0 20px rgba(52, 211, 153, 0.2); }
}
.match-status.Скоро {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

/* ============================================================
   ПРОГНОЗЫ (МАТЧИ) — ИСПРАВЛЕННЫЙ СТИЛЬ
   ============================================================ */
.forecast-card.match-card {
  background: rgba(31, 35, 44, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, 0.06);
  padding: 18px 22px 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.forecast-card.match-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #374151, #a78bfa, #374151);
  opacity: 0.3;
}

.forecast-card.match-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.2);
  box-shadow: 0 8px 30px rgba(91, 33, 182, 0.15);
  background: rgba(55, 65, 81, 0.3);
}

.match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  flex-wrap: wrap;
  gap: 4px;
}

.match-tournament {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

.match-time {
  font-size: 13px;
  color: #4b5563;
}

.match-source {
  font-size: 12px;
  color: #4b5563;
  margin-bottom: 10px;
}

.match-main {
  padding: 10px 0;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.team {
  flex: 1;
  min-width: 0;
}

.team.home {
  text-align: right;
}

.team.away {
  text-align: left;
}

.team-name {
  font-size: 18px;
  font-weight: 700;
  color: #e2e8f0;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-score-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  min-width: 70px;
}

.match-score {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  color: #a78bfa;
}

.match-status {
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}

.match-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(139, 92, 246, 0.06);
  padding: 6px 14px;
  border-radius: 8px;
  margin-top: 10px;
  border: 1px solid rgba(139, 92, 246, 0.06);
}

.match-stats span {
  font-size: 13px;
  color: #6b7280;
}

.match-stats .stats-numbers {
  color: #a78bfa;
  font-weight: 600;
}

.match-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(139, 92, 246, 0.06);
  text-align: center;
}

.match-link {
  display: inline-block;
  color: #a78bfa;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  padding: 6px 20px;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.08);
}

.match-link:hover {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.15);
  transform: translateY(-2px);
}

/* ============================================================
   СКЛАДЧИНЫ
   ============================================================ */
.share-title { font-size: 18px; font-weight: 700; color: #f1f5f9; margin-bottom: 6px; }
.share-description { font-size: 13px; color: #a0afbe; line-height: 1.5; flex: 1; margin-bottom: 10px; }
.share-details {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  background: rgba(139, 92, 246, 0.05);
  border-radius: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(139, 92, 246, 0.06);
  margin-bottom: 10px;
}
.share-detail { font-size: 12px; color: #6b7280; }
.share-detail strong { color: #e2e8f0; }
.share-progress {
  width: 100%;
  height: 4px;
  background: rgba(139, 92, 246, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}
.share-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #6d28d9, #a78bfa);
  border-radius: 10px;
  transition: width 0.5s ease;
}
.share-join-btn {
  background: #a78bfa;
  color: #1a1d24;
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.share-join-btn:hover {
  background: #c4b5fd;
  transform: scale(1.02);
}
.share-join-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.share-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 600;
}
.share-status.active {
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7;
}
.share-status.filled {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}
.share-status.closed {
  background: rgba(107, 114, 128, 0.15);
  color: #9ca3af;
}

/* ============================================================
   ОТЗЫВЫ
   ============================================================ */
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f232b, #282c35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.1);
  flex-shrink: 0;
}
.review-user { flex: 1; }
.review-name { font-size: 15px; font-weight: 600; color: #f1f5f9; }
.review-date { font-size: 11px; color: #4b5563; }
.review-rating { color: #a78bfa; font-size: 14px; letter-spacing: 1px; }
.review-text { font-size: 13px; color: #a0afbe; line-height: 1.6; }
.review-source {
  margin-top: 8px;
  font-size: 12px;
  color: #4b5563;
  border-top: 1px solid rgba(139, 92, 246, 0.06);
  padding-top: 8px;
}
.review-source a { color: #a78bfa; text-decoration: none; }
.review-source a:hover { color: #c4b5fd; }

/* ============================================================
   ПОДВАЛ
   ============================================================ */
.footer {
  background: rgba(26, 29, 36, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(139, 92, 246, 0.05);
  padding: 24px 0;
  margin-top: auto;
}
.footer-content { text-align: center; }
.footer p { color: #4b5563; font-size: 13px; margin: 2px 0; }
.footer-disclaimer { font-size: 11px; color: #374151; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.footer-links a { color: #4b5563; text-decoration: none; font-size: 12px; transition: color 0.2s; }
.footer-links a:hover { color: #a78bfa; }

/* ============================================================
   СТРАНИЦЫ (СОГЛАШЕНИЕ, ПОЛИТИКА)
   ============================================================ */
.page-content {
  display: none;
  padding: 30px 24px;
  max-width: 900px;
  margin: 20px auto 35px;
  background: rgba(55, 65, 81, 0.15);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, 0.06);
}
.page-content.active { display: block; }
.page-content h1 {
  font-size: 26px;
  color: #f1f5f9;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.08);
  padding-bottom: 8px;
}
.page-content h2 { font-size: 18px; color: #a0afbe; margin-top: 20px; margin-bottom: 8px; }
.page-content p { font-size: 14px; color: #a0afbe; line-height: 1.8; margin-bottom: 10px; }
.page-content ul { list-style: none; padding: 0; }
.page-content ul li {
  font-size: 14px;
  color: #a0afbe;
  line-height: 1.8;
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}
.page-content ul li::before {
  content: '•';
  color: #a78bfa;
  position: absolute;
  left: 0;
  font-weight: 700;
}
.back-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 20px;
  background: rgba(139, 92, 246, 0.08);
  color: #a0afbe;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.back-btn:hover { background: rgba(139, 92, 246, 0.15); color: #e2e8f0; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1024px) {
  .nav-list { gap: 6px 10px; }
  .nav-link { font-size: 13px; }
}
@media (max-width: 820px) {
  .nav { order: 3; flex: 0 0 100%; margin: 10px 0 0; }
  .nav-list { justify-content: flex-start; gap: 4px 8px; }
}
@media (max-width: 600px) {
  .burger { display: flex; }
  .nav { display: none; width: 100%; }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; }
  .logo-text { font-size: 20px; }
  .filter-tabs { gap: 4px 6px; padding: 8px 10px; border-radius: 30px; }
  .filter-btn { font-size: 11px; padding: 4px 10px; }
  .cards-grid,
  .bookmakers-grid,
  .cappers-grid,
  .articles-grid,
  .shares-grid,
  .reviews-grid,
  .forecasts-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 20px; }
  .bookmaker-logo { height: 70px; }
  .footer-links { flex-direction: column; gap: 4px; }
  .capper-avatar { width: 56px; height: 56px; font-size: 24px; }
  .share-details { flex-direction: column; gap: 4px; }
  .review-header { flex-wrap: wrap; }
  .match-teams { flex-direction: column; gap: 4px; }
  .team.home { text-align: center; }
  .team.away { text-align: center; }
  .match-score { font-size: 28px; }
  .team-name { font-size: 15px; }
}
/* ============================================================
   СТРАНИЦА СТАТЬИ — ПРАВИЛЬНАЯ ВЁРСТКА
   ============================================================ */
.article-detail-page {
  display: none;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 0 50px;
}

.article-detail-page.active {
  display: block;
}

.article-detail {
  background: rgba(31, 35, 44, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, 0.08);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.article-detail-back {
  padding: 16px 24px 0;
}

.article-back-link {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-back-link:hover {
  color: #c4b5fd;
}

.article-detail-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #1f232b;
}

.article-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-detail-icon-wrapper {
  padding: 30px 0;
  text-align: center;
  background: rgba(139, 92, 246, 0.03);
}

.article-detail-icon {
  font-size: 64px;
}

.article-detail-header {
  padding: 24px 28px 16px;
}

.article-detail-title {
  font-size: 28px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.3;
  margin-bottom: 10px;
}

.article-detail-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #6b7280;
}

.article-detail-body {
  padding: 0 28px 32px;
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.8;
}

.article-detail-body p {
  margin-bottom: 16px;
}

.article-detail-body strong {
  color: #f1f5f9;
}

.article-detail-body ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 20px;
}

.article-detail-body ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: #cbd5e1;
  line-height: 1.6;
}

.article-detail-body ul li::before {
  content: '▸';
  color: #a78bfa;
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
  .article-detail-title {
    font-size: 22px;
  }
  .article-detail-image {
    height: 160px;
  }
  .article-detail-header {
    padding: 18px 18px 12px;
  }
  .article-detail-body {
    padding: 0 18px 22px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .article-detail-title {
    font-size: 18px;
  }
  .article-detail-image {
    height: 140px;
  }
  .article-detail-body {
    font-size: 14px;
  }
}
/* ============================================================
   СТРАНИЦА СТАТЬИ — ДОПОЛНЕНИЕ
   ============================================================ */
.article-detail-page {
  display: none;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 0 50px;
}

.article-detail-page.active {
  display: block;
}

.article-detail {
  background: rgba(31, 35, 44, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, 0.08);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.article-detail-back {
  padding: 16px 24px 0;
}

.article-back-link {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-back-link:hover {
  color: #c4b5fd;
}

.article-detail-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #1f232b;
}

.article-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-detail-icon-wrapper {
  padding: 30px 0;
  text-align: center;
  background: rgba(139, 92, 246, 0.03);
}

.article-detail-icon {
  font-size: 64px;
}

.article-detail-header {
  padding: 24px 28px 16px;
}

.article-detail-title {
  font-size: 26px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.3;
  margin-bottom: 10px;
}

.article-detail-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #6b7280;
}

.article-detail-body {
  padding: 0 28px 32px;
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.8;
}

.article-detail-body p {
  margin-bottom: 16px;
}

.article-detail-body strong {
  color: #f1f5f9;
}

.article-detail-body ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 20px;
}

.article-detail-body ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: #cbd5e1;
  line-height: 1.6;
}

.article-detail-body ul li::before {
  content: '▸';
  color: #a78bfa;
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
  .article-detail-title {
    font-size: 22px;
  }
  .article-detail-image {
    height: 160px;
  }
  .article-detail-header {
    padding: 18px 18px 12px;
  }
  .article-detail-body {
    padding: 0 18px 22px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .article-detail-title {
    font-size: 18px;
  }
  .article-detail-image {
    height: 140px;
  }
  .article-detail-body {
    font-size: 14px;
  }
}
/* ============================================================
   АДАПТАЦИЯ ПОД ТЕЛЕФОНЫ
   ============================================================ */

/* ===== ОБЩИЕ ПРАВКИ ДЛЯ МОБИЛОК ===== */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .container {
    padding: 0 12px;
  }

  /* Шапка */
  .header {
    padding: 10px 0;
  }

  .logo {
    font-size: 20px;
  }
  .logo-icon {
    font-size: 22px;
  }

  .nav-list {
    gap: 4px 10px;
  }
  .nav-link {
    font-size: 12px;
  }

  /* Заголовки */
  .section-title {
    font-size: 20px;
    margin-bottom: 16px;
    padding-bottom: 6px;
  }

  /* Фильтры */
  .filter-tabs {
    padding: 8px 10px;
    gap: 4px 6px;
    border-radius: 30px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  .filter-tabs::-webkit-scrollbar {
    height: 2px;
  }
  .filter-tabs::-webkit-scrollbar-thumb {
    background: #a78bfa;
    border-radius: 4px;
  }

  .filter-btn {
    font-size: 11px;
    padding: 4px 12px;
    white-space: nowrap;
  }

  /* Карточки */
  .card,
  .bookmaker-card,
  .capper-card,
  .article-card,
  .share-card,
  .review-card,
  .forecast-card {
    padding: 14px 16px;
    border-radius: 12px;
  }

  .card-title {
    font-size: 16px;
  }
  .card-description {
    font-size: 13px;
  }
  .card-stats {
    font-size: 11px;
    gap: 8px;
  }
  .card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .card-link {
    text-align: center;
    justify-content: center;
  }

  /* Сетки — одна колонка */
  .cards-grid,
  .bookmakers-grid,
  .cappers-grid,
  .articles-grid,
  .shares-grid,
  .reviews-grid,
  .forecasts-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  /* Букмекеры */
  .bookmaker-logo {
    height: 60px;
  }
  .bookmaker-card .card-title {
    font-size: 17px;
  }
  .bookmaker-rating-badge {
    font-size: 12px;
    padding: 2px 10px;
  }
  .bookmaker-features {
    gap: 4px;
  }
  .bookmaker-feature {
    font-size: 10px;
    padding: 2px 8px;
  }
  .bookmaker-link {
    font-size: 12px;
    padding: 6px 16px;
    justify-content: center;
  }

  /* Капперы */
  .capper-avatar {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
  .capper-name {
    font-size: 17px;
  }
  .capper-stats {
    flex-wrap: wrap;
    gap: 4px;
  }
  .capper-stat .number {
    font-size: 17px;
  }

  /* Статьи */
  .article-image-wrapper {
    height: 140px;
  }
  .article-title {
    font-size: 16px;
  }
  .article-excerpt {
    font-size: 12px;
  }
  .article-meta {
    font-size: 11px;
    flex-wrap: wrap;
  }

  /* Прогнозы (матчи) */
  .forecast-card.match-card {
    padding: 12px 14px;
  }

  .match-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .match-tournament {
    font-size: 12px;
  }
  .match-time {
    font-size: 12px;
  }

  .match-teams {
    flex-direction: column;
    gap: 6px;
  }
  .team.home {
    text-align: center;
  }
  .team.away {
    text-align: center;
  }
  .team-name {
    font-size: 16px;
  }

  .match-score-wrapper {
    min-width: 60px;
    padding: 4px 12px;
  }
  .match-score {
    font-size: 26px;
  }
  .match-status {
    font-size: 11px;
  }

  .match-stats {
    flex-direction: column;
    gap: 4px;
    align-items: center;
    padding: 6px 10px;
  }
  .match-stats span {
    font-size: 12px;
  }

  .match-footer {
    padding-top: 8px;
    margin-top: 8px;
  }
  .match-link {
    font-size: 13px;
    padding: 6px 16px;
    width: 100%;
    text-align: center;
  }

  /* Складчины */
  .share-title {
    font-size: 16px;
  }
  .share-details {
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }
  .share-detail {
    font-size: 12px;
  }
  .share-join-btn {
    width: 100%;
    justify-content: center;
    font-size: 12px;
    padding: 8px 14px;
  }
  .share-status {
    font-size: 10px;
  }

  /* Отзывы */
  .review-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .review-avatar {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .review-name {
    font-size: 14px;
  }
  .review-text {
    font-size: 13px;
  }
  .review-rating {
    font-size: 13px;
  }

  /* Подвал */
  .footer {
    padding: 16px 0;
  }
  .footer p {
    font-size: 12px;
  }
  .footer-links {
    gap: 10px;
  }
  .footer-links a {
    font-size: 11px;
  }
}

/* ===== ОЧЕНЬ МАЛЕНЬКИЕ ТЕЛЕФОНЫ ===== */
@media (max-width: 480px) {
  .logo {
    font-size: 17px;
    gap: 6px;
  }
  .logo-icon {
    font-size: 18px;
  }

  .nav-link {
    font-size: 11px;
    padding: 4px 0;
  }

  .section-title {
    font-size: 17px;
  }

  .card,
  .bookmaker-card,
  .capper-card,
  .article-card,
  .share-card,
  .review-card,
  .forecast-card {
    padding: 10px 12px;
  }

  .card-title {
    font-size: 14px;
  }
  .card-description {
    font-size: 12px;
  }
  .card-stats {
    font-size: 10px;
  }
  .card-rating .stars {
    font-size: 12px;
  }
  .card-rating .value {
    font-size: 11px;
  }

  .team-name {
    font-size: 14px;
  }
  .match-score {
    font-size: 22px;
  }

  .bookmaker-logo {
    height: 50px;
  }
  .bookmaker-card .card-title {
    font-size: 15px;
  }
  .bookmaker-rating-badge {
    font-size: 11px;
  }
  .bookmaker-feature {
    font-size: 9px;
    padding: 1px 6px;
  }
  .bookmaker-link {
    font-size: 11px;
    padding: 4px 12px;
  }

  .capper-avatar {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
  .capper-name {
    font-size: 15px;
  }
  .capper-stat .number {
    font-size: 15px;
  }
  .capper-stat .label {
    font-size: 9px;
  }

  .article-image-wrapper {
    height: 110px;
  }
  .article-title {
    font-size: 14px;
  }
  .article-excerpt {
    font-size: 11px;
  }

  .match-tournament {
    font-size: 10px;
  }
  .match-time {
    font-size: 10px;
  }
  .match-source {
    font-size: 10px;
  }
  .team-name {
    font-size: 13px;
  }
  .match-score {
    font-size: 20px;
  }
  .match-status {
    font-size: 10px;
  }
  .match-stats span {
    font-size: 10px;
  }
  .match-link {
    font-size: 12px;
  }

  .share-title {
    font-size: 14px;
  }
  .share-description {
    font-size: 12px;
  }
  .share-detail {
    font-size: 11px;
  }
  .share-join-btn {
    font-size: 11px;
  }
  .share-status {
    font-size: 9px;
  }

  .review-text {
    font-size: 12px;
  }
  .review-source {
    font-size: 10px;
  }

  .detail-form-line {
    font-size: 12px;
    gap: 6px;
  }
  .detail-form-emoji {
    font-size: 14px;
    min-width: 50px;
  }
  .detail-form-stats {
    font-size: 10px;
    padding: 1px 8px;
  }

  .stats-team-name {
    font-size: 14px;
  }
  .stats-param-label {
    font-size: 9px;
  }
  .stats-param-value {
    font-size: 12px;
  }
  .stats-goals-label {
    font-size: 10px;
  }
  .stats-goals-value {
    font-size: 12px;
  }
  .stat-bar-number {
    font-size: 10px;
  }
  .stat-bar {
    height: 4px;
  }
  .stats-league-label {
    font-size: 10px;
  }
  .stats-league-value {
    font-size: 14px;
  }
}

/* ===== БУРГЕР-МЕНЮ (МОБИЛЬНОЕ) ===== */
@media (max-width: 600px) {
  .burger {
    display: flex !important;
  }

  .nav {
    display: none;
    width: 100%;
    margin: 10px 0 0;
  }
  .nav.open {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
  }

  .nav-link {
    font-size: 15px;
    padding: 8px 0;
    width: 100%;
    text-align: center;
  }
  .nav-link::after {
    bottom: 4px;
  }
}

/* ============================================================
   СТИЛИ ДЛЯ СТРАНИЦЫ ПРОГНОЗА (forecast.html)
   ============================================================ */

.forecast-detail-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    padding: 12px 0 20px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.06);
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.breadcrumb a {
    color: #a78bfa;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: #c4b5fd;
}

.breadcrumb span {
    color: #4b5563;
}

.breadcrumb #breadcrumbMatch {
    color: #9ca3af;
    font-weight: 600;
}

/* ===== КАРТОЧКА ПРОГНОЗА ===== */
.forecast-detail-card {
    background: rgba(31, 35, 44, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.08);
    padding: 30px 35px 35px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.06);
    flex-wrap: wrap;
    gap: 8px;
}

.detail-tournament {
    font-size: 15px;
    font-weight: 600;
    color: #8a7a7a;
}

.detail-tournament::before {
    content: '🏆 ';
    font-size: 16px;
}

.detail-time {
    font-size: 15px;
    color: #6b7280;
    background: rgba(26, 17, 17, 0.2);
    padding: 4px 16px;
    border-radius: 30px;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.06);
}

.detail-time::before {
    content: '⏰ ';
}

/* ===== КОМАНДЫ ===== */
.detail-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0 12px;
    gap: 16px;
}

.detail-team {
    flex: 1;
    min-width: 0;
}

.detail-team.home {
    text-align: right;
}

.detail-team.away {
    text-align: left;
}

.detail-team-name {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1.2;
}

.detail-team-date {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-top: 3px;
}

.detail-team-date::before {
    content: '📅 ';
}

/* ===== СЧЕТ ===== */
.detail-score-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    min-width: 100px;
    background: rgba(139, 92, 246, 0.06);
    padding: 10px 20px;
    border-radius: 14px;
    border: 1px solid rgba(139, 92, 246, 0.06);
}

.detail-score {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.2;
    color: #a78bfa;
    letter-spacing: 1px;
}

.detail-status {
    font-size: 14px;
    font-weight: 600;
    margin-top: 3px;
}

.detail-status.Завершен {
    color: #9ca3af;
}

.detail-status.Идет {
    color: #6ee7b7;
}

.detail-status.Скоро {
    color: #a78bfa;
}

/* ===== ФОРМА КОМАНД ===== */
.detail-form {
    background: rgba(139, 92, 246, 0.06);
    border-radius: 12px;
    padding: 12px 16px;
    margin: 10px 0 16px;
    border: 1px solid rgba(139, 92, 246, 0.06);
}

.detail-form-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
    font-size: 14px;
    color: #9ca3af;
}

.detail-form-emoji {
    font-size: 18px;
    letter-spacing: 2px;
    min-width: 70px;
}

.detail-form-team {
    font-weight: 600;
    color: #f1f5f9;
    flex: 1;
}

.detail-form-stats {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    background: rgba(139, 92, 246, 0.08);
    padding: 2px 12px;
    border-radius: 20px;
}

/* ===== ЗАГОЛОВОК ===== */
.detail-title {
    font-size: 20px;
    font-weight: 700;
    color: #f1f5f9;
    text-align: center;
    padding: 14px 0 12px;
    border-top: 1px solid rgba(139, 92, 246, 0.06);
    margin-top: 8px;
    line-height: 1.4;
}

.detail-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 12px;
    color: #6b7280;
    padding: 10px 0 18px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.06);
    flex-wrap: wrap;
}

.detail-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== КНОПКИ ===== */
.detail-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding-top: 18px;
    flex-wrap: wrap;
}

.detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.06);
    border-radius: 10px;
    color: #9ca3af;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.25s ease;
}

.detail-btn:hover {
    background: rgba(139, 92, 246, 0.12);
    color: #f1f5f9;
}

/* ============================================================
   БЛОК СТАТИСТИКИ
   ============================================================ */
.stats-block {
    background: rgba(31, 35, 44, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.06);
    padding: 25px 30px 30px;
    margin-top: 22px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.stats-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #f1f5f9;
    text-align: center;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.06);
    margin-bottom: 22px;
    letter-spacing: 0.5px;
}

.stats-teams {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.stats-team {
    background: rgba(139, 92, 246, 0.04);
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(139, 92, 246, 0.04);
    transition: 0.3s;
}

.stats-team:hover {
    border-color: rgba(139, 92, 246, 0.12);
    background: rgba(139, 92, 246, 0.06);
}

.stats-team-name {
    font-size: 16px;
    font-weight: 600;
    color: #f1f5f9;
    text-align: center;
    margin-bottom: 10px;
}

.stats-team-params {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
    gap: 4px;
}

.stats-param {
    flex: 1;
    text-align: center;
}

.stats-param-label {
    display: block;
    font-size: 10px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
}

.stats-param-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #a78bfa;
}

.stats-goals {
    display: flex;
    justify-content: space-around;
    padding-top: 8px;
    border-top: 1px solid rgba(139, 92, 246, 0.06);
    flex-wrap: wrap;
    gap: 4px;
}

.stats-goals-label {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
}

.stats-goals-value {
    font-size: 14px;
    font-weight: 600;
    color: #a78bfa;
}

/* ===== ЛИГА — СЕЗОН ===== */
.stats-league {
    background: rgba(139, 92, 246, 0.04);
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(139, 92, 246, 0.04);
}

.stats-league-title {
    font-size: 15px;
    font-weight: 600;
    color: #f1f5f9;
    text-align: center;
    margin-bottom: 10px;
}

.stats-league-table {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stats-league-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stats-league-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.stats-league-value {
    font-size: 18px;
    font-weight: 700;
    color: #a78bfa;
    min-width: 25px;
    text-align: center;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .forecast-detail-card {
        padding: 16px;
    }

    .detail-teams {
        flex-direction: column;
        gap: 10px;
        padding: 16px 0 8px;
    }

    .detail-team.home {
        text-align: center;
    }

    .detail-team.away {
        text-align: center;
    }

    .detail-team-name {
        font-size: 22px;
    }

    .detail-score {
        font-size: 32px;
    }

    .detail-score-wrapper {
        min-width: 80px;
        padding: 8px 14px;
    }

    .stats-teams {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stats-block {
        padding: 16px 12px;
    }

    .detail-title {
        font-size: 17px;
    }

    .detail-meta {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .detail-actions {
        flex-direction: column;
        align-items: center;
    }

    .detail-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .forecast-detail-card {
        padding: 12px;
        border-radius: 14px;
    }

    .detail-team-name {
        font-size: 18px;
    }

    .detail-score {
        font-size: 26px;
    }

    .detail-score-wrapper {
        min-width: 60px;
        padding: 6px 10px;
    }

    .detail-title {
        font-size: 15px;
    }

    .detail-time {
        font-size: 12px;
        padding: 3px 10px;
    }

    .detail-tournament {
        font-size: 13px;
    }

    .detail-status {
        font-size: 12px;
    }

    .detail-btn {
        font-size: 12px;
        padding: 8px 16px;
    }

    .stats-param-value {
        font-size: 15px;
    }

    .stats-league-value {
        font-size: 15px;
        min-width: 18px;
    }

    .breadcrumb {
        font-size: 12px;
        padding: 8px 0 14px;
    }

    .detail-meta {
        font-size: 11px;
    }

    .detail-form-line {
        font-size: 13px;
        gap: 8px;
    }

    .detail-form-emoji {
        font-size: 16px;
        min-width: 50px;
    }

    .detail-form-stats {
        font-size: 11px;
    }
}

/* ============================================================
   ПОЛОСКИ СТАТИСТИКИ
   ============================================================ */
.stat-bar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.stat-bar-number {
    font-size: 13px;
    font-weight: 700;
    color: #e0d6d6;
    text-align: right;
    padding-right: 2px;
}

.stat-bar {
    width: 100%;
    height: 6px;
    background: rgba(26, 17, 17, 0.4);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(42, 24, 24, 0.1);
}

.stat-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
}

/* ============================================================
   ИСТОРИЯ ВСТРЕЧ
   ============================================================ */
.h2h-section {
    margin-top: 22px;
    background: rgba(31, 35, 44, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.06);
    padding: 25px 30px 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.h2h-title {
    font-size: 18px;
    font-weight: 700;
    color: #f1f5f9;
    text-align: center;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.06);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.h2h-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.h2h-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(139, 92, 246, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.04);
    transition: all 0.3s ease;
    flex-wrap: wrap;
    gap: 6px;
}

.h2h-item:hover {
    border-color: rgba(139, 92, 246, 0.15);
    background: rgba(139, 92, 246, 0.06);
}

.h2h-teams {
    font-size: 15px;
    font-weight: 600;
    color: #f1f5f9;
    min-width: 140px;
}

.h2h-score {
    font-size: 20px;
    font-weight: 800;
    color: #a78bfa;
    padding: 0 16px;
}

.h2h-date {
    font-size: 13px;
    color: #6b7280;
    min-width: 100px;
}

.h2h-tournament {
    font-size: 13px;
    color: #6b7280;
    flex: 1;
    text-align: right;
}

.h2h-empty {
    text-align: center;
    color: #6b7280;
    padding: 20px;
    font-size: 14px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 600px) {
    .h2h-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 14px;
    }

    .h2h-teams {
        min-width: auto;
        font-size: 14px;
    }

    .h2h-score {
        font-size: 22px;
        padding: 4px 0;
    }

    .h2h-date {
        min-width: auto;
        font-size: 12px;
    }

    .h2h-tournament {
        text-align: center;
        font-size: 12px;
    }
}

/* ============================================================
   СТАТИСТИКА — ПОЛОСКИ В БЛОКЕ
   ============================================================ */
.stats-param-value .stat-bar-wrapper {
    margin-top: 2px;
}

.stats-param-value .stat-bar-number {
    font-size: 14px;
    color: #f1f5f9;
}

.stats-param-value .stat-bar {
    height: 5px;
    background: rgba(139, 92, 246, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.stats-param-value .stat-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
}
/* ============================================================
   ИСТОРИЯ ВСТРЕЧ
   ============================================================ */
.h2h-section {
    margin-top: 22px;
    background: rgba(31, 35, 44, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.06);
    padding: 25px 30px 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.h2h-title {
    font-size: 18px;
    font-weight: 700;
    color: #f1f5f9;
    text-align: center;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.06);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.h2h-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.h2h-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(139, 92, 246, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.04);
    transition: all 0.3s ease;
    flex-wrap: wrap;
    gap: 6px;
}

.h2h-item:hover {
    border-color: rgba(139, 92, 246, 0.15);
    background: rgba(139, 92, 246, 0.06);
}

.h2h-teams {
    font-size: 15px;
    font-weight: 600;
    color: #f1f5f9;
    min-width: 140px;
}

.h2h-score {
    font-size: 20px;
    font-weight: 800;
    color: #a78bfa;
    padding: 0 16px;
}

.h2h-date {
    font-size: 13px;
    color: #6b7280;
    min-width: 100px;
}

.h2h-tournament {
    font-size: 13px;
    color: #6b7280;
    flex: 1;
    text-align: right;
}

.h2h-empty {
    text-align: center;
    color: #6b7280;
    padding: 20px;
    font-size: 14px;
}

@media (max-width: 600px) {
    .h2h-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 14px;
    }
    .h2h-teams {
        min-width: auto;
        font-size: 14px;
    }
    .h2h-score {
        font-size: 22px;
        padding: 4px 0;
    }
    .h2h-date {
        min-width: auto;
        font-size: 12px;
    }
    .h2h-tournament {
        text-align: center;
        font-size: 12px;
    }
}
/* ============================================================
   ИСТОРИЯ ВСТРЕЧ — ДВЕ КОЛОНКИ
   ============================================================ */
.h2h-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.h2h-column {
    background: rgba(139, 92, 246, 0.03);
    border-radius: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(139, 92, 246, 0.04);
}

.h2h-column-title {
    font-size: 16px;
    font-weight: 700;
    color: #f1f5f9;
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.06);
}

.h2h-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: rgba(139, 92, 246, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.02);
    transition: all 0.2s ease;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}

.h2h-item:hover {
    border-color: rgba(139, 92, 246, 0.1);
    background: rgba(139, 92, 246, 0.05);
}

.h2h-teams {
    font-size: 13px;
    font-weight: 500;
    color: #e2e8f0;
    flex: 1;
    min-width: 80px;
}

.h2h-score {
    font-size: 16px;
    font-weight: 700;
    color: #a78bfa;
    padding: 0 8px;
}

.h2h-date {
    font-size: 11px;
    color: #6b7280;
}

.h2h-tournament {
    font-size: 11px;
    color: #6b7280;
    text-align: right;
}

.h2h-empty {
    text-align: center;
    color: #6b7280;
    padding: 16px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .h2h-columns {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .h2h-item {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 10px;
    }

    .h2h-teams {
        min-width: auto;
        width: 100%;
        text-align: center;
        font-size: 12px;
    }

    .h2h-score {
        font-size: 18px;
        padding: 2px 0;
    }

    .h2h-date {
        font-size: 10px;
    }

    .h2h-tournament {
        text-align: center;
        font-size: 10px;
        width: 100%;
    }
}
