:root {
  --black: #2d1b5a;
  --red: #db2777;
  --white: #ffffff;
  --gray: #f3f4f6;
  --muted: #6d5aa5;
  --accent-1: #fbbf24;
  --accent-2: #f97316;
  --accent-3: #22c55e;
  --accent-4: #2563eb;
  --accent-5: #7c3aed;
  --accent-6: #db2777;
  --nav-height: 88px;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e5e7eb;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: "Sora", sans-serif;
  background: linear-gradient(
      135deg,
      rgba(255, 232, 232, 0.9) 0%,
      rgba(232, 244, 255, 0.9) 38%,
      rgba(235, 255, 240, 0.9) 68%,
      rgba(255, 247, 224, 0.9) 100%
    );
  background-attachment: fixed;
  color: var(--black);
  line-height: 1.6;
  padding-top: var(--nav-height);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: relative;
  overflow: hidden;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 0 6vw;
  height: var(--nav-height);
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand {
  font-size: 1.5rem;
  color: var(--accent-5);
  display: flex;
  align-items: center;
  padding: 24px 0;
}

.nav-links {
  display: flex;
  --nav-gap: 24px;
  gap: var(--nav-gap);
  font-size: 1rem;
  align-items: stretch;
  height: 100%;
}

.nav-links a {
  color: var(--black);
  padding: 24px 16px;
  border-radius: 0;
  display: flex;
  align-items: center;
  height: 100%;
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
  z-index: 1;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--accent-4);
  outline-offset: -2px;
}

.nav-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -10px;
  right: -10px;
  background: var(--nav-hover-bg, transparent);
  transform: skewX(-16deg);
  opacity: 1;
  transition: opacity 0.2s ease, transform 0.2s ease, left 0.2s ease,
    right 0.2s ease;
  z-index: -2;
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset: 0;
  left: -10px;
  right: -10px;
  background-image:
    radial-gradient(circle at 18% 35%, rgba(255, 255, 255, 0.65) 0 1.2px, transparent 1.4px),
    radial-gradient(circle at 32% 62%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.3px),
    radial-gradient(circle at 48% 28%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.3px),
    radial-gradient(circle at 66% 48%, rgba(255, 255, 255, 0.6) 0 1.2px, transparent 1.5px),
    radial-gradient(circle at 82% 30%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.3px),
    radial-gradient(circle at 72% 70%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.3px);
  background-size: 180px 100%;
  transform: skewX(-16deg);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease, left 0.2s ease,
    right 0.2s ease;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: screen;
}

.nav-links a[href="#equipos"] {
  color: #2d1b5a;
  --nav-hover-bg: var(--accent-1);
}

.nav-links a[href="#equipos"]:hover,
.nav-links a[href="#equipos"]:focus-visible {
  color: #2d1b5a;
}

.nav-links a[href="#fechas"] {
  color: var(--white);
  --nav-hover-bg: var(--accent-4);
}

.nav-links a[href="#finalistas"] {
  color: var(--white);
  --nav-hover-bg: var(--red);
}

.nav-links a[href="#patrocinadores"] {
  color: var(--white);
  --nav-hover-bg: var(--accent-3);
}

.nav-links a[href="#conciertos"] {
  color: var(--white);
  --nav-hover-bg: var(--accent-5);
}

.nav-links a:hover::before,
.nav-links a:focus-visible::before {
  opacity: 1;
  transform: skewX(16deg);
  left: calc(-1 * var(--nav-gap));
  right: calc(-1 * var(--nav-gap));
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 0.45;
  transform: skewX(16deg);
  left: calc(-1 * var(--nav-gap));
  right: calc(-1 * var(--nav-gap));
}

.hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 6vw 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/assets/pawkar-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(0px);
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.8rem, 8vw, 6rem);
  margin: 16px 0;
  color: var(--accent-5);
}

.hero-logo {
  margin: 24px auto;
  width: min(320px, 70vw);
  background: var(--surface);
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.hero-logo img {
  width: 100%;
  display: block;
}

.hero-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 24px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: "Sora", sans-serif;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.btn.primary {
  background: var(--red);
  color: var(--white);
}

.btn.ghost {
  background: transparent;
  border-color: var(--accent-5);
  color: var(--accent-5);
}

.section {
  padding: 80px 6vw;
}

.section.dark {
  background: var(--white);
}

.teams-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(255, 240, 248, 0.95) 0%,
    rgba(234, 246, 255, 0.95) 45%,
    rgba(236, 255, 244, 0.95) 100%
  );
}

.teams-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(124, 58, 237, 0.2) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.15;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.teams-intro,
.teams-stage {
  position: relative;
  z-index: 1;
}

.teams-intro {
  text-align: center;
  margin-bottom: 48px;
}

.teams-kicker {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.teams-intro h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: 0.08em;
  color: var(--accent-6);
}

.teams-stage {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 380px) 1fr;
  grid-template-areas: "left center right";
  gap: 32px;
  align-items: center;
}

.teams-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 16px;
  justify-items: center;
  align-content: start;
}

#teamsLeft {
  grid-area: left;
}

#featuredTeam {
  grid-area: center;
}

#teamsRight {
  grid-area: right;
}

.team-portrait {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  --stagger: 0px;
  transform: translateY(var(--stagger));
  transition: transform 0.25s ease;
}

.team-portrait:nth-child(odd) {
  --stagger: -10px;
}

.team-portrait:nth-child(even) {
  --stagger: 10px;
}

.portrait-photo {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: #ffffff;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.08em;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 18px 30px rgba(15, 23, 42, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.portrait-photo::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.7), transparent 55%);
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
}

.portrait-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.2));
  mix-blend-mode: screen;
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
}

.team-portrait:hover .portrait-photo,
.team-portrait:focus-visible .portrait-photo {
  transform: scale(1.06);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 22px 36px rgba(15, 23, 42, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.team-portrait:hover,
.team-portrait:focus-visible {
  z-index: 2;
}

.team-portrait:hover .portrait-photo::before,
.team-portrait:focus-visible .portrait-photo::before {
  opacity: 1;
}

.team-portrait:hover .portrait-photo::after,
.team-portrait:focus-visible .portrait-photo::after {
  opacity: 0.85;
}

.portrait-name {
  font-size: 0.74rem;
  color: var(--black);
  max-width: 130px;
}

.team-flag-icon {
  width: 28px;
  height: 20px;
  border-radius: 4px;
  box-shadow: 0 8px 14px rgba(15, 23, 42, 0.18);
}

.team-flag-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 1;
  filter: none;
  width: 100%;
  height: 100%;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.portrait-photo .team-flag-bg {
  inset: 0;
}

.feature-photo .team-flag-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.4;
}

.teams-center {
  display: grid;
  justify-items: center;
}

.feature-card {
  position: relative;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  border: none;
  padding: 20px 18px 24px;
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    0 24px 50px rgba(15, 23, 42, 0.12),
    0 10px 22px rgba(15, 23, 42, 0.1);
  animation: featureReveal 0.45s ease;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

@keyframes featureReveal {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.feature-photo {
  width: min(280px, 70vw);
  aspect-ratio: 3 / 4;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: #ffffff;
  display: grid;
  place-items: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  overflow: hidden;
}

.feature-tag {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--muted);
}

.feature-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: 0.1em;
  color: var(--accent-5);
  text-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.feature-parish {
  color: var(--muted);
  margin-top: -8px;
}

.feature-country {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 6px;
}

.feature-country .team-flag-icon {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(219, 39, 119, 0.55),
    0 0 12px rgba(219, 39, 119, 0.35),
    0 0 24px rgba(37, 99, 235, 0.25);
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px) saturate(140%);
}

.feature-country .team-flag-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.35), transparent 55%);
  mix-blend-mode: screen;
}

@media (max-width: 980px) {
  .teams-stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      "center"
      "left"
      "right";
  }

  .teams-column {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .portrait-photo {
    width: 92px;
    height: 92px;
  }
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.08em;
  color: var(--accent-4);
}

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

.team-card {
  position: relative;
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 210px;
  transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(219, 39, 119, 0.45);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
}

.team-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}

.team-parish {
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.9rem;
}

.flag {
  display: flex;
  gap: 6px;
  margin-top: 16px;
}

.flag span {
  flex: 1;
  height: 36px;
  border-radius: 6px;
}

.team-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
}

.team-card:hover .team-overlay {
  opacity: 1;
  pointer-events: auto;
}

.overlay-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.overlay-flag {
  display: flex;
  gap: 8px;
  margin: 12px auto 16px;
}

.overlay-flag span {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.players {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.schedule {
  display: grid;
  gap: 16px;
}

.schedule-controls {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.mini-calendar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
  gap: 10px;
}

.calendar-day {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 8px;
  display: grid;
  gap: 4px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.calendar-day:hover,
.calendar-day:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 12px 20px rgba(15, 23, 42, 0.12);
  outline: none;
}

.calendar-day.active {
  border-color: var(--accent-4);
  background: rgba(37, 99, 235, 0.1);
  box-shadow: 0 12px 20px rgba(37, 99, 235, 0.16);
}

.calendar-day.today {
  border-color: rgba(219, 39, 119, 0.5);
}

.day-week {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.day-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.2rem;
  color: var(--black);
}

.day-month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.day-badge {
  justify-self: center;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(219, 39, 119, 0.12);
  color: var(--red);
}

.schedule-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  background: var(--surface);
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.schedule-item:hover {
  transform: scale(1.02);
  border-color: rgba(219, 39, 119, 0.45);
  box-shadow: 0 16px 26px rgba(15, 23, 42, 0.14);
}

.schedule-item span {
  color: var(--muted);
}

.schedule-teams {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-weight: 600;
}

.schedule-team {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.schedule-team .team-flag-icon,
.schedule-team .team-flag-fallback {
  width: 26px;
  height: 18px;
  border-radius: 4px;
  box-shadow: 0 8px 14px rgba(15, 23, 42, 0.18);
}

.team-flag-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #111827, #334155);
  color: #f8fafc;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}

.schedule-vs {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.schedule-meta {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.schedule-time {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  color: var(--accent-5);
  align-self: center;
}

.schedule-empty {
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px dashed rgba(15, 23, 42, 0.2);
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

.finals {
  position: relative;
  color: #f8fafc;
  background:
    radial-gradient(circle at top, rgba(246, 181, 31, 0.12), transparent 45%),
    linear-gradient(180deg, #0b0b0b, #111111 55%, #0b0b0b);
  overflow: hidden;
}

.finals::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(120deg, rgba(246, 181, 31, 0.08), transparent 40%);
  background-size: 4px 4px, cover;
  opacity: 0.5;
  pointer-events: none;
}

.finals-head {
  position: relative;
  z-index: 1;
  text-align: center;
}

.finals-head h2 {
  color: #f6b51f;
}

.finals-head p {
  color: rgba(248, 250, 252, 0.7);
}

.finals-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 280px) minmax(260px, 1fr);
  gap: 32px;
  align-items: center;
}

.bracket-side {
  display: grid;
  gap: 16px;
  position: relative;
}

.round-title {
  font-family: "Bebas Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: #f6b51f;
}

.match-group {
  display: grid;
  gap: 20px;
  position: relative;
}

.match-card {
  position: relative;
  background: rgba(17, 17, 17, 0.92);
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(246, 181, 31, 0.35);
  display: grid;
  gap: 8px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
}

.match-card.semi {
  border-color: rgba(219, 39, 119, 0.4);
  background: rgba(20, 20, 20, 0.96);
}

.team {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.team-name {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.team-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.4), transparent 55%),
    linear-gradient(160deg, #1f2937, #0f172a);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
}

.match-meta {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(248, 250, 252, 0.55);
}

.bracket-side.left .match-group {
  padding-right: 56px;
}

.bracket-side.right .match-group {
  padding-left: 56px;
}

.bracket-side.right .match-card {
  text-align: right;
}

.bracket-side.right .team {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

.bracket-side.right .match-meta {
  text-align: right;
}

.bracket-side.left .match-group::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: rgba(246, 181, 31, 0.45);
}

.bracket-side.right .match-group::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: rgba(246, 181, 31, 0.45);
}

.bracket-side.left .match-card::after {
  content: "";
  position: absolute;
  right: -28px;
  top: 50%;
  width: 28px;
  height: 1px;
  background: rgba(246, 181, 31, 0.45);
}

.bracket-side.right .match-card::after {
  content: "";
  position: absolute;
  left: -28px;
  top: 50%;
  width: 28px;
  height: 1px;
  background: rgba(246, 181, 31, 0.45);
}

.bracket-side.left .match-card.semi::after {
  width: 70px;
  right: -70px;
  background: rgba(219, 39, 119, 0.6);
}

.bracket-side.right .match-card.semi::after {
  width: 70px;
  left: -70px;
  background: rgba(219, 39, 119, 0.6);
}

.bracket-center {
  position: relative;
  display: grid;
  gap: 18px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.bracket-center::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(246, 181, 31, 0.4), transparent);
  opacity: 0.6;
}

.final-top {
  display: grid;
  gap: 4px;
  font-family: "Bebas Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.final-eyebrow {
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.7);
}

.final-date {
  font-size: 0.95rem;
  color: #f6b51f;
}

.final-card {
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid rgba(246, 181, 31, 0.8);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
  display: grid;
  gap: 8px;
  min-width: 200px;
}

.final-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.final-match {
  font-weight: 600;
  font-size: 0.9rem;
}

.final-meta {
  font-size: 0.75rem;
  color: rgba(248, 250, 252, 0.7);
}

.final-badge {
  margin-top: 6px;
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.6);
}

.trophy {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.45), transparent 55%),
    linear-gradient(160deg, #f6b51f, #f59e0b 60%, #b45309);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
}

.trophy::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.35);
}

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

.round {
  background: var(--surface);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: grid;
  gap: 12px;
}

.round h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
}

.match {
  background: var(--surface-2);
  padding: 12px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.match.highlight {
  border: 1px solid var(--red);
  color: var(--red);
}

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

.sponsor {
  background: var(--sponsor-bg, var(--accent-4));
  color: var(--sponsor-text, var(--white));
  border-radius: 16px;
  padding: 18px 16px 16px;
  display: grid;
  justify-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 18px rgba(15, 23, 42, 0.16);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.sponsor-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.sponsor i {
  font-size: 2rem;
  color: currentColor;
}

.sponsor-name {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-align: center;
}

.sponsor::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), transparent 45%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sponsor:hover,
.sponsor:focus-visible {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 30px rgba(15, 23, 42, 0.2);
  filter: saturate(1.1);
}

.sponsor:hover::after,
.sponsor:focus-visible::after {
  opacity: 1;
}

.sponsor:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.sponsor:nth-child(1) {
  --sponsor-bg: var(--accent-1);
  --sponsor-text: var(--black);
}

.sponsor:nth-child(2) {
  --sponsor-bg: var(--accent-4);
  --sponsor-text: var(--white);
}

.sponsor:nth-child(3) {
  --sponsor-bg: var(--accent-3);
  --sponsor-text: var(--black);
}

.sponsor:nth-child(4) {
  --sponsor-bg: var(--accent-2);
  --sponsor-text: var(--white);
}

.sponsor:nth-child(5) {
  --sponsor-bg: var(--accent-5);
  --sponsor-text: var(--white);
}

.sponsor:nth-child(6) {
  --sponsor-bg: var(--accent-6);
  --sponsor-text: var(--white);
}

.concerts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.concert {
  background: var(--surface);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 14px;
  overflow: hidden;
}

.concert-media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.concert-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.concert-body {
  display: grid;
  gap: 6px;
}

.concert-date {
  color: var(--accent-1);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.concert-title {
  font-size: 1.2rem;
  margin: 10px 0 6px;
}

.concert-meta {
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.concert-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.concert-meta i,
.concert-date i {
  color: var(--accent-4);
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.swatch {
  background: var(--swatch);
  color: #fff;
  padding: 16px;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
}

.site-footer {
  padding: 32px 6vw;
  text-align: center;
  color: var(--muted);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 999px;
  width: 54px;
  height: 54px;
  padding: 0;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--accent-1);
  outline-offset: 3px;
}

.back-to-top-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

@media (max-width: 768px) {
  .top-nav {
    flex-direction: column;
    gap: 12px;
    height: auto;
    padding: 12px 6vw;
  }

  .top-nav::after {
    bottom: -6px;
    height: 28px;
    mask-size: 200px 28px;
    -webkit-mask-size: 200px 28px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
  }

  .nav-links a {
    padding: 10px 12px;
    border-radius: 10px;
  }

  .schedule-item {
    grid-template-columns: 1fr;
  }

  .calendar-header {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .mini-calendar {
    grid-template-columns: repeat(auto-fit, minmax(62px, 1fr));
  }

  .feature-card {
    padding: 22px;
  }

  .feature-flag {
    width: 140px;
  }

  .finals-board {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bracket-center {
    order: -1;
  }

  .bracket-center::before,
  .bracket-side.left .match-card::after,
  .bracket-side.right .match-card::after,
  .bracket-side.left .match-group::after,
  .bracket-side.right .match-group::after {
    display: none;
  }

  .bracket-side.left .match-group,
  .bracket-side.right .match-group {
    padding: 0;
  }
}
