/* FlickupScore — KICK-inspired visual direction (original implementation)
   Palette inspired by the supplied Dribbble reference; no KICK marks or artwork copied. */
:root {
  --bg-white: #03050A;
  --bg-offwhite: #07101F;
  --border-black: #1B2B43;
  --text-main: #F9FCFC;
  --text-muted: #A1B3C6;
  --accent-red: #C4FF09;
  --accent-green: #C4FF09;
  --brand-orange: #C4FF09;
  --soft-line: #1B2B43;
  --panel-shadow: 0 18px 50px rgba(0,0,0,.32);
  --kick-ink: #03050A;
  --kick-blue: #04134A;
  --kick-lime: #C4FF09;
  --kick-paper: #F9FCFC;
  --kick-muted: #A1B3C6;
}

html { background: var(--kick-ink); }
body {
  background:
    radial-gradient(ellipse at 82% 6%, rgba(4,19,74,.36), transparent 32rem),
    linear-gradient(rgba(4,19,74,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4,19,74,.13) 1px, transparent 1px),
    var(--kick-ink);
  background-size: auto, 34px 34px, 34px 34px, auto;
  color: var(--kick-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
::selection { color: var(--kick-ink); background: var(--kick-lime); }
a { color: var(--kick-lime); }
button, input, select { font: inherit; }

/* Advertisement zones remain visible but visually secondary. */
.top-ad-banner {
  background: #050912;
  border: 0;
  border-bottom: 1px solid #121f32;
  padding: 7px 12px 9px;
}
.ad-label { color: #71839a; font-size: 9px; letter-spacing: 1.7px; font-weight: 800; }
.ad-placeholder-box,
.ad-banner-content {
  color: #8295ab;
  background: #07101f;
  border: 1px dashed #30445f;
  border-radius: 2px;
  max-width: 728px;
}
.sidebar-ad-box { background: #07101f; border: 1px solid #203451; border-radius: 3px; }
.ad-banner-content { border-color: #30445f; }

/* Match ticker becomes the high-contrast matchday strip. */
.ticker-bar {
  color: #03050A;
  background: var(--kick-lime);
  border: 0;
  border-bottom: 1px solid #d9ff75;
  padding: 7px 16px;
}
.ticker-content { animation-duration: 36s; }
.match-item { color: #03050A; font-weight: 900; letter-spacing: .7px; }
.ticker-match-link { color: #03050A; }
.dot-green, .dot-red { background: #03050A; box-shadow: 0 0 0 0 rgba(3,5,10,.3); }

/* Header/navigation: compact broadcast-style masthead. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 15px clamp(16px, 4vw, 54px);
  background: rgba(3,5,10,.96);
  border: 0;
  border-bottom: 1px solid #17253a;
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: left;
}
.logo-link { color: var(--kick-paper) !important; display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--kick-paper);
  font-family: "Arial Black", Impact, ui-sans-serif, sans-serif;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -1.2px;
  line-height: 1;
  text-transform: uppercase;
}
.logo::before {
  content: "";
  display: inline-block;
  width: 23px;
  height: 23px;
  margin-right: 9px;
  background: var(--kick-lime);
  clip-path: polygon(0 0, 100% 0, 70% 35%, 100% 35%, 25% 100%, 44% 55%, 12% 55%);
}
.logo strong { color: var(--kick-lime); font-weight: 950; }
.logo-link:hover .logo { transform: translateY(-1px); opacity: 1; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 3px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #34465f transparent;
}
.nav-links a {
  position: relative;
  flex: 0 0 auto;
  padding: 9px 10px;
  color: #A1B3C6;
  border: 0;
  border-radius: 2px;
  background: transparent;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .75px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none;
  transition: color .18s ease, background .18s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 2px;
  background: var(--kick-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: #0a1730; box-shadow: none; transform: none; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.main-container { width: min(1320px, 100%); max-width: 1320px; margin: 28px auto 48px; padding: 0 clamp(16px, 3vw, 34px); }
.section-title {
  color: var(--kick-paper);
  border-bottom: 2px solid var(--kick-lime);
  padding-bottom: 9px;
  margin-bottom: 16px;
  font-family: "Arial Black", Impact, ui-sans-serif, sans-serif;
  font-size: 19px;
  font-weight: 950;
  letter-spacing: -.35px;
}
.section-heading-row { margin: 34px 0 14px; align-items: end; }
.eyebrow { color: var(--kick-lime); letter-spacing: 1.8px; font-size: 9px; font-weight: 950; }
.text-link { color: var(--kick-lime); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; }
.text-link:hover { color: #fff; }

/* Main hero: deep-blue broadcast panel with sharp lime energy marks. */
.hero-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1.65fr) minmax(240px,.75fr);
  gap: clamp(22px,4vw,48px);
  min-height: 330px;
  padding: clamp(26px,5vw,58px);
  margin: 18px 0 36px;
  border: 1px solid #15345e;
  border-radius: 3px;
  background:
    radial-gradient(ellipse at 78% 46%, rgba(17,74,150,.55), transparent 42%),
    linear-gradient(115deg, #04134A 0%, #061b53 55%, #030b1b 100%);
  color: var(--kick-paper);
  box-shadow: 0 24px 60px rgba(0,0,0,.34);
}
.hero-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 52%;
  height: 145%;
  top: -22%;
  right: -8%;
  opacity: .95;
  background: repeating-linear-gradient(132deg, transparent 0 27px, rgba(196,255,9,.95) 28px 51px, transparent 52px 82px);
  clip-path: polygon(34% 0,100% 0,100% 100%,0 100%);
  transform: rotate(-7deg);
}
.hero-panel::after {
  content: "MATCHDAY / 90'";
  position: absolute;
  right: 5%;
  bottom: 8%;
  color: rgba(249,252,252,.12);
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(38px,7vw,92px);
  font-weight: 950;
  letter-spacing: -5px;
  white-space: nowrap;
  pointer-events: none;
}
.hero-copy, .hero-side { position: relative; z-index: 1; }
.hero-copy h1, .page-intro h1 {
  color: #fff;
  font-family: "Arial Black", Impact, ui-sans-serif, sans-serif;
  font-weight: 950;
  letter-spacing: -1.8px;
  line-height: .98;
  text-transform: uppercase;
}
.hero-copy h1 { max-width: 720px; margin: 15px 0 16px; font-size: clamp(34px,5.6vw,70px); }
.hero-copy p { max-width: 610px; color: #c0d2e4; font-size: 14px; line-height: 1.65; }
.hero-search { max-width: 720px; margin-top: 26px; gap: 0; }
.hero-search input {
  min-height: 48px;
  padding: 13px 16px;
  color: #101722;
  background: #F9FCFC;
  border: 2px solid #F9FCFC;
  border-radius: 2px 0 0 2px;
  outline: none;
}
.hero-search input:focus { border-color: var(--kick-lime); box-shadow: 0 0 0 3px rgba(196,255,9,.22); }
.hero-search .button { border-radius: 0 2px 2px 0; }
.hero-actions { gap: 10px; margin-top: 13px; }
.button {
  min-height: 42px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .8px;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--kick-lime); color: #03050A; }
.button-dark:hover { background: #dcff73; }
.button-orange { background: var(--kick-lime); color: #03050A; }
.button-orange:hover { background: #dcff73; }
.button-light { background: transparent; color: #fff; border-color: rgba(249,252,252,.5); }
.button-light:hover { background: #fff; color: #03050A; border-color: #fff; }
.hero-side {
  align-self: stretch;
  justify-content: center;
  gap: 20px;
  border-left: 1px solid rgba(196,255,9,.45);
  padding-left: clamp(18px,3vw,34px);
}
.hero-stat { gap: 3px; }
.hero-stat strong { color: var(--kick-lime); font-family: "Arial Black", Impact, sans-serif; font-size: clamp(38px,5vw,62px); line-height: .9; letter-spacing: -2px; }
.hero-stat span { color: #e3edf8; font-size: 10px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.small-note { max-width: 250px; color: #91a8c2; font-size: 10px; line-height: 1.55; }

/* Fixtures and scoreboards. */
.fixture-grid { gap: 12px; }
.fixture-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 15px;
  color: #F9FCFC;
  background: linear-gradient(145deg, #09172b, #061020 70%);
  border: 1px solid #1e3554;
  border-radius: 3px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.fixture-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #27466f; }
.fixture-card:hover { transform: translateY(-3px); border-color: var(--kick-lime); box-shadow: 0 14px 30px rgba(0,0,0,.3); }
.fixture-card-top { padding-bottom: 9px; border-bottom: 1px solid #1c304b; }
.fixture-competition { color: #A1B3C6; font-size: 9px; letter-spacing: 1px; }
.status-badge { border-radius: 2px; padding: 4px 7px; background: #14243a; color: #b8c8d9; font-size: 8px; letter-spacing: .8px; }
.status-live { color: #03050A; background: var(--kick-lime); }
.status-live::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: #03050A; vertical-align: 1px; }
.status-upcoming { color: #dbe8f4; background: #12366d; }
.status-finished { color: #a1b3c6; background: #172437; }
.status-postponed,.status-cancelled,.status-suspended { color: #ffb6b6; background: #3a1a28; }
.fixture-teams {
  gap: 9px;
  min-height: 78px;
  margin: 10px 0;
  padding: 13px 10px;
  background: linear-gradient(90deg, rgba(4,19,74,.75), rgba(4,19,74,.25));
  border-left: 2px solid var(--kick-lime);
}
.fixture-team { color: #fff; font-size: 13px; font-weight: 950; letter-spacing: -.2px; }
.fixture-score { color: var(--kick-lime); font-family: "Arial Black", Impact, sans-serif; font-size: 21px; font-weight: 950; }
.fixture-card-bottom { border-top: 1px solid #1c304b; padding-top: 10px; color: #91a8c2; font-size: 9px; }

/* Competition, club and generic data cards. */
.competition-grid { gap: 10px; }
.competition-tile, .team-directory-card, .team-profile-head, .match-centre-card,
.sidebar-info-card, .notice-panel, .filter-panel, .news-article, .legal-container {
  color: #F9FCFC;
  background: #07101F;
  border: 1px solid #1c3350;
  border-radius: 3px;
  box-shadow: 0 8px 25px rgba(0,0,0,.18);
}
.competition-tile { color: #fff; padding: 16px; grid-template-columns: 38px 1fr; }
.competition-tile:hover, .team-directory-card:hover { border-color: var(--kick-lime); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,0,0,.25); }
.competition-flag { color: var(--kick-lime); }
.competition-tile strong, .team-directory-card strong { color: #fff; font-size: 14px; font-weight: 950; }
.competition-tile small, .team-directory-card span, .team-directory-card small { color: #9fb2c8; }
.team-chip { color: #dce8f4; background: #09172b; border: 1px solid #263b56; border-radius: 2px; }
.team-chip:hover, .team-chip.is-favorite { color: #03050A; background: var(--kick-lime); border-color: var(--kick-lime); }
.sidebar-info-card { padding: 18px; }
.sidebar-info-card h3 { color: #fff; font-family: "Arial Black", Impact, sans-serif; font-size: 15px; text-transform: uppercase; }
.sidebar-info-card p, .notice-panel p { color: #A1B3C6; line-height: 1.7; }
.notice-panel { border-left: 3px solid var(--kick-lime); }

/* Page headings and controls. */
.page-intro { margin: 30px 0 24px; }
.page-intro h1 { margin: 9px 0 12px; font-size: clamp(31px,4.8vw,55px); }
.page-intro p { color: #A1B3C6; max-width: 800px; font-size: 13px; line-height: 1.7; }
.filter-panel { padding: 16px; gap: 12px; }
.filter-panel label { color: #A1B3C6; font-size: 9px; letter-spacing: 1px; }
.filter-panel input, .filter-panel select,
.search-page-form input {
  color: #F9FCFC;
  background: #030914;
  border: 1px solid #2a405d;
  border-radius: 2px;
  min-height: 43px;
}
.filter-panel input:focus, .filter-panel select:focus, .search-page-form input:focus { outline: 2px solid var(--kick-lime); outline-offset: 1px; }
.filter-panel select option { color: #F9FCFC; background: #07101F; }
.results-toolbar { color: #A1B3C6; }
.muted-text { color: #91a8c2; }
.loading-state, .empty-state { color: #A1B3C6; background: #07101F; border: 1px dashed #2a405d; border-radius: 3px; }
.empty-state h3 { color: #fff; }
.empty-state p { color: #A1B3C6; }
.breadcrumbs { color: #8ba0b9; }
.breadcrumbs a { color: var(--kick-lime); }

/* Match centre/player. */
.match-centre-card { padding: clamp(22px,4vw,46px); background: radial-gradient(ellipse at center top, #0c2451, #07101f 68%); }
.match-centre-card h1 { color: #fff; font-family: "Arial Black", Impact, sans-serif; text-transform: uppercase; font-size: clamp(25px,4vw,45px); }
.match-centre-card > p { color: #A1B3C6; }
.match-centre-score { padding: 22px 12px; background: rgba(4,19,74,.45); border-top: 1px solid #25436a; border-bottom: 1px solid #25436a; }
.match-centre-score strong { color: #F9FCFC; }
.match-centre-score b { color: var(--kick-lime); font-family: "Arial Black", Impact, sans-serif; }
.player-box { border: 1px solid #29486c; box-shadow: 0 12px 34px rgba(0,0,0,.42); }
.mirror-btn, .tab-btn, .sub-filter-btn, .filter-btn {
  color: #C5D3E2;
  background: #09172b;
  border: 1px solid #29415f;
  border-radius: 2px;
}
.mirror-btn.active, .mirror-btn:hover, .tab-btn.active, .tab-btn:hover,
.sub-filter-btn.active, .sub-filter-btn:hover, .filter-btn.active, .filter-btn:hover {
  color: #03050A;
  background: var(--kick-lime);
  border-color: var(--kick-lime);
  box-shadow: none;
}
.tab-navigation-bar { border-bottom: 2px solid var(--kick-lime); }

/* News cards and content surfaces. */
.news-grid { gap: 14px; }
.news-card, .news-card-featured {
  color: #F9FCFC;
  background: #07101F;
  border: 1px solid #1c3350;
  border-radius: 3px;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.news-card-featured { overflow: hidden; }
.news-image-wrapper { border-bottom: 2px solid var(--kick-lime); background: #04134A; }
.news-card-body h3, .news-card h3 { color: #fff; font-size: 15px; line-height: 1.3; font-weight: 900; }
.news-card-body p, .news-card p { color: #A1B3C6; line-height: 1.65; }
.news-date { color: #8da4bd; }
.news-badge { color: #03050A; background: var(--kick-lime); border-radius: 1px; }
.badge-epl, .badge-laliga, .badge-ucl { color: #03050A; background: var(--kick-lime); }
.external-news-link { color: #03050A; background: var(--kick-lime); border-radius: 2px; }
.external-news-link:hover { color: #03050A; background: #e0ff80; }
.news-article { padding: clamp(20px,4vw,42px); }
.news-article h1 { color: #fff; font-family: "Arial Black", Impact, sans-serif; text-transform: uppercase; }
.news-article-content p { color: #cfdae6; }

/* Tables, tabs, legacy panels and legal pages. */
.table-responsive { border: 1px solid #1c3350; }
.data-table { color: #F9FCFC; background: #07101F; }
.data-table th { color: #03050A; background: var(--kick-lime); }
.data-table td { border-bottom: 1px solid #1c3350; }
.data-table tr:hover { background: #0c1d37; }
.nation-card { background: #07101F; border: 1px solid #1c3350; }
.nation-header { color: #03050A; background: var(--kick-lime); }
.match-list { background: #07101F; }
.match-list li { border-bottom: 1px solid #1c3350; }
.match-list a { color: #E7EEF6; }
.match-list a span, .match-list .match-row-pending > span { color: #91a8c2; }
.match-list a:hover { color: var(--kick-lime); background: #0b1a31; border-left-color: var(--kick-lime); }
.site-footer-global { color: #9eb0c5; background: #050912; border-top: 1px solid #1b2b43; }
.footer-disclaimer { color: #91a8c2; }
.footer-disclaimer strong, .footer-links a { color: #F9FCFC; }
.footer-links a:hover { color: var(--kick-lime); }
.footer-copy { color: #71839a; }
.legal-container { color: #e6edf5; }
.legal-container h1 { color: #fff; border-bottom-color: var(--kick-lime); }
.legal-container h2 { color: #fff; }
.legal-container p, .legal-container li { color: #A1B3C6; }
.legal-container a { color: var(--kick-lime); }
.betting-promo-card { color: #fff; background: #04134A; border: 1px solid #29486c; box-shadow: 4px 4px 0 var(--kick-lime); }
.promo-header { color: var(--kick-lime); }
.promo-body p { color: #A1B3C6; }
.promo-btn { color: #03050A; background: var(--kick-lime); }
.promo-btn:hover { background: #e0ff80; }

/* Accessibility and motion preferences. */
:focus-visible { outline: 2px solid var(--kick-lime); outline-offset: 3px; }
@media (max-width: 1050px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .nav-links { width: 100%; justify-content: flex-start; }
}
@media (max-width: 850px) {
  .hero-panel { grid-template-columns: 1fr; min-height: 0; }
  .hero-side { border-left: 0; border-top: 1px solid rgba(196,255,9,.45); padding: 18px 0 0; flex-direction: row; flex-wrap: wrap; }
  .hero-panel::before { width: 64%; right: -20%; opacity: .55; }
  .hero-panel::after { font-size: 48px; }
}
@media (max-width: 560px) {
  .main-container { margin-top: 18px; padding: 0 13px; }
  .site-header { padding: 12px 14px; }
  .logo { font-size: 20px; }
  .nav-links a { padding: 9px 8px; font-size: 9px; }
  .hero-panel { padding: 24px 18px; margin-top: 12px; }
  .hero-copy h1 { font-size: clamp(33px,11vw,48px); }
  .hero-search { flex-direction: column; gap: 8px; }
  .hero-search input, .hero-search .button { border-radius: 2px; width: 100%; }
  .fixture-grid { grid-template-columns: 1fr; }
  .team-directory { grid-template-columns: 1fr; }
  .filter-panel { grid-template-columns: 1fr; }
  .hero-panel::before { width: 80%; right: -38%; opacity: .28; }
  .hero-panel::after { font-size: 33px; letter-spacing: -2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Supporting legacy legal/footer elements. */
.footer-nav-row { border-bottom-color: #1b2b43; }
.footer-nav-row a { color: #dce6f1; }
.footer-nav-row a:hover { color: var(--kick-lime); }
.footer-gambling-notice { color: #A1B3C6; background: #07101F; border: 1px solid #1c3350; }
.badge-18plus { color: #03050A; background: var(--kick-lime); }
.legal-contact-box { color: #e8f0f8 !important; background: #09172b; border-color: #29415f; }
