@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,400;0,600;0,700;0,800;1,600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #14140F;
  --bg-2: #1E1E16;
  --bg-3: #0E0E0A;
  --surface: #1A1A12;
  --surface-2: #242418;
  --fg: #F5E9C2;
  --ink: #F5E9C2;
  --ink-soft: #C9BC8C;
  --ink-dim: #8F8560;
  --line: #3A3520;
  --yellow: #F2C94C;
  --yellow-soft: #E8B73C;
  --yellow-deep: #B8881F;
  --accent: #F2C94C;
  --coral: #F2C94C;
  --radius-pill: 999px;
  --radius-capsule: 36px;
  --radius-md: 20px;
  --shadow: 0 2px 0 #000;
  --shadow-lift: 0 6px 0 #000;
  --font-serif: "Bodoni Moda", "Didot", Georgia, serif;
  --font-sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 0.6rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.4rem; font-weight: 700; color: var(--yellow); }
h4 { font-size: 1.1rem; color: var(--yellow); }

p { color: var(--ink-soft); }

a { color: var(--yellow); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--yellow-soft); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: 860px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-3);
  border-bottom: 2px solid var(--yellow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
}
.brand {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: -0.02em;
}
.brand::before {
  content: "●";
  color: var(--yellow);
  margin-right: 8px;
  font-style: normal;
  font-size: 0.7em;
  vertical-align: middle;
}
.main-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.main-nav a {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: all .2s ease;
}
.main-nav a:hover {
  background: var(--yellow);
  color: var(--bg-3);
  border-color: var(--yellow);
}

.nav-toggle {
  display: none;
  background: var(--yellow);
  border: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: var(--radius-pill);
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--bg-3);
  display: block;
}

/* Hero */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  top: 80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: var(--yellow);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.95;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 40px;
  right: 18%;
  width: 140px;
  height: 70px;
  background: var(--yellow-deep);
  border-radius: var(--radius-pill);
  z-index: 0;
}
.hero-inner {
  max-width: 900px;
  position: relative;
  z-index: 1;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  color: var(--bg-3);
  font-weight: 600;
  display: inline-block;
  padding: 8px 18px;
  background: var(--yellow);
  border: 1.5px solid var(--yellow);
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.hero h1 {
  font-style: italic;
  color: var(--yellow);
}
.lede {
  font-size: 1.15rem;
  margin-top: 26px;
  color: var(--ink-soft);
  max-width: 680px;
}
.cta-row {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all .2s ease;
  border: 2px solid var(--yellow);
  cursor: pointer;
  font-family: var(--font-sans);
}
.btn-primary {
  background: var(--yellow);
  color: var(--bg-3);
}
.btn-primary:hover {
  background: var(--yellow-soft);
  color: var(--bg-3);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--yellow-deep);
}
.btn-ghost {
  background: transparent;
  color: var(--yellow);
}
.btn-ghost:hover {
  background: var(--yellow);
  color: var(--bg-3);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--yellow-deep);
}

/* Sections */
.section {
  padding: 90px 0;
  position: relative;
  background: var(--bg);
}
.section-alt {
  background: var(--bg-2);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.section-head .eyebrow {
  background: var(--yellow);
  color: var(--bg-3);
}
.section-head h2 {
  font-style: italic;
  color: var(--yellow);
}
.section-intro {
  margin-top: 16px;
  font-size: 1.04rem;
  color: var(--ink-soft);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* Tournament overview */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.overview-card {
  background: var(--surface);
  border: 2px solid var(--yellow);
  border-radius: var(--radius-capsule);
  padding: 28px 24px;
  transition: all .2s ease;
}
.overview-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--yellow-deep);
}
.overview-card .big-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3.4rem;
  color: var(--yellow);
  line-height: 1;
  font-weight: 800;
}
.overview-card h3 {
  margin-top: 10px;
  font-style: italic;
  color: var(--yellow);
}
.overview-card p {
  color: var(--ink-soft);
  margin-top: 10px;
  font-size: 0.94rem;
}

/* Match index — capsule cards */
.match-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}
.match-card {
  background: var(--surface);
  border-radius: var(--radius-capsule);
  padding: 28px 26px;
  border: 2px solid var(--yellow);
  transition: all .2s ease;
  display: block;
  color: var(--ink);
  position: relative;
}
.match-card:nth-child(2n) {
  background: var(--surface-2);
  border-color: var(--yellow-deep);
}

.match-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}
.match-card .group-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--bg-3);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.match-card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  color: var(--yellow);
}
.match-card .teams-mini {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1.5px solid var(--line);
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.match-card .teams-mini strong {
  display: block;
  color: var(--yellow);
  font-size: 0.96rem;
  margin-bottom: 4px;
  font-weight: 700;
}

/* Favorites */
.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.fav-card {
  background: var(--surface);
  border-radius: var(--radius-capsule);
  padding: 28px 24px;
  border: 2px solid var(--yellow);
  text-align: left;
  transition: all .2s ease;
  position: relative;
  overflow: hidden;
}
.fav-card:nth-child(2n) {
  background: var(--surface-2);
}
.fav-card:nth-child(3n) {
  background: var(--bg-3);
}

.fav-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--yellow-deep);
}
.fav-card .rank {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3.2rem;
  color: var(--yellow);
  line-height: 1;
  font-weight: 800;
}
.fav-card h3 {
  margin-top: 10px;
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--yellow);
}
.fav-card dl {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}
.fav-card dl > div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1.5px dashed var(--line);
}
.fav-card dl > div:last-child { border-bottom: none; }
.fav-card dt { color: var(--ink-soft); font-size: 0.82rem; font-weight: 500; }
.fav-card dd { color: var(--yellow); font-weight: 700; }

/* Preview blocks */
.previews-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.preview-block {
  background: var(--surface);
  border-radius: var(--radius-capsule);
  padding: 40px;
  border: 2px solid var(--yellow);
}
.preview-block:nth-child(2n) {
  background: var(--surface-2);
  border-color: var(--yellow-deep);
}

.preview-block .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.preview-block h3 {
  font-size: 1.8rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  color: var(--yellow);
}
.preview-block .group-pill {
  background: var(--yellow);
  color: var(--bg-3);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1.5px solid var(--yellow);
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-3);
}
.compare-table th, .compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1.5px solid var(--line);
  font-size: 0.94rem;
  color: var(--ink);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table th {
  font-weight: 700;
  color: var(--bg-3);
  background: var(--yellow);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-sans);
}
.compare-table td:first-child {
  color: var(--ink-soft);
  font-size: 0.86rem;
  width: 38%;
  font-weight: 500;
  background: var(--bg-2);
}
.compare-table td {
  font-weight: 600;
}
.preview-block .editorial {
  margin-top: 22px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  padding: 20px 24px;
  background: var(--bg-3);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--yellow);
}

/* Groups */
.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.group-card {
  background: var(--surface);
  border-radius: var(--radius-capsule);
  padding: 26px;
  border: 2px solid var(--yellow);
  transition: all .2s ease;
}
.group-card:nth-child(2n) {
  background: var(--surface-2);
  border-color: var(--yellow-deep);
}

.group-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--yellow);
}
.group-card .glabel {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--yellow);
  font-weight: 800;
  line-height: 1;
}
.group-card .leader {
  margin-top: 14px;
  font-size: 0.94rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.group-card .leader strong {
  color: var(--yellow);
  font-weight: 700;
  display: block;
  font-size: 1.05rem;
  margin-top: 4px;
}
.group-card .meta {
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--ink-dim);
  padding-top: 12px;
  border-top: 1.5px dashed var(--line);
}

/* Hosts */
.hosts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.host-card {
  background: var(--surface);
  border-radius: var(--radius-capsule);
  padding: 32px 28px;
  border: 2px solid var(--yellow);
  transition: all .2s ease;
}
.host-card:nth-child(2n) {
  background: var(--surface-2);
}

.host-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--yellow-deep);
}
.host-card h3 {
  font-size: 1.7rem;
  font-family: var(--font-serif);
  font-style: italic;
  margin-bottom: 16px;
  color: var(--yellow);
}
.host-card .stat-row {
  display: flex;
  justify-content: space-between;
  margin-top: 0;
  font-size: 0.92rem;
  padding: 10px 0;
  border-bottom: 1.5px dashed var(--line);
}
.host-card .stat-row:last-child { border-bottom: none; }
.host-card .stat-row span:first-child { color: var(--ink-soft); font-weight: 500; }
.host-card .stat-row span:last-child { color: var(--yellow); font-weight: 700; }

/* Storylines */
.storylines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.story-card {
  background: var(--surface);
  border-radius: var(--radius-capsule);
  padding: 28px 26px;
  border: 2px solid var(--yellow);
  transition: all .2s ease;
}
.story-card:nth-child(2n) {
  background: var(--surface-2);
  border-color: var(--yellow-deep);
}
.story-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--yellow);
}
.story-card h3 {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--yellow);
  margin-bottom: 12px;
}
.story-card p { color: var(--ink-soft); font-size: 0.96rem; }

/* Method */
.method-list {
  display: grid;
  gap: 16px;
}
.method-item {
  background: var(--surface);
  border-radius: var(--radius-capsule);
  padding: 28px 30px;
  border: 2px solid var(--yellow);
  position: relative;
}
.method-item:nth-child(2n) {
  background: var(--surface-2);
  border-color: var(--yellow-deep);
}

.method-item h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--yellow);
}
.method-item p { color: var(--ink-soft); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--surface);
  border-radius: var(--radius-capsule);
  padding: 22px 28px;
  border: 2px solid var(--yellow);
  cursor: pointer;
  transition: all .2s ease;
}
.faq-list details:nth-child(2n) {
  background: var(--surface-2);
  border-color: var(--yellow-deep);
}

.faq-list details[open] {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--yellow);
  border-color: var(--yellow);
}
.faq-list summary {
  font-weight: 700;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--yellow);
  list-style: none;
  position: relative;
  padding-right: 36px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: var(--bg-3);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1;
  width: 32px;
  height: 32px;
  background: var(--yellow);
  border: 1.5px solid var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-family: var(--font-sans);
}

/* Hidden legal sections — open only when targeted via hash */
.hidden-section {
  display: none;
}
.hidden-section:target {
  display: block;
  animation: fadeIn .35s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* When a legal section is visible via :target, hide the rest of the main content */
main:has(.hidden-section:target) > section:not(.hidden-section):not(:target) {
  display: none;
}
main:has(.hidden-section:target) > .hidden-section:target {
  display: block;
  min-height: 60vh;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  padding: 8px 18px;
  background: var(--yellow);
  color: var(--bg-3);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  border: 1.5px solid var(--yellow);
}
.back-link:hover {
  background: var(--bg-3);
  color: var(--yellow);
}

/* Legal */
.legal h2 {
  margin-bottom: 18px;
  font-style: italic;
  color: var(--yellow);
}
.legal p { color: var(--ink-soft); margin-bottom: 14px; }
.legal address {
  margin-top: 20px;
  background: var(--surface);
  padding: 24px 28px;
  border-radius: var(--radius-capsule);
  border: 2px solid var(--yellow);
  font-style: normal;
  font-size: 0.94rem;
  color: var(--ink);
  line-height: 1.7;
}
.legal address a { color: var(--yellow); font-weight: 600; }
.legal address a:hover { color: var(--yellow-soft); }

/* Footer */
.site-footer {
  background: var(--bg-3);
  color: var(--ink);
  padding: 80px 0 0;
  border-top: 2px solid var(--yellow);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}
.footer-col h3 {
  color: var(--yellow);
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
}
.footer-col h4 {
  color: var(--yellow);
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
}
.footer-col address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.footer-col address a { color: var(--yellow); }
.footer-col address a:hover { color: var(--yellow-soft); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  display: inline-block;
  transition: all .2s ease;
}
.footer-col ul a:hover {
  color: var(--bg-3);
  background: var(--yellow);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 32px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--ink-dim);
}

/* Responsive */
@media (max-width: 1200px) {
  .container { max-width: 1000px; }
}
@media (max-width: 900px) {
  .main-nav a { padding: 6px 12px; font-size: 0.84rem; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-3);
    flex-direction: column;
    padding: 24px 32px;
    gap: 8px;
    border-bottom: 2px solid var(--yellow);
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    border: 1.5px solid var(--yellow);
    text-align: center;
    color: var(--ink);
  }
  .hero { padding: 60px 0 70px; }
  .hero::before { width: 220px; height: 220px; top: 40px; right: -100px; }
  .section { padding: 70px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .preview-block { padding: 28px 22px; }
  .preview-block h3 { font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .container, .header-inner { padding-left: 20px; padding-right: 20px; }
  .btn { width: 100%; text-align: center; }
  .cta-row { flex-direction: column; }
  .compare-table th, .compare-table td { padding: 10px 10px; font-size: 0.82rem; }
  .compare-table td:first-child { width: 42%; }
}