.hero-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (display-mode: standalone), (display-mode: fullscreen) {
  .nav-install-btn {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .shell > :not(header.hero) {
    transition: filter 0.2s ease;
    filter: none;
  }

  body.nav-drawer-open .shell > :not(header.hero) {
    filter: blur(4px);
  }
}

.nav-toggle {
  display: none;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  padding: 8px 10px;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  background: var(--text-strong);
  border-radius: 999px;
  display: block;
}

body.nav-drawer-open {
  overflow: hidden;
}

.hero-nav .nav-pill {
  border-radius: 999px;
  padding: 8px 18px;
  border: 3px solid transparent;
  background: linear-gradient(#ffffff, #ffffff) padding-box,
              linear-gradient(120deg, #ef4444, #fb923c) border-box;
  color: var(--text-strong);
  font-weight: 700;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-install-btn {
  display: none !important;
}

.hero-nav svg {
  width: 20px;
  height: 20px;
}

.nav-pill span {
  font-size: 13px;
}

.nav-pill svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.nav-pill:hover,
.nav-pill.nav-pill--active {
  background: linear-gradient(120deg, #ef4444, #fb923c) padding-box;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.35);
}

/* Matches page layout */
.matches-page {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 48px;
}

.scores-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scores-hero-tag {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.scores-hero h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-strong);
}

.scores-hero-desc {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.5;
}

.news-page {
  padding: 90px 0 60px;
}

.news-hero {
  margin-top: 40px;
  margin-bottom: 40px;
}

.news-status {
  max-width: 940px;
  margin: 0 auto 24px;
}

.news-banner {
  border-radius: 18px;
  padding: 16px 22px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid transparent;
}

.news-banner.loading {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-strong);
}

.news-banner.error {
  display: none;
  border-color: rgba(244, 63, 94, 0.35);
  color: #b91c1c;
  background: rgba(254, 226, 226, 0.9);
}

.news-banner.error button {
  border-radius: 999px;
  border: 1px solid rgba(244, 63, 94, 0.5);
  background: transparent;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
}

.news-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.news-empty {
  text-align: center;
  font-size: 14px;
  color: var(--text-soft);
  margin-top: 24px;
}

.news-card {
  border-radius: 26px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.news-card__image {
  position: relative;
  padding-top: 56%;
  overflow: hidden;
}

.news-card__image img,
.news-card__image--placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card-soft);
  color: var(--text-soft);
  font-weight: 600;
  font-size: 13px;
}

.news-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-card__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-strong);
}

.news-card__description {
  color: var(--text-main);
  line-height: 1.5;
  font-size: 14px;
}

.news-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.news-chip {
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 4px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1d4ed8;
}

.news-card__footer {
  margin-top: auto;
  padding: 16px 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.news-card__author {
  font-size: 12px;
  color: var(--text-soft);
}

.news-card__link {
  border-radius: 18px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(120deg, #1d4ed8, #22d3ee);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.date-nav-card {
  border-radius: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.date-nav-btn {
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  padding: 12px 20px;
  background: transparent;
  font-weight: 700;
  color: var(--text-strong);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.date-nav-btn .btn-icon {
  font-size: 18px;
}

.date-nav-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.date-nav-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}

#selected-date-label {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-strong);
}

.today-btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 8px 18px;
  background: linear-gradient(120deg, #ef4444, #fb923c) padding-box;
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.today-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.scores-banner {
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 14px;
  align-items: center;
  gap: 8px;
}

.scores-banner.loading {
  display: none;
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-strong);
}

.scores-banner.error {
  display: none;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #b91c1c;
}

.scores-groups {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.scores-league {
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.scores-league-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.scores-league-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text-strong);
  font-size: 16px;
  flex: 1 1 auto;
  min-width: 0;
}

.scores-league-title img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.score-team img {
  object-fit: contain;
}

.score-row:hover .score-team img,
.score-row:hover .score-team-placeholder {
  transform: scale(1.12);
}

.scores-league-count {
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.4);
  padding: 6px 14px;
  font-size: 12px;
  color: #b91c1c;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.intro-status-strip .status-pill:nth-child(1) .status-count,
.intro-status-strip .status-pill:nth-child(1) .status-pill-main,
.status-strip-row .status-pill:nth-child(1) .status-count,
.status-strip-row .status-pill:nth-child(1) .status-pill-main {
  color: var(--accent-live);
}

.intro-status-strip .status-pill:nth-child(2) .status-count,
.intro-status-strip .status-pill:nth-child(2) .status-pill-main,
.status-strip-row .status-pill:nth-child(2) .status-count,
.status-strip-row .status-pill:nth-child(2) .status-pill-main {
  color: var(--accent-upcoming);
}

.intro-status-strip .status-pill:nth-child(3) .status-count,
.intro-status-strip .status-pill:nth-child(3) .status-pill-main,
.status-strip-row .status-pill:nth-child(3) .status-count,
.status-strip-row .status-pill:nth-child(3) .status-pill-main {
  color: var(--accent-finished);
}

.score-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}


.score-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.score-row--single {
  justify-content: center;
}

.score-row-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--text-soft);
}

.score-status {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
}

.score-status--live {
  color: var(--accent-live);
}

.score-status--upcoming {
  color: var(--accent-upcoming);
}

.score-status--upcoming.soon {
  color: #00ff5e;
}

.score-status--finished {
  color: var(--accent-finished);
}

.score-status--cancelled {
  color: #dc2626;
}

.score-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-strong);
  font-weight: 600;
}

.score-time::before {
  content: "\23F2";
  font-size: 13px;
}

.score-team {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-strong);
}

.score-team--home {
  align-self: flex-start;
  text-align: left;
}

.score-team--away {
  align-self: flex-end;
  justify-content: flex-end;
  text-align: right;
}

.score-team--away span {
  text-align: right;
}

.score-row--single .score-team--single {
  align-self: center;
}

.score-team img,
.score-team-placeholder {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: contain;
  background: var(--bg-card-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  transition: transform 0.2s ease;
}

.score-row--single .score-team--single {
  justify-self: center;
  grid-column: 1;
}

.score-value {
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  color: var(--text-strong);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: center;
}

.score-vs {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.scores-empty {
  text-align: center;
  font-size: 14px;
  color: var(--text-soft);
  padding: 18px;
}

.nav-install-btn {
  display: none !important;
}

.nav-install-btn--hidden {
  display: none !important;
}

@media (max-width: 720px) {
  .date-nav-card {
    flex-direction: column;
  }

  .nav-install-btn {
    display: inline-flex !important;
    border: 2px dashed rgba(34, 197, 94, 0.7);
    color: #047857;
    background: rgba(187, 247, 208, 0.3);
  }

  .date-nav-btn {
    width: 100%;
    justify-content: center;
  }

  .score-rows {
    grid-template-columns: minmax(0, 1fr);
  }

  .score-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 14px 16px;
  }

  .score-team--home {
    grid-column: 1;
    grid-row: 2;
    justify-self: flex-start;
    text-align: left;
  }

  .score-value {
    grid-column: 1;
    grid-row: 3;
    justify-content: center;
  }

  .score-team--away {
    grid-column: 1;
    grid-row: 4;
    justify-self: flex-end;
    text-align: right;
  }

  .score-team--away span {
    text-align: right;
  }
}
:root {
  --bg: #f5f7fb;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-soft: #eef2fb;
  --border-subtle: #e4e7f0;
  --accent-live: #f43f5e;
  --accent-upcoming: #0891b2;
  --accent-finished: #64748b;
  --text-main: #0f172a;
  --text-soft: #6b7280;
  --text-strong: #0f172a;
  --card-radius: 22px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-main);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header.hero {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease;
}

header.hero.header-hidden {
  transform: translateY(-100%);
}

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}

.brand-link:hover {
  transform: translateY(-2px);
}

.brand-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items:flex-start;
  gap: 4px;
  transition: transform 0.25s ease;
}

.brand-text h1 {
  font-size: 26px;
  line-height: 1.2;
  color: var(--text-strong);
  font-weight: 800;
}

.brand-pill {
  margin-top: 0;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1c1917;
  background: linear-gradient(120deg, #fbbf24, #f97316);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}

.brand-text p {
  font-size: 14px;
  color: var(--text-soft);
  margin-top: 4px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 16px;
  font-size: 12px;
  color: var(--text-soft);
}

.hero-meta span {
  white-space: nowrap;
}

.pill {
  border-radius: 999px;
  padding: 6px 14px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

button#refresh-btn {
  border-radius: 999px;
  border: 1px solid #f43f5e;
  background: transparent;
  color: #f43f5e;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

button#refresh-btn:hover {
  background: #f43f5e;
  color: #fff;
}

button#refresh-btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.9);
}

.btn-icon {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.hero-updated {
  font-size: 11px;
  color: var(--text-soft);
  min-width: 140px;
  text-align: right;
}

main.page {
  flex: 1;
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 24px 24px 64px;
}

.top-row {
  display: none;
}

.intro-panel {
  border-radius: 28px;
  padding: 10px 8px 32px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 12px;
  align-items: center;
}

.intro-body h1 {
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.04em;
  text-align: center;
}

.intro-heading-base {
  white-space: nowrap;
}

.line-break-mobile {
  display: inline;
}

@media (max-width: 640px) {
  .line-break-mobile {
    display: block;
  }
}

.intro-body h1 span:last-child {
  background: linear-gradient(120deg, #ef4444, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.intro-body p {
  font-size: 16px;
  color: #475569;
  max-width: 720px;
  line-height: 1.6;
  text-align: center;
  margin: 0 auto;
}

.intro-status-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.intro-status-pill {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  justify-content: center;
  gap: 12px;
}

.intro-status-pill * {
  cursor: inherit;
}

.intro-status-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
}

.intro-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: center;
}

.intro-btn {
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.intro-btn--primary {
  background: linear-gradient(120deg, #f43f5e, #fb923c);
  color: #fff;
  box-shadow: 0 18px 35px rgba(249, 115, 22, 0.35);
}

.intro-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 40px rgba(249, 115, 22, 0.45);
}

.intro-btn--ghost {
  border: 1px solid rgba(248, 113, 113, 0.5);
  color: #ef4444;
  background: transparent;
}

.intro-btn--ghost:hover {
  background: rgba(248, 113, 113, 0.08);
}

.meta-card {
  flex: 1;
  min-width: 260px;
  border-radius: 24px;
  padding: 18px 18px 16px;
  border: 1px solid var(--border-subtle);
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.meta-card h2 {
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.meta-card-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.meta-card-main span.date-label {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-strong);
}

.meta-card-main span.badge-league {
  background: rgba(15, 23, 42, 0.05);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.badge-league span:last-child {
  align-items: center;
}

.badge-league img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  display: inline-block;
  vertical-align: middle;
  transform: translateY(-2px);
}

.badge-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 14px 4px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--text-soft);
  background: rgba(148, 163, 184, 0.15);
  transform: translateZ(0);
  will-change: transform, box-shadow;
}

.badge-status.live {
  color: #fff;
  background: linear-gradient(120deg, #f43f5e, #fb7185);
  box-shadow: 0 0 22px rgba(244, 63, 94, 0.45);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
  animation: livePulse 1.5s ease-in-out infinite;
}

.badge-status.upcoming {
  color: #05313c;
  background: linear-gradient(120deg, #22d3ee, #2dd4bf);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.35);
  text-shadow: none;
}

.badge-status.upcoming.soon {
  color: #064e3b;
  background: linear-gradient(120deg, #00ff5e, #00ff5e);
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.35);
}

.badge-status.finished {
  color: #4338ca;
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.12);
}

.badge-status.cancelled {
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.35);
  background: rgba(248, 113, 113, 0.12);
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 12px rgba(244, 63, 94, 0.35);
    transform: scale(1);
  }
  45% {
    box-shadow: 0 0 36px rgba(244, 63, 94, 0.7), 0 0 60px rgba(244, 63, 94, 0.35);
    transform: scale(1.08);
  }
  100% {
    box-shadow: 0 0 12px rgba(244, 63, 94, 0.35);
    transform: scale(1);
  }
}


.status-strip {
  flex: 1;
  min-width: 260px;
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.status-strip-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 600;
}

.status-strip-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  font-size: 12px;
}

.status-pill {
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: var(--bg-card-soft);
}

.status-pill-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1;
}

.status-count {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
}

.badge-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.badge-live {
  background: var(--accent-live);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.5);
}

.badge-upcoming {
  background: var(--accent-upcoming);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.4);
}

.badge-finished {
  background: var(--accent-finished);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.4);
}

.sections-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.upcoming-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
  margin-bottom: -6px;
  padding: 0 4px;
}

.upcoming-heading h3 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-strong);
  white-space: nowrap;
}

.upcoming-heading p {
  font-size: 13px;
  color: var(--text-soft);
  opacity: 0.8;
  padding-left: 35px;
}

.column-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.column-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-card {
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #fff;
  color: var(--text-main);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 12px 6px 10px;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.filter-toggle:hover {
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
}

.filter-toggle:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.filter-toggle[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.filter-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  font-size: 11px;
  color: #0f172a;
}

.filter-arrow {
  display: block;
  font-size: 15px;
}



.section-title h2 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--text-strong);
  font-weight: 700;
}

.section-tag {
  font-size: 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 3px 9px;
  color: var(--text-soft);
  background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.26), transparent 60%),
              rgba(15, 23, 42, 0.98);
}

.badge-label-live {
  color: #fff;
  background: linear-gradient(120deg, #f43f5e, #fb7185);
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(244, 63, 94, 0.35);
}

.badge-label-upcoming {
  color: #062a2f;
  background: linear-gradient(120deg, #22d3ee, #2dd4bf);
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(34, 211, 238, 0.35);
}

.badge-label-finished {
  color: rgba(129, 140, 248, 1);
}


.matches-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 14px;
  margin-top: 4px;
}

.matches-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.league-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 14px;
}

.league-group-header {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-strong);
  padding: 8px 4px 2px;
}

.league-group-header img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.league-group-count {
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  padding: 2px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #065f73;
  background: rgba(34, 211, 238, 0.12);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1;
}

.league-group-label {
  color: var(--text-strong);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.match-card {
  border-radius: 15px;
  padding: 20px 20px 15px;
  border: 5px solid var(--border-subtle);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
  width: 100%;
  transition: border 0.25s ease, box-shadow 0.25s ease;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transform-style: preserve-3d;
  perspective: 1200px;
  transition: border 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.match-card:hover {
  border: 5px solid transparent;
  background: linear-gradient(#ffffff, #ffffff) padding-box,
              linear-gradient(120deg, #ef4444, #fb923c) border-box;
  box-shadow: 0 28px 55px rgba(249, 115, 22, 0.25);
  transform: translateY(-6px) rotateX(4deg) rotateY(-2deg);
}

.match-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.match-card__divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 0;
}

.match-card__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.center-score {
  font-size: 24px;
  font-weight: 900;
}

.match-card.live .center-score {
  color: #ef4444;
}

.center-vs {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--text-strong);
}

.center-time,
.center-score,
.center-vs {
  display: block;
  width: 100%;
  text-align: center;
}

.center-icon {
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.center-icon::before {
  content: "🕒";
}

.match-card__body--single .center-icon {
  display: flex;
}

.center-time {
  font-weight: 600;
  color: var(--text-strong);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  transform: translateX(-1px);
}

.match-card__body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
}

.match-card__body--single {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.match-card__footer {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  padding-top: 8px;
}

.team-logo {
  width: 56px;
  height: 56px;
  border-radius: 5px;
  overflow: hidden;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.team-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.match-card:hover .team-logo {
  transform: scale(1.08);
}

.team-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.team-block--left {
  justify-self: start;
}

.team-block--right {
  justify-self: end;
}


.watch-button {
  border-radius: 999px;
  border: none;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(120deg, #dc2626, #ef4444);
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  width: 100%;
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.watch-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(185, 28, 28, 0.45);
}

.watch-button:active {
  transform: translateY(0);
  box-shadow: 0 10px 30px rgba(127, 29, 29, 0.9);
}

.empty-state {
  font-size: 12px;
  color: var(--text-soft);
  padding: 18px 12px 10px;
  text-align: center;
}

.notice-strip {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: var(--text-soft);
}

.notice {
  border-radius: 14px;
  padding: 8px 10px;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.96);
}

.banner {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 18px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.9);
}

.banner.loading {
  border-color: rgba(59, 130, 246, 0.7);
  color: #bfdbfe;
}

.banner.error {
  border-color: rgba(248, 113, 113, 0.8);
  color: #fee2e2;
  background: radial-gradient(circle at 0 0, rgba(248, 113, 113, 0.22), transparent 65%),
              rgba(15, 23, 42, 0.96);
}

.banner-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
}

footer.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 18px;
  font-size: 12px;
  color: #000;
  text-align: center;
  background: #ffffff;
}

@media (max-width: 900px) {
  .sections-grid {
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
  }

  .hero-meta {
    width: 100%;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
    position: absolute;
    top: 18px;
    right: 16px;
  }

  .hero-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    margin-top: 8px;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
    display: none;
    z-index: 50;
  }

  body.nav-drawer-open .hero-nav {
    display: flex;
  }

  .hero-nav .nav-pill {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-meta {
    width: 100%;
    justify-content: space-between;
  }
  .section-card {
    padding: 12px 11px 11px;
  }
}

@media (max-width: 600px) {
  .top-row {
    gap: 12px;
  }

  .status-strip-row {
    grid-template-columns: repeat(3, minmax(0, auto));
  }

  .matches-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .matches-grid.compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .match-body {
    grid-template-columns: minmax(0, 1.7fr) auto;
  }

  .intro-body h1 span {
    display: block;
    margin-top: 6px;
  }

  .intro-pills {
    gap: 8px;
  }

  .intro-pill {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .intro-actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .intro-btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .upcoming-heading h3 {
    font-size: 18px;
    letter-spacing: 0.12em;
  }
}
