:root {
  --blue: #4c65ff;
  --blue-deep: #3148d4;
  --ink: #192945;
  --muted: #6d7c90;
  --faint: #8e9aab;
  --line: #e4e9f2;
  --page: #f3f5fb;
  --card: #ffffff;
  --mark: #d5defe;
  --magenta: #d63d78;
  --green: #1fa971;
  --cyan: #2f6bff;
  --violet: #6d4aff;
  --phone: #171a24;
  --font: "Lato", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
}

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

button,
a {
  font-family: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 245, 251, 0.92);
  backdrop-filter: blur(10px);
}

.header-inner {
  height: 76px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  height: 28px;
  width: auto;
}

.header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 10px 22px;
}

.btn-primary:hover {
  background: var(--blue-deep);
}

.btn-outline {
  background: #fff;
  color: var(--blue);
  border-color: #c5ceff;
  padding: 12px 26px;
}

.btn-outline:hover {
  border-color: var(--blue);
  background: #f7f8ff;
}

.btn-hero {
  min-width: 220px;
  padding: 14px 28px;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(76, 101, 255, 0.08);
}

.btn-hero img {
  width: 22px;
  height: 22px;
}

.btn-block {
  width: 100%;
  margin-top: 10px;
  padding: 13px 18px;
}

.btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.hero {
  padding: 54px 20px 8px;
  text-align: center;
}

.hero-follow {
  padding: 8px 20px 0;
}

.hero-mascot {
  width: 84px;
  height: auto;
  margin: 0 auto 22px;
}

.hero h1 {
  margin: 0 auto 28px;
  max-width: 720px;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hl {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.hl::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.06em;
  right: -0.06em;
  top: 22%;
  bottom: 0.06em;
  border-radius: 8px;
  background: var(--mark);
}

.hero-note {
  margin: 22px 0 14px;
  color: var(--faint);
  font-size: 14px;
  font-weight: 700;
}

.platform-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-row img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.35);
  opacity: 0.8;
}

.statement {
  padding: 72px 20px 28px;
  text-align: center;
}

.statement h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.how {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rail {
  display: flex;
  justify-content: safe center;
  gap: 18px;
  width: 100%;
  overflow-x: auto;
  padding: 18px 20px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

.shot {
  flex: 0 0 292px;
  scroll-snap-align: start;
  border-radius: 28px;
  padding: 22px 16px 16px;
}

.shot h3 {
  margin: 0 0 16px;
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.shot-magenta { background: var(--magenta); }
.shot-green { background: var(--green); }
.shot-blue { background: var(--cyan); }
.shot-violet { background: var(--violet); }

.phone {
  min-height: 320px;
  padding: 18px 16px 16px;
  border-radius: 18px;
  background: var(--phone);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.phone-kicker {
  margin: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #c5ccda;
}

.phone-url,
.phone-status {
  margin: 14px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.phone-url {
  color: #9aa3b8;
}

.phone-status {
  color: #7dffa8;
}

.phone-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.phone-list span {
  color: #9aa3b8;
}

.phone-list strong {
  font-weight: 700;
}

.phone-list .ok {
  color: #7dffa8;
}

.phone-actions {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.phone-btn {
  display: block;
  text-align: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: #8ea0ff;
  color: #1a1d3a;
  font-size: 14px;
  font-weight: 900;
}

.phone-btn-ghost {
  background: transparent;
  color: #d5dbeb;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.phone-note {
  margin: 18px 0 0;
  color: #9aa3b8;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.phone-success {
  margin-top: 28px;
  text-align: center;
}

.phone-success .check {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2abb7f;
  position: relative;
  margin-bottom: 12px;
}

.phone-success .check::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  width: 8px;
  height: 14px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.phone-success strong,
.phone-success span {
  display: block;
}

.phone-success strong {
  font-size: 15px;
}

.phone-success span {
  margin-top: 4px;
  color: #9aa3b8;
  font-size: 12px;
}

.dates {
  margin: 18px auto 0;
  padding: 0 20px;
  text-align: center;
  color: var(--faint);
  font-size: 14px;
  font-weight: 700;
}

.pool {
  padding: 8px 20px 8px;
}

.pool-card {
  width: min(880px, 100%);
  margin: 0 auto;
  padding: 32px 32px 24px;
  background: var(--card);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(25, 41, 69, 0.06);
}

.pool-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1fr);
  gap: 32px;
  align-items: end;
}

.pool-kicker {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.pool-head h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pool-lead {
  margin: 0;
  max-width: 360px;
  justify-self: end;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.pool-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef1ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.pool-live .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2abb7f;
}

.pool-total {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 28px;
}

.pool-total strong {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.pool-total span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.pool-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0 18px;
}

.pool-facts div {
  min-width: 0;
  padding: 14px 16px 16px;
  border-radius: 16px;
  background: #f4f6fb;
}

.pool-facts dt {
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pool-facts dd {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 900;
}

.pool-connect {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pool-connect .wallet-field {
  flex: 1;
  margin: 0;
}

.pool-connect .btn {
  flex-shrink: 0;
  padding: 14px 22px;
}

.wallet-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin-bottom: 8px;
  padding: 12px 14px;
  border: 1px solid #e6ebf5;
  border-radius: 999px;
  background: #f7f8fc;
  color: var(--faint);
  font-size: 14px;
}

.wallet-field.connected {
  border-style: solid;
  border-color: #b7ebcf;
  background: #f3fbf7;
  color: var(--ink);
}

.wallet-field .address {
  font-family: ui-monospace, monospace;
  font-size: 13px;
}

.status-pill {
  margin-left: auto;
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eceffe;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.wallet-field.connected .status-pill {
  background: #e5f8ee;
  color: #1b8f5a;
}

.claim-later {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--faint);
  font-size: 14px;
  font-weight: 700;
  cursor: default;
}

.claim-later.is-ready {
  color: var(--blue);
  cursor: pointer;
}

.eligibility-result {
  display: none;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}

.eligibility-result.is-visible {
  display: block;
}

.eligibility-result.ok {
  background: #e9f8f0;
  color: #157a4b;
}

.eligibility-result.pending {
  background: #fff6e8;
  color: #9a6410;
}

.disclaimer {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.45;
}

.site-footer {
  padding: 28px 20px 40px;
}

.footer-inner {
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact-row {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 18px;
}

.contact-row img {
  width: 22px;
  height: 22px;
}

.footer-links,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.footer-links {
  margin-bottom: 12px;
}

.footer-links a,
.footer-legal a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--blue);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(25, 41, 69, 0.45);
}

.modal-backdrop.is-open {
  display: flex;
}

.modal {
  position: relative;
  width: min(420px, 100%);
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.modal h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
}

.modal > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 720px) {
  .header-inner {
    width: calc(100% - 28px);
  }

  .header-actions .btn-primary {
    padding: 8px 12px;
    font-size: 13px;
  }

  .brand img {
    height: 24px;
  }

  .rail {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 36px;
  }

  .pool-card {
    padding: 22px 18px 18px;
  }

  .pool-head,
  .pool-connect {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .pool-lead {
    max-width: none;
    justify-self: auto;
  }

  .pool-total {
    flex-wrap: wrap;
    margin-top: 20px;
  }

  .pool-facts {
    grid-template-columns: 1fr 1fr;
  }

  .pool-connect .btn {
    width: 100%;
  }

  .hero h1 br {
    display: none;
  }

  .statement {
    padding-top: 48px;
  }

  .shot {
    flex-basis: 78vw;
  }
}
