/* 
   Liverpool Guttetur 2026/2027 CSS Design System - UPGRADED LIVE VERSION
   Sleek Dark Mode with Anfield Red & Gold Accents, Real-Time Dashboard & Tab Controls
*/

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

:root {
  --bg-primary: #08080a;
  --bg-secondary: #111116;
  --bg-card: rgba(22, 22, 29, 0.7);
  --bg-card-hover: rgba(30, 30, 40, 0.9);
  
  --primary: #c8102e; /* Liverpool Red */
  --primary-hover: #e01639;
  --primary-glow: rgba(200, 16, 46, 0.4);
  
  --accent: #f6eb61; /* gold */
  --accent-muted: #d4af37;
  
  --text-primary: #ffffff;
  --text-secondary: #a2a2bd;
  --text-muted: #5e5e78;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --border-selected: rgba(200, 16, 46, 0.7);
  
  --p1-color: #ffd700; /* Gold */
  --p2-color: #c0c0c0; /* Silver */
  --p3-color: #cd7f32; /* Bronze */
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px var(--primary-glow);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: 40px;
}

/* Background Atmospheric Glows */
.bg-glow-1 {
  position: fixed;
  top: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.1) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.bg-glow-2 {
  position: fixed;
  bottom: -10%;
  left: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(246, 235, 97, 0.04) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Beautiful Hero Header with Anfield Background Overlay */
.hero-header {
  position: relative;
  border-radius: 0 0 32px 32px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(8, 8, 10, 1) 100%), 
              url('https://images.unsplash.com/photo-1522778119026-d647f0596c20?auto=format&fit=crop&w=1500&q=80');
  background-size: cover;
  background-position: center 30%;
  padding: 60px 20px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.lfc-badge-svg {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 12px var(--primary-glow));
  animation: float 4s ease-in-out infinite;
}

h1 {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 40%, #ffd1d5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.slogan {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

/* Tab Navigation System */
.tab-navigation {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 6px;
  max-width: 500px;
  margin: 0 auto 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 14px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-normal);
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.tab-btn:hover:not(.active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* App Views Toggle */
.app-view {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.app-view.active {
  display: block;
}

/* Voting View Content Styling */
.user-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
}

.user-card .input-group {
  margin-bottom: 24px;
}

.input-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.user-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.user-input-icon {
  position: absolute;
  left: 16px;
  color: var(--primary);
}

.user-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 16px 16px 16px 48px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition-fast);
}

.user-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.2);
  background: rgba(0, 0, 0, 0.6);
}

.filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media(min-width: 768px) {
  .filter-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

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

.slider-val {
  color: var(--accent);
  font-weight: 800;
  font-size: 16px;
}

.budget-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.budget-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 12px var(--primary-glow);
  border: 2px solid #fff;
  transition: var(--transition-fast);
}

.budget-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: var(--primary-hover);
}

.sort-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sort-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  transition: var(--transition-fast);
}

.sort-btn.active {
  background: rgba(200, 16, 46, 0.12);
  border-color: var(--primary);
  color: var(--text-primary);
}

.sort-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

/* Selection State Banner */
.selection-instructions {
  background: rgba(200, 16, 46, 0.08);
  border: 1px solid rgba(200, 16, 46, 0.2);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.instructions-text {
  font-size: 14px;
  color: #ffd2d6;
}

.instructions-steps {
  display: flex;
  gap: 8px;
  font-weight: 800;
}

.step-bubble {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.step-bubble.filled {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* Match Grid Section */
.section-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
}

.badge-count {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
}

.matches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media(min-width: 600px) {
  .matches-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 1024px) {
  .matches-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Upgraded Match Card */
.match-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.match-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  background-color: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

/* Match Card Selected States */
.match-card.selected {
  border-color: var(--border-selected);
  background-color: var(--bg-card-hover);
}

.match-card.selected.p1 {
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.12);
  border-color: var(--p1-color);
}
.match-card.selected.p2 {
  box-shadow: 0 8px 30px rgba(192, 192, 192, 0.12);
  border-color: var(--p2-color);
}
.match-card.selected.p3 {
  box-shadow: 0 8px 30px rgba(205, 127, 50, 0.12);
  border-color: var(--p3-color);
}

.match-card.filtered {
  opacity: 0.15;
  pointer-events: none;
  transform: scale(0.96);
}

/* Match Card Headers & Details */
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.match-date-badge {
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.match-tag {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--text-secondary);
}

.match-tag.midtuke {
  background: rgba(246, 235, 97, 0.1);
  color: var(--accent);
}

.match-teams {
  margin-bottom: 24px;
}

.team-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 800;
}

.team-row.home {
  color: #fff;
  margin-bottom: 6px;
}

.team-row.away {
  color: #e2e2ec;
}

.team-logo-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
}

.team-logo-circle.lfc {
  background: var(--primary);
  color: #fff;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.match-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
}

.match-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-left: 2px;
}

/* Priority Indicator Badge on Card */
.priority-indicator {
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: none;
}

.match-card.selected.p1 .priority-indicator {
  display: block;
  background: var(--p1-color);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.match-card.selected.p2 .priority-indicator {
  display: block;
  background: var(--p2-color);
  box-shadow: 0 4px 12px rgba(192, 192, 192, 0.3);
}

.match-card.selected.p3 .priority-indicator {
  display: block;
  background: var(--p3-color);
  box-shadow: 0 4px 12px rgba(205, 127, 50, 0.3);
}

/* Dynamic Bottom Actions Bar for Submitting Votes */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(8, 8, 10, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1.5px solid var(--border-color);
  padding: 20px;
  z-index: 100;
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.6);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.sticky-bar.active {
  transform: translateY(0);
}

.sticky-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media(min-width: 768px) {
  .sticky-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.sticky-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

.sticky-text span {
  color: #fff;
  font-weight: 800;
}

.sticky-buttons {
  display: flex;
  gap: 12px;
  width: 100%;
}

@media(min-width: 768px) {
  .sticky-buttons {
    width: auto;
  }
}

.btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
}

@media(min-width: 768px) {
  .btn {
    flex: none;
  }
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(200, 16, 46, 0.35);
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
  box-shadow: 0 6px 22px rgba(200, 16, 46, 0.5), var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-primary:disabled {
  background: var(--text-muted);
  color: rgba(255, 255, 255, 0.3);
  box-shadow: none;
  cursor: not-allowed;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
}

/* Live Dashboard Layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media(min-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

/* Dashboard Panel Card */
.dashboard-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  height: fit-content;
}

.panel-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 16px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-title {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Custom Visual CSS Bar Chart */
.chart-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chart-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chart-info {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
}

.chart-match-name {
  color: #fff;
}

.chart-points {
  color: var(--accent);
}

.bar-track {
  width: 100%;
  height: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-muted) 100%);
  border-radius: 10px;
  width: 0%; /* Dynamic */
  box-shadow: 0 0 10px rgba(200, 16, 46, 0.4);
  transition: width 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.vote-breakdown {
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  gap: 12px;
  margin-top: 2px;
}

.breakdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.breakdown-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.breakdown-dot.p1 { background: var(--p1-color); }
.breakdown-dot.p2 { background: var(--p2-color); }
.breakdown-dot.p3 { background: var(--p3-color); }

/* Beautiful Voter Log List */
.voter-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.voter-row {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition-fast);
}

.voter-row:hover {
  border-color: var(--border-hover);
  background: rgba(0, 0, 0, 0.4);
}

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

.voter-name {
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.voter-time {
  font-size: 11px;
  color: var(--text-muted);
}

.voter-choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media(min-width: 480px) {
  .voter-choices {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mini-choice-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-choice-badge.p1 { border-color: rgba(255, 215, 0, 0.3); }
.mini-choice-badge.p2 { border-color: rgba(192, 192, 192, 0.3); }
.mini-choice-badge.p3 { border-color: rgba(205, 127, 50, 0.3); }

.mini-choice-rank {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.mini-choice-rank.p1 { color: var(--p1-color); }
.mini-choice-rank.p2 { color: var(--p2-color); }
.mini-choice-rank.p3 { color: var(--p3-color); }

.mini-choice-match {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
}

.empty-state svg {
  margin-bottom: 12px;
  opacity: 0.3;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

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

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(200, 16, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); }
}

/* Toast Notification styling */
.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #1b5e20;
  border: 1px solid #2e7d32;
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.25);
}

.toast.active {
  transform: translateX(-50%) translateY(0);
}

/* Info Grid (Hall of Fame & Table) */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 32px;
}

@media(min-width: 1024px) {
  .info-grid {
    grid-template-columns: 1fr 1fr; /* Equal 50/50 split */
  }
}

/* Trophy Grid inside Hall of Fame */
.trophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
}

.trophy-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.trophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: var(--transition-fast);
}

.trophy-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
  border-color: rgba(246, 235, 97, 0.3);
  box-shadow: 0 10px 20px rgba(246, 235, 97, 0.05);
}

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

.trophy-icon {
  font-size: 32px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 8px rgba(246, 235, 97, 0.3));
}

.trophy-count {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.trophy-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.trophy-year {
  font-size: 11px;
  color: var(--text-secondary);
}

/* PL Table Styling */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.pl-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.pl-table th {
  padding: 12px 8px;
  color: var(--text-secondary);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pl-table td {
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  vertical-align: middle;
}

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

.pl-table .row-pos {
  font-weight: 700;
  width: 30px;
  text-align: center;
}

.pl-table .row-team {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pl-table .team-logo-placeholder {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.pl-table .row-pts {
  font-weight: 800;
  color: #fff;
  text-align: right;
  padding-right: 12px;
}

/* Highlight Liverpool row */
.pl-table .row-lfc {
  background: rgba(200, 16, 46, 0.15) !important;
  border-left: 3px solid var(--primary);
}

.pl-table .row-lfc td {
  color: #fff;
  font-weight: 700;
}

.pl-table .row-lfc .row-pts {
  color: var(--accent);
}

.pl-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Trophy Source Links in Hall of Fame */
.trophy-source-link {
  font-size: 11px;
  color: var(--accent);
  text-decoration: none;
  margin-top: 8px;
  opacity: 0.6;
  font-weight: 600;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.trophy-source-link:hover {
  opacity: 1;
  text-decoration: underline;
  transform: scale(1.05);
}


