/* ============================================================
   USA MASTERS × WC2026 — LA28-inspired kinetic style
   Palette: USA Masters navy + red, sunset gradient accents
   ============================================================ */
:root {
  --navy: #1b3668;
  --navy-deep: #0e1f42;
  --red: #e31837;
  --coral: #ff4671;
  --gold: #ffb25a;
  --cream: #f7f5f0;
  --ink: #101a30;
  --grad: linear-gradient(100deg, var(--red) 0%, var(--coral) 55%, var(--gold) 115%);
  --radius: 18px;
  --shadow: 0 10px 40px rgba(14, 31, 66, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Archivo", -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
h1, h2, h3, .chip, .btn, .venue-tag, .countdown, .ticker { font-family: "Anton", "Archivo", sans-serif; }
a { color: var(--red); }
img { display: block; max-width: 100%; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 10px 22px;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--navy);
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
#navLogo { height: 46px; width: auto; mix-blend-mode: multiply; }
.nav-fallback { display: flex; align-items: center; gap: 9px; }
.lockup { display: flex; flex-direction: column; line-height: 1; }
.lk-usa { font-family: "Anton"; color: var(--navy); font-size: 1.25rem; letter-spacing: 0.1em; }
.lk-fh { font-family: "Archivo"; font-weight: 900; color: var(--red); font-size: 0.52rem; letter-spacing: 0.14em; text-transform: uppercase; }
.lk-bar { width: 3px; height: 30px; background: var(--navy); }
.lk-masters { font-family: "Anton"; color: var(--red); font-size: 1.55rem; letter-spacing: 0.05em; }
.nav-mark { width: 34px; height: 34px; }
.nav-word { font-family: "Anton", sans-serif; font-size: 1.05rem; letter-spacing: 0.04em; white-space: nowrap; }
.nav-word b { color: var(--navy); }
.nav-word em { font-style: normal; color: var(--red); }
.nav-links { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none; color: var(--navy); font-weight: 700; font-size: 0.86rem;
  text-transform: uppercase; letter-spacing: 0.05em; padding: 7px 11px; border-radius: 999px;
}
.nav-links a:hover { background: var(--navy); color: #fff; }
.tz-toggle {
  display: flex; border: 2px solid var(--navy); border-radius: 999px; overflow: hidden;
  cursor: pointer; background: #fff; padding: 0; font-size: 0.82rem;
}
.tz-toggle span { padding: 6px 12px; color: var(--navy); letter-spacing: 0.05em; }
.tz-toggle span.on { background: var(--navy); color: #fff; }

/* ============ HERO ============ */
.hero { position: relative; min-height: 92vh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: #fff; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("../assets/hero.jpg") center 30% / cover no-repeat;
}
.hero-wash {
  position: absolute; inset: 0;
  background:
    linear-gradient(15deg, rgba(14,31,66,0.94) 12%, rgba(27,54,104,0.55) 45%, rgba(227,24,55,0.25) 100%);
}.hero-inner { position: relative; padding: 90px 6vw 60px; max-width: 1200px; }
.hero-kicker {
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.85rem;
  color: var(--gold); margin-bottom: 8px;
}
.hero h1 {
  font-size: clamp(5rem, 17vw, 13rem);
  line-height: 0.86; letter-spacing: 0.01em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #fff 30%, var(--gold) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-period { color: var(--red); -webkit-text-fill-color: var(--red); }
.hero-sub { font-size: clamp(1rem, 2.2vw, 1.3rem); font-weight: 600; margin: 18px 0 22px; }
.countdown { display: flex; gap: 26px; margin-bottom: 26px; }
.countdown .cd { text-align: center; }
.countdown .cd b { display: block; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; color: var(--gold); }
.countdown .cd small { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.7rem; font-family: "Archivo"; font-weight: 700; opacity: 0.85; }
.countdown .cd-live { font-size: clamp(1.4rem, 4vw, 2.2rem); color: var(--gold); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block; text-decoration: none; text-transform: uppercase; letter-spacing: 0.07em;
  padding: 13px 26px; border-radius: 999px; font-size: 1rem; transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--grad); color: #fff; }
.btn-ghost { border: 2px solid #fff; color: #fff; }
.btn-ghost-dark { border: 2px solid var(--navy); color: var(--navy); }
.btn-small { padding: 9px 18px; font-size: 0.85rem; }

/* ticker */
.ticker { position: relative; background: var(--red); padding: 10px 0; overflow: hidden; transform: rotate(-1.2deg) scale(1.02); }
.ticker-track {
  display: inline-block; white-space: nowrap; animation: tick 28s linear infinite;
  color: #fff; font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase;
}
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { padding: 84px 6vw; max-width: 1280px; margin: 0 auto; }
.section-tinted { max-width: none; background: #fff; }
.section-tinted > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.section-head { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 30px; margin-bottom: 42px; align-items: end; }
.section-head h2 {
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 0.92; text-transform: uppercase; color: var(--navy);
  border-left: 10px solid var(--red); padding-left: 18px;
}
.section-head p { font-size: 1.05rem; max-width: 620px; }

/* ============ FILTERS ============ */
.usa-chips { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.chips-label { font-weight: 900; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.12em; color: var(--navy); }
.filters {
  display: flex; gap: 26px; flex-wrap: wrap; align-items: center;
  background: #fff; border: 2px solid var(--navy); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 34px; box-shadow: var(--shadow);
}
.filter-group label { display: block; font-size: 0.72rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; color: var(--navy); margin-bottom: 6px; }
.filter-group select {
  font: 600 1rem "Archivo"; padding: 9px 14px; border: 2px solid var(--navy); border-radius: 10px; background: #fff; color: var(--ink);
}
.div-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 2px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer;
  padding: 8px 16px; border-radius: 999px; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase;
  transition: all 0.12s ease;
}
.chip:hover { background: var(--navy); color: #fff; }
.chip.active { background: var(--navy); color: #fff; }
.chip-usa { border-color: var(--red); color: var(--red); }
.chip-usa:hover, .chip-usa.active { background: var(--grad); border-color: var(--red); color: #fff; }
.switch-label { display: flex; align-items: center; gap: 8px; font-size: 0.9rem !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; }
.switch-label input { width: 18px; height: 18px; accent-color: var(--red); }

/* ============ SCHEDULE LIST ============ */
.day-block { margin-bottom: 34px; }
.day-head {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px;
  border-bottom: 3px solid var(--navy); padding-bottom: 6px;
}
.day-head h3 { font-size: clamp(1.4rem, 3vw, 2rem); text-transform: uppercase; color: var(--navy); }
.day-head small { font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; }
.match-row {
  display: grid; grid-template-columns: 92px 84px 1fr 90px; gap: 14px; align-items: center;
  background: #fff; border-radius: 14px; padding: 12px 18px; margin-bottom: 8px;
  border-left: 6px solid transparent; box-shadow: 0 2px 10px rgba(14,31,66,0.06);
}
.match-row.is-usa { border-left-color: var(--red); background: linear-gradient(90deg, #fff5f6, #fff); }
.match-row.is-event { border-left-color: var(--gold); background: linear-gradient(90deg, #fff9ef, #fff); grid-template-columns: 92px 1fr; }
.match-row.is-ko { border-left-color: var(--navy); }
.m-time { font-family: "Anton"; font-size: 1.25rem; color: var(--navy); }
.m-time small { display: block; font-family: "Archivo"; font-weight: 700; font-size: 0.62rem; letter-spacing: 0.1em; color: #8a91a3; text-transform: uppercase; }
.m-div { font-weight: 900; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--navy); border-radius: 7px; padding: 4px 8px; text-align: center; }
.m-div.d-W35 { background: var(--red); }
.m-div.d-W40 { background: var(--coral); }
.m-div.d-M40 { background: #5a7bc0; }
.m-match { font-weight: 700; font-size: 1.02rem; }
.m-match .vs { color: #99a0b2; font-weight: 400; padding: 0 6px; }
.m-match .usa-name { color: var(--red); }
.m-label { font-weight: 700; font-size: 0.98rem; }
.m-note { font-weight: 400; color: #5c6478; font-size: 0.85rem; display: block; }
.m-pitch { text-align: right; font-weight: 900; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--navy); }
.m-watch { display: block; margin-top: 4px; color: var(--red); text-decoration: none; font-size: 0.78rem; }
.m-watch:hover { text-decoration: underline; }
.stream-note { margin: -22px 0 30px; font-size: 0.92rem; color: #5c6478; }
.filter-ics { margin-left: auto; }
.filter-ics .btn { border: none; cursor: pointer; font-family: "Anton"; }
.empty-state { text-align: center; padding: 40px; color: #5c6478; font-weight: 600; }
.m-score { font-family: "Anton"; color: var(--navy); padding: 0 10px; font-size: 1.15rem; }

/* ============ STANDINGS ============ */
.stand-chips { margin-bottom: 22px; }
.stand-table { width: 100%; border-collapse: collapse; background: var(--cream); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stand-table th, .stand-table td { padding: 10px 8px; text-align: center; font-size: 0.95rem; }
.stand-table thead th {
  background: var(--navy); color: #fff; font-family: "Anton"; font-weight: 400;
  letter-spacing: 0.08em; font-size: 0.8rem; text-transform: uppercase;
}
.stand-table tbody tr:nth-child(even) { background: rgba(27, 54, 104, 0.05); }
.stand-table tbody tr:nth-child(-n+8) td:first-child { color: var(--red); font-weight: 900; }
.stand-table .st-team { text-align: left; font-weight: 700; padding-left: 14px; }
.stand-table .st-usa { background: linear-gradient(90deg, #ffe9ec, #fff5f6) !important; border-left: 5px solid var(--red); }
.stand-table td b { color: var(--navy); }
@media (max-width: 640px) {
  .stand-table th, .stand-table td { padding: 8px 4px; font-size: 0.8rem; }
  .stand-table th:nth-child(7), .stand-table td:nth-child(7),
  .stand-table th:nth-child(8), .stand-table td:nth-child(8) { display: none; }
}

/* ============ TEAMS ============ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px; }
.team-card {
  background: var(--cream); border-radius: var(--radius); padding: 20px; border-top: 6px solid var(--navy);
  cursor: pointer; transition: transform 0.14s ease; position: relative;
}
.team-card:hover { transform: translateY(-3px); }
.team-card.star { border-top-color: var(--red); background: linear-gradient(160deg, #fff2f4, var(--cream)); }
.team-card h3 { font-size: 1.5rem; text-transform: uppercase; color: var(--navy); }
.team-card .t-venue { font-size: 0.82rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.06em; }
.team-card .t-star { position: absolute; top: 12px; right: 14px; font-size: 1.2rem; }
.team-card .t-cta { font-size: 0.8rem; font-weight: 600; color: #5c6478; }
.team-note { margin-top: 20px; font-size: 0.95rem; color: #5c6478; }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 38px; }
.photo-strip figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo-strip img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.3s ease; }
.photo-strip figure:hover img { transform: scale(1.04); }

/* ============ VENUES ============ */
.venue-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.venue-card {
  background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
}
.venue-primary { border: 3px solid var(--navy); background: linear-gradient(170deg, #fff, #fef3f0); }
.venue-tag {
  align-self: flex-start; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--grad); color: #fff; border-radius: 999px; padding: 5px 13px;
}
.tag-light { background: rgba(255,255,255,0.22); }
.venue-card h3 { font-size: 2rem; text-transform: uppercase; color: var(--navy); }
.venue-addr { font-weight: 600; }
.venue-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 0.95rem; }
.venue-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }

/* ============ KIDS ============ */
.section-kids { max-width: none; background: var(--navy-deep); padding-top: 70px; padding-bottom: 70px; }
.kids-card {
  max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
  color: #fff; align-items: center;
}
.kids-copy h2 { font-size: clamp(2.6rem, 6vw, 4rem); text-transform: uppercase; margin: 10px 0 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kids-copy p { font-size: 1.08rem; margin-bottom: 16px; }
.kids-copy ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; font-weight: 600; }
.kids-photo img { border-radius: var(--radius); box-shadow: 0 18px 60px rgba(0,0,0,0.4); }

/* ============ LINKS ============ */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.link-card {
  background: var(--cream); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink);
  border: 2px solid transparent; transition: all 0.14s ease; display: flex; flex-direction: column; gap: 4px;
}
.link-card:hover { border-color: var(--red); transform: translateY(-3px); }
.link-card span { font-size: 1.7rem; }
.link-card b { color: var(--navy); font-size: 1.05rem; }
.link-card small { color: #5c6478; }

/* ============ FOOTER ============ */
.footer { background: var(--navy-deep); color: #aab4cd; text-align: center; padding: 44px 6vw; font-size: 0.9rem; }
.footer b { color: #fff; font-size: 1.3rem; font-family: "Anton"; letter-spacing: 0.06em; }
.footer p { max-width: 640px; margin: 6px auto; }
.footer a { color: var(--gold); }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .nav { flex-wrap: wrap; padding: 10px 14px; gap: 8px; }
  .nav-links { order: 3; width: 100%; justify-content: space-between; margin: 0; flex-wrap: nowrap; gap: 0; }
  .nav-links a { padding: 6px 4px; font-size: 0.72rem; letter-spacing: 0.02em; white-space: nowrap; }
  .tz-toggle { margin-left: auto; }
  .section { padding: 56px 5vw; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .match-row { grid-template-columns: 74px 1fr 64px; }
  .match-row .m-div { display: none; }
  .kids-card { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip img { height: 200px; }
  .hero { min-height: 78vh; }
  .countdown { gap: 16px; }
}
