/* ============================================================
   Dream Getter FC – Main Stylesheet
   Colors: Deep Navy #0a0e1a | Black #060810 | Gold #ffd700
           Electric Green #39ff14 | White #f0f4ff
   ============================================================ */

:root {
  --navy:   #0a0e1a;
  --navy2:  #111827;
  --navy3:  #1a2236;
  --black:  #060810;
  --gold:   #ffd700;
  --gold2:  #e6c200;
  --green:  #39ff14;
  --white:  #f0f4ff;
  --grey:   #8892a4;
  --glass:  rgba(255,255,255,0.06);
  --glass-border: rgba(255,215,0,0.15);
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold2); }
p { color: rgba(240,244,255,0.8); margin-bottom: 1rem; }

.gold { color: var(--gold); }
.green { color: var(--green); }
.grey { color: var(--grey); }

/* ---- UTILITIES ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-fluid { width: 100%; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.w-100 { width: 100%; }
.hidden { display: none; }

/* ---- GRID ---- */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-gap { gap: 1.5rem; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-gold { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold2); color: var(--black); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(255,215,0,0.3); }
.btn-outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--black); }
.btn-green { background: var(--green); color: var(--black); border-color: var(--green); }
.btn-green:hover { background: #2de610; transform: translateY(-2px); box-shadow: 0 4px 20px rgba(57,255,20,0.3); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.btn-danger { background: #e74c3c; color: #fff; border-color: #e74c3c; }
.btn-danger:hover { background: #c0392b; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* ---- ALERTS ---- */
.alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  border-left: 4px solid;
  font-size: 0.95rem;
}
.alert-success { background: rgba(57,255,20,0.08); color: var(--green); border-color: var(--green); }
.alert-error   { background: rgba(231,76,60,0.08);  color: #e74c3c;     border-color: #e74c3c; }
.alert-warning { background: rgba(255,193,7,0.08);  color: #ffc107;     border-color: #ffc107; }
.alert-info    { background: rgba(52,152,219,0.08); color: #3498db;     border-color: #3498db; }

/* ---- GLASS CARD ---- */
.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(255,215,0,0.3); }
.card-body { padding: 1.5rem; }
.card-header { padding: 1rem 1.5rem; border-bottom: 1px solid var(--glass-border); }
.card-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--glass-border); }

/* ---- FORMS ---- */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--grey); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--gold); background: rgba(255,215,0,0.05); box-shadow: 0 0 0 3px rgba(255,215,0,0.1); }
.form-control::placeholder { color: var(--grey); }
select.form-control option { background: var(--navy); color: var(--white); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.form-check { display: flex; align-items: center; gap: 0.5rem; }
.form-check input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--gold); cursor: pointer; }
.form-text { font-size: 0.8rem; color: var(--grey); margin-top: 0.25rem; }
.required { color: #e74c3c; }

/* ---- NAVBAR ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6,8,16,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  gap: 1rem;
}
.navbar-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.club-logo { width: 44px; height: 44px; object-fit: contain; }
.brand-text { font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--white); white-space: nowrap; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}
.nav-links > li > a {
  color: rgba(240,244,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--gold); background: rgba(255,215,0,0.08); }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--navy2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  min-width: 180px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 100;
  list-style: none;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 0.5rem 1rem; color: rgba(240,244,255,0.8); font-size: 0.9rem; }
.dropdown-menu a:hover { color: var(--gold); background: var(--glass); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.user-menu { position: relative; }
.user-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 0.4rem 0.75rem;
  color: var(--white);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.user-btn:hover { border-color: var(--gold); }
.user-avatar-sm { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.notif-badge {
  background: #e74c3c;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--navy2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  min-width: 150px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
}
.user-menu:hover .user-dropdown { opacity: 1; visibility: visible; }
.user-dropdown a { display: block; padding: 0.5rem 1rem; color: rgba(240,244,255,0.8); font-size: 0.9rem; }
.user-dropdown a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--black) 0%, var(--navy) 50%, #0d1526 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,215,0,0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(57,255,20,0.03) 0%, transparent 50%),
    url('assets/img/stadium-bg.jpg') center/cover no-repeat;
  opacity: 0.6;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,8,16,0.85) 0%, rgba(10,14,26,0.7) 100%);
}
.pitch-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,215,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,215,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  color: var(--gold);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 0.5rem; }
.hero-sub { font-size: clamp(1rem, 2vw, 1.3rem); color: rgba(240,244,255,0.7); margin-bottom: 2.5rem; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 3rem; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number { font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.1em; }

/* ---- SECTION ---- */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p { color: var(--grey); max-width: 600px; margin: 0 auto; }
.section-label {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  margin: 1rem auto;
  border-radius: 2px;
}

/* ---- PLAYER CARD ---- */
.player-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.player-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(255,215,0,0.15); border-color: rgba(255,215,0,0.4); }
.player-card-img { width: 100%; height: 220px; object-fit: cover; object-position: top; }
.player-card-jersey {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--black);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.player-card-body { padding: 1rem; }
.player-card-name { font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.player-card-pos {
  display: inline-block;
  font-size: 0.75rem;
  background: rgba(255,215,0,0.1);
  color: var(--gold);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 30px;
  padding: 0.2rem 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.player-card-stats { display: flex; justify-content: space-around; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--glass-border); }
.player-stat-item { text-align: center; }
.player-stat-val { font-family: 'Rajdhani', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--gold); line-height: 1; }
.player-stat-lbl { font-size: 0.7rem; color: var(--grey); text-transform: uppercase; }

/* ---- FIXTURE CARD ---- */
.fixture-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: var(--transition);
}
.fixture-card:hover { border-color: rgba(255,215,0,0.3); }
.fixture-date { text-align: center; min-width: 64px; }
.fixture-date-day { font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.fixture-date-month { font-size: 0.75rem; text-transform: uppercase; color: var(--grey); }
.fixture-vs { flex: 1; }
.fixture-comp { font-size: 0.75rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.fixture-teams { font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; font-weight: 700; margin: 0.25rem 0; }
.fixture-venue { font-size: 0.85rem; color: var(--grey); }
.fixture-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-home { background: rgba(57,255,20,0.1); color: var(--green); border: 1px solid rgba(57,255,20,0.3); }
.badge-away { background: rgba(255,215,0,0.1); color: var(--gold); border: 1px solid rgba(255,215,0,0.3); }
.badge-pending { background: rgba(255,215,0,0.1); color: var(--gold); }
.badge-shortlisted { background: rgba(52,152,219,0.1); color: #3498db; }
.badge-accepted { background: rgba(57,255,20,0.1); color: var(--green); }
.badge-rejected { background: rgba(231,76,60,0.1); color: #e74c3c; }
.badge-trial_invited { background: rgba(155,89,182,0.1); color: #9b59b6; }

/* ---- NEWS CARD ---- */
.news-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card-img { width: 100%; height: 200px; object-fit: cover; }
.news-card-body { padding: 1.25rem; }
.news-cat { font-size: 0.75rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.news-title { font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; margin: 0.5rem 0; }
.news-title a { color: var(--white); }
.news-title a:hover { color: var(--gold); }
.news-meta { font-size: 0.8rem; color: var(--grey); }

/* ---- SCORE CARD ---- */
.score-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 1.5rem; text-align: center; transition: var(--transition); }
.score-match-info { font-size: 0.8rem; color: var(--gold); text-transform: uppercase; margin-bottom: 1rem; }
.score-teams { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.score-team { flex: 1; }
.score-team-name { font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 700; }
.score-display { font-family: 'Rajdhani', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--gold); min-width: 80px; }

/* ---- TABLES ---- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
table th {
  background: rgba(255,215,0,0.06);
  color: var(--gold);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}
table td { padding: 0.85rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.95rem; vertical-align: middle; }
table tr:hover td { background: rgba(255,215,0,0.02); }
table tr:last-child td { border-bottom: none; }

/* ---- DASHBOARD ---- */
.dashboard-layout { display: flex; min-height: 100vh; }
.dashboard-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--navy);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-brand { padding: 1.5rem; border-bottom: 1px solid var(--glass-border); display: flex; align-items: center; gap: 0.75rem; }
.sidebar-brand img { width: 36px; }
.sidebar-brand-text { font-family: 'Rajdhani', sans-serif; font-size: 0.95rem; font-weight: 700; }
.sidebar-nav { flex: 1; padding: 1rem 0; }
.sidebar-label { font-size: 0.7rem; font-weight: 700; color: var(--grey); letter-spacing: 0.15em; text-transform: uppercase; padding: 0.5rem 1.5rem; margin-top: 0.5rem; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.5rem;
  color: rgba(240,244,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--gold);
  background: rgba(255,215,0,0.06);
  border-left-color: var(--gold);
}
.sidebar-nav .nav-icon { font-size: 1.1rem; width: 20px; text-align: center; }
.sidebar-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--glass-border); }
.dashboard-content { flex: 1; overflow-x: hidden; padding: 0; }
.dashboard-header {
  background: rgba(6,8,16,0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.dashboard-title { font-family: 'Rajdhani', sans-serif; font-size: 1.4rem; font-weight: 700; }
.dashboard-body { padding: 2rem; }
.stat-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}
.stat-card:hover { border-color: rgba(255,215,0,0.3); }
.stat-card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.stat-card-value { font-family: 'Rajdhani', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-card-label { font-size: 0.85rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.25rem; }

/* ---- PITCH / TACTICAL BOARD ---- */
.pitch-wrapper { background: var(--navy3); border-radius: var(--radius); padding: 1.5rem; }
.pitch {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  aspect-ratio: 2/3;
  background: #1a6b2e;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.pitch::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,0.05) 0px,
    rgba(0,0,0,0.05) 1px,
    transparent 1px,
    transparent 40px
  );
}
.pitch-center-circle {
  position: absolute;
  width: 22%;
  height: 15%;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.pitch-center-line {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 2px;
  background: rgba(255,255,255,0.4);
}
.pitch-penalty-top, .pitch-penalty-bottom {
  position: absolute;
  left: 25%;
  width: 50%;
  height: 16%;
  border: 2px solid rgba(255,255,255,0.4);
}
.pitch-penalty-top { top: 0; border-top: none; }
.pitch-penalty-bottom { bottom: 0; border-bottom: none; }
.pitch-goal-top, .pitch-goal-bottom {
  position: absolute;
  left: 38%;
  width: 24%;
  height: 5%;
  border: 2px solid rgba(255,255,255,0.4);
}
.pitch-goal-top { top: 0; border-top: none; }
.pitch-goal-bottom { bottom: 0; border-bottom: none; }
.player-token {
  position: absolute;
  width: 40px;
  height: 40px;
  background: var(--gold);
  border: 2px solid var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--black);
  cursor: grab;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  line-height: 1.1;
  transition: box-shadow 0.2s;
  user-select: none;
}
.player-token:hover { box-shadow: 0 0 0 3px rgba(255,215,0,0.5); }
.player-token.dragging { cursor: grabbing; z-index: 50; box-shadow: 0 4px 20px rgba(0,0,0,0.5); }

/* ---- FAN PASSPORT ---- */
.fan-passport {
  background: linear-gradient(135deg, var(--navy) 0%, #0d1b3e 100%);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 2rem;
  max-width: 380px;
  position: relative;
  overflow: hidden;
}
.fan-passport::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
}
.fan-passport-logo { width: 60px; margin-bottom: 1rem; }
.fan-passport-name { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; }
.fan-passport-id { font-size: 0.8rem; color: var(--gold); letter-spacing: 0.15em; }
.fan-passport-photo { width: 80px; height: 80px; border-radius: 50%; border: 3px solid var(--gold); object-fit: cover; }
.fan-passport-tier { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ---- AUTH PAGES ---- */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--black) 0%, var(--navy) 100%); padding: 2rem 1rem; }
.auth-card { width: 100%; max-width: 440px; background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 2.5rem; backdrop-filter: blur(20px); }
.auth-logo { text-align: center; margin-bottom: 1.5rem; }
.auth-logo img { width: 64px; }
.auth-title { font-family: 'Rajdhani', sans-serif; font-size: 1.8rem; text-align: center; margin-bottom: 0.25rem; }
.auth-subtitle { text-align: center; color: var(--grey); font-size: 0.9rem; margin-bottom: 2rem; }

/* ---- PAGINATION ---- */
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.page-btn {
  padding: 0.5rem 0.9rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.page-btn:hover, .page-btn.active { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* ---- MODAL ---- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; visibility: hidden; transition: var(--transition); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal { background: var(--navy2); border: 1px solid var(--glass-border); border-radius: var(--radius); max-width: 600px; width: 100%; max-height: 90vh; overflow-y: auto; }
.modal-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: space-between; }
.modal-title { font-family: 'Rajdhani', sans-serif; font-size: 1.3rem; font-weight: 700; }
.modal-close { background: none; border: none; color: var(--grey); font-size: 1.5rem; cursor: pointer; transition: var(--transition); }
.modal-close:hover { color: var(--white); }
.modal-body { padding: 1.5rem; }
.modal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--glass-border); display: flex; justify-content: flex-end; gap: 0.75rem; }

/* ---- PROGRESS BARS ---- */
.progress { background: rgba(255,255,255,0.08); border-radius: 30px; height: 8px; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--gold), var(--green)); border-radius: 30px; transition: width 0.5s ease; }

/* ---- STATUS BADGES ---- */
.status { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.78rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: 30px; text-transform: uppercase; letter-spacing: 0.05em; }
.status-active   { background: rgba(57,255,20,0.1); color: var(--green); }
.status-inactive { background: rgba(231,76,60,0.1); color: #e74c3c; }
.status-pending  { background: rgba(255,215,0,0.1); color: var(--gold); }
.status-fit      { background: rgba(57,255,20,0.1); color: var(--green); }
.status-injured  { background: rgba(231,76,60,0.1); color: #e74c3c; }
.status-doubtful { background: rgba(255,193,7,0.1); color: #ffc107; }
.status-suspended{ background: rgba(155,89,182,0.1); color: #9b59b6; }

/* ---- FOOTER ---- */
.site-footer { background: var(--navy); border-top: 1px solid var(--glass-border); margin-top: 4rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-logo { width: 48px; margin-bottom: 1rem; }
.footer-tagline { color: var(--grey); font-size: 0.9rem; margin: 0.5rem 0 1rem; }
.footer-col h4 { font-family: 'Rajdhani', sans-serif; color: var(--gold); font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: var(--grey); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col p { color: var(--grey); font-size: 0.9rem; margin-bottom: 0.4rem; }
.social-links { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); color: var(--grey); font-size: 0.85rem; text-transform: uppercase; font-weight: 700; transition: var(--transition); }
.social-link:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.whatsapp-link { width: auto; padding: 0 0.75rem; font-size: 0.75rem; }
.footer-bottom { border-top: 1px solid var(--glass-border); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: var(--grey); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--grey); }
.footer-legal a:hover { color: var(--gold); }

/* ---- AI PLACEHOLDER ---- */
.ai-placeholder {
  text-align: center;
  padding: 3rem;
  background: var(--glass);
  border: 1px dashed rgba(255,215,0,0.3);
  border-radius: var(--radius);
}
.ai-icon { font-size: 3rem; margin-bottom: 1rem; }
.ai-placeholder h3 { color: var(--gold); margin-bottom: 0.5rem; }
.ai-placeholder p { color: var(--grey); }

/* ---- LOADING SPINNER ---- */
.spinner { width: 40px; height: 40px; border: 3px solid rgba(255,215,0,0.2); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 2rem auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- FADE IN ANIMATION ---- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeInUp 0.6s ease both; }
.fade-in-1 { animation-delay: 0.1s; }
.fade-in-2 { animation-delay: 0.2s; }
.fade-in-3 { animation-delay: 0.3s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: var(--navy); padding: 1rem; z-index: 999; border-bottom: 1px solid var(--glass-border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; border: none; background: transparent; padding: 0 0 0 1rem; }
  .hero-stats { gap: 1.5rem; }
  .dashboard-layout { flex-direction: column; }
  .dashboard-sidebar { width: 100%; height: auto; position: static; flex-direction: row; overflow-x: auto; }
  .sidebar-nav { display: flex; overflow-x: auto; padding: 0; }
  .sidebar-nav a { white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .fixture-card { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .btn-group { flex-direction: column; }
  .hero-actions { flex-direction: column; }
  .auth-card { padding: 1.5rem; }
}

/* ---- PAGE HERO ---- */
.page-hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(135deg, var(--black) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,215,0,0.03) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero p { color: var(--grey); }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--grey); margin-bottom: 1rem; list-style: none; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: var(--grey); }

/* ---- FILTER BAR ---- */
.filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn { padding: 0.4rem 1rem; background: var(--glass); border: 1px solid var(--glass-border); color: var(--grey); border-radius: 30px; font-size: 0.85rem; cursor: pointer; transition: var(--transition); }
.filter-btn:hover, .filter-btn.active { background: rgba(255,215,0,0.1); border-color: var(--gold); color: var(--gold); }

/* ---- SEARCH BAR ---- */
.search-bar { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; }
.search-input { flex: 1; padding: 0.7rem 1rem; background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); color: var(--white); font-size: 0.95rem; outline: none; }
.search-input:focus { border-color: var(--gold); }

/* ---- EMPTY STATE ---- */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--grey); }
.empty-state-icon { font-size: 4rem; margin-bottom: 1rem; opacity: 0.4; }
.empty-state h3 { color: rgba(240,244,255,0.5); margin-bottom: 0.5rem; }


/* ============================================================
   FINAL HOSTINGER LAYOUT FIX v1.0.3
   Forces clean desktop/mobile display even after browser cache
   ============================================================ */
html, body { width: 100% !important; min-height: 100% !important; overflow-x: hidden !important; }
body { margin: 0 !important; background: var(--black) !important; color: var(--white) !important; }
img { max-width: 100%; height: auto; }

.site-header {
  display: block !important;
  width: 100% !important;
  min-height: 74px !important;
  height: auto !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
  background: rgba(6,8,16,.98) !important;
  border-bottom: 1px solid rgba(255,215,0,.20) !important;
}
.site-header .navbar {
  width: 100% !important;
  max-width: 1440px !important;
  min-height: 74px !important;
  margin: 0 auto !important;
  padding: .75rem 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  flex-wrap: nowrap !important;
}
.site-header .navbar-brand {
  display: flex !important;
  align-items: center !important;
  gap: .75rem !important;
  flex: 0 0 auto !important;
  min-width: 185px !important;
  max-width: 260px !important;
  color: var(--white) !important;
}
.site-header .club-logo,
.navbar-brand img.club-logo {
  display: block !important;
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  height: 48px !important;
  max-height: 48px !important;
  object-fit: contain !important;
  border-radius: 50% !important;
}
.site-header .brand-text {
  display: inline-block !important;
  color: var(--white) !important;
  font-size: 1.05rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.site-header ul,
.site-header li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.site-header .nav-links {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  gap: .15rem !important;
  margin: 0 !important;
  padding: 0 !important;
}
.site-header .nav-links > li { display: flex !important; align-items: center !important; position: relative !important; }
.site-header .nav-links > li > a {
  display: inline-flex !important;
  align-items: center !important;
  height: 40px !important;
  padding: 0 .55rem !important;
  color: rgba(240,244,255,.86) !important;
  font-size: .84rem !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.site-header .nav-links > li > a:hover { color: var(--gold) !important; background: rgba(255,215,0,.08) !important; }
.site-header .dropdown-menu {
  display: block !important;
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  min-width: 190px !important;
  padding: .5rem 0 !important;
  background: #111827 !important;
  border: 1px solid rgba(255,215,0,.18) !important;
  border-radius: 10px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.35) !important;
}
.site-header .dropdown:hover .dropdown-menu { opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important; }
.site-header .dropdown-menu a {
  display: block !important;
  padding: .65rem 1rem !important;
  color: rgba(240,244,255,.82) !important;
  text-decoration: none !important;
  font-size: .88rem !important;
}
.site-header .dropdown-menu a:hover { color: var(--gold) !important; background: rgba(255,215,0,.08) !important; }
.site-header .nav-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex: 0 0 auto !important;
  gap: .6rem !important;
  min-width: 180px !important;
}
.site-header .nav-actions .btn { min-height: 38px !important; padding: .45rem .85rem !important; font-size: .78rem !important; }
.site-header .nav-toggle { display: none !important; }

.site-main { display: block !important; width: 100% !important; min-height: calc(100vh - 74px) !important; }
.hero {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: calc(100vh - 74px) !important;
  margin: 0 !important;
  padding: 4rem 0 !important;
  background: linear-gradient(135deg, #060810 0%, #0a0e1a 52%, #0d1526 100%) !important;
}
.hero-bg { background: radial-gradient(ellipse at 20% 50%, rgba(255,215,0,.07) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(57,255,20,.05) 0%, transparent 50%), url('../img/hero-bg.svg') center/cover no-repeat !important; }
.hero-content { max-width: 1180px !important; margin: 0 auto !important; padding: 0 1.5rem !important; }
.hero h1 { color: #fff !important; max-width: 760px !important; font-size: clamp(3rem, 7vw, 6rem) !important; letter-spacing: .05em !important; }
.hero-sub { color: rgba(240,244,255,.86) !important; }
.hero-actions { display: flex !important; gap: 1rem !important; flex-wrap: wrap !important; max-width: 680px !important; }
.hero-stats { display: flex !important; gap: 2.5rem !important; flex-wrap: wrap !important; padding-top: 1.5rem !important; border-top: 1px solid rgba(255,255,255,.10) !important; max-width: 640px !important; }

@media (max-width: 1180px) {
  .site-header .nav-links > li > a { padding: 0 .42rem !important; font-size: .78rem !important; }
  .site-header .nav-actions { min-width: 150px !important; }
  .site-header .brand-text { font-size: .95rem !important; }
}
@media (max-width: 980px) {
  .site-header .navbar { min-height: 68px !important; padding: .65rem 1rem !important; }
  .site-header .navbar-brand { min-width: 0 !important; max-width: none !important; }
  .site-header .club-logo, .navbar-brand img.club-logo { width: 44px !important; min-width: 44px !important; max-width: 44px !important; height: 44px !important; }
  .site-header .brand-text { font-size: .95rem !important; }
  .site-header .nav-toggle { display: flex !important; order: 3 !important; }
  .site-header .nav-actions { order: 2 !important; min-width: 0 !important; }
  .site-header .nav-actions .btn-outline-gold { display: none !important; }
  .site-header .nav-links {
    display: none !important;
    position: fixed !important;
    top: 68px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: calc(100vh - 68px) !important;
    overflow-y: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    background: rgba(6,8,16,.99) !important;
    border-bottom: 1px solid rgba(255,215,0,.18) !important;
    padding: 1rem !important;
    gap: .15rem !important;
  }
  .site-header .nav-links.open { display: flex !important; }
  .site-header .nav-links > li { display: block !important; width: 100% !important; }
  .site-header .nav-links > li > a { width: 100% !important; height: auto !important; padding: .85rem 1rem !important; font-size: .95rem !important; }
  .site-header .dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: rgba(255,255,255,.03) !important;
    border: 0 !important;
    box-shadow: none !important;
    margin-left: .5rem !important;
    padding: .25rem 0 .5rem !important;
  }
  .hero { min-height: calc(100vh - 68px) !important; padding: 3rem 0 !important; }
}
@media (max-width: 640px) {
  .site-header .brand-text { max-width: 135px !important; white-space: normal !important; line-height: .95 !important; }
  .site-header .nav-actions .btn-gold { padding: .42rem .65rem !important; font-size: .72rem !important; }
  .hero-content { padding: 0 1rem !important; }
  .hero h1 { font-size: clamp(2.25rem, 14vw, 4rem) !important; }
  .hero-actions { flex-direction: column !important; align-items: stretch !important; }
  .hero-actions .btn { width: 100% !important; }
  .hero-stats { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 1.2rem !important; }
  .container { padding-left: 1rem !important; padding-right: 1rem !important; }
}
