:root {
  --bg: #090507;
  --bg-dots: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  --bg-grid: linear-gradient(rgba(225, 29, 72, 0.035) 1px, transparent 1px),
             linear-gradient(90deg, rgba(225, 29, 72, 0.035) 1px, transparent 1px);
  --bg-gradient: radial-gradient(circle 800px at 50% -120px, rgba(225, 29, 72, 0.18) 0%, transparent 65%),
                 radial-gradient(circle 600px at 90% 12%, rgba(244, 63, 94, 0.10) 0%, transparent 55%),
                 radial-gradient(circle 500px at 8% 65%, rgba(185, 28, 28, 0.08) 0%, transparent 50%),
                 radial-gradient(ellipse 900px 500px at 50% 100%, rgba(20, 9, 13, 0.95) 0%, transparent 70%);
  --panel: rgba(20, 9, 13, 0.84);
  --panel-alt: rgba(28, 12, 18, 0.75);
  --panel-solid: #15090d;
  --panel-hover: rgba(38, 16, 24, 0.90);
  --line: rgba(244, 63, 94, 0.14);
  --line-strong: rgba(244, 63, 94, 0.25);
  --text: #f8fafc;
  --text-secondary: #cbd5e1;
  --muted: #94a3b8;
  --accent: #e11d48;
  --accent-dark: #881337;
  --accent-glow: rgba(225, 29, 72, 0.38);
  --accent-soft: rgba(225, 29, 72, 0.14);
  --cyan: #f43f5e;
  --cyan-soft: rgba(244, 63, 94, 0.14);
  --gold: #f59e0b;
  --gold-soft: rgba(245, 158, 11, 0.14);
  --success: #10b981;
  --danger: #ef4444;
  --shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 24px 54px rgba(0, 0, 0, 0.75);
  --glass-blur: blur(16px);
}

* {
  box-sizing: border-box;
}

.is-hidden {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image: var(--bg-grid), var(--bg-dots), var(--bg-gradient);
  background-size: 36px 36px, 36px 36px, 18px 18px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.5;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #e11d48 30%, #f59e0b 70%, transparent 100%);
  z-index: 9999;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar,
.page,
.bottom-nav {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

/* ---------- Header / Topbar ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  margin-top: 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(20, 9, 13, 0.92) 0%, rgba(28, 12, 18, 0.88) 100%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  z-index: 40;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
  opacity: 0.6;
}

.topbar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--cyan), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.brand strong {
  display: block;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand small {
  display: block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  padding: 2px;
  border: 2px solid rgba(225, 29, 72, 0.35);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.insta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.2), rgba(131, 58, 180, 0.2));
  border: 1px solid rgba(225, 48, 108, 0.35);
  color: #fbcfe8;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.insta-pill:hover {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.35), rgba(131, 58, 180, 0.35));
  border-color: rgba(225, 48, 108, 0.6);
  transform: translateY(-1px);
  color: #fff;
}

.sync-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.35);
  color: #fda4af;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sync-btn:hover {
  background: rgba(225, 29, 72, 0.25);
  border-color: #e11d48;
  color: #fff;
  transform: translateY(-1px);
}

.sync-btn.is-spinning .sync-icon {
  animation: spinSync 0.7s linear infinite;
  display: inline-block;
}

@keyframes spinSync {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.install-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  border: 1px solid rgba(225, 29, 72, 0.5);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(225, 29, 72, 0.35);
  transition: all 0.2s ease;
}

.install-btn:hover {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(225, 29, 72, 0.55);
  transform: translateY(-1px);
}

.social-link,
.back-home {
  padding: 7px 14px;
  border-radius: 10px;
  background: var(--panel-alt);
  border: 1px solid var(--line);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.social-link:hover,
.back-home:hover {
  background: var(--panel-hover);
  border-color: var(--accent);
  color: #fff;
}

/* ---------- Typography & Eyebrows ---------- */

.eyebrow {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 4px 0;
}

.section-note,
.form-note {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 4px;
}

/* ---------- Cards & Layouts ---------- */

.page {
  display: grid;
  gap: 24px;
  padding: 24px 0 100px;
  flex: 1;
}

.hero-card,
.section-card {
  background: var(--panel);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.4s ease forwards;
}

.section-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225, 29, 72, 0.45), rgba(245, 158, 11, 0.35), transparent);
  pointer-events: none;
}

.hero-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  background: 
    radial-gradient(circle at 90% 25%, rgba(225, 29, 72, 0.18), transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(245, 158, 11, 0.12), transparent 45%),
    linear-gradient(135deg, rgba(22, 9, 14, 0.96) 0%, rgba(14, 6, 9, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(225, 29, 72, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225, 29, 72, 0.035) 1px, transparent 1px);
  background-size: 20px 20px, 40px 40px, 40px 40px;
  pointer-events: none;
  opacity: 0.75;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--cyan), transparent);
  z-index: 2;
}

.hero-copy h1 {
  margin: 6px 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 35%, #fda4af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0 0 20px;
  max-width: 620px;
  line-height: 1.6;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.28);
  color: #fda4af;
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-pill {
  display: grid;
  gap: 3px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.meta-pill strong {
  font-size: 0.92rem;
  color: #ffffff;
}

.hero-badge {
  display: grid;
  place-items: center;
}

.crest-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(225, 29, 72, 0.25));
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
}

/* ---------- Tabs Bar ---------- */

.tab-row {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 22px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-button {
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.tab-button.is-active {
  background: var(--panel-solid);
  color: #ffffff;
  border-color: rgba(225, 29, 72, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

/* ---------- Professional Football Tables ---------- */

.group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 20px;
}

.group-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 14px;
}

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

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

.group-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
}

.group-header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.group-subtitle {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.qualify-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.3);
  color: #fda4af;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.football-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  text-align: left;
}

.football-table th,
.football-table td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--line);
}

.football-table th {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.02);
}

.football-table td.num,
.football-table th.num {
  text-align: center;
  color: var(--text-secondary);
}

.football-table td.pts,
.football-table th.pts {
  text-align: center;
  font-weight: 800;
  color: var(--accent);
}

.football-table tr.is-qualifying {
  background: rgba(225, 29, 72, 0.04);
}

.football-table tr.is-qualifying td:first-child {
  border-left: 3px solid var(--accent);
}

.table-team-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #ffffff;
}

.table-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
}

.table-rank.is-top2 {
  background: rgba(225, 29, 72, 0.2);
  color: #fda4af;
}

/* ---------- Fixture Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.fixture-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: grid;
  gap: 10px;
}

.fixture-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(225, 29, 72, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.fixture-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fixture-match-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fixture-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.fixture-headline h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.score-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  min-width: 64px;
  justify-content: center;
}

.fixture-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.fixture-events-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
}

.fixture-click-hint {
  font-size: 0.74rem;
  color: var(--accent);
  font-weight: 600;
  text-align: right;
}

/* ---------- Status Badges ---------- */

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e11d48;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  animation: livePulse 1.6s infinite;
}

.badge-ft {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.badge-upcoming {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.25);
  color: #fda4af;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.ground-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ground-g1 {
  background: rgba(225, 29, 72, 0.15);
  color: #fda4af;
  border: 1px solid rgba(225, 29, 72, 0.35);
}

.ground-g2 {
  background: rgba(244, 63, 94, 0.15);
  color: #67e8f9;
  border: 1px solid rgba(244, 63, 94, 0.35);
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(225, 29, 72, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
  }
}

/* ---------- Tournament Bracket View ---------- */

.bracket-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 4px 20px;
  -webkit-overflow-scrolling: touch;
}

.bracket-round {
  min-width: 285px;
  flex: 0 0 285px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bracket-round-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(225, 29, 72, 0.3);
}

.bracket-matches {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 18px;
  flex: 1;
}

.bracket-match {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  overflow: hidden;
  box-sizing: border-box;
  display: grid;
  gap: 8px;
  transition: border-color 0.2s ease;
}

.bracket-match:hover {
  border-color: var(--accent);
}

.bracket-match-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}

.bracket-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
  color: #ffffff;
}

.bracket-team strong {
  color: var(--accent);
  font-size: 0.95rem;
}

/* ---------- Stats & Awards Cards ---------- */

.stats-grid,
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.stat-card,
.award-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 8px;
  position: relative;
  transition: transform 0.2s ease;
}

.stat-card:hover,
.award-card:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 29, 72, 0.3);
}

.rank-badge {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(225, 29, 72, 0.2);
  color: #fda4af;
  font-size: 0.82rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.stat-card h3,
.award-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.stat-card p,
.award-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.points-chip,
.award-label {
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  font-weight: 800;
  font-size: 0.86rem;
  width: fit-content;
}

/* ---------- Sponsors Grid ---------- */

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.sponsor-card {
  background: rgba(20, 9, 13, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.sponsor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(225, 29, 72, 0.45), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sponsor-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 29, 72, 0.45);
  box-shadow: 0 16px 36px rgba(225, 29, 72, 0.15);
}

.sponsor-card:hover::before {
  opacity: 1;
}

.sponsor-logo-wrap {
  width: 100%;
  height: 96px;
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}

.sponsor-card:hover .sponsor-logo-wrap {
  transform: scale(1.03);
}

.sponsor-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.sponsor-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.sponsor-meta strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.sponsor-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}

.sponsor-badge-title {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.sponsor-badge-powered {
  background: rgba(225, 29, 72, 0.15);
  border: 1px solid rgba(225, 29, 72, 0.4);
  color: #fb7185;
}

.sponsor-badge-drinks {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.42);
  color: #fbbf24;
}

.sponsor-badge-partner {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #38bdf8;
}

/* ---------- Buttons & Inputs ---------- */

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.3);
  transition: all 0.2s ease;
}

.primary-button:hover {
  box-shadow: 0 6px 22px rgba(225, 29, 72, 0.45);
  transform: translateY(-1px);
}

.primary-button:active {
  transform: translateY(0);
}

.google-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.google-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(225, 29, 72, 0.4);
  border-color: var(--accent);
}

select option {
  background: #140a0e;
  color: #ffffff;
}

/* ---------- Match Center (Organizer Live Arena) ---------- */

.match-center-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  gap: 20px;
}

.match-selector-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.match-stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(225, 29, 72, 0.15);
  color: #fda4af;
  border: 1px solid rgba(225, 29, 72, 0.3);
}

.score-arena {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 24px 16px;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.1) 0%, rgba(244, 63, 94, 0.08) 100%);
  border: 1px solid rgba(225, 29, 72, 0.25);
  color: #ffffff;
  border-radius: 18px;
  text-align: center;
}

.team-score-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.team-score-col h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.score-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-stepper {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-stepper:hover {
  background: rgba(225, 29, 72, 0.25);
  border-color: var(--accent);
  transform: scale(1.06);
}

.btn-stepper:active {
  transform: scale(0.95);
}

.score-number {
  font-size: 2.8rem;
  font-weight: 900;
  min-width: 60px;
  text-align: center;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.score-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.score-vs {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.match-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.match-meta-grid label {
  display: grid;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
}

.event-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn-event {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-event:hover {
  transform: translateY(-1px);
}

.btn-event-goal {
  background: rgba(225, 29, 72, 0.12);
  border-color: rgba(225, 29, 72, 0.35);
  color: #fda4af;
}

.btn-event-goal:hover {
  background: rgba(225, 29, 72, 0.22);
}

.btn-event-yellow {
  background: rgba(234, 179, 8, 0.12);
  border-color: rgba(234, 179, 8, 0.35);
  color: #fde047;
}

.btn-event-red {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.events-timeline {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 14px;
  border: 1px solid var(--line);
}

.event-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 0.88rem;
}

.event-item-desc {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.event-icon {
  font-size: 1.1rem;
}

.event-minute {
  font-weight: 800;
  color: var(--accent);
  font-size: 0.82rem;
}

.event-assist {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
}

.btn-remove-event {
  background: transparent;
  border: none;
  color: #ef4444;
  font-weight: 800;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
}

.btn-remove-event:hover {
  background: rgba(239, 68, 68, 0.15);
}

/* ---------- 16-Player Squad Manager Cards ---------- */

.squad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  max-height: 520px;
  overflow-y: auto;
  padding: 4px;
}

.squad-slot-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.squad-slot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.squad-num-badge {
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--accent);
}

.squad-badge-starter {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(225, 29, 72, 0.15);
  color: #fda4af;
  font-size: 0.72rem;
  font-weight: 700;
}

.squad-badge-sub {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.squad-inputs-row {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 8px;
}

.squad-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 8px;
}

/* ---------- Interactive Match Modal ---------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 20, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.is-open,
.modal-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  width: min(580px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #140a0e;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(225, 29, 72, 0.25);
  padding: 26px;
  display: grid;
  gap: 18px;
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalIn {
  from {
    transform: scale(0.95) translateY(12px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.modal-score-banner {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.15) 0%, rgba(244, 63, 94, 0.1) 100%);
  border: 1px solid rgba(225, 29, 72, 0.3);
  color: #fff;
  border-radius: 18px;
  padding: 22px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.modal-team-name {
  font-weight: 800;
  font-size: 1.1rem;
}

.modal-score {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.modal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.modal-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

/* ---------- Passcode Vault Table (Committee) ---------- */

.vault-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.vault-table th,
.vault-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.vault-table th {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.03);
}

.code-pill {
  display: inline-block;
  font-family: Consolas, monospace;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(225, 29, 72, 0.15);
  color: #fda4af;
  border: 1px solid rgba(225, 29, 72, 0.3);
}

.btn-copy {
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---------- Bottom Nav ---------- */

.bottom-nav {
  display: flex;
  position: sticky;
  bottom: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  margin-top: 10px;
  border-radius: 20px;
  background: rgba(20, 9, 13, 0.88);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  z-index: 50;
}

.nav-item {
  flex: 1;
  text-align: center;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.86rem;
  transition: all 0.2s ease;
}

.nav-item:hover {
  color: #ffffff;
}

.nav-item.is-current {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.35);
}

/* ---------- Responsive ---------- */

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

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

@media (max-width: 640px) {
  .topbar,
  .page,
  .bottom-nav {
    width: min(100% - 20px, 1140px);
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px;
  }

  .brand {
    gap: 12px;
    justify-content: flex-start;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 1.05rem;
  }

  .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sync-btn,
  .install-btn,
  .insta-pill,
  .social-link,
  .back-home {
    padding: 7px 13px;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

  .hero-card,
  .section-card {
    border-radius: 20px;
    padding: 18px;
  }

  .score-arena {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .score-divider {
    order: -1;
  }

  .nav-item {
    padding: 8px 6px;
    font-size: 0.78rem;
  }
}

@media (max-width: 380px) {
  .header-actions {
    gap: 8px;
  }

  .sync-btn,
  .install-btn,
  .insta-pill,
  .social-link,
  .back-home {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
}

/* ==========================================
   REAL-TIME LIVE SYNC TOAST NOTIFICATION
   ========================================== */
.hb-live-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(20, 9, 13, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(225, 29, 72, 0.45);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(225, 29, 72, 0.2);
  color: #f1f5f9;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(-16px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hb-live-toast.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.live-toast-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  animation: liveToastPulse 1.6s infinite ease-in-out;
}

@keyframes liveToastPulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(225, 29, 72, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
  }
}

@media (max-width: 640px) {
  .hb-live-toast {
    top: 14px;
    right: 14px;
    left: 14px;
    justify-content: center;
    font-size: 0.8rem;
    padding: 8px 14px;
  }
}

/* ==========================================
   OFFICIAL RULEBOOK & INFO PAGE STYLING
   ========================================== */
.rulebook-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}

.rulebook-section-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rulebook-section-card:hover {
  border-color: rgba(225, 29, 72, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.rulebook-section-header {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rulebook-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
}

.rulebook-section-num {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.15);
  color: var(--accent);
  border: 1px solid rgba(225, 29, 72, 0.35);
}

.rulebook-items-list {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rule-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #e2e8f0;
}

.rule-item-num {
  font-weight: 800;
  color: var(--accent);
  font-size: 0.88rem;
  min-width: 22px;
  padding-top: 1px;
}

.rule-item-content {
  flex: 1;
}

.rule-subitems-list {
  margin-top: 10px;
  padding-left: 12px;
  border-left: 2px solid rgba(225, 29, 72, 0.35);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rule-subitem {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.rule-subitem-num {
  font-weight: 700;
  color: #38bdf8;
  min-width: 28px;
}

/* Card highlight badges inside rules */
.badge-card-yellow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(234, 179, 8, 0.2);
  color: #fef08a;
  border: 1px solid rgba(234, 179, 8, 0.5);
  padding: 1px 7px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
}

.badge-card-red {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(244, 63, 94, 0.2);
  color: #fecdd3;
  border: 1px solid rgba(244, 63, 94, 0.5);
  padding: 1px 7px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
}

/* Referee Grid Cards */
.referee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.referee-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.referee-card:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 29, 72, 0.4);
}

.referee-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.referee-info h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 700;
}

.referee-role-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}

/* Directions & Venue Cards */
.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.direction-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.direction-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.direction-card-icon {
  font-size: 1.5rem;
}

.direction-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #ffffff;
}

.direction-card p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.maps-btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.15);
  border: 1px solid rgba(225, 29, 72, 0.4);
  color: #10b981;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.maps-btn:hover {
  background: #10b981;
  color: #0d0609;
  box-shadow: 0 0 16px rgba(225, 29, 72, 0.4);
}

/* ===================================================
   TEAM OVERVIEW & 7v7 FOOTBALL PITCH STYLES
   =================================================== */

.team-clickable {
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
}

.team-clickable:hover {
  color: var(--accent) !important;
  text-shadow: 0 0 8px rgba(225, 29, 72, 0.4);
}

.team-clickable:hover h3,
.team-clickable:hover span,
.team-clickable:hover .match-hero-team-name,
.team-clickable:hover .lineup-team-title,
.team-clickable:hover .feed-team-title,
.team-clickable:hover .live-team-name {
  color: var(--accent) !important;
  text-decoration: underline;
}

#team-modal {
  z-index: 10000;
}

#match-modal {
  z-index: 10000;
}

.team-modal-window {
  width: min(820px, 96vw);
  max-height: 92vh;
  overflow-y: auto;
  background: #0d0609;
  border-radius: 24px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(225, 29, 72, 0.2);
  border: 1px solid rgba(225, 29, 72, 0.3);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.team-modal-window > * {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .team-modal-window {
    padding: 16px;
    gap: 18px;
    border-radius: 18px;
  }
}

/* Top Back Navigation */
.team-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.team-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.team-back-btn:hover {
  background: rgba(225, 29, 72, 0.2);
  border-color: #10b981;
  color: #10b981;
  transform: translateX(-3px);
}

/* Team Profile Banner */
.team-profile-banner {
  background: linear-gradient(135deg, #101726 0%, #0d1322 100%);
  border: 1px solid rgba(225, 29, 72, 0.25);
  border-radius: 20px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  min-height: 110px;
}

.team-profile-banner::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 640px) {
  .team-profile-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
    gap: 14px;
    flex-shrink: 0;
    min-height: auto;
  }
}

.team-crest-large {
  width: 96px;
  height: 96px;
  min-width: 96px;
  min-height: 96px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}

.team-crest-large img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.team-meta-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.team-title-row h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}

.team-location {
  color: var(--text-secondary);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 640px) {
  .team-title-row {
    justify-content: center;
  }
  .team-location {
    justify-content: center;
  }
}

/* Status Badges */
.team-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-champion {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
}

.status-finalist, .status-final {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid #f59e0b;
  color: #f59e0b;
}

.status-bronze, .status-semis {
  background: rgba(147, 51, 234, 0.2);
  border: 1px solid #a855f7;
  color: #c084fc;
}

.status-qf {
  background: rgba(244, 63, 94, 0.2);
  border: 1px solid #06b6d4;
  color: #22d3ee;
}

.status-group {
  background: rgba(225, 29, 72, 0.15);
  border: 1px solid #10b981;
  color: #10b981;
}

/* Record Pills */
.team-record-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

@media (max-width: 640px) {
  .team-record-row {
    justify-content: center;
  }
}

.record-pill {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
}

/* ===================================================
   7v7 HALF-PITCH LINEUP VISUALIZATION
   =================================================== */

.field-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.pitch-container {
  width: 100%;
  background: #0d2818;
  border-radius: 18px;
  padding: 16px 12px 24px;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(34, 197, 94, 0.4);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6), 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  flex-shrink: 0;
}

/* Grass Stripes */
.pitch-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(22, 101, 52, 0.85) 0px,
    rgba(22, 101, 52, 0.85) 55px,
    rgba(21, 128, 61, 0.85) 55px,
    rgba(21, 128, 61, 0.85) 110px
  );
  pointer-events: none;
  z-index: 1;
}

/* Pitch Markings Overlay */
.pitch-markings {
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
  z-index: 2;
}

/* Halfway Line at Top */
.pitch-markings::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
}

/* Center Circle Arc at Top */
.pitch-center-arc {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
  z-index: 2;
}

/* Penalty Box at Bottom */
.pitch-penalty-box {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 90px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: none;
  pointer-events: none;
  z-index: 2;
}

/* Goal Area at Bottom */
.pitch-goal-area {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: none;
  pointer-events: none;
  z-index: 2;
}

/* Penalty Spot & Arc */
.pitch-penalty-spot {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  pointer-events: none;
  z-index: 2;
}

.pitch-penalty-arc {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 50px;
  border-radius: 50% 50% 0 0;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: none;
  pointer-events: none;
  z-index: 2;
}

/* Tactical Pitch Rows */
.pitch-tactical-layer {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 440px;
  padding-top: 36px;
  padding-bottom: 8px;
}

.pitch-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  padding: 4px 10px;
}

.pitch-row-attack {
  margin-top: 8px;
}

/* Player Node on Pitch */
.pitch-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  max-width: 95px;
}

.pitch-player:hover {
  transform: scale(1.1) translateY(-2px);
}

.pitch-player-disc {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  border: 2px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 10px rgba(225, 29, 72, 0.4);
}

.pitch-player-disc.is-gk {
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  border-color: #fef08a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 10px rgba(245, 158, 11, 0.5);
}

.pitch-captain-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #f59e0b;
  color: #000;
  font-size: 0.62rem;
  font-weight: 900;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.pitch-player-name {
  background: rgba(7, 11, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.pitch-player-pos {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fecdd3;
  letter-spacing: 0.05em;
}

/* Substitutes & Bench Section */
.bench-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bench-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.bench-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}

.bench-card {
  background: #140a0e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bench-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bench-meta {
  flex: 1;
  min-width: 0;
}

.bench-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bench-subline {
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===================================================
   PLAYER STATS TABLE INSIDE OVERVIEW
   =================================================== */

.overview-stats-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.overview-table-wrap {
  background: #140a0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.player-stats-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.player-stats-table th {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 14px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.player-stats-table td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
}

.player-stats-table tr:last-child td {
  border-bottom: none;
}

.player-stats-table .num-cell {
  text-align: center;
  font-weight: 700;
  width: 44px;
}

.player-stats-table .stat-active {
  color: var(--accent);
  font-weight: 800;
}

/* ===================================================
   MATCH RESULTS & UPCOMING FIXTURES LIST
   =================================================== */

.overview-matches-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.overview-match-card {
  background: #140a0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.overview-match-card:hover {
  background: rgba(225, 29, 72, 0.08);
  border-color: rgba(225, 29, 72, 0.3);
  transform: translateX(3px);
}

.match-left-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.result-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.result-w {
  background: #10b981;
  color: #042f2e;
}

.result-l {
  background: #ef4444;
  color: #450a0a;
}

.result-d {
  background: #64748b;
  color: #140a0e;
}

.result-live {
  background: #10b981;
  color: #fff;
  font-size: 0.72rem;
  padding: 2px 6px;
  width: auto;
  animation: radarPulse 1.5s infinite;
}

.result-upcoming {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.75rem;
  width: auto;
  padding: 4px 8px;
  border-radius: 6px;
}

.match-info-meta h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.match-info-meta p {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.match-score-pill {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.02em;
}

/* Modal Sponsors Section */
.modal-sponsors-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.modal-sponsors-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.modal-sponsors-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.modal-sponsor-logo {
  height: 28px;
  max-width: 90px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.modal-sponsor-logo:hover {
  opacity: 1;
}

/* ===================================================
   PWA & APP INSTALLATION MODAL STYLES (iOS & Android)
   =================================================== */

.install-modal-window {
  width: min(520px, 94vw);
  background: #0d0609;
  border-radius: 24px;
  border: 1px solid rgba(225, 29, 72, 0.3);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(225, 29, 72, 0.2);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.install-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
}

.install-header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.install-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}

.install-tab-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.install-tab-btn.is-active {
  background: #10b981;
  color: #1a080e;
}

.install-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.install-card-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 16px;
}

.step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(225, 29, 72, 0.2);
  border: 1px solid #10b981;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.step-content h4 {
  margin: 0 0 4px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.step-content p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.install-action-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  color: #1a080e;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
}

.install-action-btn:hover {
  background: linear-gradient(135deg, #fb7185 0%, #10b981 100%);
  transform: translateY(-1px);
}

/* ==========================================
   LIVE UPDATES FEED & SPLIT LAYOUT
   ========================================== */

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

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

.badge-finished {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.live-status-pill-wrap {
  display: flex;
  align-items: center;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.live-status-pill.live-active {
  background: rgba(225, 29, 72, 0.16);
  border: 1px solid rgba(225, 29, 72, 0.45);
  color: #fda4af;
}

.live-status-pill.live-standby {
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.25);
  color: #fecdd3;
}

.radar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f43f5e;
  box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.8);
  animation: radarPing 1.5s infinite;
}

@keyframes radarPing {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.85);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(244, 63, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0);
  }
}

.live-updates-feed {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 18px;
}

.feed-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feed-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.feed-title-with-pill {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-live-icon {
  font-size: 0.9rem;
  animation: blinkFast 1.2s infinite ease-in-out;
}

@keyframes blinkFast {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.feed-section-title {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
}

.feed-icon {
  font-size: 1rem;
}

.badge-live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 0 12px rgba(225, 29, 72, 0.5);
  animation: livePulse 1.6s infinite;
}

.feed-count-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  border: 1px solid var(--line);
}

.feed-section-meta {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 600;
}

/* Ongoing Live Match Card */
.live-matches-grid {
  display: grid;
  gap: 14px;
}

.live-ongoing-card {
  background: linear-gradient(145deg, rgba(225, 29, 72, 0.09) 0%, rgba(20, 9, 13, 0.92) 45%, rgba(225, 29, 72, 0.09) 100%);
  border: 1px solid rgba(225, 29, 72, 0.45);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 4px 24px rgba(225, 29, 72, 0.15), 0 2px 8px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.live-ongoing-card:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 29, 72, 0.75);
  box-shadow: 0 8px 32px rgba(225, 29, 72, 0.28);
}

.live-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.live-card-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-arena-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 6px 0;
}

.live-team-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.live-team-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  transition: color 0.15s ease;
  line-height: 1.25;
}

.live-team-name:hover {
  color: var(--accent);
  text-decoration: underline;
}

.live-score-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.live-score-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6), 0 0 16px rgba(225, 29, 72, 0.2);
}

.live-score-digit {
  font-size: 2rem;
  font-weight: 900;
  font-family: monospace, sans-serif;
  color: #ffffff;
  min-width: 26px;
  text-align: center;
}

.live-score-sep {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fda4af;
  animation: blinkFast 1.5s infinite;
}

.live-match-time {
  font-size: 0.74rem;
  color: #fda4af;
  font-weight: 700;
}

.feed-events-stream {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 6px;
  padding: 7px 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feed-event-chip {
  font-size: 0.76rem;
  color: #f1f5f9;
  font-weight: 600;
}

.live-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
}

.live-card-ref {
  color: var(--muted);
}

.live-details-link {
  color: var(--accent);
  font-weight: 700;
}

/* Standby Card when no match is live */
.live-standby-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
}

.standby-icon {
  font-size: 1.8rem;
  opacity: 0.85;
}

.standby-info h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  color: #ffffff;
}

.standby-info p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.standby-info strong {
  color: #e2e8f0;
}

/* Latest Results List */
.feed-results-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feed-result-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.feed-result-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(225, 29, 72, 0.35);
  transform: translateY(-1px);
}

.feed-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.74rem;
}

.feed-item-stage {
  color: var(--muted);
  font-weight: 600;
}

.feed-item-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-finished-sm {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ground-badge-sm {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.feed-match-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.feed-team-entry {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feed-team-entry.away-entry {
  justify-content: flex-end;
  text-align: right;
}

.feed-team-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.feed-team-title:hover {
  color: var(--accent);
  text-decoration: underline;
}

.feed-team-entry.is-winner .feed-team-title {
  font-weight: 800;
  color: #ffffff;
}

.feed-result-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  font-family: monospace, sans-serif;
  color: #cbd5e1;
}

.score-win {
  color: var(--accent);
  font-weight: 900;
}

.score-dash {
  color: var(--muted);
  font-size: 0.85rem;
}

.feed-goals-row {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Upcoming Fixtures List */
.feed-upcoming-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feed-upcoming-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.feed-upcoming-item:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(244, 63, 94, 0.35);
  transform: translateY(-1px);
}

.feed-time-chip {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fecdd3;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.25);
  padding: 2px 7px;
  border-radius: 999px;
}

.feed-upcoming-teams-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
}

.feed-team-side {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feed-team-side.away-side {
  justify-content: flex-end;
  text-align: right;
}

.feed-vs-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.feed-upcoming-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.74rem;
}

.feed-ref-note {
  color: var(--muted);
}

.feed-view-match-btn {
  color: var(--cyan);
  font-weight: 600;
}

.feed-empty-state {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--line);
  border-radius: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .live-ongoing-card {
    padding: 14px;
  }
  .live-arena-layout {
    gap: 8px;
  }
  .live-score-box {
    padding: 6px 12px;
  }
  .live-score-digit {
    font-size: 1.5rem;
  }
  .live-team-name {
    font-size: 0.84rem;
  }
  .feed-team-title {
    font-size: 0.82rem;
  }
  .feed-match-row,
  .feed-upcoming-teams-row {
    gap: 8px;
  }
}

/* ==========================================
   MATCH OVERVIEW & DETAIL VIEW (FULL PAGE FEEL)
   ========================================== */

.match-modal-window {
  width: min(880px, 96vw);
  max-height: 94vh;
  overflow-y: auto;
  background: #0d0609;
  border-radius: 24px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 35px rgba(225, 29, 72, 0.2);
  border: 1px solid rgba(225, 29, 72, 0.3);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.match-modal-window > * {
  flex-shrink: 0;
}

/* Top Back Navigation */
.match-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.match-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.match-back-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--accent);
  color: #fff;
  transform: translateX(-2px);
}

.back-arrow {
  font-size: 1.15rem;
  line-height: 1;
}

/* Hero Match Banner */
.match-hero-card {
  background: linear-gradient(135deg, #2a0b14 0%, #150914 45%, #0a1120 100%);
  border: 1px solid rgba(245, 158, 11, 0.32);
  border-radius: 24px;
  padding: 24px 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.match-hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.7), rgba(225, 29, 72, 0.7), transparent);
  pointer-events: none;
}

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

.match-hero-stage {
  color: #f59e0b;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.match-hero-status {
  font-size: 0.84rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.match-hero-status.status-live {
  background: rgba(225, 29, 72, 0.2);
  border: 1px solid rgba(225, 29, 72, 0.5);
  color: #fda4af;
  animation: livePulse 1.6s infinite;
}

.match-hero-status.status-ft {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
}

.match-hero-status.status-upcoming {
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.3);
  color: #fda4af;
}

.match-hero-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 6px 0 10px;
}

.match-hero-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.match-hero-crest-wrap {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}

.match-hero-team-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  transition: color 0.15s ease;
  line-height: 1.25;
}

.match-hero-team-name:hover {
  color: var(--accent);
  text-decoration: underline;
}

.match-hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 140px;
}

.match-hero-score-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: monospace, sans-serif;
  font-weight: 900;
  color: #ffffff;
}

.hero-score-digit {
  font-size: 3rem;
  line-height: 1;
  min-width: 36px;
  text-align: center;
}

.hero-score-sep {
  font-size: 2.4rem;
  color: #f59e0b;
  opacity: 0.85;
}

.hero-score-vs {
  font-size: 2rem;
  color: #f59e0b;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-pen-score {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f59e0b;
  margin-top: 4px;
  text-align: center;
}

.match-hero-ground-time {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  margin-top: 8px;
  text-align: center;
}

/* Match Facts Divider & Timeline */
.match-facts-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.facts-divider-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0;
}

.facts-divider-line {
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}

.facts-divider-text {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.match-facts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0;
}

.match-fact-item {
  display: grid;
  grid-template-columns: 1fr 20px 1fr;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
}

.home-fact-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  text-align: right;
  color: #f1f5f9;
  font-weight: 600;
}

.away-fact-col {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: left;
  color: #f1f5f9;
  font-weight: 600;
}

.fact-center-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fact-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.fact-icon-badge {
  font-size: 1rem;
  flex-shrink: 0;
}

.facts-preview-bar {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.fact-preview-chip strong {
  color: #e2e8f0;
}

/* Lineups Section */
.match-lineups-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lineups-main-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 6px 0 2px;
}

.reserves-main-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  margin: 12px 0 2px;
}

.lineups-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lineup-column {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lineup-team-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
}

.lineup-team-title:hover {
  color: var(--accent);
  text-decoration: underline;
}

.lineup-crest-wrap {
  flex-shrink: 0;
}

.lineup-players-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lineup-player-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  font-size: 0.86rem;
}

.player-num-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.player-name-val {
  flex: 1;
  color: #f1f5f9;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-pos-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  margin-left: auto;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.no-reserves-note {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 8px 0;
  text-align: center;
  font-style: italic;
}

.match-sponsors-section {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 6px;
}

@media (max-width: 640px) {
  .match-modal-window {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    padding: 14px 12px 60px;
    border: none;
    gap: 16px;
  }
  .match-hero-card {
    padding: 16px 12px;
    border-radius: 18px;
  }
  .match-hero-body {
    gap: 8px;
  }
  .hero-score-digit {
    font-size: 2.1rem;
    min-width: 28px;
  }
  .hero-score-sep {
    font-size: 1.7rem;
  }
  .match-hero-team-name {
    font-size: 0.92rem;
  }
  .lineups-grid {
    gap: 8px;
  }
  .lineup-column {
    padding: 10px 8px;
  }
  .lineup-team-heading {
    font-size: 0.82rem;
    gap: 6px;
  }
  .player-num-circle {
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
  }
  .player-name-val {
    font-size: 0.76rem;
  }
  .player-pos-tag {
    font-size: 0.65rem;
  }
}

/* ==========================================
   FEATURED PARTNERS & SOCIAL BAR (Home Page)
   ========================================== */
.featured-partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.featured-partner-card {
  background: rgba(20, 9, 13, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.featured-partner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(225, 29, 72, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.featured-partner-card:hover {
  transform: translateY(-3px);
  border-color: rgba(225, 29, 72, 0.4);
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.15);
}

.featured-partner-card:hover::before {
  opacity: 1;
}

.featured-partner-card.partner-card-clickable:hover {
  border-color: rgba(225, 48, 108, 0.5);
  box-shadow: 0 12px 28px rgba(225, 48, 108, 0.2);
}

.featured-partner-card.partner-card-clickable:hover::before {
  background: linear-gradient(90deg, transparent, #e1306c, #833ab4, transparent);
  opacity: 1;
}

.partner-logo-box {
  width: 100%;
  height: 96px;
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  position: relative;
}

.partner-logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.partner-insta-box {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.partner-hb-crest {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
  max-height: 70px;
}

.partner-insta-icon {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 1.1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.partner-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.partner-role-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.partner-badge-insta {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.25), rgba(131, 58, 180, 0.25));
  border: 1px solid rgba(225, 48, 108, 0.45);
  color: #fbcfe8;
}

.partner-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.partner-desc {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.35;
}

@media (max-width: 960px) {
  .featured-partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .featured-partners-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .featured-partner-card {
    flex-direction: row;
    text-align: left;
    padding: 12px 14px;
    align-items: center;
    gap: 14px;
  }
  .partner-logo-box {
    width: 76px;
    height: 64px;
    flex-shrink: 0;
    padding: 6px 10px;
  }
  .partner-info {
    align-items: flex-start;
  }
  .partner-hb-crest {
    max-height: 48px;
  }
}

/* ==========================================
   TEAM SPONSORS SECTION (Bottom of All Pages)
   ========================================== */
.team-sponsors-block {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.team-sponsors-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  margin-bottom: 20px;
}

.team-sponsor-pill {
  background: rgba(225, 29, 72, 0.14);
  border: 1px solid rgba(225, 29, 72, 0.35);
  color: #fb7185;
}

.team-sponsors-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.01em;
}

/* Single unified horizontal white space bar with small inline logos */
.team-sponsors-grid {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 28px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
  width: 100%;
}

.team-sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  max-width: 25%;
  min-width: 0;
  height: 76px;
  text-decoration: none;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  padding: 6px 12px;
  box-sizing: border-box;
}

.team-sponsor-item:hover {
  transform: scale(1.08);
}

.team-sponsor-img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .team-sponsors-grid {
    max-width: 100%;
    padding: 14px 18px;
    gap: 14px;
    border-radius: 14px;
  }
  .team-sponsor-item {
    height: 58px;
    padding: 4px 8px;
  }
  .team-sponsor-img {
    max-height: 48px;
  }
}

@media (max-width: 480px) {
  .team-sponsors-grid {
    padding: 12px 12px;
    gap: 10px;
    border-radius: 12px;
  }
  .team-sponsor-item {
    height: 48px;
    padding: 3px 6px;
  }
  .team-sponsor-img {
    max-height: 38px;
  }
}


/* 3rd-Place Teams Standings Styles */
.third-place-ranking-card {
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.badge-pqf-qualified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(225, 29, 72, 0.16);
  border: 1px solid rgba(225, 29, 72, 0.4);
  color: #fb7185;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-eliminated {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
}

.team-crest-wrapper {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  vertical-align: middle;
}

tr:hover .team-crest-wrapper,
.fixture-card:hover .team-crest-wrapper,
.bracket-match:hover .team-crest-wrapper {
  transform: scale(1.08);
}

/* ==========================================
   CONTINUOUS MOVING TEAMS MARQUEE UI
   ========================================== */
.teams-marquee-section {
  margin: 18px 0 24px;
  background: linear-gradient(135deg, rgba(20, 9, 13, 0.82) 0%, rgba(28, 12, 18, 0.72) 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 0 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.teams-marquee-section::before,
.teams-marquee-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 3;
  pointer-events: none;
}

.teams-marquee-section::before {
  left: 0;
  background: linear-gradient(to right, #090507 10%, rgba(9, 5, 7, 0.7) 50%, transparent 100%);
}

.teams-marquee-section::after {
  right: 0;
  background: linear-gradient(to left, #090507 10%, rgba(9, 5, 7, 0.7) 50%, transparent 100%);
}

.marquee-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.marquee-header-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.marquee-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.marquee-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.marquee-sublabel {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.marquee-swipe-hint {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 500;
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  display: flex;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding: 4px 12px;
  animation: marquee-horizontal 45s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-horizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.marquee-card:hover {
  background: rgba(225, 29, 72, 0.12);
  border-color: rgba(225, 29, 72, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.marquee-card-crest {
  flex-shrink: 0;
}

.marquee-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.marquee-card-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.marquee-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fb7185;
}


