:root {
  --cq-ink: #152019;
  --cq-muted: #5d685f;
  --cq-green-950: #07130e;
  --cq-green-900: #0d2118;
  --cq-green-850: #102a1e;
  --cq-green-800: #173829;
  --cq-green-700: #24533b;
  --cq-green-600: #32704f;
  --cq-cream: #f6f1e7;
  --cq-paper: #fffdf8;
  --cq-sand: #e7ddc7;
  --cq-orange: #f7a62a;
  --cq-orange-dark: #d78000;
  --cq-blue: #327fca;
  --cq-yellow: #f1c51e;
  --cq-red: #cf4f46;
  --cq-radius-sm: 12px;
  --cq-radius: 20px;
  --cq-radius-lg: 30px;
  --cq-shadow-sm: 0 10px 30px rgba(12, 26, 18, 0.08);
  --cq-shadow: 0 24px 60px rgba(7, 20, 13, 0.15);
  --cq-header-height: 76px;
  --cq-container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--cq-header-height) + 16px);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--cq-ink);
  background: var(--cq-paper);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .mobile-ticket-cta,
body.nav-open .back-to-top {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--cq-green-700);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--cq-orange-dark);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(247, 166, 42, 0.72);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--cq-ink);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 32px, var(--cq-container));
  max-width: var(--cq-container);
  margin-inline: auto;
  padding-inline: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 16px;
  color: #fff;
  background: var(--cq-green-950);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--cq-header-height);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(6, 15, 10, 0.76), rgba(6, 15, 10, 0.2));
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 21, 14, 0.94);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--cq-header-height);
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: #fff;
}

.brand-name {
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.brand-number {
  color: var(--cq-orange);
  font-size: 1.2rem;
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.site-nav .nav-link {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.site-nav .nav-link.active::after {
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: var(--cq-orange);
}

.header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  color: var(--cq-green-950);
  border-radius: 999px;
  background: var(--cq-orange);
  box-shadow: 0 8px 22px rgba(247, 166, 42, 0.22);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  color: var(--cq-green-950);
  background: #ffb744;
  box-shadow: 0 12px 30px rgba(247, 166, 42, 0.3);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.55rem;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: max(760px, 100svh);
  place-items: center;
  overflow: hidden;
  padding: calc(var(--cq-header-height) + 64px) 0 76px;
  color: #fff;
  background-image: url("../img/hero-bg.webp");
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 78% 24%, rgba(247, 166, 42, 0.15), transparent 34%),
    linear-gradient(90deg, rgba(3, 14, 9, 0.94) 0%, rgba(3, 14, 9, 0.72) 52%, rgba(3, 14, 9, 0.48) 100%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(5, 17, 11, 0.72));
}

.hero-shade {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 1050px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo {
  width: min(100%, 940px);
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.42));
}

.hero-lead {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.03rem, 1.8vw, 1.3rem);
  font-weight: 600;
}

.hero-facts {
  display: grid;
  width: min(100%, 870px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.hero-fact {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(7, 20, 13, 0.55);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-fact i {
  flex: 0 0 auto;
  color: var(--cq-orange);
  font-size: 1.45rem;
}

.hero-fact span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.25;
}

.hero-fact small {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.btn-event {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-event-primary {
  color: var(--cq-green-950);
  background: var(--cq-orange);
  box-shadow: 0 12px 28px rgba(247, 166, 42, 0.26);
}

.btn-event-primary:hover {
  color: var(--cq-green-950);
  background: #ffb647;
  box-shadow: 0 16px 36px rgba(247, 166, 42, 0.32);
}

.btn-event-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.btn-event-secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.14);
}

.btn-event-dark {
  color: #fff;
  border: 0;
  background: var(--cq-green-900);
  box-shadow: var(--cq-shadow-sm);
}

.btn-event-dark:hover {
  color: #fff;
  background: var(--cq-green-800);
}

.btn-event-outline {
  color: var(--cq-green-900);
  border-color: rgba(13, 33, 24, 0.25);
  background: transparent;
}

.btn-event-outline:hover {
  color: var(--cq-green-900);
  border-color: var(--cq-green-700);
  background: rgba(36, 83, 59, 0.06);
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transform: translateX(-50%);
  animation: cq-bob 2s ease-in-out infinite;
}

.hero-scroll:hover {
  color: #fff;
}

@keyframes cq-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}

/* Shared sections */
.section {
  position: relative;
  padding: 104px 0;
  scroll-margin-top: calc(var(--cq-header-height) + 14px);
}

.section-light {
  background: var(--cq-paper);
}

.section-muted {
  background: #f0ede5;
}

.section-dark {
  color: rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 12% 0%, rgba(247, 166, 42, 0.08), transparent 28%),
    var(--cq-green-950);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 46px;
}

.section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.2vw, 3.45rem);
}

.section-heading p {
  margin-bottom: 0;
  color: var(--cq-muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.section-heading-light h2 {
  color: #fff;
}

.section-heading-light p {
  color: rgba(255, 255, 255, 0.7);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--cq-orange-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.tickets-section .eyebrow {
  color: var(--cq-orange);
}

/* Intro */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.story-card,
.schedule-card,
.new-player,
.map-card,
.history-card,
.participants-panel {
  border: 1px solid rgba(18, 44, 30, 0.11);
  border-radius: var(--cq-radius);
  background: #fff;
  box-shadow: var(--cq-shadow-sm);
}

.story-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
}

.story-copy {
  padding: clamp(26px, 4vw, 44px);
}

.story-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
}

.story-copy p {
  color: #49544c;
}

.inline-faction {
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: -6px;
}

.story-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
}

.story-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  text-decoration: none;
}

.story-image {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

.schedule-card {
  padding: clamp(26px, 4vw, 38px);
  background: var(--cq-green-900);
  box-shadow: var(--cq-shadow);
}

.schedule-card h3 {
  margin-bottom: 24px;
  color: #fff;
  font-size: 1.8rem;
}

.card-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--cq-orange);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 5px;
  width: 2px;
  content: "";
  background: rgba(255, 255, 255, 0.14);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0 11px 23px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.38;
}

.timeline li::before {
  position: absolute;
  top: 17px;
  left: 0;
  width: 12px;
  height: 12px;
  content: "";
  border: 3px solid var(--cq-green-900);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.timeline time {
  color: #fff;
  font-weight: 900;
}

.timeline-highlight::before {
  background: var(--cq-orange) !important;
  box-shadow: 0 0 0 1px var(--cq-orange), 0 0 0 5px rgba(247, 166, 42, 0.12) !important;
}

.timeline-highlight span,
.timeline-highlight time {
  color: var(--cq-orange);
}

.new-player {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
  padding: 24px 28px;
}

.new-player-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  border-radius: 16px;
  background: var(--cq-green-800);
  font-size: 1.5rem;
}

.new-player h3 {
  margin-bottom: 4px;
  font-size: 1.18rem;
}

.new-player p {
  color: var(--cq-muted);
}

.new-player-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.new-player-links a {
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

/* Essential info */
.essential-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.essential-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--cq-radius);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.essential-card > i {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--cq-orange);
  border-radius: 14px;
  background: rgba(247, 166, 42, 0.1);
  font-size: 1.35rem;
}

.essential-card h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.2rem;
}

.essential-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.93rem;
}

.essential-card strong {
  color: #fff;
}

.essential-card a {
  color: var(--cq-orange);
}

/* Factions */
.faction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faction-card {
  --faction-color: var(--cq-green-600);
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 98px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(18, 44, 30, 0.11);
  border-radius: var(--cq-radius);
  background: #fff;
  box-shadow: var(--cq-shadow-sm);
}

.faction-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  content: "";
  background: var(--faction-color);
}

.faction-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.12));
}

.faction-card h3 {
  margin: 4px 0 8px;
  font-size: 1.38rem;
}

.faction-card p {
  color: var(--cq-muted);
  font-size: 0.92rem;
}

.faction-type {
  color: var(--faction-color);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faction-yellow { --faction-color: #c89b00; }
.faction-blue { --faction-color: #1d68b5; }
.faction-red { --faction-color: #b93d35; }
.faction-green { --faction-color: #357d49; }

/* Rules */
.rule-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rule-highlight {
  min-width: 0;
  padding: 27px;
  border: 1px solid rgba(18, 44, 30, 0.1);
  border-radius: var(--cq-radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 28px rgba(12, 26, 18, 0.055);
}

.rule-highlight > i {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--cq-green-800);
  border-radius: 13px;
  background: rgba(36, 83, 59, 0.09);
  font-size: 1.25rem;
}

.rule-highlight h3 {
  margin-bottom: 9px;
  font-size: 1.14rem;
}

.rule-highlight p {
  color: var(--cq-muted);
  font-size: 0.91rem;
}

.rule-alert {
  border-color: rgba(207, 79, 70, 0.25);
  background: rgba(255, 249, 248, 0.9);
}

.rule-alert > i {
  color: var(--cq-red);
  background: rgba(207, 79, 70, 0.1);
}

.rules-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

#rules-toggle {
  min-width: min(100%, 330px);
}

#rules-toggle .toggle-chevron {
  transition: transform 0.25s ease;
}

#rules-toggle[aria-expanded="true"] .toggle-chevron {
  transform: rotate(180deg);
}

.rules-detail {
  margin-top: 32px;
}

.rules-detail > .row {
  --bs-gutter-x: 0;
}

.rules-longform {
  display: grid;
  gap: 18px;
  padding: 0 !important;
}

.rules-longform > .rule-chapter {
  --bs-gutter-x: 24px;
  align-items: center;
  margin: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(18, 44, 30, 0.1);
  border-radius: var(--cq-radius);
  background: #fff;
  box-shadow: 0 10px 32px rgba(12, 26, 18, 0.055);
}

.rules-longform > .rule-chapter:has(> .col:only-child) {
  align-items: start;
}

.rules-longform h3 {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(247, 166, 42, 0.55);
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
}

.rules-longform h4 {
  font-size: 1.12rem;
}

.rules-longform ul,
.rules-longform ol {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.rules-longform li + li {
  margin-top: 8px;
}

.rules-longform ul ul,
.rules-longform ol ol,
.rules-longform ul ol,
.rules-longform ol ul {
  margin-top: 8px;
  margin-bottom: 10px;
}

.rules-longform .row + .row {
  margin-top: 0 !important;
}

.rules-longform .rule-image {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  border-radius: 14px;
  background: #f3f0e8;
}

.rules-longform a {
  overflow-wrap: anywhere;
  font-weight: 700;
}

/* Game area */
.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 22px;
}

.map-card {
  overflow: hidden;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}

.map-card-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-top: 1px solid rgba(18, 44, 30, 0.09);
}

.map-card-footer > i {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: var(--cq-green-800);
  font-size: 1.2rem;
}

.map-card-footer div {
  display: flex;
  flex-direction: column;
}

.map-card-footer span {
  color: var(--cq-muted);
  font-size: 0.84rem;
}

.history-card {
  padding: 30px;
}

.history-card h3 {
  margin-bottom: 20px;
  font-size: 1.45rem;
}

.event-history {
  display: grid;
  gap: 0;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.event-history li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(18, 44, 30, 0.09);
}

.event-history time {
  color: var(--cq-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.event-history span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.event-history a {
  font-weight: 900;
  text-decoration: none;
}

.event-history small {
  color: var(--cq-muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  text-decoration: none;
}

/* Tickets */
.tickets-section {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 14%, rgba(247, 166, 42, 0.14), transparent 33%),
    linear-gradient(145deg, #102a1e, #07130e 72%);
}

.ticket-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.62fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--cq-radius-lg);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
}

.ticket-copy {
  padding: clamp(30px, 5vw, 58px);
}

.ticket-copy h2 {
  max-width: 720px;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.45rem);
}

.ticket-copy > p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
}

.price-row {
  display: grid;
  max-width: 610px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.price-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card strong {
  margin: 2px 0;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1.05;
}

.price-card small {
  color: rgba(255, 255, 255, 0.55);
}

.price-primary {
  border-color: rgba(247, 166, 42, 0.46);
  background: rgba(247, 166, 42, 0.11);
}

.price-primary strong,
.price-primary span {
  color: var(--cq-orange);
}

.payment-notes {
  display: grid;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.payment-notes li {
  display: flex;
  gap: 10px;
}

.payment-notes i {
  flex: 0 0 auto;
  color: var(--cq-orange);
}

.ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.tickets-section .btn-event-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}

.tickets-section .btn-event-outline:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.ticket-visual {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 34px;
  border-left: 1px dashed rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(145deg, rgba(247, 166, 42, 0.13), rgba(247, 166, 42, 0.02)),
    rgba(0, 0, 0, 0.12);
  text-align: center;
}

.ticket-visual::before,
.ticket-visual::after {
  position: absolute;
  left: -21px;
  width: 42px;
  height: 42px;
  content: "";
  border-radius: 50%;
  background: #0a1b12;
}

.ticket-visual::before { top: -21px; }
.ticket-visual::after { bottom: -21px; }

.ticket-number {
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.58);
  font-size: clamp(8rem, 17vw, 13rem);
  font-weight: 950;
  letter-spacing: -0.09em;
  line-height: 0.8;
}

.ticket-date {
  margin-top: 28px;
  color: var(--cq-orange);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.ticket-code {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.participants-panel {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 38px);
  color: var(--cq-ink);
}

.participants-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.participants-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.7rem;
}

.count-badge {
  display: inline-grid;
  min-width: 32px;
  height: 32px;
  place-items: center;
  padding: 0 9px;
  color: #fff;
  border-radius: 999px;
  background: var(--cq-green-700);
  font-size: 0.78rem;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--cq-green-800);
  border: 1px solid rgba(18, 44, 30, 0.16);
  border-radius: 12px;
  background: #fff;
  font-size: 1.15rem;
}

.icon-button.is-loading i {
  animation: cq-spin 0.8s linear infinite;
}

@keyframes cq-spin { to { transform: rotate(360deg); } }

.participant-tools {
  margin-top: 20px;
}

.participant-search {
  display: flex;
  width: min(100%, 480px);
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid rgba(18, 44, 30, 0.15);
  border-radius: 13px;
  background: #fff;
}

.participant-search i {
  color: var(--cq-muted);
}

.participant-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
}

.participants-status {
  margin-top: 20px;
  padding: 18px;
  color: var(--cq-muted);
  border: 1px dashed rgba(18, 44, 30, 0.18);
  border-radius: 13px;
  background: #faf8f2;
  text-align: center;
}

.participants-status.is-error {
  color: #8a2f28;
  border-color: rgba(185, 61, 53, 0.3);
  background: #fff7f6;
}

.participants-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.participant-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(18, 44, 30, 0.1);
  border-radius: 14px;
  background: #fff;
}

.participant-avatar {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  border-radius: 13px;
  background: var(--cq-green-700);
  font-weight: 900;
}

.participant-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.participant-meta {
  min-width: 0;
}

.participant-name {
  overflow: hidden;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.participant-details {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 2px;
  color: var(--cq-muted);
  font-size: 0.78rem;
}

.participant-faction {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.participant-faction::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  content: "";
  border-radius: 50%;
  background: var(--faction-dot, #7b887f);
}

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

.contact-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 15px;
  padding: 20px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
  color: #fff;
  border-color: rgba(247, 166, 42, 0.28);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-2px);
}

.contact-card > i {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--cq-orange);
  border-radius: 13px;
  background: rgba(247, 166, 42, 0.1);
  font-size: 1.25rem;
}

.contact-card span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.contact-card small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, 0.66);
  background: #040b07;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1.1fr;
  gap: 54px;
  padding-top: 62px;
  padding-bottom: 52px;
}

.footer-title {
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.footer-title span {
  color: var(--cq-orange);
}

.footer-brand p {
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.social-links a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.social-links a:hover {
  color: var(--cq-green-950);
  border-color: var(--cq-orange);
  background: var(--cq-orange);
}

.footer-links,
.footer-partners {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links a {
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--cq-orange);
}

.partner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.partner-list a {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.partner-list a:hover {
  color: #fff;
  border-color: rgba(247, 166, 42, 0.42);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
}

/* Fixed actions */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 950;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  visibility: hidden;
  color: var(--cq-green-950);
  border: 0;
  border-radius: 14px;
  opacity: 0;
  background: var(--cq-orange);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(12px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mobile-ticket-cta {
  display: none;
}

/* Responsive */
@media (max-width: 1100px) {
  .header-inner {
    gap: 14px;
  }

  .site-nav .nav-link {
    padding-inline: 8px;
    font-size: 0.84rem;
  }

  .intro-grid,
  .area-grid {
    grid-template-columns: 1fr;
  }

  .schedule-card {
    max-width: none;
  }

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

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

@media (max-width: 900px) {
  :root {
    --cq-header-height: 68px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 3;
  }

  .header-cta {
    display: none;
  }

  .site-header {
    background: rgba(7, 21, 14, 0.96);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 999;
    display: flex;
    width: 100vw;
    height: calc(100dvh - var(--cq-header-height));
    visibility: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 7px;
    padding: 24px max(22px, calc((100vw - var(--cq-container)) / 2)) 36px;
    opacity: 0;
    background: rgba(5, 17, 11, 0.995);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav .nav-link {
    min-height: 56px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    font-size: 1.05rem;
  }

  .site-nav .nav-link:hover,
  .site-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.09);
  }

  .site-nav .nav-link.active::after {
    right: auto;
    bottom: 9px;
    left: 16px;
    width: 38px;
  }

  .hero {
    min-height: 760px;
    padding-top: calc(var(--cq-header-height) + 48px);
  }

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

  .story-card {
    grid-template-columns: 1fr;
  }

  .story-image {
    min-height: 300px;
    max-height: 420px;
    grid-row: 1;
  }

  .new-player {
    grid-template-columns: auto 1fr;
  }

  .new-player-links {
    grid-column: 1 / -1;
    align-items: flex-start;
  }

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

  .ticket-panel {
    grid-template-columns: 1fr;
  }

  .ticket-visual {
    min-height: 260px;
    border-top: 1px dashed rgba(255, 255, 255, 0.24);
    border-left: 0;
  }

  .ticket-visual::before,
  .ticket-visual::after {
    top: -21px;
    bottom: auto;
  }

  .ticket-visual::before { left: -21px; }
  .ticket-visual::after { right: -21px; left: auto; }

  .ticket-number {
    font-size: 9rem;
  }

  .ticket-date {
    margin-top: 18px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
    font-size: 15.5px;
  }

  .container {
    width: min(100% - 24px, var(--cq-container));
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-number {
    font-size: 1.05rem;
  }

  .hero {
    min-height: max(720px, 100svh);
    padding: calc(var(--cq-header-height) + 34px) 0 74px;
    background-position: 58% center;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(3, 14, 9, 0.88) 0%, rgba(3, 14, 9, 0.72) 55%, rgba(3, 14, 9, 0.82) 100%);
  }

  .hero-logo {
    width: 100%;
    max-height: 245px;
  }

  .hero-lead {
    max-width: 340px;
    margin-top: 12px;
    font-size: 1rem;
  }

  .hero-facts {
    gap: 8px;
    margin-top: 24px;
  }

  .hero-fact {
    min-height: 72px;
    gap: 9px;
    padding: 12px;
    border-radius: 13px;
  }

  .hero-fact i {
    font-size: 1.2rem;
  }

  .hero-fact span {
    font-size: 0.82rem;
  }

  .hero-fact small {
    font-size: 0.61rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    margin-top: 20px;
  }

  .hero-actions .btn-event {
    width: 100%;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding: 74px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .intro-grid,
  .essential-grid,
  .rule-highlight-grid,
  .contact-grid,
  .participants-list {
    grid-template-columns: 1fr;
  }

  .story-copy,
  .schedule-card,
  .essential-card,
  .rule-highlight,
  .history-card {
    padding: 23px;
  }

  .story-image {
    min-height: 240px;
  }

  .timeline li {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    font-size: 0.83rem;
  }

  .new-player {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px;
  }

  .new-player-icon {
    width: 48px;
    height: 48px;
  }

  .faction-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 17px;
    padding: 22px;
  }

  .faction-card img {
    width: 70px;
    height: 70px;
  }

  .faction-card h3 {
    font-size: 1.2rem;
  }

  .rules-longform > .rule-chapter {
    --bs-gutter-x: 0;
    display: block;
    padding: 22px;
  }

  .rules-longform > .rule-chapter > [class*="col"] + [class*="col"] {
    margin-top: 18px;
  }

  .rules-longform .rule-image {
    max-height: 330px;
  }

  .map-card iframe {
    height: 340px;
  }

  .map-card-footer {
    align-items: flex-start;
    padding: 18px;
  }

  .event-history li {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .ticket-copy {
    padding: 28px 22px;
  }

  .price-row {
    grid-template-columns: 1fr 1fr;
  }

  .price-card {
    padding: 17px;
  }

  .price-card strong {
    font-size: 1.85rem;
  }

  .ticket-actions {
    flex-direction: column;
  }

  .ticket-actions .btn-event {
    width: 100%;
  }

  .ticket-visual {
    min-height: 220px;
  }

  .ticket-number {
    font-size: 7.4rem;
  }

  .participants-header h3 {
    font-size: 1.35rem;
  }

  .participant-card {
    padding: 11px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 50px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .mobile-ticket-cta {
    position: fixed;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    z-index: 1050;
    display: grid;
    min-height: 56px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 11px;
    padding: 10px 16px;
    color: var(--cq-green-950);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 16px;
    background: var(--cq-orange);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
    font-weight: 900;
    text-decoration: none;
  }

  .mobile-ticket-cta:hover {
    color: var(--cq-green-950);
  }

  .mobile-ticket-cta i {
    font-size: 1.2rem;
  }

  .mobile-ticket-cta strong {
    padding-left: 12px;
    border-left: 1px solid rgba(7, 19, 14, 0.2);
  }

  .back-to-top {
    right: 14px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 390px) {
  .price-row {
    grid-template-columns: 1fr;
  }

  .hero-fact {
    padding: 10px;
  }

  .hero-fact i {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .hero-scroll,
  .mobile-ticket-cta,
  .back-to-top,
  .hero-actions,
  .rules-actions,
  .ticket-actions,
  .social-links {
    display: none !important;
  }

  body {
    padding: 0;
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding: 24px 0;
    color: #000;
    background: #fff;
  }

  .hero::before,
  .hero::after,
  .hero-shade {
    display: none;
  }

  .hero-lead,
  .hero-fact span,
  .hero-fact small {
    color: #000;
  }

  .hero-fact {
    border-color: #bbb;
    background: #fff;
  }

  .section {
    padding: 32px 0;
  }

  #full-rules {
    display: block !important;
    height: auto !important;
  }
}
