:root {
  color-scheme: dark;
  --bg-900: #130f0b;
  --bg-800: #1e1710;
  --bg-700: #2c2117;
  --text: #fff8e8;
  --text-soft: #e8dab9;
  --muted: #d0b887;
  --green: #8dcf4f;
  --green-deep: #264617;
  --gold: #f2b562;
  --gold-deep: #8f5a1f;
  --line: rgba(255, 248, 232, 0.18);
  --surface: rgba(19, 15, 11, 0.8);
  --surface-strong: rgba(32, 24, 18, 0.94);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #281c14 0%, #19120d 58%, #120e0a 100%);
  overflow-x: hidden;
}

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

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(14, 10, 7, 0.64), rgba(14, 10, 7, 0.9)),
    url("art/1500x500.jpg") center top / cover no-repeat;
  transform: scale(1.06);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.3) 1px, transparent 0),
    radial-gradient(circle at 2px 2px, rgba(255, 196, 93, 0.25) 1px, transparent 0);
  background-size: 3px 3px, 5px 5px;
  mix-blend-mode: soft-light;
}

.page {
  width: min(980px, 100% - 28px);
  margin: 0 auto;
  padding-bottom: 72px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 248, 232, 0.14);
  backdrop-filter: blur(12px);
  background: rgba(17, 12, 8, 0.76);
  border-radius: 0 0 16px 16px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.nav {
  display: none;
  align-items: center;
  gap: 6px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  font-size: 0.84rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  border-radius: 999px;
  padding: 9px 13px;
}

.nav a:hover,
.nav a.is-active {
  color: #fff;
  background: rgba(255, 186, 94, 0.24);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn.solid {
  background: linear-gradient(135deg, var(--gold) 0%, #ffcf87 100%);
  color: #2d1b0b;
  border-color: rgba(255, 207, 135, 0.7);
}

.btn.ghost {
  background: rgba(255, 248, 232, 0.06);
  border-color: var(--line);
  color: var(--text);
}

.icon-button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 232, 0.05);
}

.icon-button span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.icon-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.icon-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.icon-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 16px 14px;
  border-top: 1px solid rgba(255, 248, 232, 0.1);
}

.mobile-menu.hidden {
  display: none;
}

.mobile-menu a {
  padding: 10px 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-soft);
}

.hero {
  padding-top: 26px;
  display: grid;
  gap: 14px;
  scroll-margin-top: 100px;
}

.hero-banner {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 224, 173, 0.5);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 3 / 1;
}

.hero-content {
  margin-top: 0;
  position: relative;
  z-index: 1;
  background: var(--surface-strong);
  border: 1px solid rgba(255, 214, 146, 0.28);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2 {
  font-family: "Archivo Black", sans-serif;
  margin: 0;
  letter-spacing: 0.02em;
}

h1 {
  margin-top: 8px;
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  color: #fff3cf;
  text-shadow: 0 0 24px rgba(242, 181, 98, 0.35);
}

.hero-sub {
  margin: 14px 0 0;
  font-size: clamp(1.01rem, 2vw, 1.1rem);
  line-height: 1.65;
  color: #f8edcf;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ca-card {
  margin-top: 20px;
  border: 1px solid rgba(149, 214, 79, 0.42);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(29, 47, 18, 0.66), rgba(20, 33, 13, 0.74));
  padding: 12px;
}

.ca-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cae8a6;
}

.ca-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.ca-row code {
  min-width: 0;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(211, 236, 178, 0.32);
  background: rgba(7, 15, 2, 0.6);
  color: #e8ffd1;
  padding: 12px 13px;
  font-size: 0.82rem;
  line-height: 1.45;
  word-break: break-all;
}

.ca-copy {
  border: 1px solid rgba(233, 255, 206, 0.5);
  background: rgba(141, 207, 79, 0.24);
  color: #efffd8;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.ca-copy.is-success {
  background: rgba(242, 181, 98, 0.2);
  border-color: rgba(242, 181, 98, 0.7);
}

.section {
  margin-top: 44px;
  display: grid;
  gap: 14px;
  scroll-margin-top: 110px;
}

.section-head {
  margin-bottom: 16px;
  max-width: 760px;
}

h2 {
  margin-top: 8px;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  color: #fff3cf;
}

.announcement {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  background: var(--surface);
  border: 1px solid rgba(255, 224, 173, 0.22);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.announcement img {
  width: min(220px, 70vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 3px solid rgba(255, 216, 160, 0.55);
  justify-self: center;
}

.announcement-copy p {
  margin: 0;
  color: #f3e4c1;
  font-size: 1.03rem;
  line-height: 1.72;
}

.video-card {
  background: var(--surface);
  border: 1px solid rgba(255, 224, 173, 0.22);
  border-radius: var(--radius-lg);
  padding: 12px;
}

.video-card video {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255, 224, 173, 0.35);
  box-shadow: var(--shadow);
}

.allocation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.allocation-card {
  background: linear-gradient(180deg, rgba(255, 189, 99, 0.2), rgba(255, 189, 99, 0.05));
  border: 1px solid rgba(255, 211, 144, 0.4);
  border-radius: 18px;
  padding: 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.allocation-number {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2rem, 8vw, 3.2rem);
  color: #fff5d9;
}

.allocation-label {
  margin: 4px 0 0;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.cta-card {
  width: 100%;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(122, 193, 53, 0.18), rgba(255, 188, 97, 0.2));
  border: 1px solid rgba(220, 241, 186, 0.4);
  padding: 24px;
}

.cta-card p {
  margin: 12px 0 0;
  color: #fff0cb;
  line-height: 1.6;
}

.status-line {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  word-break: break-all;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 56px;
  border-top: 1px solid rgba(255, 248, 232, 0.15);
  padding-top: 18px;
}

.footer-word {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-links a {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-soft);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 860px) {
  .topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 16px 20px;
  }

  .logo {
    justify-self: start;
  }

  .nav {
    display: flex;
    justify-self: center;
  }

  .actions {
    justify-self: end;
  }

  .icon-button {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero-content {
    padding: 30px;
  }

  .announcement {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
    padding: 22px;
  }
}

@media (max-width: 740px) {
  .actions .btn.ghost {
    display: none;
  }

  .actions .btn.solid {
    padding: 0 11px;
    font-size: 0.66rem;
  }

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

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