/* ============================================
   TOTOMONDIALE 2026 - Dark + Gold Luxury Theme
   ============================================ */

:root {
  --bg-dark: #0a0a1a;
  --bg-medium: #12122a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --gold: #ffd700;
  --gold-dark: #daa520;
  --gold-light: #ffe44d;
  --gold-glow: rgba(255, 215, 0, 0.3);
  --text: #e8e8f0;
  --text-dim: #8888aa;
  --text-bright: #ffffff;
  --green: #00e676;
  --red: #ff5252;
  --blue: #448aff;
  --border: rgba(255, 215, 0, 0.15);
  --border-bright: rgba(255, 215, 0, 0.4);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 4px 20px rgba(255, 215, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Animated background orbs */
.bg-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
}

.bg-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--gold);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.bg-orb-2 {
  width: 400px;
  height: 400px;
  background: #4a00e0;
  bottom: -50px;
  left: -50px;
  animation-delay: -7s;
}

.bg-orb-3 {
  width: 300px;
  height: 300px;
  background: var(--gold-dark);
  top: 50%;
  left: 50%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 26, 0.85);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-bright);
}

.logo-icon {
  font-size: 28px;
  filter: drop-shadow(0 0 8px var(--gold-glow));
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo-text .gold {
  color: var(--gold);
  text-shadow: 0 0 20px var(--gold-glow);
}

.logo-year {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.15);
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.nav-link:hover {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.08);
}

.nav-admin {
  color: var(--gold);
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.nav-username {
  font-weight: 600;
  color: var(--gold);
  font-size: 14px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-sm {
  padding: 6px 16px;
  font-size: 13px;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 215, 0, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-bright);
}

.btn-outline:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--gold);
}

.btn-green {
  background: linear-gradient(135deg, #00c853, #00e676);
  color: #111;
}

.btn-red {
  background: linear-gradient(135deg, #d32f2f, #ff5252);
  color: #fff;
}

.btn-block {
  width: 100%;
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border);
}

.card-gold {
  border-color: var(--border-bright);
  box-shadow: var(--shadow-gold);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-bright);
}

/* ===== HERO PREMIUM ===== */
.hero-premium {
  position: relative;
  margin: 0 -20px;
  overflow: hidden;
  border-bottom: none;
}

.hero-premium .hero-img {
  display: block;
  width: 100%;
  height: auto;
  /* no crop */
}

.hero-premium .hero-content {
  display: none;
}

.hero-overlay-btns {
  position: absolute;
  bottom: 38%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  z-index: 5;
}

.hero-overlay-btns .btn {
  opacity: 0;
  pointer-events: all;
  padding: 14px 40px;
  font-size: 15px;
}

.hero-premium:hover .hero-overlay-btns .btn {
  opacity: 0;
}

/* Invisible clickable areas over the image buttons */
.hero-overlay-btns {
  pointer-events: none;
}

.hero-overlay-btns a {
  pointer-events: all;
  opacity: 0;
}

.hero-glow {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(0deg, var(--bg-dark) 0%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero-center {
  flex: 1;
}

.hero-badge-premium {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 180, 0, 0.1));
  color: var(--gold);
  padding: 8px 28px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid var(--border-bright);
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

.hero-title-premium {
  font-size: 86px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 0 0 80px rgba(255, 215, 0, 0.5), 0 4px 12px rgba(0,0,0,0.7);
  letter-spacing: -1px;
}

.hero-toto {
  color: var(--text-bright);
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.hero-mondiale {
  background: linear-gradient(180deg, #ffd700, #ff9500, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(255, 180, 0, 0.5));
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 550px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.hero-desc strong {
  color: var(--gold);
}

.btn-hero {
  padding: 14px 36px;
  font-size: 15px;
  border-radius: 12px;
}

/* Particles / Confetti */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: sparkle 3s ease-in-out infinite;
}

.p1  { left: 5%;  top: 15%; animation-delay: 0s; width: 3px; height: 3px; }
.p2  { left: 15%; top: 25%; animation-delay: 0.3s; width: 5px; height: 5px; }
.p3  { left: 25%; top: 10%; animation-delay: 0.7s; background: #fff; }
.p4  { left: 35%; top: 30%; animation-delay: 1s; width: 2px; height: 2px; }
.p5  { left: 45%; top: 8%;  animation-delay: 1.3s; width: 6px; height: 6px; }
.p6  { left: 55%; top: 20%; animation-delay: 0.5s; background: #fff; }
.p7  { left: 65%; top: 35%; animation-delay: 1.7s; }
.p8  { left: 75%; top: 12%; animation-delay: 0.2s; width: 5px; height: 5px; }
.p9  { left: 85%; top: 28%; animation-delay: 2s; background: #fff; }
.p10 { left: 92%; top: 18%; animation-delay: 0.8s; width: 3px; height: 3px; }
.p11 { left: 10%; top: 60%; animation-delay: 1.5s; }
.p12 { left: 20%; top: 70%; animation-delay: 2.2s; width: 5px; height: 5px; background: #fff; }
.p13 { left: 40%; top: 65%; animation-delay: 0.4s; }
.p14 { left: 60%; top: 55%; animation-delay: 1.8s; background: #fff; }
.p15 { left: 80%; top: 62%; animation-delay: 2.5s; width: 3px; height: 3px; }
.p16 { left: 30%; top: 50%; animation-delay: 0.9s; width: 6px; height: 6px; }
.p17 { left: 50%; top: 45%; animation-delay: 1.2s; background: #fff; width: 3px; height: 3px; }
.p18 { left: 70%; top: 48%; animation-delay: 2.1s; }
.p19 { left: 88%; top: 42%; animation-delay: 0.6s; width: 5px; height: 5px; }
.p20 { left: 95%; top: 55%; animation-delay: 1.6s; background: #fff; }

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
  50% { opacity: 0.8; transform: translateY(-20px) scale(1.2); }
}

/* ===== STATS BAR PREMIUM ===== */
.stats-bar-premium {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 0;
  position: relative;
  z-index: 5;
  padding: 0 20px;
}

.stat-card-premium {
  text-align: center;
  padding: 28px 16px 24px;
  background: linear-gradient(145deg, rgba(20, 20, 40, 0.95), rgba(10, 10, 25, 0.98));
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: var(--radius);
  transition: all 0.3s;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.stat-card-premium:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--gold-glow);
}

.stat-value-premium {
  font-size: 42px;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 30px var(--gold-glow);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label-premium {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* ===== TOP LIST PREMIUM ===== */
.top-list-premium {
  list-style: none;
  padding: 0;
}

.top-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--glass-border);
}

.top-item:last-child {
  border-bottom: none;
}

.top-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dim);
}

.top-1 .top-avatar {
  border-color: var(--gold);
  background: rgba(255, 215, 0, 0.15);
  box-shadow: 0 0 15px var(--gold-glow);
}

.top-2 .top-avatar {
  border-color: #c0c0c0;
  background: rgba(192, 192, 192, 0.1);
}

.top-3 .top-avatar {
  border-color: #cd7f32;
  background: rgba(205, 127, 50, 0.1);
}

.top-name-p {
  flex: 1;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-bright);
}

.top-pts-p {
  font-weight: 800;
  font-size: 18px;
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold-glow);
}

/* Legacy hero (keep for other pages) */
.hero {
  text-align: center;
  padding: 60px 0 40px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 215, 0, 0.12);
  color: var(--gold);
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-bright), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== STATS BAR ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 40px 0;
}

.stat-card {
  text-align: center;
  padding: 24px;
}

.stat-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--gold);
  text-shadow: 0 0 30px var(--gold-glow);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== MATCH CARD ===== */
.match-card {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  margin-bottom: 12px;
  gap: 20px;
  cursor: pointer;
}

.match-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.match-teams {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
  min-width: 0;
}

.match-team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
  flex: 1;
  overflow: hidden;
}

.match-team-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-team:first-child {
  justify-content: flex-end;
  text-align: right;
}

.match-team-flag {
  font-size: 32px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.match-team-name {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-bright);
}

.match-vs {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 700;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  min-width: 40px;
  text-align: center;
}

.match-score {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
  min-width: 70px;
  text-align: center;
  text-shadow: 0 0 15px var(--gold-glow);
  flex-shrink: 0;
  white-space: nowrap;
}

.match-info {
  text-align: right;
  min-width: 120px;
}

.match-date {
  font-size: 13px;
  color: var(--text-dim);
}

.match-time {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
}

.match-stage {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.match-status {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.match-status.upcoming {
  background: rgba(68, 138, 255, 0.15);
  color: var(--blue);
  border: 1px solid rgba(68, 138, 255, 0.3);
}

.match-status.locked {
  background: rgba(255, 82, 82, 0.15);
  color: var(--red);
  border: 1px solid rgba(255, 82, 82, 0.3);
}

.match-status.completed {
  background: rgba(0, 230, 118, 0.15);
  color: var(--green);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.match-actions {
  display: flex;
  gap: 8px;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title .gold {
  color: var(--gold);
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

/* ===== FILTERS ===== */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: all 0.3s;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--gold);
  border-color: var(--border-bright);
  background: rgba(255, 215, 0, 0.08);
}

/* ===== STANDINGS TABLE ===== */
.standings-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
}

.standings-table th {
  text-align: left;
  padding: 12px 16px;
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.standings-table td {
  padding: 16px;
  background: var(--bg-card);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.standings-table tr td:first-child {
  border-left: 1px solid var(--glass-border);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.standings-table tr td:last-child {
  border-right: 1px solid var(--glass-border);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.standings-table tbody tr {
  transition: all 0.3s;
}

.standings-table tbody tr:hover td {
  background: var(--bg-card-hover);
  border-color: var(--border);
}

.rank {
  font-weight: 800;
  font-size: 18px;
  color: var(--text-dim);
  width: 50px;
  text-align: center;
}

.rank-1 { color: var(--gold); text-shadow: 0 0 15px var(--gold-glow); }
.rank-2 { color: #c0c0c0; }
.rank-3 { color: #cd7f32; }

.player-name {
  font-weight: 600;
  color: var(--text-bright);
}

.player-name a {
  color: inherit;
  text-decoration: none;
}

.player-name a:hover {
  color: var(--gold);
}

.points {
  font-weight: 700;
  font-size: 18px;
  color: var(--gold);
  text-align: right;
}

/* ===== PREDICTION FORM ===== */
.prediction-form {
  display: grid;
  gap: 16px;
}

.coupon-card {
  padding: 20px;
}

.coupon-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.coupon-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.coupon-option {
  position: relative;
}

.coupon-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.coupon-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.coupon-option label:hover {
  border-color: var(--border-bright);
  color: var(--text-bright);
}

.coupon-option input:checked + label {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111;
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
  font-weight: 700;
}

.coupon-option .odd {
  display: block;
  font-size: 11px;
  opacity: 0.7;
  margin-top: 2px;
}

/* Exact score input */
.score-input {
  display: flex;
  align-items: center;
  gap: 12px;
}

.score-input input {
  width: 70px;
  padding: 12px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
}

.score-input input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 15px var(--gold-glow);
}

.score-input .sep {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dim);
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-bright);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 15px var(--gold-glow);
}

.form-input::placeholder {
  color: var(--text-dim);
}

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' fill='none' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ===== ALERTS ===== */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}

.alert-error {
  background: rgba(255, 82, 82, 0.12);
  color: var(--red);
  border: 1px solid rgba(255, 82, 82, 0.3);
}

.alert-success {
  background: rgba(0, 230, 118, 0.12);
  color: var(--green);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.alert-info {
  background: rgba(68, 138, 255, 0.12);
  color: var(--blue);
  border: 1px solid rgba(68, 138, 255, 0.3);
}

/* ===== AUTH PAGES ===== */
.auth-container {
  max-width: 440px;
  margin: 60px auto;
}

.auth-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 32px;
}

/* ===== GRID ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

/* ===== PREDICTION STATUS BADGES ===== */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-pending {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.badge-confirmed {
  background: rgba(0, 230, 118, 0.15);
  color: var(--green);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.badge-random {
  background: rgba(156, 39, 176, 0.15);
  color: #ce93d8;
  border: 1px solid rgba(156, 39, 176, 0.3);
}

/* ===== PREDICTION RESULTS TABLE ===== */
.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.results-table th {
  padding: 10px 8px;
  color: var(--text-dim);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
}

.results-table td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.results-table .correct {
  color: var(--green);
  font-weight: 700;
}

.results-table .wrong {
  color: var(--red);
  opacity: 0.6;
}

.results-table .player-total {
  font-weight: 700;
  color: var(--gold);
  font-size: 15px;
}

/* ===== MATCH HEADER ===== */
.match-header {
  text-align: center;
  padding: 40px 0 30px;
}

.match-header .match-teams {
  justify-content: center;
  margin-bottom: 16px;
}

.match-header .match-team-flag {
  font-size: 48px;
}

.match-header .match-team-name {
  font-size: 22px;
}

.match-header .match-score {
  font-size: 42px;
  padding: 0 20px;
}

.match-header-info {
  color: var(--text-dim);
  font-size: 14px;
}

/* ===== COUNTDOWN ===== */
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dim);
}

.countdown.urgent {
  color: var(--red);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
}

.footer-sub {
  font-size: 12px;
  margin-top: 4px;
  opacity: 0.6;
}

.footer-powered {
  font-size: 11px;
  margin-top: 8px;
  color: var(--gold);
  opacity: 0.7;
}

.footer-powered strong {
  color: var(--gold);
  opacity: 1;
}

/* ===== MAIN ===== */
.main {
  min-height: calc(100vh - 200px);
  padding: 20px 0;
}

/* ===== MY PREDICTIONS LIST ===== */
.pred-list {
  display: grid;
  gap: 10px;
}

.pred-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 16px;
}

.pred-item-teams {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  font-weight: 600;
  font-size: 15px;
}

.pred-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pred-item-points {
  font-weight: 700;
  color: var(--gold);
  font-size: 16px;
  min-width: 60px;
  text-align: right;
}

/* ===== REGOLAMENTO ===== */
.regolamento-content {
  line-height: 1.8;
  font-size: 15px;
}

.regolamento-content h2 {
  color: var(--gold);
  font-size: 20px;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.regolamento-content p {
  margin-bottom: 12px;
  color: var(--text);
}

.regolamento-content strong {
  color: var(--text-bright);
}

/* ===== ADMIN ===== */
.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.admin-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 14px;
}

.admin-match-teams {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-premium {
    padding: 50px 16px 40px;
  }

  .hero-title-premium {
    font-size: 38px;
  }

  .hero-content {
    flex-direction: column;
    gap: 16px;
  }

  .hero-trophy-left,
  .hero-trophy-right {
    font-size: 60px;
  }

  .hero-trophy-left { display: none; }

  .hero-desc {
    font-size: 15px;
  }

  .stats-bar-premium {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: -20px;
    padding: 0 10px;
  }

  .hero p {
    font-size: 15px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 16px;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-user {
    flex-direction: column;
    border-left: none;
    border-top: 1px solid var(--glass-border);
    padding: 16px 0 0;
    margin: 0;
    gap: 8px;
  }

  .hamburger {
    display: flex;
  }

  .match-card {
    flex-wrap: wrap;
    gap: 12px;
  }

  .match-team {
    min-width: 0;
  }

  .match-team-name {
    font-size: 14px;
  }

  .match-score {
    font-size: 18px;
    min-width: 50px;
  }

  .match-vs {
    padding: 4px 8px;
    font-size: 12px;
  }

  .match-info {
    min-width: auto;
    text-align: center;
    width: 100%;
    order: -1;
  }

  .standings-table {
    font-size: 14px;
  }

  .coupon-options {
    gap: 6px;
  }

  .coupon-option label {
    padding: 8px 14px;
    min-width: 50px;
    font-size: 13px;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 215, 0, 0.4);
}

/* ===== TOP PLAYERS MINI LIST ===== */
.top-list {
  list-style: none;
}

.top-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
}

.top-list li:last-child {
  border-bottom: none;
}

.top-list .top-rank {
  width: 30px;
  font-weight: 800;
  color: var(--text-dim);
}

.top-list .top-name {
  flex: 1;
  font-weight: 600;
}

.top-list .top-pts {
  font-weight: 700;
  color: var(--gold);
}

/* ===== DATE SEPARATOR ===== */
.date-separator {
  padding: 16px 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
}

.date-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ===== TROPHY ICONS ===== */
.trophy-1::before { content: '🥇'; margin-right: 6px; }
.trophy-2::before { content: '🥈'; margin-right: 6px; }
.trophy-3::before { content: '🥉'; margin-right: 6px; }

/* ===== LANGUAGE SELECTOR ===== */
.lang-selector {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}
.lang-btn {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-dim);
  transition: all 0.3s;
}
.lang-btn.active {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.15);
}
.lang-btn:hover {
  color: var(--gold);
}

/* ===== COMPETITION SELECTOR ===== */
.competition-select {
  width: 100%;
}
.competition-select optgroup {
  font-weight: 700;
  color: var(--gold);
}

/* ===== ADD MATCH FORM ===== */
.add-match-form .form-group {
  margin-bottom: 16px;
}
input[type="datetime-local"].form-input {
  color-scheme: dark;
}

/* ===== HOME FEATURES GRID ===== */
.home-features {
  padding: 60px 0 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.1);
}

.feature-icon {
  margin-bottom: 16px;
  color: var(--gold);
  opacity: 0.85;
  transition: all 0.3s;
}

.feature-card:hover .feature-icon {
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px var(--gold-glow));
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ===== HOME MOBILE APP SECTION ===== */
.home-mobile-app {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mobile-app-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.mobile-app-desc {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  margin: 16px 0 24px;
}

.mobile-app-features {
  list-style: none;
  margin-bottom: 32px;
}

.mobile-app-features li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
}

.mobile-app-features li:before {
  color: var(--gold);
}

.mobile-app-badges {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
}

.app-badge:hover {
  border-color: var(--gold);
  box-shadow: 0 0 15px var(--gold-glow);
}

.app-badge-icon {
  font-size: 24px;
  color: var(--text-bright);
}

.app-badge small {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.app-badge strong {
  font-size: 15px;
  color: var(--text-bright);
  display: block;
}

.mobile-app-coming {
  font-size: 12px;
  color: var(--text-dim);
  font-style: italic;
}

/* Phone mockup v2 */
.mobile-app-mockup {
  display: flex;
  justify-content: center;
  animation: phoneFloat 4s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone-frame {
  width: 260px;
  background: linear-gradient(160deg, #1a1a2e, #0d0d1a);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(255, 215, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
}

.phone-notch {
  width: 80px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin: 0 auto 10px;
}

.phone-screen {
  background: linear-gradient(180deg, #0a0a14, #0f0f20);
  border-radius: 24px;
  padding: 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.phone-header {
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
  margin-bottom: 14px;
}

.phone-match-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 12px 0 16px;
}

.phone-flag {
  font-size: 28px;
}

.phone-vs {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 215, 0, 0.5);
  letter-spacing: 2px;
}

.phone-section {
  margin-bottom: 12px;
}

.phone-label {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.phone-options {
  display: flex;
  gap: 6px;
}

.phone-opt {
  flex: 1;
  padding: 7px 4px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
}

.phone-opt.selected {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111;
  border-color: var(--gold);
  font-weight: 700;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.25);
}

.phone-confirm-btn {
  margin-top: 14px;
  padding: 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111;
  letter-spacing: 0.5px;
}

.phone-home-bar {
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  margin: 10px auto 0;
}

/* ===== HOME LEAGUES SHOWCASE ===== */
.home-leagues {
  padding: 60px 0 40px;
}

.leagues-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.league-showcase-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: all 0.3s;
  color: var(--text);
}

.league-showcase-card:hover {
  border-color: var(--gold);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.1);
}

.league-showcase-icon {
  font-size: 32px;
}

.league-showcase-info {
  flex: 1;
}

.league-showcase-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 2px;
}

.league-showcase-meta {
  font-size: 12px;
  color: var(--text-dim);
}

.league-showcase-arrow {
  font-size: 24px;
  color: var(--text-dim);
  font-weight: 300;
}

.leagues-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--text-dim);
}

/* ===== RESPONSIVE: NEW SECTIONS ===== */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .feature-card {
    padding: 20px 16px;
  }

  .feature-icon {
    font-size: 36px;
  }

  .mobile-app-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .phone-frame {
    width: 220px;
  }

  .mobile-app-badges {
    flex-direction: column;
  }

  .leagues-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ADMIN PANEL SaaS ===== */
.admin-panel {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  min-height: calc(100vh - 140px);
  margin: -20px 0;
}

.admin-sidebar {
  background: rgba(0, 0, 0, 0.3);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  position: sticky;
  top: 70px;
  height: calc(100vh - 140px);
  overflow-y: auto;
}

.admin-sidebar-header {
  padding: 0 20px 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.admin-sidebar-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 1px;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  gap: 2px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.admin-nav-item:hover {
  color: var(--text-bright);
  background: rgba(255, 255, 255, 0.05);
}

.admin-nav-item.active {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.1);
  font-weight: 600;
}

.admin-nav-item svg {
  flex-shrink: 0;
}

.admin-nav-badge {
  margin-left: auto;
  background: rgba(255, 215, 0, 0.15);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

.admin-content {
  padding: 24px 32px;
}

.admin-page-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.admin-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.admin-stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
}

.admin-stat-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.admin-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-filter-btn {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  text-decoration: none;
  transition: all 0.2s;
}

.admin-filter-btn:hover {
  color: var(--text-bright);
  border-color: var(--border-bright);
}

.admin-filter-btn.active {
  color: #111;
  background: var(--gold);
  border-color: var(--gold);
}

.admin-match-card {
  padding: 16px 20px;
}

.admin-match-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-match-flag {
  font-size: 20px;
}

.admin-match-name {
  font-weight: 600;
  font-size: 14px;
}

.admin-match-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-match-actions {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--glass-border);
}

.admin-table th {
  font-size: 11px;
  white-space: nowrap;
}

.admin-table td {
  font-size: 13px;
}

.admin-league-card {
  padding: 16px 20px;
}

.admin-league-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.admin-league-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-bright);
}

.admin-league-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .admin-panel {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
  }

  .admin-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 4px;
    padding: 4px 12px;
  }

  .admin-nav-item {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 13px;
  }

  .admin-nav-badge {
    display: none;
  }

  .admin-content {
    padding: 16px;
  }

  .admin-sidebar-header {
    display: none;
  }
}

/* ===== ADMIN INLINE FORMS ===== */
.admin-inline-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-inline-form .form-input {
  padding: 8px 12px;
  font-size: 13px;
}

/* Admin member tags */
.admin-member-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.admin-member-remove {
  background: none;
  border: none;
  color: var(--red);
  font-size: 16px;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
  font-weight: 700;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.admin-member-remove:hover {
  opacity: 1;
}

/* ===== PREDICTIONS V2 ===== */
.pred-progress-bar {
  margin-bottom: 24px;
}

.pred-progress-stats {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.pred-progress-stats strong {
  color: var(--gold);
}

.pred-progress-track {
  height: 6px;
  background: var(--bg-card);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.pred-progress-fill-draft {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255, 193, 7, 0.3);
  border-radius: 3px;
  transition: width 0.3s;
}

.pred-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
  z-index: 1;
  transition: width 0.3s;
}

.pred-list-v2 {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pred-date-sep {
  padding: 16px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pred-date-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.pred-card-v2 {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  color: var(--text);
}

.pred-card-v2:hover {
  border-color: var(--border-bright);
  transform: translateX(2px);
}

.pred-status-completed {
  border-left: 3px solid var(--green);
}

.pred-status-confirmed {
  border-left: 3px solid var(--gold);
}

.pred-status-draft {
  border-left: 3px solid rgba(255, 193, 7, 0.4);
}

.pred-status-empty {
  border-left: 3px solid var(--text-dim);
  opacity: 0.7;
}

.pred-status-empty:hover {
  opacity: 1;
}

.pred-card-left {
  min-width: 70px;
  text-align: center;
}

.pred-card-stage {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  font-weight: 600;
}

.pred-card-time {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.pred-card-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pred-card-team {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 120px;
}

.pred-card-team:last-child {
  justify-content: flex-end;
}

.pred-card-flag {
  font-size: 18px;
}

.pred-card-name {
  font-size: 14px;
  font-weight: 600;
}

.pred-card-vs {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  min-width: 30px;
  text-align: center;
}

.pred-card-score {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
  min-width: 50px;
  text-align: center;
}

.pred-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  min-width: 100px;
}

.pred-card-points {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}

/* ===== AVATAR ===== */
.profile-avatar-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 800;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.1);
}

.profile-upload-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.profile-upload-btn:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: var(--gold);
}

.nav-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
}

.nav-avatar-placeholder {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.1);
  border: 1.5px solid rgba(255, 215, 0, 0.3);
}

.standings-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
}

.standings-avatar-placeholder {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.1);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .pred-card-v2 {
    flex-wrap: wrap;
    gap: 8px;
  }

  .pred-card-left {
    min-width: auto;
    text-align: left;
  }

  .pred-card-center {
    width: 100%;
    order: -1;
  }

  .pred-card-team {
    min-width: 80px;
  }

  .pred-card-name {
    font-size: 13px;
  }
}

/* ===== FLAG IMAGES ===== */
.flag-img {
  display: inline-block;
  vertical-align: middle;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ===== PREDICTION V2 ===== */
.pred-total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(255,215,0,0.08), rgba(255,215,0,0.02));
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  position: sticky;
  top: 70px;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.pred-total-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  text-shadow: 0 0 20px var(--gold-glow);
}

.coupon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.coupon-selected-odd {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dim);
  min-width: 50px;
  text-align: right;
}

.coupon-opt-name {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.coupon-opt-odd {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 215, 0, 0.15);
}

.coupon-option input:checked + label .coupon-opt-odd {
  color: #111;
  opacity: 1;
}

/* ===== EXACT SCORE GRID ===== */
.exact-score-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exact-score-item {
  position: relative;
  width: 90px;
  height: 72px;
}

.exact-score-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.exact-score-item label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  gap: 4px;
}

.exact-score-item label:hover {
  border-color: var(--border-bright);
}

.exact-score-item input:checked + label {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}

.es-score {
  display: flex;
  align-items: center;
  gap: 2px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text-bright);
}

.exact-score-item input:checked + label .es-score {
  color: #111;
}

.es-sep {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0 1px;
}

.exact-score-item input:checked + label .es-sep {
  color: #333;
}

.es-odd {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.8;
}

.exact-score-item input:checked + label .es-odd {
  color: #111;
  opacity: 1;
}

.es-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-bright);
}

.exact-score-item input:checked + label .es-name {
  color: #111;
}

.exact-score-other label {
  background: rgba(255, 215, 0, 0.05);
  border-style: dashed;
}

@media (max-width: 768px) {
  .exact-score-item {
    width: 70px;
    height: 62px;
  }
  .exact-score-grid {
    gap: 6px;
  }
  .es-score {
    font-size: 15px;
  }
  .es-name {
    font-size: 11px;
  }
}

/* Auto random checkbox */
.auto-random-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.auto-random-label input {
  display: none;
}

.auto-random-check {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--glass-border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.auto-random-label input:checked + .auto-random-check {
  background: var(--gold);
  border-color: var(--gold);
}

.auto-random-label input:checked + .auto-random-check::after {
  content: '\\2713';
  color: #111;
  font-size: 14px;
  font-weight: 700;
}

.auto-random-hint {
  font-size: 11px;
  color: var(--text-dim);
  font-style: italic;
}

/* ===== FANTASY TEAM ===== */
.fantasy-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
}

.fantasy-formation {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fantasy-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.fantasy-players-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fantasy-player-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  min-width: 200px;
  flex: 1;
}

.fantasy-player-pos {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255,215,0,0.15);
  color: var(--gold);
}

.fantasy-player-name {
  font-size: 14px;
  font-weight: 600;
  flex: 1;
}

.fantasy-player-pts {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}

.fantasy-coach-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(255,215,0,0.08), rgba(255,215,0,0.02));
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: var(--radius);
}

.fantasy-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,215,0,0.03));
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 700;
}

.fantasy-total-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
}

/* Fantasy pick page */
.fantasy-pick-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.fantasy-pick-filters .form-input {
  max-width: 200px;
  padding: 8px 12px;
  font-size: 13px;
}

.fantasy-pick-list {
  display: grid;
  gap: 4px;
}

.fantasy-pick-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.fantasy-pick-item:hover {
  border-color: var(--border-bright);
}

.fantasy-pick-item.selected {
  border-color: var(--gold);
  background: rgba(255,215,0,0.05);
}

.fantasy-pick-item input[type=checkbox] {
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
}

.fantasy-pick-counter {
  position: sticky;
  bottom: 20px;
  padding: 12px 20px;
  background: var(--bg-dark);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
  z-index: 10;
}

/* Admin fantasy rules */
.fantasy-rule-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--glass-border);
}

.fantasy-rule-label {
  flex: 1;
  font-weight: 600;
}

.fantasy-rule-points {
  font-weight: 700;
  min-width: 60px;
  text-align: center;
}

.fantasy-rule-points.positive { color: var(--green); }
.fantasy-rule-points.negative { color: var(--red); }

.fantasy-rule-type {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .fantasy-grid {
    grid-template-columns: 1fr;
  }
  .fantasy-player-card {
    min-width: 100%;
  }
  .fantasy-pick-filters .form-input {
    max-width: 100%;
  }
}

/* ===== SPECIAL CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.special-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  background: var(--bg-card);
  border: 2px solid var(--glass-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  position: relative;
}

.special-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.special-card:hover {
  border-color: var(--border-bright);
}

.special-card.active,
.special-card input:checked ~ .special-card-icon {
  border-color: var(--gold);
  background: rgba(255, 215, 0, 0.05);
  box-shadow: 0 0 20px var(--gold-glow);
}

.special-card input:checked ~ .special-card-name {
  color: var(--gold);
}

.special-card.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.special-card-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.special-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 4px;
}

.special-card-desc {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.4;
}

.special-card-remaining {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
}

.special-card-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
}

.fantasy-cards-summary {
  margin-top: 20px;
}

.fantasy-cards-summary h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== LANGUAGE DROPDOWN ===== */
.lang-dropdown {
  position: relative;
  margin-left: 8px;
}
.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-dropdown-btn:hover { border-color: var(--gold); }
.lang-flag-mini { width: 20px; height: auto; border-radius: 2px; }
.lang-arrow { font-size: 10px; color: var(--text-dim); }
.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: var(--bg-dark);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  overflow: hidden;
  min-width: 140px;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.lang-dropdown-menu.open { display: block; }
.lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  transition: background 0.2s;
}
.lang-dropdown-item:hover { background: rgba(255,255,255,0.05); }
.lang-dropdown-item.active { color: var(--gold); background: rgba(255,215,0,0.08); }

/* ===== SELECT OPTION DARK STYLING ===== */
select.form-input option {
  background: #1a1a2e;
  color: #e0e0e0;
}

/* ===== FANTASY PICK COUNTER PROGRESS BAR ===== */
.fantasy-pick-counter-progress {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  margin-bottom: 8px;
  overflow: hidden;
}
.fantasy-pick-counter-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* ===== FLOATING CHAT ===== */
.league-chat-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}
.chat-float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255,215,0,0.3);
  position: relative;
  transition: transform 0.2s;
}
.chat-float-btn:hover { transform: scale(1.1); }
.chat-float-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.league-chat-panel {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 360px;
  height: 480px;
  background: var(--bg-dark);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  z-index: 1000;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255,215,0,0.08);
  border-bottom: 1px solid var(--border);
}
.chat-panel-header h3 { font-size: 14px; font-weight: 700; }
.chat-panel-close {
  background: none; border: none; color: var(--text-dim);
  font-size: 24px; cursor: pointer; padding: 0;
}
.chat-panel-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chat-panel-input {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
}
.chat-panel-input input {
  flex: 1;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  color: var(--text);
  font-size: 13px;
  font-family: Poppins, sans-serif;
}
.chat-panel-input input:focus { outline: none; border-color: var(--gold); }
.chat-panel-input button {
  padding: 8px 16px;
  background: var(--gold);
  color: #111;
  border: none;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: Poppins, sans-serif;
}

/* Chat bubbles */
.chat-bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px 12px 12px 4px;
  background: var(--bg-card);
  align-self: flex-start;
}
.chat-own {
  align-self: flex-end;
  background: rgba(255,215,0,0.12);
  border-radius: 12px 12px 4px 12px;
}
.chat-bubble-user {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 2px;
}
.chat-bubble-text {
  font-size: 13px;
  color: var(--text);
  display: block;
}
.chat-bubble-time {
  font-size: 10px;
  color: var(--text-dim);
  display: block;
  text-align: right;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .league-chat-panel {
    left: 8px;
    right: 8px;
    width: auto;
    bottom: 80px;
    height: 60vh;
  }
}

/* ===== PLAYER CARD FIFA STYLE ===== */
.player-fifa-card {
  width: 140px;
  min-height: 180px;
  background: linear-gradient(160deg, #2a2a3e, #1a1a2e);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: all 0.3s;
  cursor: pointer;
}
.player-fifa-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255,215,0,0.15);
}
.player-fifa-card.selected {
  border-color: var(--gold);
  background: linear-gradient(160deg, #3a3a1e, #2a2a10);
  box-shadow: 0 0 20px var(--gold-glow);
}
.pfc-rating {
  position: absolute;
  top: 8px;
  left: 10px;
  font-size: 24px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.pfc-pos {
  position: absolute;
  top: 34px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pfc-flag {
  position: absolute;
  top: 8px;
  right: 10px;
}
.pfc-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 8px;
  font-size: 28px;
  color: var(--text-dim);
}
.pfc-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-bright);
  text-align: center;
  margin-top: 4px;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pfc-team {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 2px;
}
.pfc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  width: 100%;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.pfc-stat {
  text-align: center;
}
.pfc-stat-val {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-bright);
}
.pfc-stat-label {
  font-size: 8px;
  color: var(--text-dim);
  text-transform: uppercase;
}
.pfc-checkbox {
  position: absolute;
  top: 8px;
  right: 8px;
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
}

/* Card colors by position */
.pfc-gk { border-color: rgba(255, 193, 7, 0.4); }
.pfc-def { border-color: rgba(33, 150, 243, 0.4); }
.pfc-mid { border-color: rgba(76, 175, 80, 0.4); }
.pfc-fwd { border-color: rgba(244, 67, 54, 0.4); }

.pfc-gk .pfc-pos { color: #ffc107; }
.pfc-def .pfc-pos { color: #2196f3; }
.pfc-mid .pfc-pos { color: #4caf50; }
.pfc-fwd .pfc-pos { color: #f44336; }

/* Grid for cards */
.player-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .player-fifa-card { width: 120px; min-height: 160px; padding: 8px; }
  .pfc-rating { font-size: 20px; }
  .pfc-avatar { width: 48px; height: 48px; font-size: 22px; }
}

/* ===== SPONSORS & PARTNERS ===== */
.home-sponsors, .home-partners {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.sponsor-slot, .partner-slot {
  background: var(--bg-card);
  border: 1px dashed var(--glass-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.sponsor-slot { min-height: 100px; }
.partner-slot { min-height: 70px; }
.sponsor-slot:hover, .partner-slot:hover {
  border-color: var(--gold);
  border-style: solid;
}
.sponsor-placeholder, .partner-placeholder {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 16px;
}
.sponsors-cta {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-dim);
}
.sponsors-cta a {
  color: var(--gold);
}
/* Available sponsor slot */
.sponsor-available {
  border-style: dashed !important;
  border-color: rgba(255, 215, 0, 0.2) !important;
}
.sponsor-available:hover {
  border-color: var(--gold) !important;
  background: rgba(255, 215, 0, 0.03);
}
.sponsor-available-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sponsor-available:hover .sponsor-available-inner {
  color: var(--gold);
}
.sponsor-available:hover svg {
  opacity: 0.8 !important;
}

@media (max-width: 768px) {
  .sponsors-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mondiali hover dropdown */
.mondiali-dropdown {
  position: relative;
  display: inline-block;
}
.mondiali-dropdown-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.mondiali-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(15, 15, 35, 0.98);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 6px 0;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
}
.mondiali-dropdown:hover .mondiali-dropdown-menu {
  display: block;
}
.mondiali-dropdown-item {
  display: block;
  padding: 8px 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  transition: background 0.2s;
}
.mondiali-dropdown-item:hover {
  background: rgba(255,215,0,0.1);
  color: var(--gold);
}
@media (max-width: 768px) {
  .mondiali-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.03);
    border-radius: 0;
    padding: 0;
    display: none;
  }
  .mondiali-dropdown.open .mondiali-dropdown-menu {
    display: block;
  }
  .mondiali-dropdown-btn {
    width: 100%;
  }
}

/* Footer links */
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 0;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-sep {
  color: rgba(255,255,255,0.15);
  font-size: 10px;
}

/* Admin Nav Submenu */
.admin-nav-group {
  display: flex;
  flex-direction: column;
}
.admin-nav-group.collapsed .admin-nav-sub {
  display: none;
}
.admin-nav-group.collapsed .admin-nav-toggle {
  transform: rotate(-90deg);
}
.admin-nav-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 42px;
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.2s;
  border-left: 2px solid transparent;
  margin-left: 16px;
}
.admin-nav-sub:hover {
  color: var(--text-bright);
  background: rgba(255, 255, 255, 0.03);
}
.admin-nav-sub.active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(255, 215, 0, 0.05);
}
.admin-nav-toggle {
  margin-left: auto;
  font-size: 10px;
  color: var(--text-dim);
  cursor: pointer;
  transition: transform 0.2s;
  user-select: none;
}
