:root {
  --bg: #050816;
  --bg-alt: #090b1f;
  --panel: #0d1024;
  --card: #111325;
  --card-soft: #181b34;
  --accent: #f72585;
  --accent-2: #4cc9f0;
  --accent-3: #4361ee;
  --text: #f8f9ff;
  --muted: #a3aed0;
  --border-soft: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.16);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
}

.is-hidden {
  display: none !important;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 0% 0%, #3a0ca3 0, transparent 55%),
    radial-gradient(1000px 600px at 100% 0%, #b5179e 0, transparent 55%),
    radial-gradient(1400px 800px at 50% 100%, #4895ef 0, #050816 60%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
}

.announcement {
  padding: 10px 16px;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(76, 201, 240, 0.14);
  color: rgba(226, 232, 255, 0.85);
  border-bottom: 1px solid rgba(76, 201, 240, 0.25);
}

.wrap {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* ===== Topbar / Nav ===== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(135deg, rgba(18, 14, 40, 0.95), rgba(88, 28, 135, 0.78));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.brand__name {
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a.is-toast {
  color: var(--accent);
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 255, 0.25);
  background: rgba(8, 12, 32, 0.78);
  color: #f8f9ff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(6, 10, 32, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 52px rgba(6, 10, 32, 0.58);
}

.btn:focus-visible {
  outline: 2px solid rgba(76, 201, 240, 0.7);
  outline-offset: 3px;
}

.btn--primary {
  border-color: #5f4cf2;
  background: linear-gradient(135deg, #5f4cf2 0%, #8b6dfb 100%);
  box-shadow: 0 24px 52px rgba(74, 46, 180, 0.45);
  color: #ffffff;
}

.btn--primary:hover {
  box-shadow: 0 32px 72px rgba(74, 46, 180, 0.6);
}

.btn--ghost {
  background: rgba(5, 8, 22, 0.7);
  border-color: rgba(148, 163, 255, 0.35);
  color: rgba(224, 232, 255, 0.9);
}

.btn--ghost:hover {
  background: rgba(11, 15, 34, 0.92);
  border-color: rgba(76, 201, 240, 0.55);
  color: #ffffff;
}

.btn--soft {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(148, 163, 255, 0.25);
  color: rgba(226, 232, 255, 0.92);
}

.btn--soft:hover {
  background: rgba(30, 64, 175, 0.85);
  border-color: rgba(148, 163, 255, 0.45);
  color: #ffffff;
}

.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  font-size: 0.95rem;
}

.btn--primary .btn__icon {
  color: #050816;
}

.btn__label {
  display: inline-flex;
  align-items: center;
}

.btn--sm {
  padding: 6px 10px;
  font-size: 0.82rem;
  border-radius: 10px;
}

.btn--sm .btn__icon {
  width: 22px;
  height: 22px;
  font-size: 0.8rem;
}

/* Wallet badge */

.wallet-addr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-soft);
  color: #e2e8f0;
  font-weight: 700;
  font-family: ui-monospace, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.2px;
}

.token-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(10, 13, 32, 0.9);
}

.token-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.token-card--link:hover .token-card__media img {
  transform: scale(1.04);
}

.token-card__chip-row {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.token-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(76, 201, 240, 0.24);
  border: 1px solid rgba(76, 201, 240, 0.45);
  color: #d9f2ff;
  backdrop-filter: blur(4px);
}

.token-chip--accent {
  background: rgba(247, 37, 133, 0.26);
  border-color: rgba(247, 37, 133, 0.6);
  color: #ffe1f3;
}

.token-copy {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 255, 0.45);
  background: rgba(8, 12, 30, 0.82);
  color: #e0f2fe;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.token-copy:hover {
  transform: translateY(-1px);
  background: rgba(12, 18, 46, 0.9);
}

.token-copy.success {
  background: rgba(34, 197, 94, 0.32);
  border-color: rgba(34, 197, 94, 0.6);
  color: #ecfdf5;
}

.token-card--link {
  cursor: pointer;
}

.token-card--link:focus-visible {
  outline: 2px solid rgba(76, 201, 240, 0.9);
  outline-offset: 4px;
}

.btn--claim .badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.75rem;
  line-height: 1;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(30%);
}

@keyframes ring {
  0% {
    box-shadow: 0 0 0 0 rgba(247, 37, 133, 0.55);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(247, 37, 133, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(247, 37, 133, 0);
  }
}

/* ===== Hero ===== */

.hero {
  position: relative;
  padding: 110px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 10% 0%, rgba(67, 97, 238, 0.45), transparent 55%),
    radial-gradient(900px 520px at 90% 0%, rgba(247, 37, 133, 0.4), transparent 55%),
    linear-gradient(140deg, rgba(5, 8, 22, 0.95) 0%, rgba(12, 18, 42, 0.9) 40%, rgba(33, 12, 58, 0.85) 95%);
  filter: saturate(1.1);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 40% at 50% 20%, rgba(255, 255, 255, 0.08), transparent 70%);
  opacity: 0.2;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero__wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: flex-start;
}

.hero__head {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero__eyebrow {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(204, 224, 255, 0.72);
}

.hero__title {
  margin: 0;
  font-size: clamp(40px, 7vw, 62px);
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.hero__subtitle {
  margin: 0;
  color: rgba(226, 232, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.hero__actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgba(6, 10, 32, 0.65);
}


.hero__actions .btn.btn--primary {
  box-shadow: 0 28px 64px rgba(74, 46, 180, 0.5);
}

.hero__actions .btn.btn--primary:hover {
  box-shadow: 0 36px 78px rgba(74, 46, 180, 0.62);
}

.hero__actions .btn.btn--ghost {
  background: rgba(5, 8, 22, 0.7);
  border-color: rgba(148, 163, 255, 0.35);
  color: rgba(224, 232, 255, 0.9);
}

.hero__actions .btn.btn--ghost:hover {
  background: rgba(11, 15, 34, 0.92);
  border-color: rgba(76, 201, 240, 0.55);
  color: #ffffff;
}

.btn--xl {
  padding: 13px 28px;
  font-size: 0.95rem;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  max-width: 840px;
}

.metric-card {
  position: relative;
  padding: 20px 18px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(17, 24, 39, 0.76));
  border: 1px solid rgba(148, 163, 255, 0.25);
  box-shadow: 0 18px 40px rgba(5, 10, 36, 0.6);
  display: grid;
  gap: 8px;
  overflow: hidden;
}

.metric-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(79, 70, 229, 0.35);
  pointer-events: none;
  mix-blend-mode: screen;
}

.metric-card__value {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.metric-card__label {
  font-size: 0.85rem;
  color: rgba(226, 232, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.metric-card__delta {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(226, 232, 255, 0.7);
}

.metric-card__delta--up {
  color: #34d399;
}

.hero-notice {
  max-width: 420px;
  margin: 10px 0 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(76, 201, 240, 0.14);
  border: 1px solid rgba(76, 201, 240, 0.4);
  color: #e8f7ff;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(4, 8, 22, 0.45);
}

.hero-notice strong {
  color: #ffffff;
}

/* ===== Sections / Toolbar ===== */

.section {
  padding: 60px 0 80px;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 24px;
}

.section__head--split {
  align-items: flex-start;
  margin-bottom: 28px;
}

.section__intro h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.section__intro p {
  margin: 10px 0 0;
  color: rgba(200, 210, 255, 0.75);
  max-width: 540px;
  line-height: 1.6;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
  margin: 0 0 30px;
}

.filter {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 16, 36, 0.9);
  border: 1px solid rgba(148, 163, 255, 0.2);
  color: #e2e8f0;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 0.95rem;
  box-shadow: 0 12px 34px rgba(3, 7, 18, 0.55);
}

.filter--search {
  flex: 1 1 280px;
  padding: 0;
}

.filter--search input {
  width: 100%;
  padding: 14px 18px;
  background: transparent;
  border: none;
  color: inherit;
  font-size: 0.95rem;
}

.filter--search input:focus {
  outline: none;
}

.filter--search input::placeholder {
  color: rgba(148, 163, 255, 0.6);
}

.filter--select {
  gap: 6px;
  cursor: pointer;
  min-width: 180px;
  justify-content: space-between;
  position: relative;
}

.filter--select[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}

.filter--select::after {
  content: "▾";
  font-size: 0.8rem;
  color: rgba(148, 163, 255, 0.7);
  margin-left: auto;
}

.filter--select[disabled]::after {
  display: none;
}

.filter__select {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  appearance: none;
  padding: 0;
  width: 100%;
  cursor: pointer;
  padding-right: 20px;
}

.filter__select:focus {
  outline: none;
}

/* ===== Token grid ===== */

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

.token-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, rgba(12, 16, 40, 0.96), rgba(17, 22, 52, 0.82));
  border: 1px solid rgba(94, 51, 177, 0.55);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(5, 8, 22, 0.85);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.token-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 65px rgba(4, 8, 22, 0.9);
}

.token-card__body {
  padding: 22px 24px 26px;
  display: grid;
  gap: 14px;
}

.token-card__symbol {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 255, 0.75);
}

.token-card__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.token-card__desc {
  margin: 0;
  color: rgba(210, 220, 255, 0.78);
  line-height: 1.65;
  font-size: 0.95rem;
}

.token-card__progress {
  display: grid;
  gap: 10px;
}

.token-card__progress-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.token-card__progress-bar span {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
}

.token-card__amounts {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
  color: rgba(210, 220, 255, 0.85);
}

.token-card__pledged {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.token-card__stats {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid rgba(148, 163, 255, 0.12);
  border-bottom: 1px solid rgba(148, 163, 255, 0.12);
}

.token-card__stats > div {
  display: grid;
  gap: 4px;
  min-width: 90px;
}

.token-card__stat-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.token-card__stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(166, 182, 255, 0.7);
}

.token-card__creator {
  font-size: 0.9rem;
  color: rgba(200, 210, 255, 0.82);
}

.token-card__creator strong {
  color: #ffffff;
}

.token-card__actions {
  display: flex;
  margin-top: 6px;
}

.token-card__actions .btn {
  flex: 1;
}

/* Empty state */

.empty {
  text-align: center;
  padding: 32px 0;
  color: var(--muted);
}

/* Pager */

.pager {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
  font-size: 0.9rem;
}

/* ===== Modal ===== */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.62);
  z-index: 50;
}

.modal.is-open,
.modal[aria-hidden="false"] {
  display: flex;
}

.modal__panel {
  width: min(560px, 94vw);
  background: #050816;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.9);
  color: var(--text);
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-soft);
}

.modal__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.modal__content {
  padding: 18px 20px 16px;
  display: grid;
  gap: 16px;
}

.modal__divider {
  height: 1px;
  background: var(--border-soft);
  margin: 4px 0;
}

.modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px 16px;
  border-top: 1px solid var(--border-soft);
}

/* Fields */

.field {
  display: grid;
  gap: 6px;
}

.field__label,
.field label {
  font-size: 0.85rem;
  opacity: 0.85;
}

.field__input,
.field input {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 10px 12px;
  color: #e5e7eb;
  font-size: 0.9rem;
}

.field__input::placeholder,
.field input::placeholder {
  color: #64748b;
}

/* Dropzone */

.dz {
  display: block;
}

.dz__box {
  border: 2px dashed rgba(148, 163, 255, 0.45);
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
  background: rgba(15, 23, 42, 0.9);
  transition: border-color 0.2s, background 0.2s;
}

.dz__box:hover {
  border-color: #4cc9f0;
  background: rgba(15, 23, 42, 0.98);
}

.dz__icon {
  font-size: 24px;
  margin-bottom: 6px;
}

.dz__title {
  font-weight: 600;
  margin-bottom: 2px;
}

.dz__hint {
  font-size: 12px;
  color: var(--muted);
}

/* Details */

.adv summary {
  cursor: pointer;
  color: var(--muted);
}

.adv summary:hover {
  color: #e5e7ff;
}

/* Utils */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* About / Footer */

.about {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: rgba(5, 8, 22, 0.96);
  color: var(--muted);
  padding: 36px 0 80px;
}

.footer {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  text-align: center;
  color: var(--muted);
  padding: 18px;
  font-size: 0.85rem;
}

/* ===== Responsive ===== */

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

  .nav {
    justify-content: space-between;
  }
}

/* ===== Project detail ===== */

.project-page {
  padding: 100px 0 80px;
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: start;
}

.project-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: rgba(200, 210, 255, 0.85);
  text-decoration: none;
  margin-bottom: 18px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
}

.project-back::before {
  content: "←";
  font-size: 0.9rem;
}

.project-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(76, 201, 240, 0.14);
  border: 1px solid rgba(76, 201, 240, 0.4);
  color: #e0f2fe;
}

.project-tag--accent {
  background: rgba(247, 37, 133, 0.18);
  border-color: rgba(247, 37, 133, 0.45);
  color: #ffe0f3;
}

.project-title {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
}

.project-subtitle {
  margin: 14px 0 20px;
  font-size: 1.05rem;
  color: rgba(226, 232, 255, 0.78);
  line-height: 1.7;
}

.project-creator {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.project-creator .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(148, 163, 255, 0.7);
}

.project-creator__avatar {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(76, 201, 240, 0.25), rgba(67, 97, 238, 0.4));
  color: #f8f9ff;
  border: 1px solid rgba(67, 97, 238, 0.35);
}

.project-media {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(88, 28, 135, 0.35);
  box-shadow: 0 20px 55px rgba(5, 8, 22, 0.8);
  margin-bottom: 28px;
}

.project-media img {
  width: 100%;
  display: block;
}

.project-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.project-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 255, 0.28);
  background: rgba(13, 16, 36, 0.8);
  color: rgba(200, 210, 255, 0.85);
  font-weight: 600;
  cursor: pointer;
}

.project-tab.is-active {
  background: rgba(248, 37, 252, 0.22);
  border-color: rgba(248, 37, 252, 0.55);
  color: #ffffff;
}

.project-section {
  background: linear-gradient(150deg, rgba(12, 16, 38, 0.9), rgba(16, 22, 48, 0.7));
  border: 1px solid rgba(148, 163, 255, 0.2);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: 0 18px 45px rgba(5, 8, 22, 0.75);
  display: grid;
  gap: 16px;
}

.project-section h3 {
  margin: 0;
  font-size: 1.3rem;
}

.project-section p {
  margin: 0;
  line-height: 1.7;
  color: rgba(220, 230, 255, 0.82);
}

.project-sidebar {
  display: grid;
  gap: 18px;
}

.project-card {
  background: linear-gradient(160deg, rgba(16, 20, 44, 0.92), rgba(12, 16, 38, 0.78));
  border: 1px solid rgba(88, 28, 135, 0.35);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 20px 45px rgba(5, 10, 36, 0.75);
  display: grid;
  gap: 18px;
}

.project-amount {
  font-size: 2rem;
  font-weight: 900;
}

.project-goal {
  color: rgba(200, 210, 255, 0.78);
}

.project-progress {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.project-progress span {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
}

.project-support-meta {
  display: flex;
  gap: 16px;
  color: rgba(200, 210, 255, 0.8);
  font-size: 0.9rem;
}

.project-support-meta div {
  display: grid;
  gap: 4px;
}

.project-support-meta span:first-child {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
}

.project-tier {
  background: rgba(15, 18, 42, 0.9);
  border: 1px solid rgba(148, 163, 255, 0.2);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 10px;
}

.project-tier__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.project-tier__title {
  font-size: 1rem;
  font-weight: 700;
}

.project-tier__price {
  font-weight: 900;
  font-size: 1.1rem;
  color: #ffffff;
}

.project-tier ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(220, 230, 255, 0.8);
  line-height: 1.6;
}

.project-tier footer {
  font-size: 0.85rem;
  color: rgba(148, 163, 255, 0.75);
}

.project-card__actions {
  display: flex;
  gap: 10px;
}

.project-card__actions .btn {
  flex: 1;
}

@media (max-width: 1080px) {
  .project-layout {
    grid-template-columns: 1fr;
  }

  .project-sidebar {
    order: -1;
  }
}

@media (max-width: 640px) {
  .project-page {
    padding-top: 80px;
  }

  .project-card {
    padding: 20px;
  }

  .project-section {
    padding: 22px;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 90px 0 70px;
  }

  .hero__metrics {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media (max-width: 720px) {
  .hero__wrap {
    gap: 28px;
  }

  .hero__head {
    align-items: flex-start;
    text-align: left;
  }

  .hero__actions {
    width: 100%;
    justify-content: stretch;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .hero__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-row {
    flex-direction: column;
  }

  .filter {
    width: 100%;
  }

  .token-card {
    text-align: left;
  }

  .token-card__body {
    padding: 20px;
    gap: 12px;
  }

  .token-card__stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .token-card__stats > div {
    min-width: 0;
  }

  .token-card__actions {
    width: 100%;
  }

  .token-card__actions .btn {
    width: 100%;
  }

  .btn--claim {
    padding: 9px 12px;
    font-size: 0.85rem;
    gap: 8px;
  }

  .btn--claim .badge {
    padding: 2px 6px;
    font-size: 0.7rem;
  }
}
