:root {
  --primary: #cc1212;
  --primary-dark: #8f0f0f;
  --text: #1b1b1f;
  --muted: #666a73;
  --surface: #ffffff;
  --bg: #f4f5f7;
  --border: #e5e7eb;
  --shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Anta", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand strong {
  display: block;
  font-size: 1.08rem;
}

.brand span {
  color: var(--muted);
  font-size: 0.88rem;
}

.brand-mark {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
}

.brand-mark img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  display: block;
}

nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}

nav > a,
.nav-trigger {
  color: #23262d;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown {
  position: relative;
  padding-bottom: 8px;
}

.nav-trigger {
  border: 0;
  background: transparent;
  font-family: "Anta", sans-serif;
  font-size: 1rem;
  cursor: pointer;
}

.nav-trigger::after {
  content: "▾";
  margin-left: 8px;
  font-size: 0.78rem;
}

nav > a:hover,
nav > a.active,
.nav-trigger.active,
.nav-dropdown:hover .nav-trigger,
.nav-dropdown:focus-within .nav-trigger {
  background: var(--primary);
  color: #fff;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-dropdown:hover .submenu,
.nav-dropdown:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.submenu-link {
  color: #23262d;
  padding: 10px 12px;
  border-radius: 10px;
}

.submenu-link:hover {
  background: #f3f4f6;
  color: var(--primary);
}

.hero {
  background:
    linear-gradient(rgba(8, 12, 18, 0.72), rgba(8, 12, 18, 0.72)),
    url("../assets/img/uberabao.webp") center/cover no-repeat;
  color: #fff;
  padding: 28px 0 30px;
}

.sponsor-showcase {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.24);
  aspect-ratio: 5 / 1;
  min-height: 190px;
  background: rgba(8, 12, 18, 0.16);
  backdrop-filter: blur(3px);
}

.sponsor-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.7rem;
  color: #fff;
  backdrop-filter: blur(8px);
}

.sponsor-banner-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: none;
  background: #111;
}

.sponsor-banner-media.is-active {
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), #e23a3a);
  color: #fff;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn.full {
  width: 100%;
  margin-top: 18px;
}

.hero-card,
.card,
.news-list,
.featured-news,
.admin-box {
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-card {
  color: var(--text);
  padding: 22px;
}

.hero-card ul {
  padding-left: 18px;
  margin: 16px 0 0;
}

.small-title {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

.results-strip {
  width: 100%;
  background: #f1f2f4;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.results-bar {
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
}

.results-title-block {
  display: grid;
  gap: 0;
  color: #1e2128;
  font-size: 1.08rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
}

.results-list {
  width: 100%;
}

.results-page {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.results-page.active {
  display: grid;
  animation: fadeResults 0.35s ease;
}

.result-line {
  display: grid;
  gap: 5px;
  padding: 8px 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e3e6eb;
  min-width: 0;
}

.competition-tag {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff1f1;
  color: var(--primary-dark);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.result-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.teams-stack {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.team-item {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.team-logo {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #151515, var(--primary));
  color: #fff;
  font-size: 0.56rem;
  font-weight: 800;
  flex: none;
}

.team-label {
  color: #22252d;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-stack {
  display: grid;
  gap: 4px;
}

.score-box {
  min-width: 26px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #17191f;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

@keyframes fadeResults {
  from {
    opacity: 0;
    transform: translateY(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 56px 0;
}

.section.light {
  background: linear-gradient(180deg, #f8f9fb 0%, #f0f2f5 100%);
}

.section-heading {
  margin-bottom: 22px;
}

.championship-shell.is-compact {
  padding-bottom: 8px;
}

.championship-shell.is-compact .section-heading,
.championship-shell.is-compact .competition-kpis,
.championship-shell.is-compact .qualification-legend {
  display: none;
}

.championship-shell.is-compact .phase-toolbar {
  margin-bottom: 0;
}

.section-heading h2,
.card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 2vw, 2rem);
}

.section-heading p,
.admin-panel p {
  color: var(--muted);
}

.news-frame {
  border: 6px solid var(--primary-dark);
  border-radius: 22px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.45);
}

.news-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 22px;
}

.news-list {
  padding: 10px;
}

.news-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-left: 4px solid transparent;
  padding: 16px 12px;
  border-radius: 12px;
  font-size: 1rem;
  font-family: "Anta", sans-serif;
  cursor: pointer;
  color: #222;
}

.news-item + .news-item {
  border-top: 1px solid var(--border);
}

.news-item.active {
  border-left-color: #ffffff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-weight: 400;
  box-shadow: 0 10px 18px rgba(143, 15, 15, 0.18);
}

.featured-news {
  overflow: hidden;
}

.featured-image {
  min-height: 280px;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.55), transparent 12%),
    radial-gradient(circle at 72% 50%, #ffffff 0 10%, #171717 12% 18%, transparent 19%),
    linear-gradient(180deg, #adb2bb, #8f949d 40%, #66954f 41%, #4d7b39 100%);
}

.featured-body {
  padding: 22px;
}

.featured-body h3,
.featured-body p,
.featured-body a {
  font-family: "Anta", sans-serif;
}

.featured-body p {
  color: var(--muted);
}

.featured-body a {
  color: var(--primary);
  font-weight: 700;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.card {
  padding: 20px;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.card-title-row span {
  color: var(--muted);
  font-weight: 600;
}

table {
  width: 100%;
  border-collapse: collapse;
}

/* Centraliza colunas numéricas da tabela de classificação */
.standings-table th,
.standings-table td {
  text-align: center;
}

/* Equipe alinhada à esquerda */
.standings-table .team-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.standings-table .team-logo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  margin-right: 4px;
}
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
}

th {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
}

.highlight {
  background: #fff3f3;
  font-weight: 700;
}

.qualified-row {
  background: transparent;
}

.qualified-pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5em;
  height: 1.3em;
  padding: 0 0.3em;
  border-radius: 0.35em;
  background: #188c3a;
  color: #fff;
  font-weight: normal;
  font-size: 1em;
  margin-right: 0.3em;
  vertical-align: middle;
  line-height: 1;
  border: none;
  box-shadow: none;
  transition: background 0.2s;
}

.qualification-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.legend-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #188c3a;
}

.qualification-legend p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.match-list {
  display: grid;
  gap: 12px;
}

.match-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
}

.match-item strong {
  color: var(--primary-dark);
}

.competition-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.kpi-card {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.kpi-card strong {
  display: block;
  color: var(--primary-dark);
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.kpi-card span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.documents-row {
  grid-template-columns: minmax(280px, 520px);
}

.phase-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 10px 0 22px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.phase-toolbar-copy h3 {
  margin: 4px 0 0;
  font-size: 1.25rem;
}

.phase-arrow,
.round-arrow {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.phase-arrow:hover,
.round-arrow:hover {
  transform: translateY(-1px);
}

.phase-arrow.is-disabled,
.round-arrow.is-disabled,
.phase-arrow:disabled,
.round-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.js-ready .phase-view {
  display: none;
}

.js-ready .phase-view.is-active {
  display: block;
}

.js-ready .stage-phase-view {
  display: none;
}

.js-ready .stage-phase-view.is-active {
  display: block;
}

.doc-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  text-align: left;
}

.doc-card strong {
  margin: 0;
  display: block;
  color: var(--primary-dark);
  font-size: 1rem;
}

.doc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  flex: none;
  box-shadow: 0 10px 18px rgba(143, 15, 15, 0.18);
}

.competition-grid,
.stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.rounds-stack {
  display: grid;
  gap: 18px;
}

.rounds-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.rounds-overview-toolbar {
  justify-content: center;
  margin: -10px 0 10px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.rounds-toolbar h3 {
  margin: 0;
  font-size: 1.1rem;
}

.rounds-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.round-status {
  min-width: 160px;
  text-align: center;
  color: #17191f;
  font-size: 1.1rem;
  font-weight: 800;
}

.section.light.phase-view {
  padding-top: 14px;
  padding-bottom: 8px;
}

.section.phase-view--knockout {
  padding-top: 0;
}

.phase-view--knockout .phase-toolbar {
  margin-top: 0;
  margin-bottom: 12px;
}

.js-ready .rounds-stack .round-card {
  display: none;
}

.js-ready .rounds-stack .round-card.is-active {
  display: block;
}

.round-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.round-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #fff;
  background: linear-gradient(135deg, #20242c, #4a4f5b);
}

.round-header strong {
  font-size: 0.98rem;
}

.round-header span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
}

.round-body {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.match-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--border);
  flex-wrap: wrap;
}

.match-center {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 420px;
  min-width: 0;
}

.match-team {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.match-team--away {
  flex-direction: row-reverse;
  justify-content: flex-start;
  text-align: right;
}

.team-seal {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.match-name {
  color: #22252d;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-pill {
  min-width: 68px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #17191f;
  color: #fff;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 800;
}

.summary-chip {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.summary-chip.pending {
  color: #6b7280;
  background: #eceff3;
  border: 1px solid #d6dbe3;
}

.summary-chip.available {
  color: #0d7a46;
  background: #e8fff2;
  border: 1px solid #a8dfbf;
}

.stage-note {
  margin: -2px 2px 2px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.stage-match-block {
  display: grid;
  gap: 10px;
}

.stage-note--placeholder {
  visibility: hidden;
}

.competition-extra {
  margin-top: 22px;
}

.future-card p {
  color: var(--muted);
}

.legend-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.admin-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: center;
}

.admin-box {
  padding: 20px 24px;
}

.admin-box ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
}

}

/* ── Artilheiros ─────────────────────────────────── */
.scorers-section {
  background: #fff;
}

.scorers-hub-section {
  padding-top: 40px;
}

.scorers-hub-toolbar {
  margin-bottom: 12px;
}

.scorers-hub-toolbar .phase-toolbar-copy h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
}

.scorers-hub-controls {
  position: relative;
  margin-bottom: 16px;
}

.scorers-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  color: #1f2937;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.scorers-toggle-arrow {
  transition: transform 0.2s ease;
}

.scorers-toggle.is-open .scorers-toggle-arrow {
  transform: rotate(180deg);
}

.scorers-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 4;
  display: grid;
  gap: 4px;
}

.scorers-options[hidden] {
  display: none;
}

.scorers-option {
  text-align: left;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 8px 10px;
  color: #1f2937;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.scorers-option:hover,
.scorers-option.is-active {
  background: #f0f3f7;
  color: var(--primary-dark);
}

.scorers-hub-card {
  padding: 8px;
}

.scorers-updated-at {
  font-size: 0.72rem;
  color: #6b7280;
  font-weight: 600;
}

.scorers-full-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.scorers-full-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
}

.scorers-full-rank {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex: none;
}

.scorers-full-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.scorers-full-info strong {
  color: #111827;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scorers-full-info span {
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 600;
}

.scorers-full-goals {
  color: var(--primary-dark);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  align-items: start;
}

.stats-block {
  min-width: 0;
}

.stats-block-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.stats-block-header h2 {
  margin: 0;
}

.updated-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.03em;
}

.scorers-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.stats-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.stats-card-top {
  padding: 18px 20px;
}

.stats-icon {
  width: 60px;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.stats-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stats-copy strong {
  margin: 0;
}

.stats-copy span {
  color: #1f2937;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stats-copy small {
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 4px;
}

.stats-action-link {
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.stats-action-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.scorers-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.scorers-list--compact {
  border-top: 1px solid var(--border);
}

.scorer-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.scorer-row:last-child {
  border-bottom: none;
}

.scorer-row:hover {
  background: #f0f3f7;
}

.scorer-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex: none;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.scorer-row:first-child .scorer-rank {
  background: linear-gradient(135deg, #b8860b, #ffd700);
  color: #22252d;
}

.scorer-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.scorer-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #22252d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scorer-club {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
}

.scorer-goals {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-dark);
  white-space: nowrap;
}

.scorers-footer {
  padding: 16px 20px;
  text-align: center;
  background: #f0f3f7;
  border-top: 1px solid var(--border);
}

.scorers-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}

.scorers-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.suspensions-card {
  padding: 0;
}

.suspension-download {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}

.suspension-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  flex: none;
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  box-shadow: 0 10px 18px rgba(143, 15, 15, 0.18);
}

.suspension-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.suspension-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.suspension-desc {
  font-size: 0.82rem;
  color: #6b7280;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.suspension-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.suspension-btn:hover {
  opacity: 0.85;
}

.sponsors-section {
  background: linear-gradient(180deg, #f4f5f7 0%, #eceff3 100%);
  padding-top: 28px;
}

.sponsor-cta-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.announce-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 0.88rem;
  box-shadow: 0 10px 18px rgba(143, 15, 15, 0.18);
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.sponsor-card {
  width: 100%;
  min-height: 72px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.sponsor-card img {
  width: 100%;
  height: 72px;
  object-fit: fill;
  display: block;
}

.footer {
  position: relative;
  background:
    linear-gradient(rgba(9, 16, 24, 0.74), rgba(9, 16, 24, 0.74)),
    url("../assets/img/stadium-sponsor-bg.svg") center/cover no-repeat;
  color: #fff;
  padding: 42px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-mark {
  width: 62px;
  height: 62px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  flex: none;
}

.footer-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-brand-copy strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.05;
}

.footer-brand-copy p {
  margin: 4px 0 10px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.86);
}

.footer-address {
  display: inline-block;
  max-width: 320px;
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-address:hover {
  color: #ffd9d9;
}

.footer p {
  color: rgba(255, 255, 255, 0.86);
}

.footer-social {
  display: flex;
  align-items: center;
}

.instagram-link {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.instagram-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
}

.instagram-link svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 900px) {
  .sponsor-showcase,
  .news-layout,
  .cards-grid,
  .admin-panel,
  .results-bar,
  .results-page,
  .sponsor-grid,
  .competition-kpis,
  .competition-grid,
  .stage-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }

  nav {
    display: flex;
    width: 100%;
    gap: 10px;
  }

  .phase-toolbar,
  .rounds-toolbar,
  .rounds-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .scorers-full-item {
    flex-wrap: wrap;
  }

  .scorers-full-goals {
    width: 100%;
    text-align: right;
  }

  .match-center {
    flex-direction: column;
    align-items: stretch;
  }

  .score-pill {
    width: fit-content;
    align-self: center;
  }

  .round-status {
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .nav {
    min-height: 70px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .section {
    padding: 42px 0;
  }

  .sponsor-cta-row {
    justify-content: center;
  }

  .footer-brand {
    width: 100%;
    justify-content: center;
  }

  .sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .sponsor-card {
    min-height: 60px;
    padding: 0;
  }

  .sponsor-card img {
    width: 100%;
    height: 60px;
    object-fit: fill;
  }
}
