:root {
  color-scheme: dark;
  --ink: #ffffff;
  --muted: #c8ced8;
  --paper: #07080a;
  --panel: #111318;
  --panel-soft: #17191f;
  --line: rgb(255 255 255 / 16%);
  --gold: #d7b95f;
  --gold-bright: #f7dc7d;
  --gold-deep: #7b6527;
  --silver: #c9d0da;
  --bronze: #c7875f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 12%, rgb(215 185 95 / 8%), transparent 28rem),
    radial-gradient(circle at 80% 52%, rgb(215 185 95 / 5%), transparent 32rem),
    linear-gradient(180deg, #0c0d10, var(--paper));
  content: "";
}

a {
  color: inherit;
}

a:focus-visible {
  border-radius: 4px;
  outline: 4px solid var(--gold-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 5px;
  background: #ffffff;
  color: #08090b;
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-180%);
}

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

.hero {
  position: relative;
  min-height: min(900px, 100svh);
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  filter: contrast(1.16) brightness(0.52);
  transform: scale(1.015);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgb(7 8 10 / 94%) 0%, rgb(7 8 10 / 76%) 42%, rgb(7 8 10 / 25%) 73%, rgb(7 8 10 / 58%) 100%),
    linear-gradient(180deg, rgb(7 8 10 / 32%) 0%, transparent 34%, var(--paper) 100%);
}

.hero-shade::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 47%, rgb(215 185 95 / 22%) 47.15% 47.35%, transparent 47.5%),
    radial-gradient(circle at 66% 35%, rgb(215 185 95 / 12%), transparent 23rem);
  content: "";
}

.topbar,
.hero-content,
.section-inner,
.site-footer {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.brand-link {
  flex: 0 1 172px;
}

.brand-logo {
  display: block;
  width: 172px;
  max-width: 100%;
  height: auto;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-link,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 6px;
  background: rgb(8 9 11 / 62%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.top-link:hover,
.button:hover {
  border-color: var(--gold);
  background: rgb(18 20 24 / 88%);
  transform: translateY(-1px);
}

.top-link-primary,
.button-primary {
  border-color: #efd370;
  background: linear-gradient(180deg, #efd370, #b79233);
  color: #090a0c;
  box-shadow: 0 14px 44px rgb(215 185 95 / 20%);
}

.top-link-primary:hover,
.button-primary:hover {
  border-color: #fff0ac;
  background: linear-gradient(180deg, #ffe693, #cba844);
}

.hero-content {
  min-height: calc(min(900px, 100svh) - 112px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: clamp(44px, 8vw, 100px);
  padding: clamp(64px, 9vw, 120px) 0 130px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 17px;
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 42px;
  height: 2px;
  background: var(--gold);
  content: "";
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7.4vw, 92px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.89;
  text-transform: uppercase;
}

h1 span,
h1 em {
  display: block;
}

h1 em {
  margin-top: 13px;
  color: var(--gold-bright);
  font-size: 0.49em;
  font-style: normal;
  letter-spacing: 0.08em;
  line-height: 1;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: #e2e5ea;
  font-size: clamp(17px, 2.3vw, 21px);
  font-weight: 700;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.hero-actions .button {
  min-height: 54px;
  padding-inline: 22px;
}

.date-card {
  position: relative;
  overflow: hidden;
  padding: clamp(25px, 4vw, 36px);
  border: 1px solid rgb(215 185 95 / 48%);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgb(215 185 95 / 10%), transparent 48%),
    rgb(8 9 11 / 82%);
  box-shadow: 0 28px 100px rgb(0 0 0 / 40%);
  backdrop-filter: blur(8px);
}

.date-card::after {
  position: absolute;
  right: -62px;
  bottom: -14px;
  width: 230px;
  height: 7px;
  background: linear-gradient(90deg, transparent, var(--gold));
  content: "";
  opacity: 0.48;
  transform: rotate(-35deg);
}

.date-card-label {
  margin-bottom: 22px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.date-point {
  position: relative;
  z-index: 1;
}

.date-point + .date-point {
  margin-top: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.date-kicker {
  display: block;
  margin-bottom: 5px;
  color: #9da5b2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.date-day,
.date-time {
  display: block;
}

.date-day {
  color: #ffffff;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  letter-spacing: -0.025em;
}

.date-time {
  margin-top: 4px;
  color: var(--gold-bright);
  font-size: 16px;
  font-weight: 900;
}

.date-zone {
  position: relative;
  z-index: 1;
  margin: 22px 0 0;
  color: #aeb5c0;
  font-size: 12px;
  line-height: 1.5;
}

.section {
  padding: clamp(76px, 10vw, 130px) 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  margin-bottom: 14px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-transform: uppercase;
}

.section-intro {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.entry-step {
  min-height: 220px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 5%), transparent 54%),
    var(--panel);
}

.step-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 38px;
  border: 1px solid rgb(215 185 95 / 58%);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 900;
}

.entry-step h3 {
  margin-bottom: 9px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.entry-step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.prizes-section {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgb(255 255 255 / 10%);
  background:
    radial-gradient(circle at 50% 8%, rgb(215 185 95 / 14%), transparent 35rem),
    #0c0e12;
}

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

.prize-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
}

.prize-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgb(255 255 255 / 7%), transparent 45%);
  content: "";
  pointer-events: none;
}

.prize-card-grand {
  grid-column: span 6;
  min-height: 330px;
  border-color: rgb(215 185 95 / 64%);
  background:
    radial-gradient(circle at 85% 15%, rgb(247 220 125 / 22%), transparent 14rem),
    linear-gradient(145deg, #222017, #111318 64%);
  box-shadow: 0 28px 90px rgb(0 0 0 / 30%);
}

.prize-card-second,
.prize-card-third {
  grid-column: span 3;
  min-height: 330px;
}

.prize-card-second {
  background: linear-gradient(145deg, rgb(201 208 218 / 12%), var(--panel) 58%);
}

.prize-card-third {
  background: linear-gradient(145deg, rgb(199 135 95 / 13%), var(--panel) 58%);
}

.prize-card-fourth,
.prize-card-finalists {
  grid-column: span 6;
}

.place {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 45px;
  color: #aeb5c0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.place::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 20px rgb(215 185 95 / 48%);
  content: "";
}

.prize-card-second .place::before {
  background: var(--silver);
}

.prize-card-third .place::before {
  background: var(--bronze);
}

.prize-amount,
.prize-name {
  position: relative;
  z-index: 1;
  display: block;
}

.prize-amount {
  margin-bottom: 9px;
  color: var(--gold-bright);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.prize-card:not(.prize-card-grand) .prize-amount {
  font-size: clamp(35px, 4.2vw, 48px);
}

.prize-name {
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.prize-card-finalists .prize-amount {
  max-width: 470px;
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.02;
}

.prize-footnote {
  margin: 24px 0 0;
  color: #9da5b2;
  font-size: 13px;
  line-height: 1.6;
}

.rules-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.48fr) minmax(0, 1fr);
  gap: clamp(38px, 8vw, 96px);
  align-items: start;
}

.rules-aside {
  position: sticky;
  top: 28px;
}

.rules-aside .section-heading {
  margin-bottom: 28px;
}

.rules-aside h2 {
  font-size: clamp(38px, 5vw, 58px);
}

.rules-note {
  padding: 20px;
  border: 1px solid rgb(215 185 95 / 36%);
  border-radius: 8px;
  background: rgb(215 185 95 / 7%);
  color: #ddd7c6;
  font-size: 14px;
  line-height: 1.65;
}

.rules-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rule;
}

.rules-list li {
  position: relative;
  min-height: 82px;
  padding: 24px 20px 24px 78px;
  border-top: 1px solid var(--line);
  color: #d9dde4;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  counter-increment: rule;
}

.rules-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.rules-list li::before {
  position: absolute;
  top: 25px;
  left: 20px;
  color: var(--gold);
  content: counter(rule, decimal-leading-zero);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.rules-list strong {
  color: #ffffff;
}

.closing {
  padding: clamp(70px, 10vw, 118px) 0;
  border-top: 1px solid rgb(255 255 255 / 10%);
  background:
    linear-gradient(90deg, rgb(215 185 95 / 8%), transparent 35% 65%, rgb(215 185 95 / 8%)),
    #0d0f13;
  text-align: center;
}

.closing h2 {
  max-width: 820px;
  margin: 0 auto 19px;
}

.closing p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 36px;
  color: #929aa7;
  font-size: 12px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #b9c0cb;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    padding: 72px 0 110px;
  }

  .hero-content > * {
    min-width: 0;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgb(7 8 10 / 92%), rgb(7 8 10 / 55%) 82%, rgb(7 8 10 / 74%)),
      linear-gradient(180deg, rgb(7 8 10 / 20%), transparent 25%, var(--paper) 100%);
  }

  .date-card {
    max-width: 560px;
  }

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

  .entry-step {
    min-height: auto;
  }

  .step-number {
    margin-bottom: 25px;
  }

  .prize-card-grand {
    grid-column: span 12;
  }

  .prize-card-second,
  .prize-card-third {
    grid-column: span 6;
  }

  .rules-layout {
    grid-template-columns: 1fr;
  }

  .rules-aside {
    position: static;
  }
}

@media (max-width: 580px) {
  .topbar,
  .hero-content,
  .section-inner,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .brand-link,
  .brand-logo {
    width: 128px;
  }

  .top-actions .top-link:first-child {
    display: none;
  }

  .top-link {
    min-height: 42px;
    padding: 9px 13px;
    font-size: 12px;
  }

  .hero-content {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero-actions {
    display: grid;
  }

  .prize-card-second,
  .prize-card-third,
  .prize-card-fourth,
  .prize-card-finalists {
    grid-column: span 12;
  }

  .prize-card,
  .prize-card-grand,
  .prize-card-second,
  .prize-card-third {
    min-height: 240px;
  }

  .rules-list li {
    padding: 22px 12px 22px 55px;
    font-size: 16px;
  }

  .rules-list li::before {
    top: 23px;
    left: 10px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .top-link:hover,
  .button:hover {
    transform: none;
  }
}
