/* ============================================================
   2M SPORTS TOUR — design tokens
   Palette pulled straight from the brand mark: deep ink,
   royal purple, gold foil. Ticket/scoreboard motif throughout,
   echoing the diagonal cut on the "2M" logotype.
   ============================================================ */

:root {
  --ink: #131319;
  --ink-soft: #1c1c26;
  --purple: #5b2a86;
  --purple-deep: #34155a;
  --purple-glow: #8a4fc4;
  --gold: #e8b94b;
  --gold-light: #f7dfa0;
  --gold-deep: #a9781e;
  --cream: #f6f1e4;
  --white: #ffffff;
  --ink-line: rgba(246, 241, 228, 0.14);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 6px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 1.05;
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 19, 25, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 42px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-nav a {
  text-decoration: none;
  color: var(--cream);
  opacity: 0.8;
  transition: opacity 0.15s, color 0.15s;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.site-nav a:hover {
  opacity: 1;
  color: var(--gold-light);
}

.btn-whats {
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  transition: transform 0.15s, background 0.15s;
  white-space: nowrap;
}

.btn-whats:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(91, 42, 134, 0.55), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(232, 185, 75, 0.14), transparent 55%),
    var(--ink);
  padding: 88px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 74px);
  color: var(--white);
}

.hero h1 .accent {
  color: transparent;
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 45%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p.lede {
  margin-top: 20px;
  font-size: 18px;
  max-width: 46ch;
  color: rgba(246, 241, 228, 0.82);
}

.hero-ctas {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  color: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
  padding: 15px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1.5px solid var(--ink-line);
  color: var(--cream);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.hero-art {
  position: relative;
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 14%);
  border: 1px solid var(--ink-line);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.hero-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-line);
  padding-top: 28px;
}

.hero-stats .stat {
  border-left: 1px solid var(--ink-line);
  padding-left: 20px;
}

.hero-stats .stat:first-child {
  border-left: none;
  padding-left: 0;
}

.hero-stats .num {
  font-family: var(--font-mono);
  font-size: 30px;
  color: var(--gold-light);
  font-weight: 700;
}

.hero-stats .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.65;
  margin-top: 4px;
}

/* ---------------- Category filter pills ---------------- */

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 40px 0 8px;
}

.filter-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--ink-line);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  transition: all 0.15s;
}

.filter-pill:hover {
  border-color: var(--gold);
}

.filter-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 700;
}

/* ---------------- Packages section ---------------- */

.packages-section {
  padding: 40px 0 100px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--white);
}

.packages-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

/* ---- Ticket-stub card: the signature element ---- */

.ticket {
  position: relative;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%, 0 28px);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}

.ticket:hover {
  transform: translateY(-4px);
  border-color: var(--gold-deep);
}

.ticket.inactive {
  opacity: 0.45;
}

.ticket-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-deep), var(--ink));
}

.ticket-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pennant {
  position: absolute;
  top: 14px;
  left: -1px;
  background: var(--purple);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px 6px 12px;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0% 100%);
}

.ticket-body {
  padding: 22px 22px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ticket-body h3 {
  font-size: 22px;
  color: var(--white);
}

.ticket-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--gold-light);
}

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

.ticket-desc {
  font-size: 14.5px;
  color: rgba(246, 241, 228, 0.78);
}

.ticket-highlights {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13.5px;
  color: rgba(246, 241, 228, 0.7);
}

.ticket-highlights li::before {
  content: "\2713";
  color: var(--gold);
  margin-right: 8px;
  font-weight: 700;
}

/* perforation between body and footer */
.ticket-perf {
  position: relative;
  height: 1px;
  border-top: 2px dashed var(--ink-line);
  margin: 4px 0;
}

.ticket-perf::before,
.ticket-perf::after {
  content: "";
  position: absolute;
  top: -9px;
  width: 18px;
  height: 18px;
  background: var(--ink);
  border-radius: 50%;
}

.ticket-perf::before {
  left: -31px;
}

.ticket-perf::after {
  right: -31px;
}

.ticket-footer {
  padding: 16px 22px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ticket-price {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.ticket-price small {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(246, 241, 228, 0.5);
  margin-top: 2px;
}

.ticket-cta {
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s;
}

.ticket-cta:hover {
  background: var(--gold-light);
}

.empty-state {
  border: 1px dashed var(--ink-line);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: rgba(246, 241, 228, 0.6);
  font-family: var(--font-mono);
  font-size: 14px;
}

/* ---------------- About / trust strip ---------------- */

.trust {
  background: var(--purple-deep);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  padding: 48px 0;
}

.trust .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.trust-item .eyebrow {
  color: var(--gold-light);
}

.trust-item h3 {
  font-size: 20px;
  margin-top: 8px;
  color: var(--white);
}

.trust-item p {
  font-size: 14px;
  color: rgba(246, 241, 228, 0.75);
  margin-top: 8px;
}

/* ---------------- Footer ---------------- */

.site-footer {
  padding: 56px 0 32px;
  background: var(--ink);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--ink-line);
  padding-bottom: 32px;
}

.footer-grid img {
  height: 36px;
}

.footer-contact {
  font-size: 14px;
  color: rgba(246, 241, 228, 0.75);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-bottom {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(246, 241, 228, 0.45);
}

.footer-bottom a {
  color: rgba(246, 241, 228, 0.45);
  text-decoration: underline;
}

/* ---------------- Responsive ---------------- */

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

  .hero-art {
    order: -1;
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }

  .hero-stats .stat:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }

  .site-nav {
    display: none;
  }

  .trust .wrap {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ticket,
  .btn-primary,
  .btn-whats {
    transition: none;
  }
}
