:root {
  --ink: #071018;
  --ink-2: #0c1824;
  --panel: #122333;
  --panel-2: #183044;
  --line: rgba(226, 194, 122, 0.28);
  --gold: #e2c27a;
  --gold-2: #f4e4bc;
  --teal: #5ce1d8;
  --paper: #f3eee4;
  --ink-text: #15202b;
  --muted: #93a4b5;
  --text: #e7eef6;
  --danger: #ff6d78;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --header: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(92, 225, 216, 0.08), transparent 55%),
    var(--ink);
  color: var(--text);
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

body.nav-lock { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select { font: inherit; }

h1, h2, h3, h4, .brand-name, .stat strong, .when {
  font-family: Unbounded, sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

p { margin: 0 0 1rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--gold);
  color: #1a1408;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.skip:focus { top: 1rem; }

.site-header {
  position: relative;
  z-index: 40;
  background: rgba(7, 16, 24, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--teal);
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(226, 194, 122, 0.08);
  transition: transform 0.45s ease;
}

.brand:hover .brand-icon { transform: rotate(-12deg); }

.brand-icon i { font-size: 0.95rem; transform: translateY(-1px); }

.brand-name {
  display: block;
  color: var(--gold-2);
  font-size: clamp(0.82rem, 2.7vw, 1.12rem);
  line-height: 1;
  white-space: nowrap;
}

.nav-toggle {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #102030;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold-2);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 50;
  background: #0c1824;
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-height: calc(100vh - 74px);
  overflow: auto;
}

.nav-panel.is-open { display: block; }

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0.75rem;
}

.nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
}

.nav-links a::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--gold);
  opacity: 0.7;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: rgba(226, 194, 122, 0.12);
  color: var(--gold-2);
}

.nav-links a.nav-contact {
  background: var(--gold);
  color: #1a1408;
  margin-top: 0.35rem;
}

.nav-links a.nav-contact::after { color: #1a1408; opacity: 0.55; }

.nav-links a.nav-contact.is-active { box-shadow: inset 0 0 0 2px #071018; }

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #061018;
}

.hero-media,
.page-hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img,
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: drift-scale 22s ease-in-out alternate infinite;
}

.hero-media::after,
.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 16, 24, 0.72) 0%, rgba(7, 16, 24, 0.78) 42%, rgba(7, 16, 24, 0.9) 100%);
}

.hero h1,
.hero .lead,
.page-hero h1,
.page-hero .lead,
.page-hero .crumb {
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.hero-ring {
  position: absolute;
  width: min(46vw, 480px);
  aspect-ratio: 1;
  right: -6vw;
  top: 12%;
  border: 1px solid rgba(226, 194, 122, 0.35);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.55;
}

.hero-ring::before,
.hero-ring::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px dashed rgba(92, 225, 216, 0.45);
  border-radius: 50%;
}

.hero-ring::after { inset: 68px; border-style: solid; border-color: rgba(226, 194, 122, 0.25); }

.hero .container,
.page-hero .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  gap: 1.5rem;
  padding: 3.2rem 0 3.5rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker i { color: var(--gold); }

h1, .display {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  max-width: 18ch;
}

.hero h1 {
  font-size: clamp(2.35rem, 5.6vw, 5rem);
  max-width: 12ch;
}

.lead {
  max-width: 42rem;
  color: #d5e0ea;
  font-size: 1.16rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn-gold,
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-gold { background: var(--gold); color: #1a1408; }
.btn-line { border-color: rgba(244, 228, 188, 0.55); color: var(--gold-2); background: rgba(7, 16, 24, 0.72); }
.btn-gold:hover,
.btn-line:hover { transform: translateY(-2px); }
.btn-line:hover { background: rgba(226, 194, 122, 0.12); }
.tone-light .btn-line { color: var(--ink-text); border-color: rgba(21, 32, 43, 0.25); background: transparent; }

.next-card {
  background: rgba(10, 20, 32, 0.78);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.2rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  max-width: 420px;
}

.next-card .label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.next-card h2 { font-size: 1.7rem; margin: 0.8rem 0 0.4rem; }

.next-meta {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 1.2rem;
}

.next-meta span {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  color: #d5e0ea;
}

.next-meta i { width: 1.1rem; color: var(--teal); }

.marquee {
  overflow: hidden;
  background: #09141e;
  border-bottom: 1px solid var(--line);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 38s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem;
  color: #d7e3ee;
  font-family: Unbounded, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.marquee-track span::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.section { padding: 5rem 0; }
.section-tight { padding-top: 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  align-items: end;
  margin-bottom: 1.8rem;
}

.section-head h2,
.block-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  max-width: 14ch;
}

.section-head p { max-width: 36rem; margin: 0; color: var(--muted); }

.tone-light {
  background:
    radial-gradient(700px 240px at 0% 0%, rgba(226, 194, 122, 0.28), transparent 60%),
    var(--paper);
  color: var(--ink-text);
}

.tone-light .section-head p,
.tone-light .muted,
.muted { color: var(--muted); }

.tone-light .muted { color: #5d6c7a; }

.stat-grid,
.card-grid,
.gear-grid,
.news-grid,
.split,
.venue-grid,
.info-grid { display: grid; gap: 1rem; }

.stat {
  padding: 1.2rem 1.1rem 1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(24, 48, 68, 0.9), rgba(12, 24, 36, 0.9));
  border: 1px solid rgba(92, 225, 216, 0.16);
}

.stat strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--gold-2);
}

.stat span { color: var(--muted); }

.tourney,
.game-card,
.gear-card,
.news-card,
.panel,
.venue,
.info-card {
  background: linear-gradient(180deg, rgba(20, 40, 58, 0.96), rgba(12, 26, 38, 0.96));
  border: 1px solid rgba(226, 194, 122, 0.16);
  border-radius: 26px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.tourney:hover,
.game-card:hover,
.gear-card:hover,
.news-card:hover,
.venue:hover { transform: translateY(-6px); border-color: rgba(226, 194, 122, 0.45); }

.media {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tourney:hover img,
.news-card:hover img,
.gear-card:hover img,
.venue:hover img { transform: scale(1.06); }

.media em {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  font-style: normal;
  background: rgba(7, 16, 24, 0.82);
  color: var(--gold-2);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-body { padding: 1.15rem 1.15rem 1.25rem; }

.card-body h3 { margin: 0 0 0.45rem; font-size: 1.25rem; }

.card-body p { color: #c5d3df; margin-bottom: 0.8rem; }

.tone-light .tourney,
.tone-light .gear-card,
.tone-light .panel,
.tone-light .info-card {
  background: rgba(255, 252, 247, 0.8);
  border-color: rgba(21, 32, 43, 0.08);
  color: var(--ink-text);
}

.tone-light .card-body p { color: #3e4d5c; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  color: var(--gold-2);
  font-size: 0.92rem;
  font-weight: 600;
}

.tone-light .meta-row { color: #7a5d2b; }

.meta-row span { display: inline-flex; align-items: center; gap: 0.4rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold-2);
  font-weight: 700;
}

.tone-light .text-link { color: #7a5d2b; }

.text-link i { transition: transform 0.25s ease; }
.text-link:hover i { transform: translateX(4px); }

.game-card { padding: 1.15rem; min-height: 220px; display: flex; flex-direction: column; }
.game-card .family { color: var(--teal); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
.game-card h3 { margin: 0.7rem 0 0.45rem; font-size: 1.35rem; color: var(--gold-2); }
.game-card p { color: #c5d3df; margin-bottom: auto; }
.game-card .prize { margin-top: 1rem; color: var(--gold); font-weight: 700; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }

.filters button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  min-height: 42px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
}

.filters button.is-on,
.filters button:hover { background: var(--gold); color: #1a1408; border-color: var(--gold); }

.split {
  align-items: center;
}

.split-copy h2 { font-size: clamp(1.8rem, 3vw, 3rem); margin: 0 0 0.8rem; }

.frame {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  position: relative;
}

.frame img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

.checklist { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.65rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checklist i { color: var(--teal); margin-top: 0.25rem; }
.tone-light .checklist i { color: #0e7f78; }

.gear-card .card-body h3 { font-size: 1.15rem; }

.band {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  min-height: 280px;
  display: grid;
  align-items: end;
}

.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,16,24,.88), rgba(7,16,24,.35)); }
.band .container, .band-inner { position: relative; z-index: 1; padding: 2rem; }
.band h2 { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 12ch; }

.page-hero {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #061018;
}

.page-hero .container { padding-top: 4.5rem; padding-bottom: 2.4rem; }
.page-hero h1 { max-width: 16ch; font-size: clamp(2.15rem, 4.8vw, 4.1rem); }
.media.tall { height: 280px; }
.info-card h2 { margin: 0 0 0.6rem; font-size: 1.45rem; }
.card-body a:not(.text-link),
.timeline a {
  color: var(--gold-2);
  border-bottom: 1px solid rgba(226, 194, 122, 0.45);
}
.tone-light .card-body a:not(.text-link) { color: #7a5d2b; }

.crumb { display: flex; flex-wrap: wrap; gap: 0.45rem; color: var(--gold-2); font-size: 0.92rem; margin-bottom: 0.8rem; }
.crumb a { border-bottom: 1px solid transparent; }
.crumb a:hover { border-bottom-color: var(--gold); }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2vw, 2rem); margin: 2rem 0 0.7rem; }
.prose h3 { font-size: 1.15rem; margin: 1.3rem 0 0.4rem; }
.prose p, .prose li { color: #d5e0ea; }
.prose a { color: var(--gold-2); border-bottom: 1px solid rgba(226, 194, 122, 0.4); }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.tone-light .prose p, .tone-light .prose li { color: #2d3b48; }
.tone-light .prose a { color: #7a5d2b; }

.article-hero { border-radius: 28px; overflow: hidden; margin-bottom: 1.4rem; border: 1px solid var(--line); }
.article-hero img { width: 100%; height: min(520px, 58vw); object-fit: cover; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.when { color: var(--gold); font-size: 0.95rem; }
.timeline h3 { margin: 0 0 0.25rem; font-size: 1.2rem; }
.timeline p { margin: 0; color: #c5d3df; }

.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 0.85rem 0.7rem; border-bottom: 1px solid rgba(226, 194, 122, 0.16); vertical-align: top; }
.spec th { color: var(--gold); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.tone-light .spec th { color: #7a5d2b; }
.tone-light .spec td { border-bottom-color: rgba(21, 32, 43, 0.1); }

.site-footer {
  background: #050c13;
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 1.4rem;
}

.site-footer h2 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9rem;
}

.site-footer p, .site-footer a { color: #c5d3df; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-brand { margin-bottom: 0.9rem; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 194, 122, 0.14);
  color: #8ea0b1;
  font-size: 0.95rem;
}
.footer-base p { margin: 0; }

.icon-list { display: grid; gap: 0.55rem; }
.icon-list span, .icon-list a { display: flex; gap: 0.65rem; align-items: flex-start; }
.icon-list i { width: 1.1rem; color: var(--teal); margin-top: 0.25rem; }

@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes drift-scale { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.reveal { animation: rise 0.8s ease both; }

@media (min-width: 768px) {
  .hero-media::after {
    background:
      linear-gradient(100deg, rgba(7, 16, 24, 0.9) 0%, rgba(7, 16, 24, 0.68) 40%, rgba(7, 16, 24, 0.22) 78%),
      linear-gradient(180deg, rgba(7, 16, 24, 0.25), rgba(7, 16, 24, 0.5));
  }
  .hero-grid { grid-template-columns: 1.3fr 0.7fr; align-items: end; padding: 4.5rem 0; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid, .news-grid, .venue-grid { grid-template-columns: repeat(2, 1fr); }
  .gear-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1.05fr 0.95fr; gap: 2rem; }
  .timeline li { grid-template-columns: 170px 1fr; }
}

@media (min-width: 992px) {
  .card-grid.games { grid-template-columns: repeat(3, 1fr); }
  .gear-grid { grid-template-columns: repeat(4, 1fr); }
  .news-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1360px) {
  .nav-shell { min-height: 84px; }
  .nav-toggle { display: none; }
  .nav-panel {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
    margin-left: auto;
  }
  .nav-links { display: flex; align-items: center; gap: 0.15rem; padding: 0; }
  .nav-links a { padding: 0.45rem 0.62rem; border-radius: 999px; font-size: 0.95rem; }
  .nav-links a::after { display: none; }
  .nav-links a.nav-contact { margin-top: 0; padding-inline: 0.9rem; }
  .hero { min-height: calc(100vh - 84px); align-items: center; }
  .venue-grid { grid-template-columns: repeat(3, 1fr); }
  .info-grid.three { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .timeline li { grid-template-columns: 1fr; gap: 0.3rem; }
  .hero-ring { display: none; }
  .spec { display: block; }
  .spec thead { display: none; }
  .spec tbody, .spec tr, .spec td { display: block; width: 100%; }
  .spec tr { padding: 0.8rem 0; border-bottom: 1px solid rgba(226, 194, 122, 0.16); }
  .spec td { border: 0; padding: 0.15rem 0; }
  .spec td::before { content: attr(data-label); display: block; color: var(--gold); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
