:root {
  color-scheme: dark;
  --green-950: #061a14;
  --green-900: #08281f;
  --green-800: #0d3a2c;
  --green-700: #15503c;
  --red-700: #9f2733;
  --gold-500: #d6ad55;
  --gold-300: #f0d991;
  --cream: #f6f0df;
  --paper: #fffaf0;
  --ink: #132436;
  --muted: #bac6bb;
  --line: rgba(214, 173, 85, 0.32);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 80% 0%, rgba(159, 39, 51, 0.2), transparent 32rem),
    linear-gradient(135deg, #061a14, #0b2d23 46%, #081f1a);
  color: var(--cream);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 46px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 26, 20, 0.74);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 154px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 24px);
  color: rgba(246, 240, 223, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
}

.nav a {
  padding: 10px 0;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold-300);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0;
}

.header-cta {
  border-color: var(--line);
  color: var(--gold-300);
  white-space: nowrap;
}

.button.primary {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: #1d2618;
  box-shadow: 0 10px 30px rgba(214, 173, 85, 0.22);
}

.button.ghost,
.button.outline {
  border-color: rgba(246, 240, 223, 0.3);
  color: var(--cream);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--gold-300);
}

.hero {
  position: relative;
  min-height: 94vh;
  padding: 0;
  overflow: hidden;
  background: var(--green-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(1.05) contrast(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 14, 11, 0.92) 0%, rgba(5, 24, 18, 0.76) 34%, rgba(5, 24, 18, 0.22) 68%, rgba(4, 14, 11, 0.1) 100%),
    linear-gradient(0deg, rgba(6, 26, 20, 0.95) 0%, rgba(6, 26, 20, 0.16) 35%, rgba(6, 26, 20, 0.35) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7rem;
  background: linear-gradient(transparent, rgba(6, 26, 20, 0.98));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 760px) 220px;
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  min-height: 94vh;
  padding: 122px clamp(22px, 6vw, 84px) 70px;
}

.hero-logo {
  width: min(235px, 70vw);
  margin-bottom: 20px;
}

.hero-kicker {
  margin-bottom: 14px;
  color: var(--gold-300);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 4.9vw, 4.75rem);
  line-height: 0.98;
  font-weight: 700;
  text-wrap: balance;
}

h2 {
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.hero-text-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
  max-width: 720px;
}

.hero-text-grid p {
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid rgba(214, 173, 85, 0.55);
  color: rgba(246, 240, 223, 0.86);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.6;
}

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

.hero-note {
  justify-self: end;
  width: 220px;
  padding: 18px;
  border: 1px solid rgba(214, 173, 85, 0.38);
  border-radius: 8px;
  background: rgba(4, 18, 13, 0.58);
  backdrop-filter: blur(14px);
}

.hero-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-300);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-note strong {
  display: block;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.section {
  padding: clamp(72px, 10vw, 126px) clamp(22px, 5vw, 70px);
}

.section > *,
.dark-band > *,
.story > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--gold-300);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.15fr);
  gap: clamp(30px, 7vw, 90px);
}

.rich-text p,
.section-heading p,
.rules-copy p,
.buttons-section p,
.partners p,
.manifesto p,
.contact p {
  color: rgba(246, 240, 223, 0.78);
  font-size: 1.05rem;
  line-height: 1.75;
}

.dark-band {
  background: linear-gradient(180deg, rgba(5, 17, 13, 0.7), rgba(8, 40, 31, 0.92));
  border-block: 1px solid rgba(214, 173, 85, 0.18);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 38px;
  text-align: center;
}

.section-heading.compact {
  text-align: left;
}

.feature-grid,
.event-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article {
  min-height: 205px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.feature-grid span {
  display: block;
  margin-bottom: 36px;
  color: var(--gold-300);
  font-weight: 900;
}

.feature-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.play {
  background: linear-gradient(135deg, rgba(246, 240, 223, 0.05), rgba(159, 39, 51, 0.11));
}

.steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  max-width: var(--max);
  margin: 34px auto 0;
}

.steps article {
  min-height: 150px;
  padding: 18px;
  border-top: 3px solid var(--gold-500);
  background: rgba(255, 255, 255, 0.055);
}

.steps strong {
  display: block;
  margin-bottom: 20px;
  color: var(--gold-300);
  font-size: 2rem;
  font-family: Georgia, "Times New Roman", serif;
}

.steps span {
  color: var(--cream);
  font-weight: 750;
  line-height: 1.3;
}

.rules,
.partners,
.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: start;
  max-width: calc(var(--max) + 140px);
  margin: 0 auto;
}

.rule-list,
.partner-list,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rule-list span,
.partner-list span,
.tag-cloud span,
.event-grid span {
  border: 1px solid rgba(214, 173, 85, 0.26);
  border-radius: 6px;
  background: rgba(246, 240, 223, 0.05);
  color: rgba(246, 240, 223, 0.86);
  font-weight: 800;
}

.rule-list span,
.partner-list span,
.tag-cloud span {
  padding: 14px 16px;
}

.buttons-section {
  display: grid;
  grid-template-columns: minmax(340px, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(34px, 5vw, 62px);
  align-items: center;
  max-width: calc(var(--max) + 80px);
  margin: 0 auto;
}

.buttons-section figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.buttons-section figure img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.tag-cloud {
  margin: 28px 0;
}

.soon {
  color: var(--gold-300) !important;
  font-weight: 900;
}

.tournaments {
  text-align: center;
  background: linear-gradient(180deg, rgba(8, 40, 31, 0), rgba(8, 40, 31, 0.86));
}

.event-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: var(--max);
  margin: 0 auto 30px;
}

.event-grid span {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.manifesto {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.manifesto p {
  font-size: 1.25rem;
}

form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

label {
  display: grid;
  gap: 8px;
  color: var(--gold-300);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(246, 240, 223, 0.18);
  border-radius: 6px;
  background: rgba(4, 16, 12, 0.72);
  color: var(--cream);
  font: inherit;
  min-height: 46px;
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(22px, 5vw, 70px);
  border-top: 1px solid rgba(214, 173, 85, 0.18);
  color: rgba(246, 240, 223, 0.7);
}

footer img {
  width: 165px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

footer p {
  margin: 0;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .nav.is-open {
    position: fixed;
    inset: 78px 0 auto;
    display: grid;
    gap: 0;
    padding: 20px 22px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(6, 26, 20, 0.98);
  }

  .nav.is-open a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.05rem;
  }

  .hero {
    min-height: 860px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: end;
    min-height: 860px;
    padding-top: 112px;
  }

  .hero-note {
    justify-self: start;
    width: min(360px, 100%);
  }

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

@media (max-width: 760px) {
  .brand img {
    width: 134px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-bg {
    object-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 14, 11, 0.94) 0%, rgba(5, 24, 18, 0.72) 58%, rgba(5, 24, 18, 0.32) 100%),
      linear-gradient(0deg, rgba(6, 26, 20, 0.98) 0%, rgba(6, 26, 20, 0.18) 48%, rgba(6, 26, 20, 0.55) 100%);
  }

  .hero-inner {
    min-height: 720px;
    padding: 100px 22px 44px;
  }

  .hero-logo {
    width: min(190px, 56vw);
    margin-bottom: 14px;
  }

  .hero-kicker {
    margin-bottom: 10px;
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(2.18rem, 7.7vw, 3.3rem);
    line-height: 0.98;
    margin-bottom: 16px;
  }

  .hero-text-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-text-grid p {
    font-size: 0.95rem;
    line-height: 1.48;
  }

  .split,
  .rules,
  .buttons-section,
  .partners,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-heading {
    text-align: left;
  }

  .feature-grid,
  .steps,
  .event-grid {
    grid-template-columns: 1fr;
  }

  .steps article,
  .event-grid span {
    min-height: auto;
  }

  footer {
    display: grid;
  }
}
