:root {
  color-scheme: light;
  --bg: #0c1220;
  --bg-deep: #121d35;
  --bg-accent: #19243f;
  --panel: rgba(245, 248, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --panel-soft: rgba(255, 255, 255, 0.06);
  --ink: #f6f8ff;
  --muted: rgba(237, 241, 255, 0.72);
  --line: rgba(255, 255, 255, 0.13);
  --brand: #8be1ff;
  --brand-warm: #ff8f70;
  --brand-ink: #07111d;
  --success: #88f2bd;
  --error: #ffb09c;
  --shadow: 0 30px 80px rgba(0, 7, 18, 0.45);
  --blur: blur(28px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(139, 225, 255, 0.14), transparent 26%),
    radial-gradient(circle at 80% 18%, rgba(255, 143, 112, 0.18), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(111, 152, 255, 0.16), transparent 34%),
    linear-gradient(145deg, var(--bg), var(--bg-deep) 52%, var(--bg-accent));
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at center, transparent, rgba(3, 8, 18, 0.22));
  mix-blend-mode: screen;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.8;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite;
}

.bg-orb-a {
  top: -100px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(139, 225, 255, 0.32), transparent 70%);
}

.bg-orb-b {
  right: -60px;
  bottom: 40px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 143, 112, 0.28), transparent 70%);
  animation-duration: 19s;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  opacity: 0.22;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 38px 0 64px;
}

.glass {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
}

.glass-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
}

.glass-hero,
.glass-form {
  position: relative;
  overflow: hidden;
}

.glass-hero::before,
.glass-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 45%, rgba(139, 225, 255, 0.08));
  pointer-events: none;
}

.eyebrow,
h1,
.steps,
button,
.status-pill,
.section-kicker {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.9fr);
  gap: 26px;
  margin-bottom: 26px;
  padding: 30px;
  border-radius: 34px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.9rem, 6vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.lede {
  max-width: 44rem;
  margin: 20px 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.steps span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.hero-metrics {
  display: grid;
  gap: 12px;
  align-content: end;
}

.metric-card,
.info-card {
  border-radius: 24px;
  padding: 18px 18px 16px;
}

.metric-card strong,
.info-card h3,
.panel-head h2 {
  display: block;
  margin: 0;
  font-size: 1.05rem;
}

.metric-card p,
.info-card p,
.info-list {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.redeem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: 24px;
}

.panel {
  border-radius: 32px;
  padding: 26px;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(139, 225, 255, 0.88);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(139, 225, 255, 0.18);
  border-radius: 999px;
  background: rgba(139, 225, 255, 0.08);
  color: #d7f7ff;
  font-size: 0.84rem;
  white-space: nowrap;
}

.redeem-form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  font-size: 0.92rem;
  color: var(--muted);
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field-hint {
  font-size: 0.82rem;
  color: rgba(237, 241, 255, 0.5);
  line-height: 1.5;
}

.field-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(139, 225, 255, 0.08);
  border: 1px solid rgba(139, 225, 255, 0.18);
  color: #d7f7ff;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: none;
}

.field-action-button:hover {
  box-shadow: none;
  transform: none;
  background: rgba(139, 225, 255, 0.14);
}

input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

input::placeholder {
  color: rgba(237, 241, 255, 0.34);
}

input:focus {
  outline: 2px solid rgba(139, 225, 255, 0.15);
  border-color: rgba(139, 225, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

button {
  position: relative;
  border: 0;
  border-radius: 20px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand-warm));
  color: var(--brand-ink);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    box-shadow 180ms ease;
  box-shadow: 0 14px 34px rgba(88, 188, 255, 0.24);
}

button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 40%);
  pointer-events: none;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(88, 188, 255, 0.34);
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.result {
  margin-top: 18px;
  border-radius: 20px;
  padding: 16px 18px;
  line-height: 1.7;
}

.result.success {
  background: rgba(136, 242, 189, 0.09);
  border: 1px solid rgba(136, 242, 189, 0.18);
  color: var(--success);
}

.result.error {
  background: rgba(255, 176, 156, 0.08);
  border: 1px solid rgba(255, 176, 156, 0.2);
  color: var(--error);
}

.side-stack {
  display: grid;
  gap: 18px;
}

.info-list {
  padding-left: 18px;
}

.info-list li + li {
  margin-top: 8px;
}

.info-link {
  color: #d7f7ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(215, 247, 255, 0.35);
  transition:
    color 160ms ease,
    border-color 160ms ease,
    opacity 160ms ease;
}

.info-link:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

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

  50% {
    transform: translate3d(12px, -18px, 0) scale(1.04);
  }
}

@media (max-width: 920px) {
  .hero,
  .redeem-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 24px;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .shell {
    padding-top: 28px;
  }

  .panel {
    padding: 18px;
    border-radius: 22px;
  }

  .hero {
    padding: 18px;
    border-radius: 24px;
  }

  .panel-head {
    flex-direction: column;
  }

  .status-pill {
    white-space: normal;
  }
}
