:root {
  --bg: #111317;
  --panel: #191d24;
  --panel-soft: #222834;
  --text: #f6f3ea;
  --muted: #b8c0cc;
  --line: rgba(255, 255, 255, 0.12);
  --fire: #f26b2f;
  --gold: #f2c94c;
  --blue: #52a5ff;
  --green: #58d68d;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-wrap: break-word;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  background: rgba(17, 19, 23, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

main {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}

.brand img,
.admin-brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.brand strong {
  display: block;
  line-height: 1.1;
  overflow-wrap: normal;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-menu a {
  border-radius: 8px;
  color: var(--muted);
  padding: 0.55rem 0.75rem;
  text-decoration: none;
}

.site-menu a:hover,
.site-menu .is-active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.preview-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0.55rem 1rem;
  background: #f2c94c;
  color: #171717;
  font-size: 0.92rem;
}

.preview-bar a {
  font-weight: 700;
}

.hero {
  display: grid;
  align-items: stretch;
  min-height: calc(100vh - 72px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.hero-media {
  min-height: 520px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5.5rem);
  background: linear-gradient(180deg, rgba(34, 40, 52, 0.9), rgba(17, 19, 23, 1));
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 18ch;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 7vw, 6.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.15rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 66ch;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 44px;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.button.primary {
  background: var(--fire);
  color: #180804;
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
}

.button.ghost {
  color: var(--blue);
}

.section {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem);
}

.giveaway-feature {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(242, 107, 47, 0.1), rgba(34, 40, 52, 0.45));
}

.giveaway-feature .split {
  align-items: stretch;
}

.giveaway-feature .split > img {
  height: 100%;
  min-height: 100%;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto 1.5rem;
}

.section-header h1 {
  max-width: 16ch;
  font-size: clamp(2.15rem, 4vw, 4rem);
}

.section-header p {
  max-width: 62ch;
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
}

.grid > * {
  min-width: 0;
}

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

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

.card {
  min-height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-body {
  padding: 1rem;
}

.card-meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.card p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.split img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.content-page {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) 1rem;
}

.content-page h1 {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.content-body {
  color: var(--muted);
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.content-image {
  width: 100%;
  border-radius: 8px;
  margin: 1.5rem 0;
  object-fit: cover;
}

.embed-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 1.5rem 0;
  background: var(--panel);
}

.embed-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

.muted {
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  left: -10000px;
}

.form-panel {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1rem, 4vw, 2rem);
  background: var(--panel);
}

.giveaway-entry-form {
  margin: 1rem 0 0;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.field label {
  color: var(--text);
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem;
  background: #0f1217;
  color: var(--text);
}

.field textarea {
  min-height: 150px;
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.85rem 0;
}

.checkbox-row label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.5rem;
  color: var(--muted);
}

.checkbox-row input {
  margin-top: 0.25rem;
}

.checkbox-row span {
  min-width: 0;
}

.checkbox-row a {
  color: var(--text);
  text-decoration-color: var(--blue);
  text-underline-offset: 0.2em;
}

.notice {
  margin-bottom: 1rem;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  background: rgba(82, 165, 255, 0.14);
  color: var(--text);
}

.notice.error {
  background: rgba(242, 107, 47, 0.17);
}

.legal-expander {
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(82, 165, 255, 0.14);
  color: var(--text);
}

.legal-expander summary {
  cursor: pointer;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-weight: 800;
}

.legal-expander div {
  border-top: 1px solid var(--line);
  padding: 0 1rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.social-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-strip a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0c0e11;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 4rem) 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-links {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.footer-links a {
  display: inline-block;
  color: var(--muted);
  padding: 0.25rem 0;
  text-decoration: none;
}

.fine-print,
.footer-bottom {
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 2rem auto 0;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.coming-soon-page {
  min-height: 100vh;
}

.coming-soon-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}

.coming-soon-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  width: min(1160px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.coming-soon-hero img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.coming-soon-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem);
}

.coming-soon-copy h1 {
  max-width: 10ch;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .site-menu {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.5rem;
    background: var(--panel);
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: flex;
  }

  .hero,
  .coming-soon-hero,
  .split,
  .grid.two,
  .grid.three,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding: clamp(1.5rem, 7vw, 2.5rem);
  }

  .hero-media,
  .coming-soon-hero img {
    min-height: 300px;
  }

  .giveaway-feature .split > img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .section-header,
  .footer-bottom,
  .preview-bar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand small {
    display: none;
  }

  h1 {
    font-size: 2.1rem;
  }

  .hero-copy h1 {
    font-size: 2.45rem;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 2rem 1rem;
  }

  .button-row {
    gap: 0.65rem;
  }

  .social-strip a {
    flex: 1 1 calc(50% - 0.75rem);
    text-align: center;
  }
}
