:root {
  --navy: #0a1128;
  --blue: #0033a0;
  --blue-soft: #eef3ff;
  --gold: #d4af37;
  --gold-dark: #9a7713;
  --ink: #10182b;
  --muted: #657084;
  --line: #e4e8ef;
  --paper: #ffffff;
  --soft: #f8f9fa;
  --green: #159957;
  --amber: #b7791f;
  --red: #cf3348;
  --shadow: 0 18px 45px rgba(10, 17, 40, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  color: var(--navy);
  background: var(--gold);
}

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 82px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  color: var(--gold);
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(0, 51, 160, 0.24);
}

.brand-mark svg {
  width: 23px;
  height: 23px;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.05;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #293349;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav a {
  border-radius: 999px;
  padding: 10px 12px;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}

.nav a:hover,
.nav a:first-child {
  color: var(--blue);
  background: var(--blue-soft);
}

.gold-button,
.blue-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.gold-button {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.28);
}

.gold-button:hover {
  background: #e4bf47;
  transform: translateY(-1px);
}

.blue-button {
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
}

.blue-button:hover {
  background: #00297f;
  box-shadow: 0 14px 28px rgba(0, 51, 160, 0.25);
  transform: translateY(-1px);
}

.large {
  min-height: 58px;
  padding: 0 30px;
}

.hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 17, 40, 0.9), rgba(10, 17, 40, 0.72) 44%, rgba(0, 51, 160, 0.58)),
    linear-gradient(180deg, rgba(10, 17, 40, 0.28), rgba(10, 17, 40, 0.62));
}

.hero-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.38;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1120px, calc(100% - 36px));
  min-height: 78vh;
  align-content: center;
  margin: 0 auto;
  padding: 76px 0 70px;
}

.hero-kicker {
  width: fit-content;
  margin: 0 0 24px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  color: #f7d96d;
  background: rgba(10, 17, 40, 0.5);
  padding: 9px 16px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 7.6vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--gold);
}

.hero-copy {
  max-width: 780px;
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.hero-copy strong {
  color: var(--gold);
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  width: min(960px, 100%);
  gap: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  padding: 14px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.search-field {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  padding: 0 16px;
}

.search-field svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.search-field input {
  width: 100%;
  min-height: 56px;
  border: 0;
  color: var(--ink);
  background: transparent;
  outline: none;
}

.search-field:focus-within {
  border-color: rgba(0, 51, 160, 0.28);
  box-shadow: 0 0 0 4px rgba(0, 51, 160, 0.12);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badges svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.hero-whatsapp {
  display: inline-flex;
  width: fit-content;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: #1fa855;
  padding: 0 20px;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(31, 168, 85, 0.24);
}

.hero-whatsapp:hover {
  background: #168842;
}

.hero-whatsapp svg {
  width: 21px;
  height: 21px;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.matches-section,
.categories-section,
.trust-section {
  padding: 82px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4.8vw, 3.7rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--navy);
}

.text-link {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  color: var(--blue);
  font-weight: 900;
}

.text-link:hover {
  color: var(--gold-dark);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) minmax(110px, 0.55fr);
  gap: 12px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 12px;
}

label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

label span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

select,
input[type="number"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  padding: 0 12px;
  outline: none;
}

select:focus,
input[type="number"]:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 51, 160, 0.12);
}

.match-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.match-card {
  display: flex;
  min-width: 0;
  min-height: 612px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.match-card:hover,
.match-card.selected {
  border-color: rgba(0, 51, 160, 0.25);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.match-media {
  position: relative;
  height: 178px;
  overflow: hidden;
  background: var(--navy);
}

.match-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.match-card:hover .match-media img {
  transform: scale(1.06);
}

.match-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 17, 40, 0.06), rgba(10, 17, 40, 0.75));
}

.discount-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--gold);
  padding: 7px 10px;
  font-size: 0.68rem;
  font-weight: 1000;
}

.stadium-meta {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}

.stadium-meta strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stadium-meta span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
}

.availability {
  min-width: max-content;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  padding: 5px 8px;
  font-size: 0.64rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.availability.high {
  color: var(--green);
}

.availability.limited {
  color: var(--amber);
}

.availability.sold-out-sections {
  color: var(--red);
}

.match-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
}

.teams-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.team-side {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-width: 0;
  text-align: center;
}

.team-side img,
.flag-fallback {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  object-fit: cover;
  font-size: 0.76rem;
  font-weight: 1000;
}

.team-side strong {
  font-size: 0.95rem;
  line-height: 1.25;
}

.vs-pill {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  background: var(--soft);
  font-size: 0.72rem;
  font-weight: 1000;
}

.match-time {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.match-time span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.match-time svg {
  width: 17px;
  height: 17px;
  color: var(--blue);
}

.tier-list {
  display: grid;
  gap: 8px;
}

.tier-button {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--soft);
  padding: 9px 11px;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.tier-button:hover,
.tier-button.active {
  border-color: var(--blue);
  background: #fff;
  transform: translateY(-1px);
}

.tier-button strong {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tier-button del {
  color: #9aa3b2;
  font-size: 0.86rem;
  font-weight: 800;
}

.tier-button span {
  color: var(--blue);
  font-weight: 1000;
}

.buy-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-weight: 1000;
}

.buy-button:hover {
  background: var(--blue);
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed #b8c1cc;
  border-radius: 8px;
  background: var(--soft);
  padding: 42px;
  text-align: center;
}

.empty-state p {
  max-width: 480px;
  margin: 10px auto 0;
  color: var(--muted);
  line-height: 1.6;
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 34px;
  align-items: start;
  padding: 62px 0;
}

.team-cloud {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.team-cloud a {
  display: grid;
  min-height: 56px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(10, 17, 40, 0.04);
}

.team-cloud a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.venue-band {
  background: var(--soft);
  padding: 78px 0;
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.venue-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.venue-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.venue-grid span,
.venue-grid h3,
.venue-grid p {
  margin-right: 18px;
  margin-left: 18px;
}

.venue-grid span {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 1000;
  letter-spacing: 0.16em;
}

.venue-grid h3 {
  margin-top: 8px;
}

.venue-grid p {
  margin-top: 7px;
  margin-bottom: 18px;
  color: var(--muted);
}

.category-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.category-grid article,
.trust-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 12px 34px rgba(10, 17, 40, 0.05);
}

.category-grid article {
  display: grid;
  gap: 16px;
}

.category-grid p {
  margin: 0;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.category-grid h3 {
  font-size: 2rem;
}

.category-grid h3 span {
  color: #9aa3b2;
  font-size: 1rem;
  text-decoration: line-through;
}

.category-grid strong {
  color: var(--gold-dark);
  font-size: 0.9rem;
}

.category-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.category-grid a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.featured-category {
  border-color: rgba(212, 175, 55, 0.65) !important;
  box-shadow: 0 18px 45px rgba(212, 175, 55, 0.16) !important;
}

.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid h3 {
  font-size: 1.05rem;
}

.trust-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-band {
  color: #fff;
  background: var(--navy);
  padding: 70px 0;
}

.contact-band .eyebrow,
.contact-band h2 {
  color: #fff;
}

.contact-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-shell p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.footer {
  background: #050914;
  color: rgba(255, 255, 255, 0.72);
  padding: 52px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 1fr;
  gap: 36px;
}

.footer .brand strong,
.footer .brand small {
  color: #fff;
}

.footer p {
  max-width: 420px;
  margin: 18px 0 0;
  line-height: 1.6;
}

.footer h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer a:not(.brand) {
  display: block;
  margin-top: 10px;
}

.footer a:not(.brand):hover {
  color: var(--gold);
}

.toast {
  position: fixed;
  z-index: 50;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100vw - 40px));
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.floating-whatsapp {
  position: fixed;
  z-index: 45;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  color: #fff;
  background: #1fa855;
  padding: 0 18px;
  font-weight: 1000;
  box-shadow: 0 18px 42px rgba(31, 168, 85, 0.34);
}

.floating-whatsapp:hover {
  background: #168842;
  transform: translateY(-1px);
}

.floating-whatsapp svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 1040px) {
  .match-grid,
  .venue-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .topbar {
    min-height: 72px;
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .gold-button {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

  .hero,
  .hero-content {
    min-height: 82vh;
  }

  .hero-content {
    width: min(100% - 28px, 1120px);
    padding: 54px 0 46px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 14vw, 4.4rem);
  }

  .hero-search,
  .filter-panel,
  .match-grid,
  .venue-grid,
  .category-grid,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 28px, 1180px);
  }

  .section-heading,
  .contact-shell {
    align-items: stretch;
    flex-direction: column;
  }

  .team-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .match-card {
    min-height: 0;
  }

  .hero-whatsapp,
  .floating-whatsapp {
    width: 100%;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }
}
