/* ==========================================================================
   SECTION 1: EVENTS SHOWCASE CAROUSEL (DİKDÖRTGEN GENİŞ ETKİNLİK VİTRİNİ)
   ========================================================================== */
.events-showcase-container {
  position: relative;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto 24px auto;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
}
.events-track-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.events-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}
.event-slide {
  min-width: 100%;
  min-height: 180px;
  box-sizing: border-box;
  padding: 36px 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.event-slide.event-bg-1 {
  background: linear-gradient(125deg, rgba(185, 28, 28, 0.92) 0%, rgba(120, 53, 15, 0.92) 45%, rgba(15, 23, 42, 0.96) 100%);
  border-left: 6px solid #ef4444;
}
.event-slide.event-bg-2 {
  background: linear-gradient(125deg, rgba(30, 58, 138, 0.92) 0%, rgba(88, 28, 135, 0.92) 45%, rgba(15, 23, 42, 0.96) 100%);
  border-left: 6px solid #38bdf8;
}
.event-slide.event-bg-3 {
  background: linear-gradient(125deg, rgba(6, 78, 59, 0.92) 0%, rgba(19, 78, 74, 0.92) 45%, rgba(15, 23, 42, 0.96) 100%);
  border-left: 6px solid #34d399;
}
.event-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.event-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.28);
  color: #fca5a5;
  border: 1.5px solid rgba(239, 68, 68, 0.5);
  width: fit-content;
  letter-spacing: 0.8px;
}
.event-badge.badge-cyan {
  background: rgba(56, 189, 248, 0.28);
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.5);
}
.event-badge.badge-green {
  background: rgba(52, 211, 153, 0.28);
  color: #86efac;
  border-color: rgba(52, 211, 153, 0.5);
}
.event-title {
  margin: 0;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.6px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.85);
}
.event-desc {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.4;
}
.event-cta-btn {
  padding: 14px 34px;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
  border: 1.5px solid #ef4444;
  background: #dc2626;
  color: #ffffff;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.55);
}
.event-cta-btn:hover {
  background: #ef4444;
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.85);
  transform: scale(1.05);
}
.event-cta-btn.btn-cyan {
  border-color: #38bdf8;
  background: #0284c7;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.55);
}
.event-cta-btn.btn-cyan:hover {
  background: #38bdf8;
  color: #0f172a;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.85);
}
.event-cta-btn.btn-green {
  border-color: #34d399;
  background: #059669;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.55);
}
.event-cta-btn.btn-green:hover {
  background: #34d399;
  color: #064e3b;
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.85);
}

.event-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.18s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}
.event-nav-btn:hover {
  background: #0284c7;
  border-color: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.85);
}
.event-nav-btn.event-prev { left: 14px; }
.event-nav-btn.event-next { right: 14px; }

.event-dots-wrap {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.event-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.2s ease;
}
.event-dot.active {
  width: 28px;
  border-radius: 5px;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
}

/* ==========================================================================
   SECTION 2: MATCH ANALYSIS / FIXTURE HERO CARD
   MODERN STADYUM GÖRSELİ, KOYU CAM EFEKTİ VE BÜYÜK MAÇ SAATİ
   ========================================================================== */
.te-match-card {
  background: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 0;
  margin: 0 auto 20px auto;
  max-width: 1560px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}
.te-card-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 8px 24px;
  background: rgba(15, 23, 42, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.te-league-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  background: rgba(14, 165, 233, 0.16);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 4px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Match Readiness Bottom Bar (Beyaz Arka Plan, İki Yarıya Bölünmüş) */
.match-readiness-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 26px;
  background: #ffffff;
  border-top: 1.5px solid #e2e8f0;
  gap: 20px;
}
.readiness-left-col {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  max-width: 50%;
}
.readiness-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #0f172a;
  white-space: nowrap;
}
.readiness-slider-track {
  flex: 1;
  height: 22px;
  background: #f1f5f9;
  border-radius: 11px;
  border: 1.5px solid #cbd5e1;
  overflow: hidden;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.12);
  position: relative;
}
.readiness-slider-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  transition: width 0.3s ease;
  box-shadow: 0 1px 4px rgba(16, 185, 129, 0.4);
}
.readiness-slider-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.readiness-right-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  max-width: 50%;
}
.btn-match-preview {
  padding: 8px 24px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.8px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-match-preview:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.45);
}
.btn-match-preview:active {
  transform: translateY(0);
}

.match-fixture-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 34px 44px;
  min-height: 290px;
  position: relative;
  background: linear-gradient(180deg, rgba(8, 15, 30, 0.18) 0%, rgba(8, 15, 30, 0.02) 50%, rgba(8, 15, 30, 0.28) 100%),
              url('../../../assets/bg_player_pitch_pov.webp') no-repeat center 50% / cover;
  overflow: hidden;
}
@container game (max-width: 760px) {
  .match-fixture-row { grid-template-columns: 1fr; text-align: center; padding: 20px 14px; }
}

/* Sezon Sonu & Devre Arası Özel Hero Kartı */
.season-break-hero-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 32px 24px;
  min-height: 290px;
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(15, 23, 42, 0.88) 0%, rgba(8, 15, 30, 0.96) 100%),
              url('../../../assets/bg_player_pitch_pov.webp') no-repeat center 50% / cover;
  overflow: hidden;
}

.season-end-trophy-badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #b45309);
  border: 3px solid #fef08a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.6), inset 0 2px 6px rgba(255, 255, 255, 0.4);
  animation: pulseGoldGlow 3s infinite alternate ease-in-out;
  position: relative;
}
/* composited: only transform / opacity animate (a box-shadow / filter / left animation repainted every frame) */
.season-end-trophy-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 32px rgba(245, 158, 11, 0.8);
  opacity: 0;
  pointer-events: none;
  animation: pulseGoldGlowGlow 3s infinite alternate ease-in-out;
}

.season-break-tactics-badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  border: 3px solid #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 0 24px rgba(2, 132, 199, 0.6), inset 0 2px 6px rgba(255, 255, 255, 0.4);
}

@keyframes pulseGoldGlow {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}
@keyframes pulseGoldGlowGlow {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.season-end-hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #f8fafc;
  letter-spacing: 0.8px;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.season-end-hero-sub {
  font-size: 13.5px;
  color: #cbd5e1;
  max-width: 640px;
  margin: 0;
  line-height: 1.5;
}

.season-end-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.season-end-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.season-end-pill.gold {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.6);
  color: #fbbf24;
}

.season-end-pill.cyan {
  background: rgba(14, 165, 233, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.6);
  color: #38bdf8;
}

.season-end-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.btn-season-cta {
  padding: 9px 20px;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
}

.btn-season-cta.primary {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border: 1px solid #38bdf8;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.btn-season-cta.primary:hover {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  transform: translateY(-2px);
}

.btn-season-cta.gold {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
  border: 1px solid #fef08a;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
}

.btn-season-cta.gold:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  transform: translateY(-2px);
}

.match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.62);
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  width: auto;
  min-width: 220px;
  max-width: 280px;
}
.match-team.my-team {
  justify-self: end;
}
.match-team.away-team {
  justify-self: start;
}
.team-crest-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.team-logo-circle {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  background: transparent;
  border: none;
  box-shadow: none;
}
.team-logo-circle svg {
  max-width: 56px;
  max-height: 56px;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}
.team-logo-circle.home-logo,
.team-logo-circle.my-logo,
.team-logo-circle.away-logo {
  background: transparent;
  border: none;
  box-shadow: none;
}
.team-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 16px;
}
.team-stars .stars-svg-row {
  display: flex;
  align-items: center;
  gap: 2px;
}
.team-stars .star-svg-item {
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 0 3px rgba(251, 191, 36, 0.7));
}
.team-name {
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}
.team-form-badges {
  display: flex;
  gap: 3px;
}
.form-badge {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  color: #fff;
}
.form-badge.win { background: #10b981; }
.form-badge.draw { background: #f59e0b; }
.form-badge.loss { background: #ef4444; }
.team-role-tag {
  font-size: 10px;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.team-role-tag.home { background: rgba(14, 165, 233, 0.2); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.45); }
.team-role-tag.away { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.45); }

/* Center Info: Koyu Cam Efekti, Büyük Saat ve Belirgin VS */
.match-center-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(8, 15, 30, 0.45);
  padding: 12px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.match-time-tag {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  background: rgba(10, 15, 28, 0.6);
  padding: 4px 14px;
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.18);
}

.match-time-clock {
  font-size: 14px;
}

.match-time-val {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #fbbf24;
  letter-spacing: 0.8px;
  line-height: 1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.match-time-tz {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #fef3c7;
  letter-spacing: 0.5px;
}

.match-vs-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 18px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.75) 0%, rgba(14, 165, 233, 0.75) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(14, 165, 233, 0.4), 0 3px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.match-vs-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(14, 165, 233, 0.6);
}

.match-vs-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 2.5px;
  line-height: 1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.match-stadium-tag {
  font-size: 11px;
  font-weight: 800;
  color: #cbd5e1;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   HUB HOME BOTTOM GRID (Geçen Maç Özeti & Sezon Özeti Kartları)
   ========================================================================== */
.hub-home-bottom-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
  max-width: 1560px;
  margin: 0 auto 36px auto;
}
@container game (max-width: 1024px) {
  .hub-home-bottom-grid {
    grid-template-columns: 1fr;
  }
}

/* Ortak Beyaz Kart Yapısı */
.bottom-white-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22), 0 3px 8px rgba(0, 0, 0, 0.08);
  padding: 24px 28px;
  color: #0f172a;
  display: flex;
  flex-direction: column;
}

.b-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1.5px solid #f1f5f9;
  margin-bottom: 18px;
}

.b-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.5px;
}
.b-card-icon {
  font-size: 20px;
}

.match-res-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 900;
  padding: 5px 14px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.match-res-badge.win {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}
.match-res-badge.draw {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}
.match-res-badge.loss {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.season-badge-pill {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 900;
  padding: 5px 14px;
  background: #f1f5f9;
  color: #334155;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
}

/* 1. Sol Kart: Geçen Maç İstatistikleri (Genişletilmiş ve Belirgin) */
.last-match-teams-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 22px;
  margin-bottom: 20px;
}
.lm-team {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lm-badge {
  font-size: 22px;
}
.lm-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 900;
  color: #1e293b;
}
.lm-score-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}
.lm-dash {
  color: #94a3b8;
}

.last-match-stats-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stat-compare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 900;
  color: #334155;
}
.stat-val-home {
  color: #0284c7;
  font-weight: 900;
  font-size: 16px;
}
.stat-val-away {
  color: #dc2626;
  font-weight: 900;
  font-size: 16px;
}
.stat-name {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-bar-track {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  display: flex;
  overflow: hidden;
  gap: 2px;
}
.stat-bar-fill.home {
  background: #0284c7;
  border-radius: 4px 0 0 4px;
}
.stat-bar-fill.away {
  background: #dc2626;
  border-radius: 0 4px 4px 0;
}

/* 2. Sağ Kart: Sezon Özeti & Turnuva Renk Ağacı */
.tournaments-tree-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.tourn-tree-node {
  display: flex;
  align-items: stretch;
  gap: 12px;
  position: relative;
}

/* Ağaç Bağlantı Çizgisi ve Noktaları */
.tourn-tree-connector {
  width: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}
.tree-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 2;
  margin-top: 14px;
}
.tree-dot.red { background: #ef4444; }
.tree-dot.blue { background: #3b82f6; }
.tree-dot.green { background: #10b981; }
.tree-dot.orange { background: #f97316; }

.tree-line {
  width: 2.5px;
  flex: 1;
  background: #cbd5e1;
  margin-top: 4px;
  margin-bottom: -10px;
}

/* Turnuva Kart Gövdesi */
.tourn-card-body {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  border-radius: 10px;
  border-left: 5px solid;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tourn-card-body:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Renk Temaları */
/* Ana Lig - Hafif Kırmızı */
.tourn-card-body.red-theme {
  background: #fef2f2;
  border-color: #ef4444;
  border-right: 1px solid #fee2e2;
  border-top: 1px solid #fee2e2;
  border-bottom: 1px solid #fee2e2;
}
.tourn-type-badge.red {
  background: #fee2e2;
  color: #b91c1c;
}
.tourn-rank-badge.red {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
}

/* Şampiyonlar Kupası - Mavi */
.tourn-card-body.blue-theme {
  background: #eff6ff;
  border-color: #3b82f6;
  border-right: 1px solid #dbeafe;
  border-top: 1px solid #dbeafe;
  border-bottom: 1px solid #dbeafe;
}
.tourn-type-badge.blue {
  background: #dbeafe;
  color: #1d4ed8;
}
.tourn-rank-badge.blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
}

/* Kupa - Yeşil */
.tourn-card-body.green-theme {
  background: #f0fdf4;
  border-color: #10b981;
  border-right: 1px solid #d1fae5;
  border-top: 1px solid #d1fae5;
  border-bottom: 1px solid #d1fae5;
}
.tourn-type-badge.green {
  background: #d1fae5;
  color: #047857;
}
.tourn-rank-badge.green {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
}

/* Federasyon - Turuncu */
.tourn-card-body.orange-theme {
  background: #fff7ed;
  border-color: #f97316;
  border-right: 1px solid #ffedd5;
  border-top: 1px solid #ffedd5;
  border-bottom: 1px solid #ffedd5;
}
.tourn-type-badge.orange {
  background: #ffedd5;
  color: #c2410c;
}
.tourn-rank-badge.orange {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
}

.tourn-main-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tourn-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tourn-type-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.tourn-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
}
.tourn-status-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #64748b;
}

.tourn-rank-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.rank-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}
.rank-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
  white-space: nowrap;
  opacity: 0.95;
}

/* ==========================================================================
   SECTION 2.5: PROMO DECK (AYLIK VIP KART / MAĞAZA & BATTLE PASS WIDGET)
   BEYAZ & GRİ MİMARİSİ VE VIP ÖZEL TASARIMI
   ========================================================================== */
.home-promo-deck {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr) minmax(0, 0.95fr) minmax(0, 0.8fr);
  gap: 10px;
  max-width: 1560px;
  margin: 0 auto 20px auto;
  align-items: stretch;
}

.home-promo-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 5px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* 1. Aylık Kart Teklifi: Özel VIP Altın / Platin / Beyaz Tasarım */
.home-monthly-card-wrap {
  min-height: 96px;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #fffdfa 50%, #fef9ee 100%);
  border: 1.5px solid #fde68a;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.1), 0 2px 6px rgba(0, 0, 0, 0.03);
  position: relative;
}

.home-monthly-card-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #d97706);
  z-index: 2;
}

.home-monthly-card-wrap:hover {
  transform: translateY(-2px);
  border-color: #f59e0b;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.18), 0 3px 8px rgba(0, 0, 0, 0.05);
}

.monthly-card-offer-view {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  position: relative;
  background: radial-gradient(circle at 8% 50%, rgba(245, 158, 11, 0.06), transparent 40%),
              radial-gradient(circle at 92% 40%, rgba(251, 191, 36, 0.08), transparent 45%);
}

.mco-badge {
  position: absolute;
  top: 0;
  left: 18px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  padding: 2px 10px;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mco-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 14px;
  margin-top: 4px;
}

.mco-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mco-icon {
  font-size: 28px;
  filter: drop-shadow(0 3px 8px rgba(245, 158, 11, 0.3));
  animation: pulseVipIcon 3s infinite ease-in-out;
}

@keyframes pulseVipIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.mco-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mco-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mco-title {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.5px;
}

.mco-duration {
  font-size: 11px;
  font-weight: 800;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 2px 10px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.mco-benefits {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mco-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: #334155;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.mco-pill strong {
  color: #0284c7;
  font-weight: 900;
}

.mco-pill.gold {
  border-color: #fcd34d;
  background: #fffbeb;
  color: #92400e;
}
.mco-pill.gold strong {
  color: #b45309;
}

.mco-pill-icon {
  font-size: 14px;
}

.mco-action {
  flex-shrink: 0;
}

.btn-mco-buy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: 1.5px solid #fef08a;
  border-radius: 10px;
  padding: 6px 16px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  min-width: 110px;
}

.btn-mco-buy:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.45);
}

.btn-mco-buy:active {
  transform: translateY(0);
}

.mco-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 19px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.mco-buy-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fef3c7;
  margin-top: 1px;
  text-transform: uppercase;
}

/* 2. Aktif Mağaza Fırsatları Kartı (Satın Alındıktan Sonra) — Beyaz/Gri Tasarım */
.monthly-card-active-view {
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
  gap: 8px;
  background: #ffffff;
}

.mca-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mca-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mca-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 2px 8px;
  border-radius: 6px;
}

.mca-status-pill {
  font-size: 10.5px;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #86efac;
  padding: 2px 8px;
  border-radius: 6px;
}

.btn-mca-claim {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  padding: 5px 12px;
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.25);
}

.btn-mca-claim:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(2, 132, 199, 0.35);
}

.btn-mca-claim.claimed {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #64748b;
  cursor: default;
  box-shadow: none;
  transform: none;
  filter: none;
}

.mca-deals-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mca-deal-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.mca-deal-item:hover {
  background: #ffffff;
  border-color: #38bdf8;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(2, 132, 199, 0.1);
}

.mca-deal-icon {
  font-size: 16px;
}

.mca-deal-text {
  display: flex;
  flex-direction: column;
}

.mca-deal-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #64748b;
  text-transform: uppercase;
}

.mca-deal-val {
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mca-deal-item.store-link .mca-deal-val {
  color: #0284c7;
}

/* 2.5 Orta Kadro Değeri Widget Kartı — Beyaz / Zümrüt Yeşili Vurgulu */
.home-squad-val-widget-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 5px rgba(0, 0, 0, 0.03);
  padding: 10px 15px;
  min-height: 96px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.home-squad-val-widget-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #06b6d4, #3b82f6);
}

.home-squad-val-widget-card:hover {
  transform: translateY(-2px);
  border-color: #10b981;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.18), 0 3px 8px rgba(0, 0, 0, 0.05);
}

.home-squad-val-widget-card:active {
  transform: translateY(0);
}

.hsv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}

.hsv-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.7px;
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  padding: 2px 7px;
  border-radius: 5px;
}

.hsv-open-arrow {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
}

.hsv-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hsv-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hsv-val {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 900;
  font-size: 15px;
  line-height: 1.2;
}

.hsv-val.cash {
  color: #059669;
}

.hsv-val.token {
  color: #d97706;
}

.hsv-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid #f1f5f9;
}

.hsv-meta-text {
  color: #0f172a;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 11.5px;
}

.hsv-action-text {
  color: #059669;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 11.5px;
}

/* 2.6 Orta Günlük Görevler Widget Kartı — Beyaz / Amber Vurgulu */
.home-daily-quests-widget-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 5px rgba(0, 0, 0, 0.03);
  padding: 10px 14px;
  min-height: 96px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.home-daily-quests-widget-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #10b981, #06b6d4);
}

.home-daily-quests-widget-card:hover {
  transform: translateY(-2px);
  border-color: #f59e0b;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.18), 0 3px 8px rgba(0, 0, 0, 0.05);
}

.home-daily-quests-widget-card:active {
  transform: translateY(0);
}

.hdq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}

.hdq-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 2px 7px;
  border-radius: 5px;
}

.hdq-badge-count {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 900;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #86efac;
  padding: 1px 6px;
  border-radius: 6px;
}

.hdq-open-arrow {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
}

.hdq-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hdq-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  color: #334155;
}

.hdq-progress-val {
  color: #0f172a;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 900;
  font-size: 11.5px;
}

.hdq-mini-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.hdq-mini-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #10b981);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.hdq-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px dashed #f1f5f9;
}

.hdq-reward-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #0284c7;
}

.hdq-action-text {
  font-size: 10px;
  font-weight: 800;
  color: #f59e0b;
}

/* 3. Sağ Battle Pass Hızlı İlerleme Widget Kartı — Beyaz / Gri & Mor Vurgulu */
.home-bp-widget-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 5px rgba(0, 0, 0, 0.03);
  padding: 10px 15px;
  min-height: 96px;
  cursor: pointer;
  justify-content: space-between;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.home-bp-widget-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #9333ea, #a855f7, #38bdf8);
}

.home-bp-widget-card:hover {
  transform: translateY(-2px);
  border-color: #a855f7;
  box-shadow: 0 12px 28px rgba(168, 85, 247, 0.18), 0 3px 8px rgba(0, 0, 0, 0.05);
}

.home-bp-widget-card:active {
  transform: translateY(0);
}

.bpw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bpw-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bpw-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  color: #7e22ce;
  background: #f3e8ff;
  border: 1px solid #e9d5ff;
  padding: 2px 8px;
  border-radius: 6px;
}

.bpw-tier {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.5px;
}

.bpw-open-arrow {
  color: #94a3b8;
  font-size: 14px;
  transition: transform 0.15s ease, color 0.15s ease;
}
.home-bp-widget-card:hover .bpw-open-arrow {
  color: #7e22ce;
  transform: translateX(3px);
}

.bpw-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.bpw-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bpw-xp-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #64748b;
}

.bpw-xp-val {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 900;
  color: #0f172a;
}

.bpw-bar-track {
  width: 100%;
  height: 10px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  position: relative;
}

.bpw-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #9333ea, #c084fc, #0284c7);
  border-radius: 999px;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.35);
}

.bpw-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.bpw-next-reward {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
}

.bpw-action-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #7e22ce;
}

/* Responsive */
@container game (max-width: 1100px) {
  .home-promo-deck {
    grid-template-columns: 1fr;
  }
  .mca-deals-row {
    grid-template-columns: 1fr;
  }
}


/* Home hero: actions next to the readiness bar ("Maça Çık" appears when today's official match is open) */
.readiness-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.btn-match-preview.btn-play-official {
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  box-shadow: 0 2px 10px rgba(34, 197, 94, 0.45);
}
.btn-match-preview.btn-play-official:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
