@import url("https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,500;0,600;0,700;1,400&family=League+Spartan:wght@400;500;600;700&display=swap");

:root {
  --cream: #faf8f0;
  --cream-deep: #f3efe4;
  --white: #ffffff;
  --copy: #1a1523;
  --copy-secondary: #5c5668;
  --copy-muted: #8a8494;
  --purple: #655ea8;
  --purple-dark: #524b8a;
  --purple-light: #8b84c9;
  --purple-glow: rgba(101, 94, 168, 0.22);
  --gold: #ffe175;
  --border: rgba(26, 21, 35, 0.08);
  --border-strong: rgba(26, 21, 35, 0.12);
  --hero-top-offset: 128px;
  --hero-bottom-offset: 72px;
  --font-display: "Crimson Pro", Georgia, serif;
  --font-body: "League Spartan", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--copy-secondary);
  -webkit-font-smoothing: antialiased;
}

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

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

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 50% at 50% -8%, rgba(101, 94, 168, 0.12), transparent 58%),
    radial-gradient(circle at 88% 15%, rgba(139, 132, 201, 0.1), transparent 28%),
    linear-gradient(180deg, #fcfcfc 0%, var(--cream) 48%, var(--cream-deep) 100%);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(rgba(101, 94, 168, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 72% 55% at 50% 22%, black 18%, transparent 74%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.48;
  animation: float 15s ease-in-out infinite;
}

.orb-1 {
  width: 440px;
  height: 440px;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(101, 94, 168, 0.18);
}

.orb-2 {
  width: 300px;
  height: 300px;
  bottom: 10%;
  right: 5%;
  background: rgba(255, 225, 117, 0.14);
  animation-delay: -6s;
}

.orb-3 {
  width: 220px;
  height: 220px;
  bottom: 22%;
  left: 3%;
  background: rgba(139, 132, 201, 0.14);
  animation-delay: -10s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(14px);
  }
}

.layout {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.section-container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.top-banner {
  background: var(--purple);
  color: #fff;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.top-banner span {
  opacity: 0.85;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(24px);
  background: rgba(250, 248, 240, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav-shell {
  max-width: 1280px;
  margin-inline: auto;
  padding: 1.1rem 1.5rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo svg {
  height: 34px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  margin-left: 1.5rem;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--copy-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--purple);
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-badge {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-dark);
  background: rgba(101, 94, 168, 0.1);
  border: 1px solid rgba(101, 94, 168, 0.16);
}

main {
  flex: 1;
}

.hero {
  position: relative;
  min-height: calc(100dvh - 52px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--hero-top-offset) 1.5rem var(--hero-bottom-offset);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
  padding: 0.45rem 0.9rem 0.45rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
  color: var(--copy-muted);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 12px var(--purple-glow);
}

.gradient-text,
.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 860px;
  color: var(--copy);
}

.hero-subtitle {
  margin: 1.25rem auto 0;
  max-width: 620px;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  font-weight: 500;
  color: var(--copy-secondary);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn-wrapper {
  display: inline-flex;
}

.btn-primary,
.btn-defi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  color: #fff;
  background: var(--purple);
  box-shadow: 0 8px 28px var(--purple-glow);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-defi:hover {
  transform: translateY(-1px);
  background: var(--purple-dark);
  box-shadow: 0 12px 32px rgba(101, 94, 168, 0.28);
}

.btn-primary svg,
.btn-defi svg {
  width: 16px;
  height: 16px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--copy);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-strong);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.btn-outline:hover {
  border-color: rgba(101, 94, 168, 0.35);
  box-shadow: 0 4px 18px rgba(101, 94, 168, 0.08);
}

.connect_wallet {
  appearance: none;
  -webkit-appearance: none;
}

.content-section {
  padding: 0 1.5rem 5rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.stat-card {
  padding: 1.1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  text-align: left;
}

.stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--copy-muted);
}

.stat-value {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--copy);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.info-card {
  padding: 1.35rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(26, 21, 35, 0.03);
}

.info-card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--copy-muted);
  margin-bottom: 0.65rem;
}

.info-card-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--copy);
}

.info-card-desc {
  margin-top: 0.5rem;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--copy-secondary);
}

.panel {
  margin-top: 1.25rem;
  padding: 1.5rem;
  border-radius: 1.125rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 36px rgba(26, 21, 35, 0.04);
}

.panel-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--copy);
}

.steps {
  display: grid;
  gap: 0.85rem;
}

.step {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--purple);
}

.step-text {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--copy-secondary);
}

.vote-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.vote-option {
  padding: 1.2rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  text-align: left;
}

.vote-option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.vote-option-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--copy);
}

.vote-option-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  color: var(--purple-dark);
  background: rgba(101, 94, 168, 0.1);
  border: 1px solid rgba(101, 94, 168, 0.16);
}

.vote-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(26, 21, 35, 0.06);
  overflow: hidden;
}

.vote-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple-dark), var(--purple-light));
}

.vote-meta {
  margin-top: 0.55rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--copy-muted);
}

.trust-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  color: var(--copy-muted);
  font-size: 13px;
  font-weight: 600;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.75;
}

.partner-row,
.feature-row {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--copy-muted);
}

.footer {
  padding: 2rem 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.55);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--copy);
  max-width: 320px;
}

.footer-copy {
  font-size: 14px;
  font-weight: 500;
  color: var(--copy-muted);
}

.rewards-hero {
  min-height: auto;
  padding-top: calc(var(--hero-top-offset) + 0.5rem);
  padding-bottom: 2rem;
}

.rewards-hero .hero-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}

.rewards-panel {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-badge {
    display: inline-flex;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
