/* Tema inspirado em futebol para o portal de gols */
:root {
  color-scheme: light;
  font-family: "Inter", "Segoe UI", sans-serif;
  background-color: #0b132b;
  --green-900: #0b3d2e;
  --green-800: #145c3f;
  --green-700: #1c7c52;
  --green-600: #239965;
  --green-400: #37c978;
  --green-300: #68e39b;
  --dark-900: #060b1b;
  --dark-800: #0f1c2e;
  --dark-700: #182a3f;
  --dark-600: #25384f;
  --text-strong: #f2f8f4;
  --text-muted: #c2d5cc;
  --surface: rgba(15, 34, 45, 0.72);
  --surface-alt: rgba(12, 27, 36, 0.86);
  --border: rgba(120, 200, 160, 0.25);
  --highlight: rgba(76, 255, 164, 0.16);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  --card-radius: 18px;
  --transition: 0.25s ease;
  --pointer-x: 50%;
  --pointer-y: 50%;
}

@keyframes heroGlow {
  0% {
    transform: translate3d(-4%, -4%, 0) scale(1.05);
    opacity: 0.55;
  }
  50% {
    transform: translate3d(4%, 4%, 0) scale(1);
    opacity: 0.85;
  }
  100% {
    transform: translate3d(-4%, -4%, 0) scale(1.05);
    opacity: 0.55;
  }
}

@keyframes cardShimmer {
  from {
    transform: translateX(-60%);
  }
  to {
    transform: translateX(140%);
  }
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

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

body {
  background: linear-gradient(130deg, var(--dark-900), var(--dark-700));
  min-height: 100vh;
  color: var(--text-muted);
  position: relative;
  z-index: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(
      90deg,
      rgba(104, 227, 155, 0.08) 0,
      rgba(104, 227, 155, 0.08) 2px,
      transparent 2px,
      transparent 180px
    ),
    linear-gradient(
      rgba(104, 227, 155, 0.05) 0,
      rgba(104, 227, 155, 0.05) 2px,
      transparent 2px,
      transparent 120px
    );
  background-size: 180px 100%, 100% 120px;
  opacity: 0.25;
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
}

code {
  font-family: "Fira Code", Consolas, monospace;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) clamp(2rem, 6vw, 6rem);
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(55, 201, 120, 0.28), transparent 58%),
    radial-gradient(circle at top left, rgba(55, 201, 120, 0.45), transparent 60%),
    radial-gradient(circle at bottom right, rgba(20, 92, 63, 0.35), transparent 55%),
    linear-gradient(135deg, rgba(10, 33, 33, 0.95), rgba(9, 18, 30, 0.92));
  color: var(--text-strong);
  transition: background-position 0.3s ease;
  will-change: background;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 3rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.8rem);
  position: relative;
  z-index: 2;
}

.top-nav__extra {
  width: 130px;
  min-height: 1px;
}

.top-nav__brand {
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-300);
}

.top-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.top-nav__links a {
  position: relative;
  font-weight: 600;
  color: rgba(242, 248, 244, 0.82);
  text-decoration: none;
  padding-bottom: 0.35rem;
}

.top-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(104, 227, 155, 0.7), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.top-nav__links a:hover::after,
.top-nav__links a:focus-visible::after {
  transform: scaleX(1);
}

.top-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(104, 227, 155, 0.4);
  color: var(--text-strong);
  text-decoration: none;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.top-nav__cta:hover,
.top-nav__cta:focus-visible {
  background: rgba(55, 201, 120, 0.28);
  transform: translateY(-1px);
}

.hero__content {
  position: relative;
  max-width: 780px;
  display: grid;
  gap: 1.8rem;
}

.hero__intro {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.hero__ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(104, 227, 155, 0.35);
  color: rgba(242, 248, 244, 0.85);
  text-decoration: none;
  font-weight: 600;
  backdrop-filter: blur(2px);
  transition: background var(--transition), transform var(--transition);
}

.hero__ghost:hover,
.hero__ghost:focus-visible {
  background: rgba(55, 201, 120, 0.18);
  transform: translateY(-1px);
}

.hero__ghost--accent {
  border-color: rgba(255, 193, 7, 0.45);
  color: rgba(255, 235, 180, 0.92);
}

.hero__ghost--accent:hover,
.hero__ghost--accent:focus-visible {
  background: rgba(255, 193, 7, 0.18);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.hero__stats-item {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(9, 28, 28, 0.6);
  border: 1px solid rgba(104, 227, 155, 0.18);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.hero__stats-item span {
  color: rgba(194, 213, 204, 0.7);
}

.hero__stats-item strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.3rem;
  color: var(--text-strong);
}

.live-ticker {
  position: relative;
  overflow: hidden;
  margin: -2.2rem auto 2.6rem;
  border-radius: 999px;
  width: min(820px, calc(100% - 2rem));
  border: 1px solid rgba(104, 227, 155, 0.3);
  background: rgba(9, 28, 28, 0.75);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.live-ticker__track {
  display: flex;
  gap: 2.5rem;
  padding: 0.75rem 1.6rem;
  white-space: nowrap;
  animation: tickerScroll 18s linear infinite;
}

.live-ticker__item {
  font-size: 0.95rem;
  color: rgba(168, 236, 197, 0.85);
}

.live-ticker__item strong {
  color: var(--text-strong);
  margin-right: 0.5rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 201, 120, 0.35), transparent 65%);
  opacity: 0.7;
  pointer-events: none;
  animation: heroGlow 12s ease-in-out infinite;
}

.hero::before {
  top: -160px;
  left: -120px;
}

.hero::after {
  bottom: -200px;
  right: -140px;
  animation-delay: -4s;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 2px,
      transparent 2px,
      transparent 8px
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 2px,
      transparent 2px,
      transparent 10px
    );
  opacity: 0.25;
  pointer-events: none;
}

.hero__content {
  position: relative;
  max-width: 680px;
  display: grid;
  gap: 1.2rem;
}

.hero__tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  color: var(--green-300);
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1.1;
  color: var(--text-strong);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
}

.hero__cta {
  justify-self: start;
  padding: 0.9rem 2.6rem;
  border-radius: 999px;
  background: var(--green-600);
  color: var(--text-strong);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.05em;
  box-shadow: 0 18px 35px rgba(35, 153, 101, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero__cta--accent {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(255, 165, 0, 0.85));
  color: rgba(26, 31, 12, 0.92);
  box-shadow: 0 22px 40px rgba(255, 193, 7, 0.35);
}

.hero__cta--accent:hover {
  box-shadow: 0 26px 48px rgba(255, 193, 7, 0.45);
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 45px rgba(35, 153, 101, 0.45);
}

.layout {
  padding: clamp(2.5rem, 5vw, 3.8rem) clamp(1.5rem, 5vw, 4rem);
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  font-size: 1.8rem;
  color: var(--text-strong);
}

.section-heading p {
  color: var(--text-muted);
}

.scoreboard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2rem);
  position: relative;
  overflow: hidden;
}

.scoreboard::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(104, 227, 155, 0.15), transparent 55%);
  opacity: 0.85;
  pointer-events: none;
}

.scoreboard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(55, 201, 120, 0.12), transparent 40%);
  pointer-events: none;
}

.stat-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 1;
}

.chip {
  appearance: none;
  border: 1px solid rgba(104, 227, 155, 0.35);
  background: rgba(9, 28, 28, 0.65);
  color: rgba(242, 248, 244, 0.82);
  font-weight: 600;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

.chip:hover,
.chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(104, 227, 155, 0.6);
}

.chip.is-active {
  background: rgba(55, 201, 120, 0.28);
  color: var(--text-strong);
  border-color: rgba(104, 227, 155, 0.65);
  box-shadow: 0 12px 24px rgba(35, 153, 101, 0.32);
}

.scoreboard__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.scoreboard__table {
  margin-top: 1.6rem;
  position: relative;
  z-index: 1;
}

.summary-card {
  background: rgba(9, 28, 28, 0.72);
  border: 1px solid rgba(104, 227, 155, 0.22);
  border-radius: 16px;
  padding: 1.1rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.summary-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(168, 236, 197, 0.3), transparent);
  transform: translateX(-100%);
  animation: cardShimmer 6s linear infinite;
  opacity: 0.6;
  pointer-events: none;
}

.summary-card:hover {
  transform: translateY(-4px);
  border-color: rgba(104, 227, 155, 0.55);
}

.summary-card h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-300);
}

.summary-card p {
  margin-top: 0.4rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-strong);
}

.summary-card__value {
  font-size: 2.4rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease;
}

.summary-card:hover .summary-card__value {
  transform: translateY(-2px) scale(1.02);
}

.summary-card__label {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(168, 236, 197, 0.8);
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid--two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.content-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  position: relative;
  overflow: hidden;
}

.content-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(55, 201, 120, 0.12), transparent 55%);
  pointer-events: none;
}

.coaches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.coach-card {
  background: rgba(9, 28, 28, 0.8);
  border: 1px solid rgba(104, 227, 155, 0.25);
  border-radius: 16px;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.coach-card:hover {
  transform: translateY(-6px);
  border-color: rgba(104, 227, 155, 0.55);
  box-shadow: 0 24px 42px rgba(10, 20, 30, 0.42);
}

.coach-card__portrait {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  align-self: start;
  border: 2px solid rgba(104, 227, 155, 0.4);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.coach-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.8rem;
  font-weight: 700;
  background: rgba(55, 201, 120, 0.25);
  color: var(--text-strong);
}

.coach-card__header {
  display: grid;
  gap: 0.6rem;
}

.coach-card__header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-strong);
}

.coach-card__header p {
  margin: 0;
  color: rgba(194, 213, 204, 0.75);
  line-height: 1.55;
}

.coach-card__stats {
  display: flex;
  gap: 1rem;
  margin: 0;
  flex-wrap: wrap;
}

.coach-card__stats dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(194, 213, 204, 0.6);
}

.coach-card__stats dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
  color: var(--text-strong);
  font-size: 1.1rem;
}

.coach-card__stats div {
  display: flex;
  flex-direction: column;
}

.coach-card__teams {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.coach-card__teams li {
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  background: rgba(12, 36, 36, 0.75);
  border: 1px solid rgba(104, 227, 155, 0.2);
  color: var(--text-muted);
}

.card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(55, 201, 120, 0.18), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 140%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(104, 227, 155, 0.65), transparent);
  transform: translateX(-20%);
  opacity: 0.7;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(104, 227, 155, 0.45);
  box-shadow: 0 24px 45px rgba(10, 20, 30, 0.45);
}

.card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.card__header h2 {
  font-size: 1.4rem;
  color: var(--text-strong);
}

.card__description {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card__actions {
  margin-left: auto;
}

.input-search {
  position: relative;
}

.teams-columns {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  .teams-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .teams-columns {
    grid-template-columns: 1fr;
  }
}

.team-card {
  gap: 1.2rem;
}

.team-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.team-card__header h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.2rem;
}

.team-card__coach {
  margin: 0.35rem 0 0;
  color: rgba(194, 213, 204, 0.85);
  font-size: 0.9rem;
}

.team-card__coach--empty {
  color: rgba(194, 213, 204, 0.6);
  font-style: italic;
}

.team-card__count {
  align-self: flex-start;
  background: rgba(12, 36, 36, 0.7);
  border: 1px solid rgba(104, 227, 155, 0.3);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: rgba(198, 221, 210, 0.9);
}

.team-card__players {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.team-card__player {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(104, 227, 155, 0.18);
  background: rgba(12, 36, 36, 0.6);
}

.team-card__player-pos {
  font-weight: 700;
  font-size: 0.85rem;
  color: rgba(104, 227, 155, 0.95);
  min-width: 2.6rem;
  text-transform: uppercase;
}
.team-card__player-name {
  color: var(--text-strong);
  font-size: 1rem;
  font-weight: 600;
  flex: 1;
  min-width: 0;
}

.team-card__players-empty {
  margin: 0;
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(9, 28, 28, 0.65);
  border: 1px dashed rgba(104, 227, 155, 0.25);
  color: rgba(194, 213, 204, 0.65);
  text-align: center;
}

.awards-grid {
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.award-card {
  gap: 1rem;
  min-width: 280px;
  flex: 0 0 auto;
}

.award-card__header h3 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--text-strong);
}

.award-card__header p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.award-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.award-card__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(104, 227, 155, 0.18);
  background: rgba(12, 36, 36, 0.6);
}

.award-card__rank {
  font-weight: 700;
  color: rgba(104, 227, 155, 0.95);
  min-width: 2.2rem;
}

.award-card__meta {
  display: block;
  color: rgba(194, 213, 204, 0.7);
  font-size: 0.85rem;
}

.award-card__score {
  font-weight: 600;
  color: var(--text-strong);
}

.award-card__empty {
  text-align: center;
  color: rgba(194, 213, 204, 0.7);
  font-style: italic;
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px dashed rgba(104, 227, 155, 0.25);
}

.input-search input {
  background: rgba(11, 31, 31, 0.9);
  border: 1px solid rgba(95, 175, 135, 0.4);
  color: var(--text-strong);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.input-search input::placeholder {
  color: rgba(194, 213, 204, 0.65);
}

.input-search input:focus {
  outline: none;
  border-color: var(--green-300);
  box-shadow: 0 0 0 3px rgba(55, 201, 120, 0.2);
}

.table-wrapper {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.table thead {
  background: rgba(10, 53, 40, 0.85);
  color: var(--text-strong);
}

.table th,
.table td {
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid rgba(104, 227, 155, 0.15);
  text-align: left;
}

.table tbody tr {
  transition: background var(--transition), transform var(--transition);
}

.table tbody tr:nth-child(odd) {
  background: rgba(18, 40, 40, 0.5);
}

.table tbody tr:hover {
  background: rgba(55, 201, 120, 0.12);
  transform: translateY(-1px);
}

.table-row--highlight {
  background: rgba(55, 201, 120, 0.22) !important;
  border-bottom-color: rgba(104, 227, 155, 0.55) !important;
}

.table-row--highlight td {
  color: var(--text-strong);
  font-weight: 600;
}

.matches {
  display: grid;
  gap: 1rem;
}

.match {
  background: rgba(9, 28, 28, 0.78);
  border: 1px solid rgba(104, 227, 155, 0.18);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  display: grid;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.match::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(55, 201, 120, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.match:hover::before {
  opacity: 1;
}

.match:hover {
  transform: translateY(-4px);
  border-color: rgba(104, 227, 155, 0.4);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
}

.match__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.match__teams {
  font-size: 1.1rem;
  color: var(--text-strong);
  font-weight: 600;
}

.match__score {
  font-size: 1.4rem;
  color: var(--green-300);
  font-weight: 700;
}

.match__meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.match__actions {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.match__note {
  font-size: 0.85rem;
  color: rgba(194, 213, 204, 0.6);
  padding: 0.35rem 0.6rem;
}

.match__toggle {
  background: rgba(35, 153, 101, 0.18);
  border-color: rgba(55, 201, 120, 0.45);
}

.match.is-open .match__toggle {
  background: rgba(55, 201, 120, 0.32);
}

.match__events {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0.2rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.match.is-open .match__events {
  margin-top: 0.6rem;
  opacity: 1;
}

.match__events.is-static {
  opacity: 1;
  max-height: none;
}

.match__events li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.4rem;
  font-size: 0.9rem;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  background: rgba(9, 28, 28, 0.65);
  border: 1px solid rgba(104, 227, 155, 0.18);
  margin-bottom: 0.45rem;
}

.match__events li:last-child {
  margin-bottom: 0;
}

.match__events-empty {
  display: block;
  font-style: italic;
  opacity: 0.75;
  padding: 0.4rem 0.2rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(104, 227, 155, 0.4);
  background: rgba(9, 28, 28, 0.8);
  color: var(--text-strong);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-secondary:hover {
  background: rgba(55, 201, 120, 0.28);
  transform: translateY(-1px);
}

.btn-secondary:focus-visible,
.hero__cta:focus-visible {
  outline: 3px solid rgba(55, 201, 120, 0.6);
  outline-offset: 4px;
}

.gallery {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  align-items: stretch;
  padding-right: 0;
}

@media (max-width: 1100px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

.gallery::-webkit-scrollbar {
  width: 10px;
}

.gallery::-webkit-scrollbar-track {
  background: rgba(9, 28, 28, 0.5);
  border-radius: 999px;
}

.gallery::-webkit-scrollbar-thumb {
  background: rgba(104, 227, 155, 0.4);
  border-radius: 999px;
}

.gallery::-webkit-scrollbar-thumb:hover {
  background: rgba(104, 227, 155, 0.55);
}

.gol-card {
  background: rgba(9, 28, 28, 0.8);
  border: 1px solid rgba(104, 227, 155, 0.2);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  display: grid;
  gap: 0.6rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.gol-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(35, 153, 101, 0.15), transparent 65%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.gol-card:hover::before {
  opacity: 1;
}

.gol-card:hover {
  transform: translateY(-4px);
  border-color: rgba(104, 227, 155, 0.4);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.3);
}

.gol-card__header {
  display: grid;
  gap: 0.4rem;
}

.gol-card__header h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.15rem;
}

.gol-card__meta {
  margin: 0;
  color: rgba(194, 213, 204, 0.75);
  font-size: 0.9rem;
}

.gol-card__descricao {
  margin: 0;
  line-height: 1.55;
  color: var(--text-muted);
}

.gol-card__media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(104, 227, 155, 0.18);
  background: rgba(8, 20, 20, 0.7);
}

.gol-card__media img,
.gol-card__media video {
  width: 100%;
  display: block;
}

.goal-comment {
  background: rgba(9, 28, 28, 0.65);
  border: 1px solid rgba(104, 227, 155, 0.18);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
}

.goal-comment header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  color: var(--text-strong);
}

.goal-comment time {
  font-size: 0.75rem;
  color: rgba(194, 213, 204, 0.6);
}

.goal-comment p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.45;
}

.goal-comment__empty {
  margin: 0;
  color: rgba(194, 213, 204, 0.7);
  font-style: italic;
}

.comment-form__row label {
  display: grid;
  gap: 0.35rem;
  color: var(--text-strong);
  font-size: 0.9rem;
}

.comment-form__row input,
.comment-form__row textarea {
  font: inherit;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(95, 175, 135, 0.4);
  background: rgba(10, 34, 34, 0.8);
  color: var(--text-strong);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.comment-form__row textarea {
  resize: vertical;
}

.comment-form__row input:focus,
.comment-form__row textarea:focus {
  outline: none;
  border-color: var(--green-300);
  box-shadow: 0 0 0 2px rgba(55, 201, 120, 0.2);
}

.goal-comment__button {
  justify-self: start;
  border: 1px solid rgba(104, 227, 155, 0.45);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(55, 201, 120, 0.45), rgba(55, 201, 120, 0.25));
  color: var(--text-strong);
  padding: 0.45rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.goal-comment__button:hover,
.goal-comment__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(35, 153, 101, 0.32);
}

.gol-card h3 {
  color: var(--text-strong);
  font-size: 1.1rem;
}

.gol-card p {
  color: var(--text-muted);
  line-height: 1.4;
}

.gol-card strong {
  color: var(--green-300);
}

.gol-card video,
.gol-card img {
  width: 100%;
  border-radius: 12px;
  margin-top: 0.4rem;
  border: 1px solid rgba(104, 227, 155, 0.2);
}

.footer {
  padding: 2rem;
  text-align: center;
  color: rgba(194, 213, 204, 0.6);
  font-size: 0.9rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(104, 227, 155, 0.4), transparent);
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  padding: 1.5rem;
  z-index: 100;
}

.modal[hidden] {
  display: none !important;
}

.modal__dialog {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.6rem;
  width: min(520px, 100%);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-strong);
}

.modal__close {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color var(--transition);
}

.modal__close:hover {
  color: var(--text-strong);
}

.modal__table {
  border-radius: 12px;
  overflow: hidden;
}

.message {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(255, 87, 51, 0.1);
  border: 1px solid rgba(255, 120, 90, 0.35);
  color: #ffb5a1;
  font-size: 0.9rem;
}

.message--success {
  background: rgba(55, 201, 120, 0.14);
  border-color: rgba(104, 227, 155, 0.5);
  color: #a9f7c9;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 3.2rem 1.6rem;
  }

  .layout {
    padding: 2rem 1.3rem;
  }
}

@media (max-width: 600px) {
  .top-nav__links {
    width: 100%;
    justify-content: space-between;
  }

  .card {
    padding: 1.2rem;
  }

  .scoreboard {
    padding: 1.2rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero__cta {
    width: 100%;
    text-align: center;
  }
}
.match__events li span {
  display: block;
}

.match__event-type {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-300);
}

.match__event-detail {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--text-muted);
}

.match__event-player {
  color: var(--text-strong);
  font-weight: 600;
}

.match__event-team {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(168, 236, 197, 0.7);
}

.comments-page {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}

.comments-page__container {
  width: min(720px, 100%);
  background: rgba(8, 20, 28, 0.85);
  border: 1px solid rgba(104, 227, 155, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--text-muted);
}

.comments-page__header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.comments-page__back {
  align-self: flex-start;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--green-300);
  transition: color var(--transition);
}

.comments-page__back:hover {
  color: var(--green-400);
}

.comments-page__meta {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.comments-page__title {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--text-strong);
}

.comments-page__content {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 260px);
  gap: 1.5rem;
}

.comments-page__list {
  padding: 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(104, 227, 155, 0.12);
  background: rgba(11, 30, 40, 0.85);
  max-height: 60vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comments-page__form {
  padding: 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(104, 227, 155, 0.12);
  background: rgba(11, 30, 40, 0.85);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comments-page__form h2 {
  font-size: 1.1rem;
  color: var(--text-strong);
}

.comments-page__status {
  min-height: 1.25rem;
  font-size: 0.85rem;
  color: var(--green-300);
}

.comments-page__status--error {
  color: #ffb5a1;
}

@media (max-width: 860px) {
  .comments-page__content {
    grid-template-columns: 1fr;
  }

  .comments-page__list {
    max-height: none;
  }
}
