/* =========================================
   PAGES.CSS — общие стили для под-страниц
   Подключается вместе с style.css
   ========================================= */

/* =========================================
   BREADCRUMB
   ========================================= */
.breadcrumb {
  padding-top: 88px;
  padding-bottom: 0;
  position: relative;
  z-index: 1;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 0;
  list-style: none;
}

.breadcrumb__item { font-size: 13px; color: #8A8A8A; }
.breadcrumb__link { color: #8A8A8A; transition: color 0.2s; }
.breadcrumb__link:hover { color: #C5FF00; }
.breadcrumb__item--current { color: #F5F5F5; }
.breadcrumb__sep { color: #3A3A3A; font-size: 13px; user-select: none; }

/* =========================================
   PAGE HERO (без карусели — для под-страниц)
   ========================================= */
.page-hero {
  position: relative;
  padding: 48px 0 80px;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero__bg-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(197,255,0,0.07) 0%, transparent 70%);
}

.page-hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

.page-hero__title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 820px;
}

.page-hero__date {
  color: #C5FF00;
}

.page-hero__subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: #8A8A8A;
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 40px;
}

.page-hero__stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 40px;
  padding: 24px;
  background: #111;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  max-width: 680px;
}

.page-hero__stat {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 8px 16px;
}

.page-hero__stat-divider {
  width: 1px;
  height: 40px;
  background: #2A2A2A;
  flex-shrink: 0;
}

.page-hero__stat-value {
  display: block;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.page-hero__stat-value--accent { color: #C5FF00; }

.page-hero__stat-label {
  display: block;
  font-size: 12px;
  color: #8A8A8A;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* =========================================
   PREDICTIONS SECTION
   ========================================= */
.predictions {
  padding: 80px 0;
  position: relative;
}

.predictions__header {
  margin-bottom: 40px;
}

.predictions__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 12px;
}

.predictions__subtitle {
  font-size: 15px;
  color: #8A8A8A;
  max-width: 560px;
}

/* Tabs */
.pred-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.pred-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 9999px;
  border: 1px solid #2A2A2A;
  background: #111;
  color: #8A8A8A;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.pred-tab:hover { border-color: #3A3A3A; color: #F5F5F5; background: #1A1A1A; }

.pred-tab--active {
  border-color: #C5FF00;
  background: rgba(197,255,0,0.08);
  color: #C5FF00;
}

.pred-tab__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  font-size: 11px;
  font-weight: 600;
}

.pred-tab--active .pred-tab__count {
  background: rgba(197,255,0,0.2);
  color: #C5FF00;
}

/* Cards grid */
.pred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

/* Prediction Card */
.pred-card {
  position: relative;
  background: #111;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s, background 0.2s;
}

.pred-card:hover { border-color: #3A3A3A; background: #141414; }

.pred-card--locked {
  opacity: 0.85;
}

.pred-card--locked:hover { opacity: 1; }

/* VIP badge */
.pred-card__vip-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 10px;
  background: #C5FF00;
  color: #0A0A0A;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

/* Free badge */
.pred-card__free-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 10px;
  background: rgba(0,200,120,0.12);
  border: 1px solid rgba(0,200,120,0.3);
  color: #00C878;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
}

/* Card header */
.pred-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pred-card__sport-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pred-card__sport-tag--football  { background: rgba(58,134,255,0.15); color: #3A86FF; }
.pred-card__sport-tag--hockey    { background: rgba(0,191,255,0.12); color: #00BFFF; }
.pred-card__sport-tag--basketball{ background: rgba(255,107,53,0.15); color: #FF6B35; }
.pred-card__sport-tag--tennis    { background: rgba(0,255,148,0.12); color: #00E87E; }
.pred-card__sport-tag--ufc       { background: rgba(255,59,48,0.15); color: #FF3B30; }

.pred-card__league {
  font-size: 12px;
  color: #8A8A8A;
  padding: 3px 8px;
  border: 1px solid #2A2A2A;
  border-radius: 6px;
}

.pred-card__time {
  font-size: 13px;
  font-weight: 600;
  color: #F5F5F5;
}

/* Teams */
.pred-card__teams {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #F5F5F5;
  padding-right: 40px;
}

.pred-card__divider {
  height: 1px;
  background: #2A2A2A;
}

/* Prediction data */
.pred-card__prediction {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pred-card__pred-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pred-card__label { font-size: 12px; color: #8A8A8A; }

.pred-card__value {
  font-size: 15px;
  font-weight: 700;
  color: #C5FF00;
}

.pred-card__coeff {
  font-size: 15px;
  font-weight: 700;
  color: #F5F5F5;
}

/* Locked prediction */
.pred-card__prediction--locked { position: relative; }

.pred-card__value--blur,
.pred-card__coeff--blur {
  filter: blur(5px);
  user-select: none;
  color: #4A4A4A;
}

.pred-card__lock-overlay {
  position: absolute;
  inset: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #8A8A8A;
  background: rgba(10,10,10,0.6);
  border-radius: 8px;
  backdrop-filter: blur(2px);
}

/* CTA button */
.pred-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #2A2A2A;
  color: #F5F5F5;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
  margin-top: auto;
}

.pred-card__cta:hover { border-color: #4A4A4A; background: #1A1A1A; }

.pred-card__cta--vip {
  border-color: rgba(197,255,0,0.3);
  color: #C5FF00;
  background: rgba(197,255,0,0.05);
}

.pred-card__cta--vip:hover { border-color: #C5FF00; background: rgba(197,255,0,0.1); }

/* Predictions CTA block */
.predictions__cta {
  text-align: center;
  padding: 40px;
  border: 1px solid #2A2A2A;
  border-radius: 20px;
  background: #111;
}

.predictions__cta-text {
  color: #8A8A8A;
  font-size: 15px;
  margin-bottom: 20px;
}

/* =========================================
   TRUST STATS
   ========================================= */
.trust-stats {
  padding: 64px 0;
  border-top: 1px solid #1A1A1A;
  border-bottom: 1px solid #1A1A1A;
}

.trust-stats__title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.trust-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #2A2A2A;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}

.trust-stat {
  background: #111;
  padding: 32px 24px;
  text-align: center;
}

.trust-stat__value {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  color: #C5FF00;
  line-height: 1;
  margin-bottom: 8px;
}

.trust-stat__label {
  font-size: 13px;
  color: #8A8A8A;
}

.trust-stats__note {
  text-align: center;
  font-size: 13px;
  color: #4A4A4A;
}

/* =========================================
   HOW TO GET
   ========================================= */
.how-to {
  padding: 80px 0;
}

.how-to__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 48px;
  margin-top: 12px;
}

.how-to__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.how-to__step {
  flex: 1;
  padding: 32px;
  background: #111;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
}

.how-to__step-arrow {
  flex-shrink: 0;
  width: 48px;
  text-align: center;
  padding-top: 48px;
  color: #3A3A3A;
  font-size: 22px;
}

.how-to__step-num {
  font-size: 36px;
  font-weight: 700;
  color: #C5FF00;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.8;
}

.how-to__step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.how-to__step-desc {
  font-size: 14px;
  color: #8A8A8A;
  line-height: 1.6;
}

/* =========================================
   PAGE CTA SECTION
   ========================================= */
.page-cta {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.page-cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-cta__bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(197,255,0,0.08) 0%, transparent 70%);
}

.page-cta__inner {
  position: relative;
  text-align: center;
  padding: 64px 32px;
  border: 1px solid #2A2A2A;
  border-radius: 24px;
  background: linear-gradient(135deg, #111 0%, #0D0D0D 100%);
  max-width: 680px;
  margin: 0 auto;
}

.page-cta__title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.page-cta__subtitle {
  font-size: 16px;
  color: #8A8A8A;
  margin-bottom: 32px;
}

.page-cta__note {
  margin-top: 16px;
  font-size: 13px;
  color: #4A4A4A;
}

/* =========================================
   SPORT NAVIGATION
   ========================================= */
.sport-nav {
  padding: 64px 0 80px;
}

.sport-nav__title {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  margin-bottom: 24px;
}

.sport-nav__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.sport-nav__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  background: #111;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    justify-content: flex-end;
    padding: 0;
}

.sport-nav__card:hover {
  border-color: #3A3A3A;
  background: #161616;
  transform: translateY(-2px);
}

.sport-nav__card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 140px;
    background: linear-gradient(0deg, black, transparent);
    z-index: 1;
    bottom: 0;
}

.sport-nav__icon {
    position: absolute;
    width: 100%;
    height: 100%;
}

.sport-nav__icon img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.sport-nav__name {
    font-size: 18px;
    font-weight: 700;
  color: #F5F5F5;
    z-index: 1;
}

.sport-nav__keys {
  font-size: 11px;
    z-index: 1;
    color: #d1d1d1;
    margin-bottom: 20px;
  line-height: 1.4;
}

/* =========================================
   LEAGUE STATS GRID
   ========================================= */
.league-stats {
  padding: 80px 0;
}

.league-stats__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 12px;
}

.league-stats__subtitle {
  font-size: 15px;
  color: #8A8A8A;
  margin-bottom: 40px;
  max-width: 520px;
}

.league-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.league-card {
  padding: 28px;
  background: #111;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}

.league-card:hover { border-color: #3A3A3A; background: #141414; }

.league-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  border-radius: 16px 0 0 16px;
}

.league-card__name {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8A8A8A;
  margin-bottom: 10px;
}

.league-card__winrate {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: #C5FF00;
  line-height: 1;
  margin-bottom: 6px;
}

.league-card__meta {
  font-size: 13px;
  color: #8A8A8A;
}

.league-card__full-name {
  font-size: 16px;
  font-weight: 600;
  color: #F5F5F5;
  margin-bottom: 16px;
}

/* =========================================
   ANALYTICS / METHODOLOGY (sport-specific)
   ========================================= */
.analytics {
  padding: 80px 0;
  background: linear-gradient(180deg, #0A0A0A 0%, #0D0D0D 100%);
  border-top: 1px solid #1A1A1A;
  border-bottom: 1px solid #1A1A1A;
}

.analytics__header { margin-bottom: 48px; }

.analytics__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 12px;
}

.analytics__subtitle {
  font-size: 15px;
  color: #8A8A8A;
  max-width: 560px;
}

.analytics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.analytics__card {
  padding: 28px 24px;
  background: #111;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
}

.analytics__card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(197,255,0,0.08);
  border: 1px solid rgba(197,255,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C5FF00;
  margin-bottom: 16px;
}

.analytics__card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.analytics__card-desc {
  font-size: 13px;
  color: #8A8A8A;
  line-height: 1.6;
}

/* =========================================
   RECENT RESULTS STRIP
   ========================================= */
.results-strip {
  padding: 32px 0;
  border-top: 1px solid #1A1A1A;
  overflow: hidden;
}

.results-strip__title {
  font-size: 13px;
  font-weight: 600;
  color: #4A4A4A;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.results-strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.result-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid #2A2A2A;
  font-size: 13px;
  background: #111;
}

.result-item__teams { color: #8A8A8A; }
.result-item__league { color: #4A4A4A; font-size: 11px; }

.result-item__badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.result-item__badge--win  { background: rgba(0,200,120,0.12); color: #00C878; }
.result-item__badge--loss { background: rgba(255,59,48,0.1); color: #FF3B30; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .pred-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .sport-nav__grid { grid-template-columns: repeat(3, 1fr); }
  .league-stats__grid { grid-template-columns: repeat(3, 1fr); }
  .analytics__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .page-hero { padding: 32px 0 60px; }
  .page-hero__stats { flex-direction: column; gap: 16px; max-width: 100%; }
  .page-hero__stat-divider { width: 100%; height: 1px; }
  .page-hero__stat { text-align: left; padding: 0; }
  .pred-grid { grid-template-columns: 1fr; }
  .how-to__steps { flex-direction: column; }
  .how-to__step-arrow { width: 100%; padding: 8px 0; text-align: left; transform: rotate(90deg); }
  .trust-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .sport-nav__grid { grid-template-columns: repeat(2, 1fr); }
  .page-cta__inner { padding: 40px 24px; }
  .league-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .analytics__grid { grid-template-columns: 1fr; }
  .results-strip__list { gap: 8px; }
  .result-item { font-size: 12px; padding: 6px 12px; }
}

@media (max-width: 480px) {
  .pred-tabs { gap: 6px; }
  .pred-tab { padding: 6px 14px; font-size: 13px; }
  .sport-nav__grid { grid-template-columns: repeat(2, 1fr); }
}
