:root {
  --ink: #15191d;
  --muted: #63707a;
  --line: #dce3e6;
  --surface: #ffffff;
  --soft: #f4f7f4;
  --mint: #0f7d64;
  --mint-dark: #0a5d50;
  --coral: #ff6f61;
  --gold: #f5b841;
  --sky: #d8edf2;
  --shadow: 0 18px 45px rgba(18, 28, 35, 0.14);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(220, 227, 230, 0.85);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: #11191b;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #101a1a 0%, #0f7d64 58%, #f5b841 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(15, 125, 100, 0.22);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px -16px auto;
  height: 2px;
  background: rgba(255, 255, 255, 0.62);
  transform: rotate(-28deg);
}

.brand-word {
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1;
}

.nav-links {
  justify-content: center;
  gap: clamp(16px, 4vw, 42px);
  color: #38464d;
  font-size: 0.95rem;
  font-weight: 650;
}

.header-actions {
  justify-content: flex-end;
  gap: 10px;
}

.marketplace-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px clamp(18px, 6vw, 88px);
  background: #16201f;
  color: #f0f6f3;
  font-size: 0.92rem;
  font-weight: 720;
  line-height: 1.45;
  text-align: center;
}

.marketplace-notice svg {
  flex: 0 0 auto;
  color: var(--gold);
}

.icon-button,
.header-whatsapp,
.primary-button,
.text-button,
.chip {
  border: 0;
  border-radius: 8px;
  min-height: 42px;
}

.icon-button {
  display: grid;
  width: 42px;
  place-items: center;
  background: #eef5f2;
  color: var(--mint-dark);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(255, 111, 97, 0.25);
}

.primary-button:hover {
  background: #ed594b;
}

.hero {
  position: relative;
  min-height: min(690px, calc(100vh - 72px));
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(54px, 9vw, 92px) clamp(18px, 6vw, 88px) 96px;
}

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

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1522778526097-ce0a22ceb253?auto=format&fit=crop&w=2200&q=85");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 15, 19, 0.86) 0%, rgba(8, 15, 19, 0.6) 42%, rgba(8, 15, 19, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 15, 19, 0.2), rgba(8, 15, 19, 0.58));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.5;
}

.search-strip {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(170px, 220px) auto;
  gap: 10px;
  max-width: 880px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-field,
.select-field,
.sort-control {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.search-field,
.select-field {
  min-height: 48px;
  padding: 0 14px;
  color: var(--muted);
  background: #f6f8f8;
  border: 1px solid #e3e9ec;
  border-radius: 8px;
}

.search-field input,
.select-field select,
.sort-control select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.quick-bar {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 18px clamp(18px, 6vw, 88px);
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-head h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.05;
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  background: #25d366;
  color: #06281a;
  font-weight: 900;
}

.player-band,
.country-band {
  padding: clamp(34px, 6vw, 72px) clamp(18px, 6vw, 88px);
}

.player-band {
  background:
    linear-gradient(135deg, rgba(3, 21, 19, 0.94), rgba(13, 51, 45, 0.92)),
    radial-gradient(circle at 86% 16%, rgba(245, 184, 65, 0.28), transparent 34%);
  color: #fff;
}

.player-band .section-kicker {
  color: var(--gold);
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.player-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #112620;
}

.player-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.08) contrast(1.04);
}

.player-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2, 9, 10, 0.88));
}

.player-card div {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
}

.player-card span,
.country-grid span {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.player-card strong {
  display: block;
  margin-top: 4px;
  font-size: 1.45rem;
}

.country-band {
  background: #f8faf9;
  border-bottom: 1px solid var(--line);
}

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

.country-grid article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 26, 32, 0.05);
}

.country-grid img {
  width: 46px;
  height: 32px;
  border: 1px solid rgba(22, 30, 34, 0.12);
  border-radius: 4px;
  object-fit: cover;
}

.country-grid span {
  color: #223039;
  text-transform: none;
}

.chip {
  flex: 0 0 auto;
  padding: 0 16px;
  background: #fff;
  color: #334148;
  border: 1px solid var(--line);
  font-weight: 760;
}

.chip.active {
  background: var(--mint);
  border-color: var(--mint);
  color: #fff;
}

.market-shell {
  display: grid;
  grid-template-columns: minmax(230px, 286px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
  padding: clamp(24px, 5vw, 54px) clamp(18px, 6vw, 88px);
  background: #fff;
}

.filters {
  position: sticky;
  top: 92px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.panel-heading,
.results-top,
.site-footer,
.city-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.panel-heading h2,
.results-top h2,
.city-band h2 {
  margin: 0;
}

.text-button {
  min-height: 34px;
  padding: 0 4px;
  background: transparent;
  color: var(--mint-dark);
  font-weight: 800;
}

.filter-group {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.filter-group:first-of-type {
  margin-top: 14px;
}

.filter-group.compact {
  padding-bottom: 0;
}

.filter-label {
  display: block;
  margin-bottom: 13px;
  color: #2e3b42;
  font-weight: 850;
}

.range-label {
  display: grid;
  gap: 12px;
  color: var(--mint-dark);
  font-size: 1.35rem;
  font-weight: 900;
}

input[type="range"] {
  accent-color: var(--mint);
}

.check-row,
.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  color: #3f4c53;
}

.check-row input,
.toggle-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--mint);
}

.results {
  min-width: 0;
}

.section-kicker {
  color: var(--mint-dark);
}

.sort-control {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 780;
}

.sort-control select {
  color: var(--ink);
  font-weight: 720;
}

.event-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.event-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(172px, auto);
  align-items: center;
  gap: 18px;
  min-height: 118px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(16, 26, 32, 0.06);
}

.date-tile {
  display: grid;
  place-items: center;
  align-content: center;
  width: 74px;
  height: 74px;
  border-radius: 8px;
  background: var(--sky);
  color: #183039;
}

.date-tile span:first-child {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.date-tile span:last-child {
  font-size: 1.8rem;
  font-weight: 950;
}

.event-main {
  min-width: 0;
}

.event-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.matchup-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.team-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 10px 5px 6px;
  border: 1px solid #d9e5e4;
  border-radius: 999px;
  background: #f7fbfa;
  color: #1d2b31;
  font-weight: 900;
}

.team-flag {
  width: 28px;
  height: 20px;
  border: 1px solid rgba(21, 25, 29, 0.14);
  border-radius: 4px;
  object-fit: cover;
}

.versus {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef5f2;
  color: var(--mint-dark);
  font-size: 0.72rem;
  font-weight: 900;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.93rem;
}

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

.event-side {
  display: grid;
  justify-items: end;
  gap: 10px;
  min-width: 158px;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.price {
  color: #24323a;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
}

.small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--mint);
  color: #fff;
  font-weight: 850;
}

.whatsapp-button {
  background: #25d366;
}

.whatsapp-button:hover {
  background: #1fb858;
}

.empty-state {
  padding: 42px 24px;
  border: 1px dashed #b9c8cc;
  border-radius: 8px;
  background: #f8fbfb;
  text-align: center;
}

.empty-state strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.city-band {
  padding: clamp(28px, 5vw, 64px) clamp(18px, 6vw, 88px);
  background: #eef6f7;
}

.city-band > div:first-child {
  max-width: 520px;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 12px;
  width: min(100%, 620px);
}

.city-card {
  min-height: 126px;
  padding: 16px;
  border: 1px solid rgba(15, 125, 100, 0.18);
  border-radius: 8px;
  background: #fff;
}

.city-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.city-card strong {
  font-size: 1.05rem;
}

.site-footer {
  min-height: 96px;
  padding: 22px clamp(18px, 6vw, 88px);
  color: #d8e1e4;
  background: #20282d;
}

.site-footer div:first-child {
  display: grid;
  gap: 6px;
}

.site-footer span {
  color: #aab8bd;
}

.footer-brand {
  color: #fff;
  font-size: 1.12rem;
  text-transform: uppercase;
}

.site-footer .credits {
  color: #87979d;
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 0.93rem;
  font-weight: 720;
}

.mobile-action {
  display: none;
}

svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 640px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 13vw, 4.8rem);
  }

  .search-strip {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }

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

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

  .market-shell {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }

  .panel-heading {
    grid-column: 1 / -1;
  }

  .event-card {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .event-side {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
    min-width: 0;
  }

  .event-actions {
    justify-content: flex-start;
  }

  .city-band {
    display: grid;
  }

  .city-grid {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding-inline: 14px;
  }

  .brand-word,
  .header-whatsapp span {
    display: none;
  }

  .hero {
    min-height: 600px;
    padding: 44px 16px 52px;
  }

  .hero-copy {
    margin-top: 16px;
  }

  .quick-bar {
    padding-inline: 14px;
  }

  .market-shell {
    padding-inline: 14px;
    padding-bottom: 92px;
  }

  .filters {
    display: none;
  }

  .player-grid,
  .country-grid {
    grid-template-columns: 1fr;
  }

  .player-card,
  .player-card img {
    min-height: 320px;
  }

  .results-top {
    align-items: flex-start;
  }

  .sort-control {
    min-width: 124px;
  }

  .event-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .date-tile {
    width: 100%;
    height: 62px;
    grid-template-columns: auto auto;
    gap: 8px;
  }

  .event-side {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .event-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .small-button {
    width: 100%;
  }

  .city-band {
    padding-inline: 14px;
  }

  .city-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
    padding-bottom: 88px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .mobile-action {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: block;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }

  .mobile-action .primary-button {
    width: 100%;
  }
}
