/* ============================================
   Cricketlomo - Premium Cricket Sports Website
   Dark Sports Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Rajdhani:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #060a1a;
  --bg-secondary: #0b1029;
  --bg-card: #0f1535;
  --bg-card-hover: #141c42;
  --bg-glass: rgba(15, 21, 53, 0.85);
  --bg-glass-light: rgba(26, 35, 80, 0.6);
  --accent-blue: #1a73e8;
  --accent-cyan: #00d4ff;
  --accent-red: #e83a3a;
  --accent-gold: #ffc107;
  --accent-green: #00e676;
  --accent-purple: #7c4dff;
  --gradient-primary: linear-gradient(135deg, #1a73e8, #00d4ff);
  --gradient-hero: linear-gradient(135deg, #0a0e27 0%, #1a1f4e 50%, #0d1235 100%);
  --gradient-card: linear-gradient(145deg, #0f1535, #1a2355);
  --gradient-red: linear-gradient(135deg, #e83a3a, #ff6b6b);
  --gradient-gold: linear-gradient(135deg, #ffc107, #ff9800);
  --text-primary: #ffffff;
  --text-secondary: #a8b2d1;
  --text-muted: #6a7599;
  --border-color: rgba(26, 115, 232, 0.15);
  --border-glow: rgba(0, 212, 255, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(26, 115, 232, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-display: 'Oswald', sans-serif;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent-blue);
  color: #fff;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-blue); border-radius: 4px; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* ---- UTILITIES ---- */
.section-padding { padding: 80px 0; }
.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}
.accent-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin-bottom: 1rem;
}
.accent-line.center { margin-left: auto; margin-right: auto; }

.badge-live {
  background: var(--accent-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse-live 1.5s infinite;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge-live::before {
  content: '';
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1s infinite;
}
@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 58, 58, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(232, 58, 58, 0); }
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.badge-upcoming { background: var(--accent-blue); color: #fff; font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.badge-finished { background: var(--text-muted); color: #fff; font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.badge-break { background: var(--accent-gold); color: #000; font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; }

.glow-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary-custom {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 115, 232, 0.4);
  color: #fff;
}
.btn-outline-custom {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline-custom:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
}

/* ---- BREAKING NEWS TICKER ---- */
.news-ticker {
  background: var(--accent-red);
  color: #fff;
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 500;
  overflow: hidden;
  position: relative;
  z-index: 1050;
}
.news-ticker .ticker-label {
  background: #fff;
  color: var(--accent-red);
  padding: 2px 12px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  border-radius: 3px;
  margin-right: 15px;
  white-space: nowrap;
}
.ticker-content {
  display: flex;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- NAVBAR ---- */
.navbar-custom {
  background: rgba(6, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0;
  transition: var(--transition);
  z-index: 1040;
}
.navbar-custom.scrolled {
  background: rgba(6, 10, 26, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.navbar-custom .navbar-brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-custom .navbar-brand .brand-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.navbar-custom .nav-link {
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 20px 16px !important;
  position: relative;
  transition: var(--transition);
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--accent-cyan);
}
.navbar-custom .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}
.navbar-search {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  padding: 6px 16px;
  color: #fff;
  font-size: 0.85rem;
  width: 200px;
  transition: var(--transition);
}
.navbar-search:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
  width: 260px;
  background: var(--bg-card);
  color: #fff;
}
.navbar-search::placeholder { color: var(--text-muted); }

/* Mobile offcanvas */
.offcanvas-custom {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
}
.offcanvas-custom .offcanvas-header { border-bottom: 1px solid var(--border-color); }
.offcanvas-custom .nav-link {
  padding: 14px 20px !important;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

/* ---- HERO ---- */
.hero-section {
  min-height: 85vh;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(26, 115, 232, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(124, 77, 255, 0.08) 0%, transparent 50%);
  z-index: 0;
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a73e8' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
  opacity: 0.5;
}
.hero-content { position: relative; z-index: 2; }
.hero-title {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1.2rem;
}
.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  letter-spacing: 1px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-decoration {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 2px solid rgba(26, 115, 232, 0.1);
  z-index: 1;
}
.hero-decoration::before {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 2px solid rgba(0, 212, 255, 0.08);
}

/* ---- SCORE CARD ---- */
.score-widget {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.score-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}
.score-widget:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.team-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.team-flag {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-glass-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 2px solid var(--border-color);
}
.team-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}
.team-score {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}
.team-score span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
}
.match-status {
  text-align: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 500;
}
.score-details {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.score-details span strong { color: var(--text-primary); }

/* ---- CARDS ---- */
.card-dark {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.card-dark:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-6px);
}
.card-dark .card-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 200px;
}
.card-dark .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card-dark:hover .card-img-wrapper img { transform: scale(1.08); }
.card-dark .card-body { padding: 20px; }
.card-dark .card-category {
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.card-dark .card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #fff;
}
.card-dark .card-text {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}
.card-dark .card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---- PLAYER CARD ---- */
.player-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.player-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s;
}
.player-card:hover::before { opacity: 1; }
.player-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}
.player-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-primary);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  border: 3px solid var(--border-color);
  overflow: hidden;
}
.player-avatar img { width: 100%; height: 100%; object-fit: cover; }
.player-card .player-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 2px;
}
.player-card .player-country {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 4px;
}
.player-card .player-role {
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.player-stats-mini {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.player-stats-mini .stat {
  text-align: center;
}
.player-stats-mini .stat-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-cyan);
}
.player-stats-mini .stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- TOURNAMENT CARD ---- */
.tournament-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.tournament-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: var(--border-glow);
}
.tournament-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.tournament-card h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.tournament-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ---- UPCOMING MATCH ---- */
.upcoming-match {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}
.upcoming-match:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.upcoming-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.upcoming-team {
  text-align: center;
  flex: 1;
}
.upcoming-team .team-flag { margin: 0 auto 8px; width: 48px; height: 48px; font-size: 1.5rem; }
.upcoming-vs {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-cyan);
}
.upcoming-info {
  text-align: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}
.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
.countdown-timer .time-block {
  background: var(--bg-glass-light);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  text-align: center;
  min-width: 50px;
}
.countdown-timer .time-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-cyan);
  display: block;
}
.countdown-timer .time-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- NEWSLETTER ---- */
.newsletter-section {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.15), transparent 70%);
}
.newsletter-input {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 14px 24px;
  color: #fff;
  font-size: 0.95rem;
  width: 100%;
}
.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

/* ---- STATS TABLE ---- */
.stats-table {
  width: 100%;
  border-collapse: collapse;
}
.stats-table thead th {
  background: var(--bg-card);
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--border-color);
  text-align: left;
}
.stats-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
  vertical-align: middle;
}
.stats-table tbody tr {
  transition: var(--transition);
}
.stats-table tbody tr:hover {
  background: var(--bg-card-hover);
}
.stats-table .rank-1 td:first-child,
.stats-table .rank-2 td:first-child,
.stats-table .rank-3 td:first-child { font-weight: 700; }
.stats-table .rank-1 { background: rgba(255, 193, 7, 0.08); }
.stats-table .rank-2 { background: rgba(192, 192, 192, 0.06); }
.stats-table .rank-3 { background: rgba(205, 127, 50, 0.06); }

.rank-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}
.rank-1-badge { background: linear-gradient(135deg, #ffd700, #ffb300); color: #000; }
.rank-2-badge { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); color: #000; }
.rank-3-badge { background: linear-gradient(135deg, #cd7f32, #a0522d); color: #fff; }

/* ---- TABS ---- */
.nav-tabs-custom {
  border: none;
  gap: 8px;
  margin-bottom: 24px;
}
.nav-tabs-custom .nav-link {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 24px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-tabs-custom .nav-link:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}
.nav-tabs-custom .nav-link.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}

/* ---- STAT CARD ---- */
.stat-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}
.stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.stat-card .stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}
.stat-card .stat-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- PLAYER PROFILE ---- */
.player-profile-header {
  background: var(--gradient-hero);
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}
.player-profile-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(26, 115, 232, 0.2) 0%, transparent 60%);
}
.player-profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid var(--accent-blue);
  box-shadow: 0 0 30px rgba(26, 115, 232, 0.3);
  overflow: hidden;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.player-profile-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---- TEAM BANNER ---- */
.team-banner {
  background: var(--gradient-hero);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.team-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-bottom: 16px;
}

/* ---- SIDEBAR ---- */
.sidebar-widget {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget .widget-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sidebar-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: var(--transition);
}
.sidebar-item:hover { padding-left: 8px; }
.sidebar-item:last-child { border-bottom: none; }
.sidebar-item-img {
  width: 70px;
  height: 50px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-glass-light);
}
.sidebar-item-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}
.sidebar-item-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---- COMMENT FORM ---- */
.comment-form input,
.comment-form textarea {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  width: 100%;
  margin-bottom: 16px;
  font-family: var(--font-body);
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
}

/* ---- LIVE SCORE TICKER ---- */
.live-ticker-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  overflow: hidden;
}
.ticker-match {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  border-right: 1px solid var(--border-color);
  white-space: nowrap;
  font-size: 0.85rem;
}
.ticker-match:last-child { border-right: none; }
.ticker-match .ticker-team {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.ticker-match .ticker-score {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-cyan);
}

/* ---- BREADCRUMB ---- */
.breadcrumb-custom {
  background: transparent;
  padding: 16px 0;
}
.breadcrumb-custom .breadcrumb-item a {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.breadcrumb-custom .breadcrumb-item.active {
  color: var(--accent-cyan);
  font-size: 0.85rem;
}
.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-muted);
}

/* ---- PAGINATION ---- */
.pagination-custom .page-item .page-link {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm) !important;
  margin: 0 4px;
  transition: var(--transition);
}
.pagination-custom .page-item .page-link:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
}
.pagination-custom .page-item.active .page-link {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 0;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.footer h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #fff;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 6px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- SCROLL TO TOP ---- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(26, 115, 232, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-4px); }

/* ---- SKELETON LOADING ---- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- COMMENTARY ---- */
.commentary-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}
.commentary-over {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-cyan);
  min-width: 50px;
  text-align: center;
  padding-top: 2px;
}
.commentary-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}
.commentary-highlight {
  background: rgba(26, 115, 232, 0.1);
  border-left: 3px solid var(--accent-blue);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.commentary-wicket {
  background: rgba(232, 58, 58, 0.1);
  border-left: 3px solid var(--accent-red);
}
.commentary-boundary {
  background: rgba(0, 230, 118, 0.1);
  border-left: 3px solid var(--accent-green);
}

/* ---- CHART CONTAINER ---- */
.chart-container {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

/* ---- SEARCH FILTER ---- */
.search-filter {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  padding: 10px 20px;
  color: #fff;
  font-size: 0.9rem;
  width: 100%;
  max-width: 400px;
}
.search-filter:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

/* ---- QUICK LINKS ---- */
.quick-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.quick-link-item:hover {
  border-color: var(--border-glow);
  transform: translateX(6px);
}
.quick-link-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ---- BLOG DETAIL ---- */
.blog-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-secondary);
}
.blog-content h2, .blog-content h3 {
  font-family: var(--font-heading);
  color: #fff;
  margin: 2rem 0 1rem;
}
.blog-content blockquote {
  border-left: 4px solid var(--accent-blue);
  padding: 16px 24px;
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-secondary);
}
.blog-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.blog-tag {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.blog-tag:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}
.share-buttons { display: flex; gap: 10px; }
.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.share-btn:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}

/* ---- SPONSORS ---- */
.sponsor-logo {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition);
}
.sponsor-logo:hover {
  border-color: var(--border-glow);
  color: var(--text-secondary);
}

/* ---- ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
  .hero-title { font-size: 2.8rem; }
  .hero-section { min-height: 70vh; }
  .section-padding { padding: 60px 0; }
  .hero-decoration { display: none; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .hero-section { min-height: 60vh; padding-top: 40px; }
  .section-title { font-size: 1.6rem; }
  .section-padding { padding: 40px 0; }
  .newsletter-section { padding: 32px 20px; }
  .score-details { gap: 12px; }
  .player-profile-img { width: 120px; height: 120px; }
}
@media (max-width: 576px) {
  .hero-title { font-size: 1.8rem; }
  .countdown-timer .time-block { min-width: 40px; padding: 6px 8px; }
  .countdown-timer .time-value { font-size: 1.1rem; }
  .upcoming-teams { gap: 8px; }
}

/* ---- TABLE RESPONSIVE WRAPPER ---- */
.table-responsive-custom {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}
.table-responsive-custom::-webkit-scrollbar { height: 6px; }
.table-responsive-custom::-webkit-scrollbar-track { background: var(--bg-card); }
.table-responsive-custom::-webkit-scrollbar-thumb { background: var(--accent-blue); border-radius: 3px; }

/* ---- CATEGORY FILTER ---- */
.category-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.category-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 6px 20px;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.category-btn:hover, .category-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}

/* ---- LOADING OVERLAY ---- */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}
.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.loader {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- NEWSLETTER POPUP ---- */
.newsletter-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  backdrop-filter: blur(4px);
}
.newsletter-popup.show { display: flex; }
.popup-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  position: relative;
}
.popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---- FAVORITE BUTTON ---- */
.fav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}
.fav-btn:hover, .fav-btn.active {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #fff;
}
