/* ===================================================================
   GREAT NECK FC - OFFICIAL WEBSITE STYLES
   Modern, athletic, responsive soccer club design
   =================================================================== */

:root {
  --primary-bg: #070e1c;
  --secondary-bg: #0c182f;
  --card-bg: #112240;
  --card-border: rgba(255, 183, 3, 0.15);
  --card-border-hover: rgba(255, 183, 3, 0.45);
  --accent-gold: #ffb703;
  --accent-gold-hover: #ffa000;
  --accent-amber: #fb8500;
  --accent-blue: #219ebc;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-heading: 'Impact', 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(255, 183, 3, 0.35);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--primary-bg);
  color: var(--text-main);
  line-height: 1.5;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: radial-gradient(circle at 50% 0%, #152d59 0%, #070e1c 70%);
  background-attachment: fixed;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* ----------------- ADMIN BAR BANNER (WHEN LOGGED IN) ----------------- */
.admin-topbar {
  background: linear-gradient(90deg, #b45309, #d97706, #b45309);
  color: #ffffff;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  animation: slideDown 0.3s ease;
}

.admin-topbar .admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.admin-topbar .admin-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-admin-logout {
  background: #0f172a;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-admin-logout:hover {
  background: var(--accent-red);
}

/* ----------------- HEADER & NAVBAR ----------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(12, 24, 47, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  transition: var(--transition);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo space in header */
.brand-logo-container {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.header-logo-frame {
  width: 52px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition);
}

.header-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

.brand-text-block h1 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-text-block h1 span {
  color: var(--accent-gold);
}

.brand-text-block p {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Nav links / Buttons */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-item a, .nav-item button {
  background: transparent;
  border: none;
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: var(--transition);
}

.nav-item a:hover, .nav-item button:hover {
  background: rgba(255, 183, 3, 0.12);
  color: var(--accent-gold);
}

.nav-item.active a {
  background: var(--accent-gold);
  color: #070e1c;
  font-weight: 700;
}

.nav-btn-admin {
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.2), rgba(251, 133, 0, 0.25)) !important;
  border: 1px solid var(--accent-gold) !important;
  color: var(--accent-gold) !important;
  font-weight: 700 !important;
}

.nav-btn-admin:hover {
  background: var(--accent-gold) !important;
  color: #070e1c !important;
  box-shadow: 0 0 15px rgba(255, 183, 3, 0.4);
}

.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--card-border);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 1.3rem;
  cursor: pointer;
}

/* ----------------- HERO SECTION ----------------- */
.hero-section {
  position: relative;
  padding: 60px 24px 80px;
  background: radial-gradient(circle at 50% 30%, rgba(26, 54, 105, 0.5) 0%, rgba(7, 14, 28, 0.95) 100%),
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1.5" fill="rgba(255,255,255,0.04)"/></svg>');
  border-bottom: 2px solid var(--card-border);
  overflow: hidden;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 183, 3, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: #ffffff;
}

.hero-title .highlight {
  background: linear-gradient(90deg, #ffb703, #fb8500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Dedicated Logo Presentation Area in Hero */
.hero-logo-card {
  background: rgba(17, 34, 64, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: var(--transition);
}

.hero-logo-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow);
}

.logo-showcase-box {
  width: 170px;
  height: 190px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-showcase-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s ease;
}

.logo-showcase-box:hover img {
  transform: scale(1.05);
}

.logo-meta-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.logo-meta-sub {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 16px;
}

.btn-change-logo {
  background: rgba(255, 183, 3, 0.15);
  border: 1px dashed var(--accent-gold);
  color: var(--accent-gold);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-change-logo:hover {
  background: var(--accent-gold);
  color: #070e1c;
}

/* ----------------- QUICK NAVIGATION BUTTONS SECTION ----------------- */
.quick-nav-section {
  max-width: 1280px;
  margin: -35px auto 40px;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.quick-nav-card {
  background: rgba(17, 34, 64, 0.95);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.quick-nav-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 12px 25px rgba(255, 183, 3, 0.2);
}

.quick-nav-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: rgba(255, 183, 3, 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 12px;
  transition: var(--transition);
}

.quick-nav-card:hover .quick-nav-icon {
  background: var(--accent-gold);
  color: #070e1c;
}

.quick-nav-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.quick-nav-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ----------------- SECTION COMMON STYLES ----------------- */
.main-section {
  padding: 60px 24px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 35px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--card-border);
}

.section-header-left h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-header-left p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 6px;
}

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

/* ----------------- BUTTON STYLES ----------------- */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
  color: #070e1c;
  border: none;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(255, 183, 3, 0.3);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 183, 3, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

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

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-danger:hover {
  background: var(--accent-red);
  color: #fff;
}

.btn-edit {
  background: rgba(33, 158, 188, 0.15);
  border: 1px solid var(--accent-blue);
  color: var(--accent-blue);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-edit:hover {
  background: var(--accent-blue);
  color: #fff;
}

/* ----------------- SECTION 1: PLANTILLA (ROSTER) ----------------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-tab {
  background: rgba(17, 34, 64, 0.8);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover {
  color: #fff;
  border-color: var(--accent-gold);
}

.filter-tab.active {
  background: var(--accent-gold);
  color: #070e1c;
  border-color: var(--accent-gold);
  font-weight: 700;
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.player-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.player-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-border-hover);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.player-photo-wrapper {
  position: relative;
  height: 260px;
  width: 100%;
  background: radial-gradient(circle at 50% 30%, #1c3666 0%, #0c182f 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.player-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.player-card:hover .player-photo-wrapper img {
  transform: scale(1.05);
}

/* Big Jersey Number Badge on Photo */
.player-number-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(7, 14, 28, 0.7);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-gold);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.player-position-pill {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: var(--accent-gold);
  color: #070e1c;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.player-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.player-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.player-details-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.player-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.player-card-actions button {
  flex: 1;
  justify-content: center;
}

/* ----------------- SECTION 2: PARTIDOS (MATCHES) ----------------- */
.matches-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.matches-tab {
  background: rgba(17, 34, 64, 0.8);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.matches-tab.active {
  background: var(--accent-gold);
  color: #070e1c;
  border-color: var(--accent-gold);
}

.matches-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.match-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 160px 1fr 140px;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
  position: relative;
}

.match-card:hover {
  border-color: var(--card-border-hover);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.match-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.match-competition {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 1px;
}

.match-date {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.match-venue {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.match-scoreboard {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.team-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 170px;
}

.team-box.home {
  justify-content: flex-end;
  text-align: right;
}

.team-box.away {
  justify-content: flex-start;
  text-align: left;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: 0.5px;
}

.team-logo-small {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.team-logo-small img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.score-display-box {
  background: rgba(7, 14, 28, 0.8);
  border: 1px solid var(--card-border);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--accent-gold);
  min-width: 90px;
  justify-content: center;
}

.score-display-box.upcoming {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 1.5px;
}

.match-actions-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

/* ----------------- SECTION 3: VIDEOS CON COMENTARIOS ----------------- */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.video-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.video-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.video-player-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
  overflow: hidden;
}

.video-player-container iframe,
.video-player-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.video-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.video-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}

/* Comments accordion on video */
.video-comments-section {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.comments-header-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-gold);
  padding: 4px 0;
}

.comments-container {
  margin-top: 12px;
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 4px;
}

.comment-bubble {
  background: rgba(7, 14, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  position: relative;
}

.comment-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}

.comment-author {
  font-weight: 700;
  color: #fff;
}

.comment-date {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.comment-text {
  color: var(--text-muted);
  word-break: break-word;
}

.btn-del-comment {
  background: none;
  border: none;
  color: var(--accent-red);
  cursor: pointer;
  font-size: 0.75rem;
  margin-left: 8px;
  opacity: 0.8;
}

.btn-del-comment:hover {
  opacity: 1;
}

.comment-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.comment-input {
  flex-grow: 1;
  background: rgba(7, 14, 28, 0.8);
  border: 1px solid var(--card-border);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.comment-input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.btn-post-comment {
  background: var(--accent-gold);
  border: none;
  color: #070e1c;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
}

/* ----------------- SECTION 4: ZONA FANS ----------------- */
.fan-zone-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

.fan-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.fan-box-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fan-wall-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
  margin-bottom: 18px;
}

.fan-shoutout-card {
  background: rgba(7, 14, 28, 0.7);
  border-left: 4px solid var(--accent-gold);
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.fan-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fan-name {
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fan-tag {
  background: rgba(255, 183, 3, 0.15);
  color: var(--accent-gold);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
}

.fan-message {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.fan-form-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Fan Club Card Preview */
.membership-card-preview {
  background: linear-gradient(135deg, #091c3d, #020713);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 22px;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
  margin-top: 15px;
}

.membership-card-preview::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 183, 3, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.member-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.member-card-logo {
  width: 44px;
  height: 48px;
}

.member-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.member-card-club-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 1px;
  color: var(--accent-gold);
}

.member-card-body {
  margin-bottom: 18px;
}

.member-card-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.member-card-id {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}

/* ----------------- MODALS (ADMIN, ADD/EDIT FORMS, LOGO) ----------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 9, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #0f1e38;
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 183, 3, 0.25);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--accent-gold);
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input, .form-select, .form-textarea {
  background: rgba(7, 14, 28, 0.85);
  border: 1px solid var(--card-border);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(255, 183, 3, 0.25);
}

.form-textarea {
  min-height: 80px;
  resize: vertical;
}

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

.modal-footer {
  padding: 18px 24px;
  border-top: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* File upload styling */
.file-upload-box {
  border: 2px dashed var(--card-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  background: rgba(7, 14, 28, 0.5);
  transition: var(--transition);
}

.file-upload-box:hover {
  border-color: var(--accent-gold);
  background: rgba(255, 183, 3, 0.05);
}

.file-upload-preview {
  max-width: 120px;
  max-height: 120px;
  margin: 10px auto 0;
  display: none;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  overflow: hidden;
}

.file-upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ----------------- TOAST NOTIFICATIONS ----------------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #0f1e38;
  border-left: 4px solid var(--accent-gold);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.3s ease;
  min-width: 280px;
  max-width: 420px;
}

.toast.success {
  border-left-color: var(--accent-green);
}

.toast.error {
  border-left-color: var(--accent-red);
}

/* ----------------- FOOTER ----------------- */
.site-footer {
  background: #050b16;
  border-top: 1px solid var(--card-border);
  margin-top: auto;
  padding: 60px 24px 30px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--text-dim);
}

/* ----------------- ANIMATIONS ----------------- */
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ----------------- RESPONSIVE BREAKPOINTS ----------------- */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 30px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .match-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .match-scoreboard {
    flex-direction: column;
    gap: 14px;
  }
  .team-box.home, .team-box.away {
    justify-content: center;
    text-align: center;
  }
  .match-actions-col {
    align-items: center;
  }
  .fan-zone-container {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle-btn {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0a172e;
    flex-direction: column;
    padding: 20px;
    gap: 10px;
    border-bottom: 2px solid var(--accent-gold);
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  }
  .nav-menu.open {
    display: flex;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}

