/* =========================================================
   PITCH. / DONATE
   Premium Support Experience
   ========================================================= */

:root {
  --donate-green: #00ff66;
  --donate-green-soft: rgba(0, 255, 102, 0.12);
  --donate-green-glow: rgba(0, 255, 102, 0.22);

  --donate-bg: #05070a;
  --donate-surface: #090d12;
  --donate-surface-2: #0c1118;

  --donate-border: rgba(255, 255, 255, 0.07);
  --donate-border-strong: rgba(0, 255, 102, 0.24);

  --donate-text: #ffffff;
  --donate-muted: #8b949e;
  --donate-dim: #555e68;

  --donate-radius: 24px;
  --donate-radius-small: 16px;
}

/* =========================================================
   BASE
   ========================================================= */

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

.donate-section {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
}

.donate-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 60px;
}

.donate-section-heading--center {
  display: block;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.donate-section-heading--center .donate-section-heading__title {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.donate-section-heading--center .donate-section-heading__text {
  max-width: 660px;
  margin: 20px auto 0;
  text-wrap: pretty;
}

.donate-section-heading__eyebrow {
  display: block;
  margin-bottom: 16px;

  color: var(--donate-green);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.donate-section-heading__title {
  margin: 0;

  color: var(--donate-text);

  font-size: clamp(38px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.donate-section-heading__text {
  max-width: 460px;
  margin: 0;

  color: var(--donate-muted);

  font-size: 15px;
  line-height: 1.8;
}

/* =========================================================
   HERO
   ========================================================= */

.donate-hero {
  position: relative;
  min-height: 780px;

  display: flex;
  align-items: center;

  border-bottom: 1px solid var(--donate-border);

  background:
    radial-gradient(
      circle at 72% 48%,
      rgba(0, 255, 102, 0.08),
      transparent 30%
    ),
    var(--donate-bg);

  overflow: hidden;
}

.donate-hero__grid {
  position: absolute;
  inset: 0;

  opacity: 0.25;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);

  background-size: 80px 80px;

  mask-image: linear-gradient(to bottom, black, transparent);
}

.donate-hero__glow {
  position: absolute;

  width: 500px;
  height: 500px;

  border-radius: 50%;

  filter: blur(100px);

  pointer-events: none;
}

.donate-hero__glow--one {
  top: 5%;
  right: 15%;

  background: rgba(0, 255, 102, 0.08);
}

.donate-hero__glow--two {
  bottom: -20%;
  left: 10%;

  background: rgba(0, 255, 102, 0.04);
}

.donate-hero .donate-container {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  align-items: center;

  gap: 80px;
}

.donate-hero__content {
  max-width: 720px;
}

.donate-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 30px;

  color: var(--donate-green);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.donate-eyebrow__line {
  width: 40px;
  height: 1px;

  background: var(--donate-green);

  box-shadow: 0 0 15px rgba(0, 255, 102, 0.5);
}

.donate-eyebrow__heart {
  opacity: 0.8;
}

.donate-hero__title {
  max-width: 760px;

  margin: 0 0 30px;

  color: #fff;

  font-size: clamp(58px, 7vw, 102px);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.donate-hero__dot {
  color: var(--donate-green);
  text-shadow: 0 0 28px rgba(0, 255, 102, 0.18);
}

.donate-hero__description {
  max-width: 670px;

  margin: 0 0 16px;

  color: #aeb5bc;

  font-size: 17px;
  line-height: 1.75;
}

.donate-hero__description--secondary {
  color: #737d87;
}

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

  margin-top: 38px;
}

.donate-button {
  min-height: 54px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  padding: 0 25px;

  border-radius: 999px;

  text-decoration: none;

  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.donate-button:hover {
  transform: translateY(-2px);
}

.donate-button--primary {
  color: #041108;

  background: var(--donate-green);

  box-shadow: 0 12px 35px rgba(0, 255, 102, 0.14);
}

.donate-button--primary:hover {
  box-shadow: 0 16px 45px rgba(0, 255, 102, 0.24);
}

.donate-button--ghost {
  color: #fff;

  border: 1px solid rgba(255, 255, 255, 0.12);

  background: rgba(255, 255, 255, 0.025);
}

.donate-button--ghost:hover {
  border-color: rgba(0, 255, 102, 0.35);
}

.donate-button__arrow {
  font-size: 20px;
}

.donate-hero__note {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-top: 28px;

  color: #69737d;

  font-size: 12px;
}

.donate-status-dot {
  width: 7px;
  height: 7px;

  flex: 0 0 auto;

  border-radius: 50%;

  background: var(--donate-green);

  box-shadow:
    0 0 0 5px rgba(0, 255, 102, 0.06),
    0 0 16px rgba(0, 255, 102, 0.5);
}

.donate-hero__heart {
  color: var(--donate-green);
}

/* =========================================================
   HERO VISUAL
   ========================================================= */

.donate-hero__visual {
  position: relative;

  width: min(520px, 100%);
  aspect-ratio: 1;

  margin-left: auto;

  display: grid;
  place-items: center;
}

.donate-hero__visual-ring {
  position: absolute;

  border: 1px solid rgba(0, 255, 102, 0.1);

  border-radius: 50%;
}

.donate-hero__visual-ring--outer {
  inset: 2%;

  box-shadow: 0 0 80px rgba(0, 255, 102, 0.04);

  animation: donateSpin 28s linear infinite;
}

.donate-hero__visual-ring--middle {
  inset: 15%;

  border-color: rgba(255, 255, 255, 0.08);

  animation: donateSpinReverse 20s linear infinite;
}

.donate-hero__visual-ring--inner {
  inset: 29%;

  border-color: rgba(0, 255, 102, 0.18);

  box-shadow:
    inset 0 0 60px rgba(0, 255, 102, 0.04),
    0 0 60px rgba(0, 255, 102, 0.05);
}

.donate-hero__visual-center {
  position: relative;
  z-index: 2;

  width: 42%;
  aspect-ratio: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(0, 255, 102, 0.22);

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(0, 255, 102, 0.09),
    rgba(6, 9, 13, 0.98) 65%
  );

  box-shadow:
    0 0 80px rgba(0, 255, 102, 0.08),
    inset 0 0 50px rgba(0, 255, 102, 0.04);
}

.donate-hero__visual-pitch {
  color: #fff;

  font-size: clamp(28px, 4vw, 46px);
  font-weight: 950;
  letter-spacing: -0.07em;
  transform: skew(-8deg);
}

.donate-hero__visual-pitch span {
  color: var(--donate-green);
}

.donate-hero__visual-divider {
  width: 45px;
  height: 1px;

  margin: 12px 0;

  background: var(--donate-green);
}

.donate-hero__visual-label {
  color: #6e7882;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3em;
}

.donate-hero__visual-heart {
  position: absolute;

  top: 11%;
  right: 17%;

  color: var(--donate-green);

  font-size: 26px;

  filter: drop-shadow(0 0 12px rgba(0, 255, 102, 0.5));

  animation: heartFloat 3s ease-in-out infinite;
}

/* =========================================================
   SUPPORT REASONS
   ========================================================= */

.donate-section--intro {
  border-bottom: 1px solid var(--donate-border);
}

.support-reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  border-top: 1px solid var(--donate-border);
}

.support-reason {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 24px;

  padding: 42px 35px;

  border-bottom: 1px solid var(--donate-border);

  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.support-reason:nth-child(odd) {
  border-right: 1px solid var(--donate-border);
}

.support-reason:hover {
  background: rgba(0, 255, 102, 0.018);
  border-bottom-color: rgba(0, 255, 102, 0.12);
}

.support-reason__icon {
  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  border-radius: 18px;

  border: 1px solid rgba(0, 255, 102, 0.16);

  background: rgba(0, 255, 102, 0.045);
}

.support-reason__icon svg {
  width: 24px;
  height: 24px;

  fill: none;
  stroke: var(--donate-green);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-reason__number {
  display: block;

  margin-bottom: 8px;

  color: #4c555e;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.support-reason h3 {
  margin: 0 0 10px;

  color: #fff;

  font-size: 21px;
  letter-spacing: -0.03em;
}

.support-reason p {
  max-width: 500px;

  margin: 0;

  color: #737d87;

  font-size: 14px;
  line-height: 1.75;
}

/* =========================================================
   DONOR LEVELS
   One evolving support crest
   ========================================================= */

.donate-section--levels {
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 255, 102, 0.055), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.006), transparent 28%);
}

.donor-levels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.donor-level {
  --level-strength: 0.14;
  position: relative;
  min-height: 356px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 20px 20px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 24px;
  background:
    radial-gradient(circle at 28% 0, rgba(0, 255, 102, calc(var(--level-strength) * 0.25)), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008));
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.donor-level::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 102, var(--level-strength)), transparent);
}

.donor-level:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 102, calc(var(--level-strength) + 0.08));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
}

.donor-level--one { --level-strength: 0.16; }
.donor-level--two { --level-strength: 0.23; }
.donor-level--three { --level-strength: 0.31; }
.donor-level--four { --level-strength: 0.42; }
.donor-level--five {
  --level-strength: 0.64;
  border-color: rgba(0, 255, 102, 0.18);
  background:
    radial-gradient(circle at 28% 0, rgba(0, 255, 102, 0.085), transparent 40%),
    linear-gradient(180deg, rgba(0, 255, 102, 0.024), rgba(255, 255, 255, 0.008));
}

.donor-level__top {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.donor-level__badge {
  position: relative;
  z-index: 1;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.24));
}

.support-mark {
  width: 100px;
  height: 100px;
  overflow: visible;
  fill: none;
  stroke: rgba(232, 255, 242, 0.78);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}

.support-mark__heart {
  fill: rgba(0, 255, 102, 0.055);
  stroke: var(--donate-green);
}

.support-mark__heart-accent {
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 1.6;
}

.support-mark__hand {
  stroke: rgba(235, 242, 247, 0.72);
}

.support-mark__cuff {
  fill: rgba(0, 255, 102, 0.08);
  stroke: rgba(0, 255, 102, 0.72);
}

.support-mark__detail {
  opacity: 0;
  stroke: rgba(0, 255, 102, 0.82);
  fill: rgba(0, 255, 102, 0.045);
  transition: opacity 0.22s ease, filter 0.22s ease;
}

.support-mark__detail--dots circle {
  fill: rgba(0, 255, 102, 0.18);
}

.support-mark__detail--sparkles,
.support-mark__detail--crown {
  stroke-width: 1.8;
}

.support-mark__medallion circle {
  fill: #08100d;
  stroke: rgba(0, 255, 102, 0.7);
}

.support-mark__medallion text {
  fill: #fff;
  stroke: none;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-anchor: middle;
}

/* Кожен рівень залишає ту саму основу й додає лише наступний шар. */
.donor-level--two .support-mark__detail--dots,
.donor-level--three .support-mark__detail--dots,
.donor-level--four .support-mark__detail--dots,
.donor-level--five .support-mark__detail--dots {
  opacity: 0.72;
}

.donor-level--three .support-mark__detail--sparkles,
.donor-level--four .support-mark__detail--sparkles,
.donor-level--five .support-mark__detail--sparkles {
  opacity: 0.82;
}

.donor-level--four .support-mark__detail--leaves,
.donor-level--five .support-mark__detail--leaves {
  opacity: 0.78;
}

.donor-level--five .support-mark__detail--laurel {
  opacity: 0.9;
}

.donor-level--five .support-mark {
  filter: drop-shadow(0 0 9px rgba(0, 255, 102, 0.16));
}

.support-mark--legend {
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 0 12px rgba(0, 255, 102, 0.2));
}

.support-mark--legend .support-mark__detail {
  opacity: 0.9;
}

.support-mark--legend .support-mark__detail--crown {
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(0, 255, 102, 0.24));
}

.support-mark--legend .support-mark__heart {
  fill: rgba(0, 255, 102, 0.085);
  stroke-width: 2.4;
}

.donor-level__index {
  position: relative;
  z-index: 1;
  min-width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.donor-level--five .donor-level__index {
  border-color: rgba(0, 255, 102, 0.2);
  color: var(--donate-green);
}

.donor-level__level {
  margin-bottom: 8px;
  color: var(--donate-green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.donor-level h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.donor-level p {
  margin: 0;
  color: #6f7983;
  font-size: 13px;
  line-height: 1.65;
}

.donor-level__amount {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  color: #59636d;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.donor-level__amount strong {
  color: #fff;
  font-size: 17px;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: none;
}

/* =========================================================
   LEGEND
   ========================================================= */

.legend-badge {
  position: relative;
  max-width: 900px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  margin: 18px auto 0;
  padding: 26px 30px;
  border: 1px solid rgba(0, 255, 102, 0.25);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 50%, rgba(0, 255, 102, 0.085), transparent 30%),
    linear-gradient(90deg, rgba(0, 255, 102, 0.025), rgba(255, 255, 255, 0.008));
  box-shadow: inset 0 0 45px rgba(0, 255, 102, 0.018);
}

.legend-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 102, 0.45), transparent);
}

.legend-badge__icon {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
}

.legend-badge__icon .support-mark {
  width: 92px;
  height: 92px;
}

.legend-badge__content { text-align: left; }

.legend-badge__eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--donate-green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.legend-badge h3 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.legend-badge h3 span { color: var(--donate-green); }

.legend-badge p {
  max-width: 620px;
  margin: 0;
  color: #77818a;
  font-size: 13px;
  line-height: 1.65;
}

.legend-badge p strong { color: #fff; }

.legend-badge__mark {
  color: rgba(0, 255, 102, 0.58);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

/* =========================================================
   PROJECT PULSE
   ========================================================= */

.donate-section--pulse {
  border-top: 1px solid var(--donate-border);
  border-bottom: 1px solid var(--donate-border);
}

.project-pulse {
  min-height: 520px;

  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;

  gap: 80px;
}

.project-pulse__content h2 {
  max-width: 600px;

  margin: 15px 0 20px;

  color: #fff;

  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.project-pulse__content > p {
  max-width: 580px;

  margin: 0;

  color: #77818a;

  font-size: 15px;
  line-height: 1.8;
}

.project-pulse__stats {
  display: flex;
  gap: 55px;

  margin-top: 40px;
}

.project-pulse__stats > div {
  display: flex;
  flex-direction: column;
}

.project-pulse__value {
  color: #fff;

  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.project-pulse__label {
  margin-top: 6px;

  color: #59636d;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-pulse__visual {
  position: relative;

  width: 420px;
  max-width: 100%;
  aspect-ratio: 1;

  margin-left: auto;

  display: grid;
  place-items: center;
}

.pulse-orbit {
  position: absolute;

  border-radius: 50%;

  border: 1px solid rgba(0, 255, 102, 0.1);
}

.pulse-orbit--one {
  inset: 0;
}

.pulse-orbit--two {
  inset: 14%;

  border-color: rgba(255, 255, 255, 0.07);
}

.pulse-orbit--three {
  inset: 29%;

  border-color: rgba(0, 255, 102, 0.18);
}

.pulse-core {
  width: 38%;
  aspect-ratio: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: radial-gradient(circle, rgba(0, 255, 102, 0.12), #070b0f 70%);

  border: 1px solid rgba(0, 255, 102, 0.25);

  box-shadow: 0 0 60px rgba(0, 255, 102, 0.08);
}

.pulse-core__heart {
  margin-bottom: 5px;

  color: var(--donate-green);

  font-size: 26px;
}

.pulse-core span:not(.pulse-core__heart) {
  color: #5c6670;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.25em;
}

.pulse-core strong {
  color: #fff;

  font-size: 14px;
  letter-spacing: 0.08em;
}

/* =========================================================
   TOP DONORS
   ========================================================= */

.donate-section--supporters {
  background: radial-gradient(
    circle at 50% 0,
    rgba(0, 255, 102, 0.03),
    transparent 35%
  );
}

.top-donors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;

  gap: 18px;

  max-width: 950px;

  margin: 0 auto 45px;
}

.top-donor {
  position: relative;

  min-height: 300px;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 35px 20px;

  border: 1px solid var(--donate-border);

  border-radius: 28px;

  background: rgba(255, 255, 255, 0.012);

  text-align: center;
}

.top-donor--first {
  min-height: 350px;

  border-color: rgba(0, 255, 102, 0.28);

  background: radial-gradient(
    circle at 50% 0,
    rgba(0, 255, 102, 0.1),
    transparent 45%
  );
}

.top-donor__crown {
  position: absolute;

  top: 15px;

  color: var(--donate-green);

  font-size: 18px;
}

.top-donor__rank {
  margin-bottom: 15px;

  color: #4f5962;

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.top-donor--first .top-donor__rank {
  color: var(--donate-green);
}

.top-donor__avatar {
  width: 72px;
  height: 72px;

  display: grid;
  place-items: center;

  margin-bottom: 15px;

  border-radius: 50%;

  border: 1px solid rgba(255, 255, 255, 0.1);

  background: #0c1117;

  color: #fff;

  font-size: 22px;
  font-weight: 800;
}

.top-donor--first .top-donor__avatar {
  width: 86px;
  height: 86px;

  border-color: rgba(0, 255, 102, 0.4);

  color: var(--donate-green);

  box-shadow: 0 0 30px rgba(0, 255, 102, 0.08);
}

.top-donor__badge {
  margin-bottom: 12px;

  padding: 6px 10px;

  border-radius: 999px;

  border: 1px solid rgba(0, 255, 102, 0.16);

  color: var(--donate-green);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.top-donor h3 {
  margin: 0 0 9px;

  color: #fff;

  font-size: 20px;
}

.top-donor__amount {
  color: #7c8790;

  font-size: 13px;
}

.top-donor--first .top-donor__amount {
  color: #fff;

  font-size: 18px;
  font-weight: 800;
}

.top-donor__message {
  margin-top: 15px;

  color: var(--donate-green);

  font-size: 11px;
}

/* =========================================================
   SUPPORTER RANKING
   ========================================================= */

.supporter-ranking {
  max-width: 950px;

  margin: 0 auto;

  border-top: 1px solid var(--donate-border);
}

.supporter-ranking__header,
.supporter-row {
  display: grid;
  grid-template-columns: 70px 1fr 160px 130px;
  align-items: center;

  gap: 20px;

  min-height: 62px;

  border-bottom: 1px solid var(--donate-border);
}

.supporter-ranking__header {
  min-height: 48px;

  color: #4d5760;

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.supporter-row {
  transition:
    background 0.2s ease,
    padding-left 0.2s ease;
}

.supporter-row:hover {
  padding-left: 8px;

  background: rgba(0, 255, 102, 0.02);
}

.supporter-row__rank {
  color: #56606a;

  font-size: 11px;
  font-weight: 800;
}

.supporter-row__name {
  color: #fff;

  font-size: 14px;
  font-weight: 700;
}

.supporter-row__level {
  color: var(--donate-green);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.supporter-row__amount {
  color: #7b858e;

  font-size: 13px;
  font-weight: 700;

  text-align: right;
}

/* =========================================================
   SUPPORT WALL
   ========================================================= */

.donate-section--wall {
  padding-top: 105px;
  padding-bottom: 105px;
  border-top: 1px solid var(--donate-border);
}

.donate-section--wall .donate-section-heading {
  margin-bottom: 42px;
}

.donate-section--wall .donate-section-heading__title {
  max-width: 820px;
  font-size: clamp(38px, 4.7vw, 62px);
  line-height: 1;
}

.support-wall {
  width: min(760px, 100%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
}

.wall-chip {
  padding: 11px 16px;

  border: 1px solid rgba(255, 255, 255, 0.07);

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.018);

  color: #7f8992;

  font-size: 11px;

  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.wall-chip:hover {
  color: #fff;

  border-color: rgba(0, 255, 102, 0.25);

  transform: translateY(-2px);
}

.wall-chip::first-letter {
  color: var(--donate-green);
}

/* =========================================================
   DONATE PANEL
   ========================================================= */

.donate-section--donate {
  padding-top: 100px;
  padding-bottom: 90px;
}

.donate-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 0, rgba(0, 255, 102, 0.065), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.009)),
    #070b0f;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.donate-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.donate-panel__intro {
  max-width: 620px;
  text-align: left;
}

.donate-panel__intro h2 {
  margin: 10px 0 13px;
  color: #fff;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.donate-panel__intro h2 span {
  color: var(--donate-green);
}

.donate-panel__intro p {
  max-width: 610px;
  margin: 0;
  color: #727c85;
  font-size: 14px;
  line-height: 1.7;
}

.payment-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(0, 255, 102, 0.18);
  border-radius: 999px;
  background: rgba(0, 255, 102, 0.035);
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.payment-status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--donate-green);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.5);
}

.support-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 34px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.18);
}

.support-mode__button {
  min-height: 62px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.support-mode__button span {
  font-size: 12px;
  font-weight: 850;
}

.support-mode__button small {
  color: #56616b;
  font-size: 12px;
  font-weight: 700;
}

.support-mode__button.is-active {
  border-color: rgba(0, 255, 102, 0.22);
  background: rgba(0, 255, 102, 0.055);
  color: #fff;
}

.support-mode__button.is-active small {
  color: rgba(0, 255, 102, 0.7);
}

.donation-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  margin-top: 22px;
}

.donation-option {
  position: relative;
  min-height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.018);
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, color .2s ease;
}

.donation-option:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 255, 102, 0.28);
}

.donation-option.is-selected {
  border-color: rgba(0, 255, 102, 0.55);
  background: rgba(0, 255, 102, 0.065);
  color: var(--donate-green);
}

.donation-option__recommended {
  position: absolute;
  top: -7px;
  padding: 3px 7px;
  border: 1px solid rgba(0, 255, 102, 0.28);
  border-radius: 999px;
  background: #07120c;
  color: var(--donate-green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.custom-donation {
  margin-top: 18px;
}

.custom-donation label {
  display: block;
  margin-bottom: 8px;
  color: #68727c;
  font-size: 12px;
  font-weight: 700;
}

.custom-donation__input { position: relative; }

.custom-donation input {
  width: 100%;
  height: 56px;
  padding: 0 55px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 15px;
  outline: none;
  background: rgba(255, 255, 255, 0.018);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
}

.custom-donation input:focus {
  border-color: rgba(0, 255, 102, 0.35);
  box-shadow: 0 0 0 4px rgba(0, 255, 102, 0.035);
}

.custom-donation__input > span {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: var(--donate-green);
  font-weight: 850;
}

.donate-checkout-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.012);
}

.donate-checkout-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.donate-checkout-summary > div + div {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.055);
}

.donate-checkout-summary__label {
  color: #55606a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.donate-checkout-summary strong {
  color: #fff;
  font-size: 13px;
}

.donate-submit {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 14px;
  border: 1px solid rgba(0, 255, 102, 0.5);
  border-radius: 17px;
  background: rgba(0, 255, 102, 0.075);
  color: var(--donate-green);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .015em;
  cursor: pointer;
  box-shadow: inset 0 0 28px rgba(0, 255, 102, 0.025);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.donate-submit:hover {
  transform: translateY(-2px);
  background: rgba(0, 255, 102, 0.11);
  box-shadow: 0 14px 38px rgba(0, 255, 102, 0.08);
}

.donate-submit__heart { font-size: 16px; }
.donate-submit__arrow { font-size: 18px; }

.payment-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;
  margin-top: 15px;
  color: #4f5963;
}

.payment-note svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: rgba(0, 255, 102, 0.55);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.payment-note p {
  max-width: 610px;
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.payment-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.payment-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 6, 0.76);
  backdrop-filter: blur(14px);
}

.payment-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  padding: 34px;
  border: 1px solid rgba(0, 255, 102, 0.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0, rgba(0, 255, 102, 0.07), transparent 38%),
    #080c11;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.52);
  text-align: center;
  transform: translateY(12px) scale(.985);
  transition: transform .22s ease;
}

.payment-modal.is-open .payment-modal__dialog { transform: none; }

.payment-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  color: #7b858f;
  font: inherit;
  font-size: 20px;
  cursor: pointer;
}

.payment-modal__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px solid rgba(0, 255, 102, 0.2);
  border-radius: 18px;
  background: rgba(0, 255, 102, 0.055);
  color: var(--donate-green);
  font-size: 20px;
  box-shadow: 0 0 32px rgba(0, 255, 102, 0.05);
}

.payment-modal__dialog h3 {
  margin: 12px 0 10px;
  color: #fff;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.payment-modal__dialog > p {
  margin: 0;
  color: #6c7680;
  font-size: 12px;
  line-height: 1.7;
}

.payment-modal__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0 14px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.014);
  color: #68727c;
  font-size: 12px;
}

.payment-modal__summary strong {
  color: var(--donate-green);
  font-size: 14px;
}

.payment-modal__action {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(0, 255, 102, 0.3);
  border-radius: 14px;
  background: rgba(0, 255, 102, 0.075);
  color: var(--donate-green);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

body.has-payment-modal { overflow: hidden; }

/* =========================================================
   DEV ACCESS
   ========================================================= */

.donate-section--dev {
  padding-top: 100px;
}

.dev-access {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;

  overflow: hidden;

  border: 1px solid var(--donate-border);

  border-radius: 32px;

  background: #080c11;
}

.dev-access__content {
  padding: 55px;
}

.dev-access__content h2 {
  max-width: 500px;

  margin: 10px 0 20px;

  color: #fff;

  font-size: clamp(40px, 5vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.dev-access__content > p {
  max-width: 500px;

  margin: 0;

  color: #737d87;

  font-size: 14px;
  line-height: 1.8;
}

.dev-access__content ul {
  display: grid;
  gap: 10px;

  margin: 30px 0;
  padding: 0;

  list-style: none;
}

.dev-access__content li {
  display: flex;
  align-items: center;
  gap: 10px;

  color: #a3abb2;

  font-size: 12px;
}

.dev-access__content li span {
  color: var(--donate-green);
}

.dev-access__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  color: var(--donate-green);

  font-size: 12px;
  font-weight: 800;

  text-decoration: none;
}

.dev-access__visual {
  min-height: 450px;

  display: flex;
  flex-direction: column;

  padding: 35px;

  border-left: 1px solid var(--donate-border);

  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 255, 102, 0.06),
    transparent 50%
  );
}

.dev-access__visual-top {
  display: flex;
  justify-content: space-between;

  color: #4f5962;

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.dev-access__visual-top span:last-child {
  color: var(--donate-green);
}

.dev-access__timeline {
  position: relative;

  flex: 1;

  display: flex;
  flex-direction: column;
  justify-content: space-around;

  padding: 40px 20px 20px 70px;
}

.dev-line {
  position: absolute;

  top: 70px;
  bottom: 55px;
  left: 36px;

  width: 1px;

  background: linear-gradient(
    to bottom,
    var(--donate-green),
    rgba(0, 255, 102, 0.08)
  );
}

.dev-point {
  position: relative;

  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;

  gap: 15px;
}

.dev-point::before {
  content: "";

  position: absolute;

  left: -40px;

  width: 11px;
  height: 11px;

  border-radius: 50%;

  border: 1px solid #37414b;

  background: #080c11;
}

.dev-point--done::before,
.dev-point--active::before {
  border-color: var(--donate-green);

  background: var(--donate-green);

  box-shadow: 0 0 15px rgba(0, 255, 102, 0.5);
}

.dev-point span {
  color: #4e5862;

  font-size: 11px;
  font-weight: 900;
}

.dev-point strong {
  color: #69737c;

  font-size: 12px;
  letter-spacing: 0.08em;
}

.dev-point--done strong,
.dev-point--active strong {
  color: #fff;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes donateSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes donateSpinReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes heartFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .donor-levels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .donor-levels::before {
    display: none;
  }

  .donate-hero .donate-container {
    grid-template-columns: 1fr;
  }

  .donate-hero {
    padding: 120px 0;
  }

  .donate-hero__visual {
    width: 420px;
    margin: 0 auto;
  }

  .project-pulse {
    grid-template-columns: 1fr;
  }

  .project-pulse__visual {
    margin: 0 auto;
  }

  .dev-access {
    grid-template-columns: 1fr;
  }

  .dev-access__visual {
    border-left: 0;
    border-top: 1px solid var(--donate-border);
  }
}

@media (max-width: 760px) {
  .donate-container {
    width: min(100% - 28px, 1240px);
  }

  .donate-section {
    padding: 85px 0;
  }

  .donate-hero {
    min-height: auto;
    padding: 95px 0 80px;
  }

  .donate-hero__title {
    font-size: clamp(54px, 16vw, 80px);
  }

  .donate-hero__description {
    font-size: 15px;
  }

  .donate-hero__visual {
    width: min(350px, 100%);
  }

  .donate-section-heading {
    display: block;
    margin-bottom: 40px;
  }

  .donate-section-heading__text {
    margin-top: 20px;
  }

  .support-reasons {
    grid-template-columns: 1fr;
  }

  .support-reason:nth-child(odd) {
    border-right: 0;
  }

  .support-reason {
    padding: 32px 20px;
  }


  .donor-levels {
    grid-template-columns: 1fr;
  }

  .donor-level {
    min-height: 330px;
  }

  .legend-badge {
    grid-template-columns: 80px 1fr;
    gap: 18px;

    padding: 24px;
  }

  .legend-badge__icon {
    width: 80px;
    height: 80px;
  }

  .legend-badge__icon .support-mark {
    width: 78px;
    height: 78px;
  }

  .legend-badge__mark {
    display: none;
  }

  .legend-badge h3 {
    font-size: 26px;
  }

  .project-pulse__stats {
    flex-direction: column;
    gap: 22px;
  }

  .top-donors {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .top-donor,
  .top-donor--first {
    min-height: 300px;
  }

  .top-donor--first {
    order: -1;
  }

  .supporter-ranking__header {
    display: none;
  }

  .supporter-row {
    grid-template-columns: 45px 1fr auto;
    gap: 10px;

    min-height: 70px;
  }

  .supporter-row__level {
    display: none;
  }

  .supporter-row__amount {
    text-align: right;
  }

  .donate-panel {
    padding: 32px 20px;
    border-radius: 26px;
  }

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

  .donate-panel__header {
    flex-direction: column;
  }

  .payment-status {
    align-self: flex-start;
  }

  .donate-checkout-summary {
    grid-template-columns: 1fr;
  }

  .donate-checkout-summary > div + div {
    padding-left: 0;
    padding-top: 12px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
  }

  .dev-access__content {
    padding: 35px 25px;
  }

  .dev-access__visual {
    min-height: 400px;
    padding: 25px;
  }

  .donate-thanks {
    padding: 90px 0 105px;
  }

  .donate-thanks h2 {
    font-size: clamp(40px, 12vw, 58px);
  }
}

@media (max-width: 430px) {
  .donate-hero__actions {
    flex-direction: column;
  }

  .donate-button {
    width: 100%;
  }

  .support-mode {
    grid-template-columns: 1fr;
  }

  .donation-options {
    grid-template-columns: 1fr 1fr;
  }

  .donation-option {
    min-height: 62px;
  }

  .legend-badge {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .legend-badge__icon {
    margin: 0 auto;
  }

  .legend-badge__content {
    text-align: center;
  }

  .supporter-row__name {
    font-size: 12px;
  }

  .supporter-row__amount {
    font-size: 11px;
  }
}

/* =========================================================
   MONOBANK CHECKOUT / LIVE DONATIONS
   ========================================================= */

.donate-submit:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.donate-submit.is-loading .donate-submit__arrow {
  animation: donate-arrow-pulse .9s ease-in-out infinite alternate;
}

@keyframes donate-arrow-pulse {
  to { transform: translateX(4px); opacity: .5; }
}

.payment-modal__reference {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  padding: 15px 16px;
  border: 1px solid rgba(0, 255, 102, 0.12);
  border-radius: 14px;
  background: rgba(0, 255, 102, 0.025);
  text-align: left;
}

.payment-modal__reference > span {
  color: #56616b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.payment-modal__reference strong {
  color: #fff;
  font-size: 18px;
  letter-spacing: .07em;
  font-variant-numeric: tabular-nums;
}

.payment-modal__reference small {
  color: #68727c;
  font-size: 11px;
  line-height: 1.55;
}

.payment-modal__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.012);
  color: #77818b;
  font-size: 11px;
  font-weight: 800;
}

.payment-modal__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--donate-green);
  box-shadow: 0 0 12px rgba(0, 255, 102, .45);
}

.payment-modal__status[data-state="success"] {
  border-color: rgba(0, 255, 102, .16);
  color: var(--donate-green);
}

.payment-modal__status[data-state="review"] {
  border-color: rgba(255, 191, 71, .16);
  color: #d9b66a;
}

.payment-modal__status[data-state="review"] .payment-modal__status-dot {
  background: #d9b66a;
  box-shadow: 0 0 12px rgba(217, 182, 106, .35);
}

.payment-modal__status[data-state="error"] {
  border-color: rgba(255, 93, 93, .16);
  color: #d98181;
}

.payment-modal__status[data-state="error"] .payment-modal__status-dot {
  background: #d98181;
  box-shadow: 0 0 12px rgba(217, 129, 129, .3);
}

.payment-modal__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.payment-modal__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.payment-modal__action--secondary {
  width: auto;
  min-width: 90px;
  padding: 0 16px;
  border-color: rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .025);
  color: #7a858f;
}

.supporters-empty {
  grid-column: 1 / -1;
  width: 100%;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 16px;
  background: rgba(255, 255, 255, .012);
  color: #66717b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.supporters-empty--ranking {
  margin-top: 8px;
  border-radius: 14px;
}

.supporters-empty--wall {
  display: block;
}

@media (max-width: 560px) {
  .payment-modal__actions {
    grid-template-columns: 1fr;
  }

  .payment-modal__action--secondary {
    width: 100%;
  }
}
