/* FootballClubFC — premium sports club template styles */

:root {
  --fc-primary: #d71920;
  --fc-primary-hover: #aa1218;
  --fc-primary-rgb: 215, 25, 32;
  --fc-secondary: #ffffff;
  --fc-dark: #07111f;
  --fc-navy: #0d1b2f;
  --fc-ink: #141923;
  --fc-muted: #667085;
  --fc-light: #f4f6fb;
  --fc-surface: #ffffff;
  --fc-line: rgba(20, 25, 35, 0.12);
  --fc-gold: #f6c451;
  --navbar-bg: rgba(7, 17, 31, 0.96);
  --bs-primary: var(--fc-primary);
  --bs-primary-rgb: var(--fc-primary-rgb);
  --bs-body-color: var(--fc-ink);
  --bs-body-bg: var(--fc-light);
}

html[data-theme="red"] {
  --fc-primary: #d71920;
  --fc-primary-hover: #aa1218;
  --fc-primary-rgb: 215, 25, 32;
  --fc-secondary: #ffffff;
}

html[data-theme="royal"] {
  --fc-primary: #1976d2;
  --fc-primary-hover: #115293;
  --fc-primary-rgb: 25, 118, 210;
  --fc-secondary: #ffffff;
}

html[data-theme="midnight"] {
  --fc-primary: #050505;
  --fc-primary-hover: #252525;
  --fc-primary-rgb: 5, 5, 5;
  --fc-secondary: #ffffff;
}

html[data-theme="emerald"] {
  --fc-primary: #198754;
  --fc-primary-hover: #10663e;
  --fc-primary-rgb: 25, 135, 84;
  --fc-secondary: #ffffff;
}

html[data-theme="gold"] {
  --fc-primary: #f3b61f;
  --fc-primary-hover: #c88d00;
  --fc-primary-rgb: 243, 182, 31;
  --fc-secondary: #101820;
}

html[data-theme="claret"] {
  --fc-primary: #7a1434;
  --fc-primary-hover: #5f0f28;
  --fc-primary-rgb: 122, 20, 52;
  --fc-secondary: #f9d9e3;
}

html[data-theme="sky"] {
  --fc-primary: #38a9e1;
  --fc-primary-hover: #197fad;
  --fc-primary-rgb: 56, 169, 225;
  --fc-secondary: #07111f;
}

html[data-theme="forest"] {
  --fc-primary: #0f5132;
  --fc-primary-hover: #0a3622;
  --fc-primary-rgb: 15, 81, 50;
  --fc-secondary: #f4f0df;
}

html[data-theme="graphite"] {
  --fc-primary: #495057;
  --fc-primary-hover: #2f353a;
  --fc-primary-rgb: 73, 80, 87;
  --fc-secondary: #f8f9fa;
}

html[data-theme="violet"] {
  --fc-primary: #6f42c1;
  --fc-primary-hover: #55329a;
  --fc-primary-rgb: 111, 66, 193;
  --fc-secondary: #f7f0ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--fc-ink);
  background: var(--fc-light);
  overflow-x: hidden;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn,
.badge,
.stat-value,
.timer-box span {
  font-family: 'Oswald', Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

p {
  color: #465060;
}

.lead {
  color: #566273;
  line-height: 1.7;
}

.text-primary {
  color: var(--fc-primary) !important;
}

.bg-primary,
.badge.bg-primary,
.page-item.active .page-link {
  background-color: var(--fc-primary) !important;
  border-color: var(--fc-primary) !important;
}

.btn-primary {
  --bs-btn-bg: var(--fc-primary);
  --bs-btn-border-color: var(--fc-primary);
  --bs-btn-hover-bg: var(--fc-primary-hover);
  --bs-btn-hover-border-color: var(--fc-primary-hover);
  --bs-btn-active-bg: var(--fc-primary-hover);
  --bs-btn-active-border-color: var(--fc-primary-hover);
  color: var(--fc-secondary);
  padding: 0.82rem 1.55rem;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(var(--fc-primary-rgb), 0.25);
}

.btn-outline-primary {
  --bs-btn-color: var(--fc-primary);
  --bs-btn-border-color: var(--fc-primary);
  --bs-btn-hover-bg: var(--fc-primary);
  --bs-btn-hover-border-color: var(--fc-primary);
  --bs-btn-active-bg: var(--fc-primary);
  --bs-btn-active-border-color: var(--fc-primary);
}

.btn-outline-dark {
  border-radius: 999px;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.card {
  border: 1px solid rgba(20, 25, 35, 0.06);
  border-radius: 1.25rem;
  overflow: hidden;
}

.card.shadow-sm,
.shadow-sm {
  box-shadow: 0 18px 45px rgba(7, 17, 31, 0.08) !important;
}

.form-control,
.form-select {
  border-radius: 0.85rem;
  border-color: rgba(20, 25, 35, 0.16);
  padding: 0.8rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(var(--fc-primary-rgb), 0.65);
  box-shadow: 0 0 0 0.25rem rgba(var(--fc-primary-rgb), 0.16);
}

/* Header */
.navbar {
  background: var(--navbar-bg);
  padding: calc(0.7rem + env(safe-area-inset-top)) 0 0.7rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1040;
}

.navbar .container {
  gap: 1rem;
}

.navbar-brand {
  font-size: clamp(1.2rem, 1.5vw, 1.65rem);
  color: #fff !important;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.club-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.3));
}

.navbar-brand span {
  color: var(--fc-primary);
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.86) !important;
  text-transform: uppercase;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  margin: 0 0.18rem;
  padding: 0.7rem 0.72rem !important;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active,
.navbar .dropdown-toggle.active {
  color: #fff !important;
  background: rgba(var(--fc-primary-rgb), 0.22);
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.55rem 0.72rem;
}

.nav-cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  text-decoration: none;
}

.nav-cart-link:hover {
  background: rgba(var(--fc-primary-rgb), 0.35);
}

.nav-cta {
  padding: 0.58rem 1.1rem;
  margin-left: 0.35rem;
  box-shadow: none;
}

.dropdown-menu {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 18px 50px rgba(7, 17, 31, 0.16);
  padding: 0.65rem;
}

.dropdown-item {
  border-radius: 0.7rem;
  font-weight: 600;
  color: var(--fc-ink);
}

.dropdown-item:hover,
.dropdown-item.active {
  background: rgba(var(--fc-primary-rgb), 0.1);
  color: var(--fc-primary);
}

.offcanvas.text-bg-dark {
  background: #07111f !important;
}

/* Hero */
.hero-section {
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
  isolation: isolate;
  background: linear-gradient(90deg, rgba(7, 17, 31, 0.96) 0%, rgba(7, 17, 31, 0.72) 42%, rgba(7, 17, 31, 0.38) 100%), url('../images/stadium.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 24%, rgba(var(--fc-primary-rgb), 0.45), transparent 32%), linear-gradient(135deg, rgba(var(--fc-primary-rgb), 0.32), transparent 48%);
  mix-blend-mode: screen;
  opacity: 0.72;
  z-index: -1;
}

.hero-section::after {
  content: 'NORTHBRIDGE';
  position: absolute;
  left: -0.05em;
  bottom: -0.22em;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(7rem, 18vw, 18rem);
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.045);
  z-index: -1;
  pointer-events: none;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  background: rgba(var(--fc-primary-rgb), 0.92);
  border-radius: 999px;
  padding: 0.48rem 0.78rem;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-section h1 {
  font-size: clamp(3.4rem, 7.2vw, 6.9rem);
  line-height: 0.9;
  margin: 1.2rem 0 1rem;
  max-width: 920px;
  color: #fff;
  letter-spacing: -0.03em;
}

.hero-section p {
  font-size: clamp(1.05rem, 1.65vw, 1.35rem);
  max-width: 670px;
  margin-bottom: 1.7rem;
  color: rgba(255, 255, 255, 0.83);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.hero-actions .btn-light {
  border-radius: 999px;
  padding: 0.82rem 1.55rem;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  border-radius: 1.75rem;
  padding: 1.4rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-panel h3,
.hero-panel h4,
.hero-panel p,
.hero-panel small {
  color: #fff;
}

.hero-panel .muted {
  color: rgba(255, 255, 255, 0.66);
}

.hero-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

.hero-score img {
  height: 58px;
  width: 58px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.score-pill {
  min-width: 88px;
  border-radius: 1rem;
  background: var(--fc-primary);
  color: var(--fc-secondary);
  padding: 0.65rem 0.75rem;
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-stat {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.85rem;
}

.stat-value {
  display: block;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Next Match / Match Cards */
.match-countdown {
  background: var(--fc-primary);
  color: var(--fc-secondary);
  padding: 3.6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.match-countdown::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.14), transparent 42%, rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.match-countdown .container {
  position: relative;
  z-index: 1;
}

.match-countdown h3,
.match-countdown h5,
.match-countdown p,
.match-countdown small {
  color: var(--fc-secondary);
}

.timer-box {
  display: inline-block;
  margin: 0 0.6rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.92rem 1.05rem;
  min-width: 96px;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.timer-box span {
  display: block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.timer-box small {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  opacity: 0.76;
}

.match-card {
  background: var(--fc-surface);
  border: 1px solid rgba(20, 25, 35, 0.08);
  border-left: 6px solid var(--fc-primary);
  border-radius: 1.25rem;
  box-shadow: 0 18px 45px rgba(7, 17, 31, 0.08);
}

.match-card .team-name {
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
}

.versus {
  color: var(--fc-primary);
  font-size: 2.5rem;
}

.result-card {
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid rgba(20, 25, 35, 0.08);
}

/* Sections */
section.py-5 {
  padding-top: 5.5rem !important;
  padding-bottom: 5.5rem !important;
}

.section-title {
  text-align: center;
  margin-bottom: 3.1rem;
  position: relative;
}

.section-title .eyebrow {
  margin-bottom: 0.9rem;
}

.section-title h2 {
  font-size: clamp(2.45rem, 4.6vw, 4.2rem);
  color: var(--fc-dark);
  line-height: 0.98;
  margin-bottom: 0.8rem;
}

.section-title p {
  max-width: 680px;
  margin: 0 auto;
}

.section-title::after {
  content: '';
  display: block;
  width: 78px;
  height: 5px;
  background-color: var(--fc-primary);
  margin: 1.2rem auto 0;
  border-radius: 999px;
}

.page-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(13, 27, 47, 0.92)), url('../images/stadium.jpg') center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 6rem 0 5.2rem;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 84px;
  height: 6px;
  transform: translateX(-50%);
  background: var(--fc-primary);
  border-radius: 999px 999px 0 0;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  color: #fff;
  line-height: 0.95;
  margin-bottom: 0.7rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 680px;
  margin: 0 auto;
}

.feature-card {
  height: 100%;
  background: #fff;
  border-radius: 1.35rem;
  padding: 1.5rem;
  border: 1px solid rgba(20, 25, 35, 0.07);
  box-shadow: 0 18px 45px rgba(7, 17, 31, 0.08);
}

.feature-card .icon,
.icon-badge {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  color: var(--fc-secondary);
  background: var(--fc-primary);
  margin-bottom: 1rem;
  box-shadow: 0 12px 30px rgba(var(--fc-primary-rgb), 0.25);
}

.dark-band {
  background: linear-gradient(135deg, #07111f, #111b2f);
  color: #fff;
}

.dark-band p,
.dark-band .lead,
.dark-band .text-muted {
  color: rgba(255, 255, 255, 0.68) !important;
}

.dark-band h2,
.dark-band h3,
.dark-band h4,
.dark-band h5 {
  color: #fff;
}

/* Player Cards */
.player-card {
  position: relative;
  border-radius: 1.35rem;
  overflow: hidden;
  margin-bottom: 2rem;
  background-color: #000;
  aspect-ratio: 3 / 4;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 18px 45px rgba(7, 17, 31, 0.16);
}

.player-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 70px rgba(7, 17, 31, 0.24);
}

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

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

.player-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 55%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(var(--fc-primary-rgb), 0.58) 48%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.45rem;
  z-index: 2;
}

.player-number {
  position: absolute;
  top: -12px;
  right: 12px;
  font-size: clamp(4.5rem, 8vw, 6.8rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.12);
  font-family: 'Oswald', sans-serif;
  z-index: 1;
  line-height: 1;
}

.player-info {
  z-index: 2;
}

.player-name {
  color: #fff;
  margin: 0;
  line-height: 1;
}

.player-name .first-name {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 5px;
  opacity: 0.9;
  font-family: 'Roboto', sans-serif;
}

.player-name .last-name {
  display: block;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
}

.player-position {
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.84rem;
  margin-top: 0.45rem;
  letter-spacing: 0.12em;
}

/* News / Product Cards */
.news-img {
  height: 260px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.45s ease;
}

.card:hover .news-img,
.product-card:hover img {
  transform: scale(1.04);
}

.card-title a:hover {
  color: var(--fc-primary) !important;
}

.product-card img {
  transition: transform 0.45s ease;
}

/* Tables */
.table-custom,
.table {
  overflow: hidden;
  border-radius: 1rem;
}

.table-custom th,
.table thead th {
  background-color: var(--fc-dark);
  color: #fff;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
}

.table-custom td,
.table td {
  vertical-align: middle;
}

.team-logo-sm {
  width: 30px;
  margin-right: 10px;
}

/* Footer */
footer {
  background: radial-gradient(circle at top left, rgba(var(--fc-primary-rgb), 0.24), transparent 36%), #07111f;
  color: #e9ecef;
  padding: 5rem 0 2rem;
}

footer p,
footer li,
footer small {
  color: rgba(255, 255, 255, 0.68);
}

footer h5 {
  color: #fff;
  margin-bottom: 1.35rem;
  position: relative;
  padding-bottom: 10px;
}

footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  background-color: var(--fc-primary);
  border-radius: 999px;
}

footer a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  display: block;
  margin-bottom: 0.55rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

footer a:hover {
  color: #fff;
  transform: translateX(2px);
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  font-size: 1rem;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
  border-radius: 50%;
}

.social-icons a:hover {
  background: var(--fc-primary);
  color: var(--fc-secondary);
  transform: translateY(-2px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.58);
}

/* Theme Switcher */
.theme-switcher {
  position: fixed;
  right: 0;
  top: 112px;
  z-index: 1050;
  width: auto;
  background: transparent;
  color: var(--fc-ink);
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 1rem 0 0 1rem;
  color: var(--fc-secondary);
  background: var(--fc-primary);
  box-shadow: 0 16px 36px rgba(7, 17, 31, 0.22);
  cursor: pointer;
}

.theme-panel {
  position: absolute;
  right: 100%;
  top: 0;
  width: 220px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--fc-ink);
  padding: 1rem;
  box-shadow: 0 18px 55px rgba(7, 17, 31, 0.18);
  border: 1px solid rgba(20, 25, 35, 0.08);
  border-radius: 1.15rem 0 1.15rem 1.15rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
}

.theme-switcher.active .theme-panel {
  display: block;
}

.theme-switcher h6 {
  color: var(--fc-ink);
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.theme-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.theme-btn {
  width: 30px;
  height: 30px;
  aspect-ratio: 1;
  display: inline-flex;
  border: 2px solid #fff;
  cursor: pointer;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(20, 25, 35, 0.12), 0 6px 16px rgba(7, 17, 31, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.theme-btn:hover,
.theme-btn.active {
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px rgba(var(--fc-primary-rgb), 0.2), 0 10px 24px rgba(7, 17, 31, 0.18);
}

.theme-btn[data-theme-option="red"] { background: linear-gradient(135deg, #d71920 0 50%, #fff 50%); }
.theme-btn[data-theme-option="royal"] { background: linear-gradient(135deg, #1976d2 0 50%, #fff 50%); }
.theme-btn[data-theme-option="midnight"] { background: linear-gradient(135deg, #050505 0 50%, #fff 50%); }
.theme-btn[data-theme-option="emerald"] { background: linear-gradient(135deg, #198754 0 50%, #fff 50%); }
.theme-btn[data-theme-option="gold"] { background: linear-gradient(135deg, #f3b61f 0 50%, #101820 50%); }
.theme-btn[data-theme-option="claret"] { background: linear-gradient(135deg, #7a1434 0 50%, #f9d9e3 50%); }
.theme-btn[data-theme-option="sky"] { background: linear-gradient(135deg, #38a9e1 0 50%, #07111f 50%); }
.theme-btn[data-theme-option="forest"] { background: linear-gradient(135deg, #0f5132 0 50%, #f4f0df 50%); }
.theme-btn[data-theme-option="graphite"] { background: linear-gradient(135deg, #495057 0 50%, #f8f9fa 50%); }
.theme-btn[data-theme-option="violet"] { background: linear-gradient(135deg, #6f42c1 0 50%, #f7f0ff 50%); }

.map-placeholder {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(var(--fc-primary-rgb), 0.12), rgba(7, 17, 31, 0.08));
  border: 1px dashed rgba(20, 25, 35, 0.22);
}

@media (max-width: 991.98px) {
  .offcanvas.offcanvas-end:not(.show):not(.showing) {
    width: 0;
    min-width: 0;
    overflow: hidden;
  }

  .offcanvas.offcanvas-end:not(.show):not(.showing) > * {
    display: none;
  }

  .offcanvas.offcanvas-end.show,
  .offcanvas.offcanvas-end.showing {
    width: min(390px, 100vw);
  }

  .navbar-nav {
    padding-top: 0.8rem;
  }

  .navbar .nav-link {
    margin: 0.15rem 0;
    padding: 0.85rem 1rem !important;
  }

  .nav-cta {
    margin: 0.5rem 0 0;
    width: 100%;
  }

  .hero-section {
    min-height: auto;
    padding: 6.5rem 0 4.5rem;
  }

  .hero-panel {
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .container > .row {
    margin-left: 0;
    margin-right: 0;
  }

  section.py-5 {
    padding-top: 3.75rem !important;
    padding-bottom: 3.75rem !important;
  }

  .hero-section {
    text-align: left;
    background-position: 62% center;
  }

  .hero-section h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-score,
  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .timer-box {
    min-width: 72px;
    margin: 0.25rem;
    padding: 0.75rem;
  }

  .match-card .row > [class*="col-"] {
    margin-bottom: 1rem;
  }

  .theme-switcher {
    display: none;
  }

  .club-logo {
    height: 42px;
    width: 42px;
  }
}

@media (max-width: 420px) {
  .navbar-brand {
    font-size: 1.05rem;
  }

  .hero-section h1 {
    letter-spacing: -0.045em;
  }
}
