:root {
  --flare: #e62058;
  --flare-dark: #c10f45;
  --ink: #090909;
  --muted: #6f6f6f;
  --muted-dark: #b9b9b9;
  --soft: #f5f2f3;
  --line: #ded8db;
  --line-dark: #2a2a2a;
  --white: #ffffff;
  --green: #18a058;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

button {
  font: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img,
footer img {
  width: 74px;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a,
.secondary {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.wallet-button,
.primary,
.claim-button {
  border: 0;
  color: var(--white);
  background: var(--flare);
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(230, 32, 88, 0.22);
}

.wallet-button:hover,
.primary:hover,
.claim-button:hover,
.option:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px) 52px;
  overflow: hidden;
}

.eyebrow {
  color: var(--flare-dark);
  margin: 0 0 18px;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

h1,
h2 {
  margin: 0;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 860px;
  font-size: clamp(3.7rem, 7.4vw, 7.8rem);
}

h2 {
  max-width: 820px;
  font-size: clamp(2.35rem, 4.6vw, 4.9rem);
}

.lead,
.section-copy p,
.stake-panel > p,
.result p,
.stake-output p,
.step-grid p,
.utility-grid p,
.faq-list p,
.site-footer p {
  color: var(--muted);
  line-height: 1.55;
}

.lead {
  max-width: 640px;
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  margin: 28px 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.primary {
  min-height: 58px;
  padding: 0 30px;
}

.secondary {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  color: var(--flare-dark);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 15%, rgba(230, 32, 88, 0.22), transparent 31%),
    radial-gradient(circle at 86% 82%, rgba(193, 15, 69, 0.16), transparent 28%),
    var(--soft);
  border-radius: 8px;
  overflow: hidden;
}

.hero-visual img {
  width: min(72%, 460px);
  filter: drop-shadow(0 32px 42px rgba(0, 0, 0, 0.16));
}

.terminal-card,
.reward-card,
.mini-card,
.result,
.stake-output,
.utility-grid article,
.step-grid article {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
}

.terminal-card {
  position: absolute;
  inset: 24px 24px auto auto;
  width: min(360px, calc(100% - 48px));
  padding: 18px;
  background: rgba(9, 9, 9, 0.92);
  color: var(--white);
  border-color: var(--line-dark);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.25);
}

.terminal-head,
.terminal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.terminal-head {
  padding-bottom: 14px;
  border-bottom: 1px solid #303030;
}

.terminal-head span,
.terminal-row span {
  color: var(--muted-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.terminal-head strong {
  color: var(--flare);
  font-size: 0.85rem;
}

.terminal-row {
  padding: 14px 0 0;
}

.terminal-row strong {
  text-align: right;
}

.progress-track {
  height: 8px;
  margin-top: 18px;
  border-radius: 999px;
  background: #2a2a2a;
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 18%;
  height: 100%;
  border-radius: inherit;
  background: var(--flare);
}

.reward-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  min-width: 260px;
  padding: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
}

.mini-card {
  position: absolute;
  left: 24px;
  min-width: 160px;
  padding: 17px 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.mini-card.top {
  top: 24px;
  left: 24px;
}

.mini-card.bottom {
  bottom: 24px;
}

.reward-card span,
.mini-card span,
.status-strip span,
.result-label,
.stake-output span,
.step-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reward-card strong {
  display: block;
  margin: 8px 0;
  font-size: 2.2rem;
}

.mini-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.25rem;
}

.reward-card small {
  color: var(--flare-dark);
  font-weight: 800;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.status-strip div {
  min-height: 150px;
  padding: 32px clamp(20px, 4vw, 58px);
  border-right: 1px solid var(--line);
}

.status-strip div:last-child {
  border-right: 0;
}

.status-strip strong {
  display: block;
  margin-top: 16px;
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1;
}

.eligibility,
.flr-section,
.staking,
.steps,
.faqs {
  padding: clamp(64px, 8vw, 118px) clamp(20px, 5vw, 72px);
}

.flr-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: end;
  background: var(--white);
}

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

.utility-grid article {
  min-height: 260px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(230, 32, 88, 0.06), transparent 46%),
    var(--soft);
}

.utility-grid span,
.account-metrics span,
.cycle-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.utility-grid strong {
  display: block;
  margin: 54px 0 12px;
  font-size: 1.42rem;
}

.eligibility {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.eligibility .section-copy p {
  color: #cfcfcf;
}

.checker {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #303030;
  border-radius: 8px;
  background: linear-gradient(160deg, #151515, #070707);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.account-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.account-metrics div {
  padding: 16px;
  border: 1px solid #303030;
  border-radius: 8px;
  background: #101010;
}

.account-metrics strong {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-size: 1.1rem;
}

.wallet-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-dark);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--flare);
  box-shadow: 0 0 0 6px rgba(230, 32, 88, 0.16);
}

.result {
  margin-top: 22px;
  padding: 24px;
  color: var(--ink);
}

.result strong {
  display: block;
  margin-top: 10px;
  font-size: 1.7rem;
}

.wallet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.wide {
  width: 100%;
}

.ghost {
  min-height: 48px;
  border: 1px solid #3d3d3d;
  border-radius: 999px;
  color: var(--white);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.staking {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.stake-panel {
  max-width: 740px;
}

.stake-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 16px;
}

.option {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.option.active {
  border-color: var(--flare);
  color: var(--white);
  background: var(--flare);
}

.stake-output {
  padding: 24px;
}

.stake-output strong {
  display: block;
  margin-top: 10px;
  font-size: 2rem;
}

.claim-button {
  width: 100%;
  min-height: 56px;
  margin-top: 16px;
}

.cycle-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.cycle-panel div {
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.cycle-panel strong {
  display: block;
  margin-top: 16px;
  font-size: 1.35rem;
}

.community-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.steps {
  background: var(--soft);
}

.steps h2 {
  margin-bottom: 36px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-grid article {
  min-height: 220px;
  padding: 24px;
}

.step-grid strong {
  display: block;
  margin: 42px 0 10px;
  font-size: 1.45rem;
}

.faqs {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
  background: var(--white);
}

.faq-heading {
  position: sticky;
  top: 110px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  overflow: hidden;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 0 22px;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--white);
  background: var(--flare);
  font-weight: 900;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 22px 24px;
}

.site-footer {
  padding: 54px clamp(20px, 5vw, 72px) 28px;
  background: var(--ink);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.35fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
  padding-bottom: 38px;
  border-bottom: 1px solid #2c2c2c;
}

.footer-brand {
  max-width: 640px;
}

.footer-brand p {
  margin: 22px 0 0;
  color: #cccccc;
  font-size: 1.05rem;
}

.footer-links {
  display: grid;
  justify-items: end;
}

.footer-links strong {
  display: block;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links a {
  display: block;
  width: fit-content;
  margin: 10px 0;
  color: #cccccc;
  text-decoration: none;
  font-weight: 800;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 24px;
}

.footer-bottom p {
  margin: 0;
  color: #cccccc;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #343434;
  border-radius: 999px;
  color: var(--white);
  background: #141414;
  text-decoration: none;
}

.social-icons a:hover {
  border-color: var(--flare);
  background: var(--flare);
}

.social-icons svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .hero,
  .eligibility,
  .flr-section,
  .staking,
  .faqs {
    grid-template-columns: 1fr;
  }

  .faq-heading {
    position: static;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
  }

  .community-image {
    max-height: 520px;
  }

  .status-strip,
  .utility-grid,
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .hero {
    overflow: visible;
    padding-top: 36px;
  }

  .site-header {
    padding: 14px 16px;
    gap: 12px;
  }

  .brand img {
    width: 68px;
  }

  .wallet-button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  h1 {
    font-size: clamp(2.45rem, 11.5vw, 3.75rem);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(1.9rem, 8.6vw, 2.85rem);
    line-height: 1.1;
  }

  .hero-visual {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    padding: 16px;
    overflow: visible;
  }

  .hero-visual img {
    order: 2;
    width: min(86%, 320px);
    margin: 10px auto;
  }

  .reward-card {
    position: static;
    order: 3;
    width: 100%;
    min-width: 0;
    box-shadow: none;
  }

  .terminal-card {
    position: static;
    order: 1;
    width: 100%;
    box-shadow: none;
  }

  .mini-card {
    position: static;
    order: 4;
    width: 100%;
    min-width: 128px;
    padding: 14px;
    box-shadow: none;
  }

  .mini-card.top {
    display: none;
  }

  .mini-card.bottom {
    display: block;
  }

  .status-strip,
  .utility-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .account-metrics,
  .cycle-panel {
    grid-template-columns: 1fr;
  }

  .status-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .wallet-actions {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-items: start;
  }

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

  .footer-links {
    grid-template-columns: 1fr;
  }
}
