:root {
  color-scheme: light dark;
  --bg: #0c1018;
  --panel: #111827;
  --panel-border: #243042;
  --panel-soft: #0f172a;
  --text: #edf2f7;
  --muted: #9fb0c3;
  --accent: #6ee7b7;
  --accent-strong: #34d399;
  --button-text: #071018;
  --shadow: 0 20px 48px rgba(2, 8, 23, 0.32);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: linear-gradient(180deg, #09101a 0%, #0d1420 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  line-height: 1.55;
}

a {
  color: #9fdcff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.topbar,
.hero,
.band,
.site-footer {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 14px 20px;
  border-radius: 8px;
}

.topbar-brand,
.topbar-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar-brand span {
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr);
  gap: 28px;
  padding: 28px;
  border-radius: 8px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-media {
  position: relative;
  display: flex;
  min-height: 360px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 46%, rgba(44, 53, 63, 0.92) 0%, rgba(17, 22, 30, 0.96) 44%, rgba(7, 11, 18, 1) 100%),
    linear-gradient(160deg, rgba(7, 14, 24, 0.96) 0%, rgba(9, 18, 31, 0.88) 48%, rgba(17, 40, 48, 0.86) 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 44px rgba(4, 11, 22, 0.42);
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -10% -35%;
  background:
    linear-gradient(110deg,
      rgba(110, 231, 183, 0) 24%,
      rgba(110, 231, 183, 0.14) 39%,
      rgba(159, 220, 255, 0.32) 50%,
      rgba(110, 231, 183, 0.12) 58%,
      rgba(110, 231, 183, 0) 74%);
  transform: translateX(-38%) skewX(-14deg);
  opacity: 0.9;
  animation: hero-sweep 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(216, 244, 255, 0.18) 0%, rgba(216, 244, 255, 0.02) 24%, rgba(12, 19, 31, 0.16) 100%),
    linear-gradient(90deg, rgba(110, 231, 183, 0.16) 0%, rgba(110, 231, 183, 0) 26%, rgba(159, 220, 255, 0.08) 72%, rgba(159, 220, 255, 0.18) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  filter: saturate(1.06) contrast(1.08) brightness(0.98);
  transform-origin: center center;
  animation: hero-float 8s ease-in-out infinite;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 50px rgba(3, 9, 19, 0.38);
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

h2 {
  font-size: 1.45rem;
}

h3 {
  font-size: 1rem;
}

.lede {
  max-width: 62ch;
  color: #dce7f3;
  font-size: 1.05rem;
}

.notice,
.statement {
  color: #d7e2ee;
}

.action-row,
.link-stack,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--button-text);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-strong);
  text-decoration: none;
}

.button.button-secondary {
  background: rgba(110, 231, 183, 0.08);
  border-color: rgba(110, 231, 183, 0.32);
  color: #dffef2;
}

.button.button-secondary:hover {
  background: rgba(110, 231, 183, 0.14);
}

.content {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

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

.stat-chip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(11, 18, 31, 0.84);
  box-shadow: var(--shadow);
}

.stat-chip span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.stat-chip strong {
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.band {
  border-radius: 8px;
  padding: 24px;
}

.claim-band {
  padding: 0;
  overflow: hidden;
}

.claim-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background:
    radial-gradient(circle at 10% 10%, rgba(110, 231, 183, 0.12), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(159, 220, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(12, 19, 32, 0.98) 0%, rgba(9, 15, 26, 0.98) 100%);
}

.claim-note,
.field-help,
.claim-status {
  color: var(--muted);
}

.claim-proof {
  margin-top: 18px;
}

.claim-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}

.claim-form label {
  font-weight: 700;
}

.claim-form input {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(5, 10, 18, 0.9);
  color: var(--text);
  font: inherit;
}

.claim-form input:focus {
  outline: 2px solid rgba(110, 231, 183, 0.72);
  outline-offset: 2px;
  border-color: rgba(110, 231, 183, 0.72);
}

.claim-form input[aria-invalid="true"] {
  border-color: #f87171;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

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

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

.panel {
  min-width: 0;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 18, 31, 0.95) 100%);
  padding: 18px;
}

.overview-card,
.venue-card,
.action-card,
.statement-card,
.route-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.route-card {
  color: var(--text);
  text-decoration: none;
}

.route-card:hover {
  text-decoration: none;
  border-color: rgba(110, 231, 183, 0.36);
  box-shadow: 0 22px 50px rgba(2, 8, 23, 0.42);
}

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

.topbar-links a,
.footer-links a {
  white-space: nowrap;
}

.token-table {
  display: grid;
  gap: 12px;
}

.token-table div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.token-table div:first-child {
  padding-top: 0;
  border-top: 0;
}

dt {
  color: var(--muted);
  font-weight: 600;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  border-radius: 8px;
  padding: 18px 24px;
}

.site-footer span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

@keyframes hero-float {
  0%,
  100% {
    transform: scale(1) translate3d(0, 0, 0);
  }

  50% {
    transform: scale(1.025) translate3d(0, -6px, 0);
  }
}

@keyframes hero-sweep {
  0% {
    transform: translateX(-48%) skewX(-14deg);
    opacity: 0.18;
  }

  18% {
    opacity: 0.72;
  }

  52% {
    transform: translateX(12%) skewX(-14deg);
    opacity: 0.82;
  }

  80% {
    opacity: 0.28;
  }

  100% {
    transform: translateX(42%) skewX(-14deg);
    opacity: 0.12;
  }
}

@media (max-width: 960px) {
  .hero,
  .overview-grid,
  .overview-grid-three,
  .link-grid,
  .stat-strip {
    grid-template-columns: 1fr;
  }

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

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

  .token-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding: 12px 0 24px;
  }

  .hero,
  .band,
  .site-footer {
    padding: 18px;
  }

  .hero-media,
  .hero-media img {
    min-height: 240px;
  }

  .hero-media img {
    min-height: 240px;
  }

  h1 {
    font-size: 2rem;
  }

  .button,
  .button.button-secondary {
    width: 100%;
  }
}
