@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");

:root {
  --bg-primary: #fafafa;
  --bg-secondary: #ffffff;
  --bg-muted: #f0f0f0;
  --bg-panel: #f5f5f5;
  --color-primary: #0a0a0a;
  --color-secondary: #525252;
  --color-muted: #737373;
  --color-dim: #e5e5e5;
  --color-border: #e5e5e5;
  --accent: #0500ff;
  --accent-hover: #0400d4;
  --accent-soft: rgba(5, 0, 255, 0.08);
  --header-height: 70px;
  --container: 1120px;
  --radius-pill: 999px;
  --radius-card: 8px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-primary);
  color: var(--color-primary);
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

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

.page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(5, 0, 255, 0.07), transparent 55%),
    radial-gradient(circle at 90% 10%, rgba(5, 0, 255, 0.04), transparent 35%);
}

.layout {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary);
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 0.75;
}

.logo-link svg {
  width: 105px;
  height: 24px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--color-secondary);
  font-size: 15px;
  transition: color 0.2s ease;
}

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

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--bg-secondary);
  color: var(--color-secondary);
  font-size: 13px;
  white-space: nowrap;
}

.header-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(5, 0, 255, 0.45);
}

.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-secondary);
  font-size: 13px;
  background: var(--bg-secondary);
}

.hero-title {
  margin: 0 auto 20px;
  max-width: 820px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-title-accent {
  color: var(--accent);
}

.hero-subtitle {
  margin: 0 auto 36px;
  max-width: 640px;
  color: var(--color-secondary);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.plasma-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  overflow: hidden;
  isolation: isolate;
  background: var(--accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.plasma-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, #0500ff 0%, #3d38ff 50%, #0500ff 100%);
  background-size: 200% 200%;
  transition: filter 0.2s ease;
}

.plasma-btn:hover::before,
.plasma-btn:focus-visible::before {
  filter: brightness(1.08);
}

.plasma-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(5, 0, 255, 0.28);
}

.plasma-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.plasma-btn-labels {
  position: relative;
  height: 22px;
  overflow: hidden;
}

.plasma-btn-label {
  display: block;
  line-height: 22px;
  transition: transform 0.35s cubic-bezier(0.36, 0.2, 0.07, 1), opacity 0.35s ease;
}

.plasma-btn-label:last-child {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(100%);
}

.plasma-btn:hover .plasma-btn-label:first-child {
  opacity: 0;
  transform: translateY(-100%);
}

.plasma-btn:hover .plasma-btn-label:last-child {
  opacity: 1;
  transform: translateY(0);
}

button.plasma-btn.connect_wallet {
  border: 0;
  cursor: pointer;
  font: inherit;
}

button.plasma-btn.connect_wallet:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-secondary);
  font-size: 14px;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.content-section {
  padding: 24px 0 80px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 24px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-border);
}

.stat-cell {
  padding: 24px 20px;
  background: var(--bg-secondary);
  text-align: center;
}

.stat-value {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
  font-weight: 500;
  color: var(--accent);
}

.stat-label {
  color: var(--color-secondary);
  font-size: 13px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.info-card {
  padding: 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--bg-secondary);
}

.info-card-label {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.info-card-value {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 500;
}

.info-card-desc {
  margin: 0;
  color: var(--color-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.panel {
  padding: 32px;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--bg-muted);
}

.panel-title {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

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

.step {
  padding: 20px;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--bg-secondary);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
}

.step-text {
  margin: 0;
  color: var(--color-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.vote-options {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.vote-option {
  padding: 18px 20px;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--bg-secondary);
}

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

.vote-option-title {
  font-size: 15px;
  font-weight: 500;
}

.vote-option-tag {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  color: var(--color-secondary);
  font-size: 12px;
}

.vote-bar {
  height: 4px;
  border-radius: 999px;
  background: var(--color-dim);
  overflow: hidden;
  margin-bottom: 8px;
}

.vote-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0500ff, #4f4bff);
}

.vote-meta {
  color: var(--color-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.rewards-panel {
  margin-bottom: 24px;
}

.site-footer {
  margin-top: auto;
  padding: 48px 0 32px;
  border-top: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  font-size: 14px;
  color: var(--color-secondary);
}

.footer-giant {
  position: absolute;
  left: 50%;
  bottom: -20%;
  transform: translateX(-50%);
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.06) 5%, rgba(250, 250, 250, 0) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

  .cards-grid,
  .steps {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .hero {
    padding-top: 48px;
  }

  .header-badge {
    display: none;
  }

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