:root {
  --war-black: #050505;
  --war-panel: #0a0a0b;
  --war-panel-soft: #0e0e10;
  --war-line: rgba(255, 255, 255, 0.11);
  --war-line-strong: rgba(255, 255, 255, 0.2);
  --war-white: #f7f7f4;
  --war-muted: #85858d;
  --war-red: #ef1728;
  --war-red-deep: #9f0714;
  --war-gold: #f0b94a;
  --war-green: #62df9c;
  --war-radius-lg: 28px;
  --war-radius-md: 18px;
  --war-radius-sm: 12px;
  --war-shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--war-black);
}

body.war-donation-page {
  margin: 0;
  min-width: 320px;
  color: var(--war-white);
  background:
    radial-gradient(circle at 86% 8%, rgba(239, 23, 40, 0.12), transparent 30rem),
    linear-gradient(180deg, #040404 0%, #070708 48%, #040404 100%);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.war-donation-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--war-red);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.war-donation-shell {
  position: relative;
  width: min(calc(100% - 40px), var(--war-shell));
  margin: 0 auto;
}

/* =========================================================
   HERO
========================================================= */

.war-donation-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 74px;
}

.war-donation-hero::after {
  content: "WAR";
  position: absolute;
  right: -24px;
  bottom: -90px;
  color: rgba(255, 255, 255, 0.018);
  font-size: clamp(180px, 30vw, 460px);
  font-weight: 1000;
  line-height: 0.72;
  letter-spacing: -0.09em;
  pointer-events: none;
}

.war-donation-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: 72px;
  align-items: center;
}

.war-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--war-red);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 1.8px;
}

.war-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.war-donation-hero h1 {
  max-width: 760px;
  margin: 20px 0 22px;
  font-size: clamp(52px, 7vw, 98px);
  line-height: 0.88;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.war-donation-hero__copy > p {
  max-width: 650px;
  margin: 0;
  color: #b0b0b7;
  font-size: 17px;
  line-height: 1.75;
}

.war-donation-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.war-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.85px;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    opacity 160ms ease;
}

.war-button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.war-button--primary,
.war-button--donate {
  color: #fff;
  background: linear-gradient(135deg, #ff2435 0%, #d80b1c 68%, #a5000d 100%);
  box-shadow: 0 18px 40px rgba(239, 23, 40, 0.18);
}

.war-button--ghost {
  color: #efeff2;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
}

.war-button--small {
  min-height: 42px;
  padding: 0 16px;
  color: #fff;
  background: var(--war-red);
}

.war-button:disabled {
  cursor: not-allowed;
  opacity: 0.36;
  box-shadow: none;
}

.war-web3-wallet-guide {
  max-width: 680px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.war-web3-wallet-guide__badge {
  display: inline-block;
  color: var(--war-red);
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 1.35px;
}

.war-web3-wallet-guide p {
  margin: 9px 0 0;
  color: #a4a4ab;
  font-size: 12px;
  line-height: 1.65;
}

.war-web3-wallet-guide strong {
  color: #fff;
}

.war-web3-wallet-message {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #8d8d95;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
}

.war-web3-wallet-message.is-info {
  color: #b8b8c0;
}

.war-web3-wallet-message.is-success {
  color: var(--war-green);
}

.war-web3-wallet-message.is-error {
  color: #ff7f89;
}

.war-donation-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 30px;
}

.war-donation-hero__trust span {
  position: relative;
  padding-left: 14px;
  color: #73737c;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.war-donation-hero__trust span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--war-red);
}

/* =========================================================
   WALLET CARD
========================================================= */

.war-wallet-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--war-radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 42%),
    radial-gradient(circle at 100% 0%, rgba(239, 23, 40, 0.18), transparent 48%),
    #09090a;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.war-wallet-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--war-red), transparent 62%);
}

.war-wallet-card__topline,
.war-wallet-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.war-wallet-card__label,
.war-wallet-card__address span,
.war-wallet-card__stats span {
  color: #777780;
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 1.5px;
}

.war-wallet-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #92929a;
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: 1px;
}

.war-wallet-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55555b;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.025);
}

body[data-wallet-state="connected"] .war-wallet-status__dot {
  background: var(--war-green);
  box-shadow: 0 0 0 4px rgba(98, 223, 156, 0.1);
}

.war-wallet-card__address {
  margin-top: 44px;
}

.war-wallet-card__address strong {
  display: block;
  margin-top: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(21px, 3vw, 30px);
  letter-spacing: -0.04em;
}

.war-wallet-card__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 30px 0;
}

.war-wallet-card__stats > div {
  min-width: 0;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
}

.war-wallet-card__stats strong {
  display: block;
  margin-top: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.war-wallet-card__actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.war-mini-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #c8c8cd;
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: 0.8px;
  cursor: pointer;
}

.war-mini-button:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.war-mini-button:disabled,
.war-mini-button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.35;
}

.war-mini-button--danger {
  color: #ff8790;
  border-color: rgba(239, 23, 40, 0.22);
}

/* =========================================================
   SECTION HEADERS
========================================================= */

.war-donation-section {
  position: relative;
  padding: 84px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.war-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 38px;
  align-items: end;
  margin-bottom: 34px;
}

.war-section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.war-section-heading > p {
  margin: 0;
  color: #96969e;
  line-height: 1.72;
}

/* =========================================================
   NETWORK ALERT
========================================================= */

.war-network-alert {
  margin-bottom: 18px;
  padding: 15px 16px 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(240, 185, 74, 0.3);
  border-radius: 14px;
  background: rgba(240, 185, 74, 0.06);
}

.war-network-alert strong,
.war-network-alert span {
  display: block;
}

.war-network-alert strong {
  margin-bottom: 4px;
  color: #ffd477;
  font-size: 12px;
}

.war-network-alert span {
  color: #a6a6ad;
  font-size: 11px;
}

/* =========================================================
   DONATION PANELS
========================================================= */

.war-donation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.war-donation-panel {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--war-line);
  border-radius: var(--war-radius-lg);
  background: rgba(9, 9, 10, 0.88);
}

.war-donation-panel--form {
  padding: 34px;
}

.war-donation-panel--summary {
  position: sticky;
  top: 22px;
  padding: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(239, 23, 40, 0.12), transparent 18rem),
    rgba(9, 9, 10, 0.96);
}

.war-donation-panel__number {
  position: absolute;
  top: 20px;
  right: 25px;
  color: rgba(255, 255, 255, 0.065);
  font-size: 54px;
  font-weight: 1000;
  letter-spacing: -4px;
}

.war-donation-panel__heading span {
  color: var(--war-red);
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 1.4px;
}

.war-donation-panel__heading h3 {
  margin: 7px 0 0;
  font-size: 29px;
  letter-spacing: -0.04em;
}

.war-donation-panel__heading--compact h3 {
  font-size: 21px;
}

.war-amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 30px 0 22px;
}

.war-amount-button {
  min-height: 86px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease;
}

.war-amount-button:hover,
.war-amount-button.is-selected {
  transform: translateY(-2px);
  border-color: rgba(239, 23, 40, 0.62);
  background: rgba(239, 23, 40, 0.09);
}

.war-amount-button strong,
.war-amount-button span {
  display: block;
}

.war-amount-button strong {
  font-size: 20px;
}

.war-amount-button span {
  margin-top: 5px;
  color: #777780;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}

.war-field {
  display: block;
}

.war-field__label {
  display: block;
  margin-bottom: 8px;
  color: #777780;
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 1.2px;
}

.war-field input,
.war-field textarea,
.war-field__control {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  color: #fff;
  background: #050506;
}

.war-field input,
.war-field textarea {
  padding: 15px 16px;
  outline: none;
}

.war-field textarea {
  min-height: 108px;
  resize: vertical;
}

.war-field input::placeholder,
.war-field textarea::placeholder {
  color: #4f4f55;
}

.war-field__control {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  overflow: hidden;
}

.war-field__control input {
  border: 0;
  border-radius: 0;
  font-size: 21px;
  font-weight: 800;
}

.war-field__control strong {
  padding: 0 16px;
  color: var(--war-red);
  font-size: 11px;
  letter-spacing: 1px;
}

.war-field small,
.war-privacy-note,
.war-gas-note {
  display: block;
  margin-top: 8px;
  color: #65656d;
  font-size: 10px;
  line-height: 1.55;
}

.war-supporter-note {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.war-supporter-note__grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 14px;
  margin-top: 18px;
}

/* =========================================================
   TRANSACTION SUMMARY
========================================================= */

.war-transaction-summary {
  margin: 30px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.war-transaction-summary > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.war-transaction-summary dt {
  color: #696971;
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: 1.2px;
}

.war-transaction-summary dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #e8e8eb;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.war-recipient-card {
  margin: 22px 0;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.022);
}

.war-recipient-card > span {
  display: block;
  color: #696971;
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: 1.2px;
}

.war-recipient-card code {
  display: block;
  margin: 10px 0;
  overflow-wrap: anywhere;
  color: #d7d7db;
  font-size: 11px;
  line-height: 1.5;
}

.war-copy-link {
  padding: 0;
  border: 0;
  color: #ff6874;
  background: transparent;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
}

.war-button--donate {
  width: 100%;
  min-height: 68px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.war-button--donate span {
  font-size: 12px;
}

.war-button--donate small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 8px;
  letter-spacing: 1px;
}

.war-gas-note {
  text-align: center;
}

/* =========================================================
   STATUS
========================================================= */

.war-transaction-status {
  margin-top: 18px;
  padding: 15px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.war-transaction-status.is-success {
  border-color: rgba(98, 223, 156, 0.25);
  background: rgba(98, 223, 156, 0.045);
}

.war-transaction-status.is-error {
  border-color: rgba(239, 23, 40, 0.27);
  background: rgba(239, 23, 40, 0.05);
}

.war-transaction-status__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--war-red);
  font-size: 8px;
  font-weight: 1000;
}

.war-transaction-status strong {
  display: block;
  margin-top: 2px;
  font-size: 12px;
}

.war-transaction-status p {
  margin: 5px 0 0;
  color: #85858d;
  font-size: 10px;
  line-height: 1.55;
}

.war-transaction-status a {
  display: inline-block;
  margin-top: 8px;
  color: #ff6874;
  text-decoration: none;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

/* =========================================================
   HISTORY
========================================================= */

.war-donation-section--history {
  background: rgba(255, 255, 255, 0.012);
}

.war-history-list {
  overflow: hidden;
  border: 1px solid var(--war-line);
  border-radius: var(--war-radius-md);
  background: rgba(7, 7, 8, 0.88);
}

.war-history-empty {
  padding: 34px;
  text-align: center;
}

.war-history-empty span,
.war-history-empty strong {
  display: block;
}

.war-history-empty span {
  color: #5e5e66;
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: 1.3px;
}

.war-history-empty strong {
  margin-top: 8px;
  color: #9a9aa1;
  font-size: 13px;
}

.war-history-row {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr) 130px 130px auto;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.war-history-row:last-child {
  border-bottom: 0;
}

.war-history-row__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a4a4ab;
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: 0.8px;
}

.war-history-row__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #777780;
}

.war-history-row.is-confirmed .war-history-row__status::before {
  background: var(--war-green);
}

.war-history-row.is-failed .war-history-row__status::before {
  background: var(--war-red);
}

.war-history-row__hash,
.war-history-row__from {
  min-width: 0;
}

.war-history-row strong,
.war-history-row small {
  display: block;
}

.war-history-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.war-history-row small {
  margin-top: 5px;
  color: #64646c;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.war-history-row__amount {
  font-size: 12px !important;
}

.war-history-row a {
  color: #ff6874;
  text-decoration: none;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

/* =========================================================
   COLLECTIBLES ROADMAP
========================================================= */

.war-donation-section--collectibles {
  padding-bottom: 108px;
}

.war-collectibles-banner {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(239, 23, 40, 0.2);
  border-radius: var(--war-radius-lg);
  background:
    linear-gradient(110deg, rgba(239, 23, 40, 0.09), transparent 46%),
    #09090a;
}

.war-collectibles-banner__copy > p {
  margin-top: 18px;
}

.war-collectibles-roadmap {
  display: grid;
  gap: 10px;
}

.war-collectibles-roadmap > div {
  display: grid;
  grid-template-columns: 40px 130px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.war-collectibles-roadmap span {
  color: var(--war-red);
  font-size: 11px;
  font-weight: 1000;
}

.war-collectibles-roadmap strong {
  font-size: 10px;
  letter-spacing: 1px;
}

.war-collectibles-roadmap small {
  color: #72727a;
  font-size: 10px;
}


/* =========================================================
   TREASURY TRANSPARENCY
========================================================= */

.war-donation-section--transparency {
  padding-bottom: 108px;
  background:
    radial-gradient(circle at 12% 18%, rgba(239, 23, 40, 0.075), transparent 28rem),
    rgba(255, 255, 255, 0.01);
}

.war-transparency-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 18px;
  align-items: stretch;
}

.war-treasury-card,
.war-ledger-card {
  min-width: 0;
  border: 1px solid var(--war-line);
  border-radius: var(--war-radius-lg);
  background: rgba(8, 8, 9, 0.92);
}

.war-treasury-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(239, 23, 40, 0.14), transparent 22rem),
    rgba(8, 8, 9, 0.96);
}

.war-treasury-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 34px;
  right: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--war-red), transparent 78%);
}

.war-treasury-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.war-treasury-card__eyebrow,
.war-treasury-card__top strong,
.war-treasury-balance span,
.war-treasury-balance strong,
.war-treasury-balance small,
.war-treasury-projection span,
.war-treasury-projection strong,
.war-treasury-projection small,
.war-treasury-address span,
.war-treasury-address code {
  display: block;
}

.war-treasury-card__eyebrow,
.war-treasury-balance span,
.war-treasury-projection span,
.war-treasury-address span {
  color: #74747c;
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: 1.25px;
}

.war-treasury-card__top strong {
  margin-top: 6px;
  font-size: 12px;
}

.war-live-pill {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(98, 223, 156, 0.18);
  border-radius: 999px;
  color: #9decbc;
  background: rgba(98, 223, 156, 0.045);
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: 0.9px;
}

.war-live-pill > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--war-green);
  box-shadow: 0 0 0 5px rgba(98, 223, 156, 0.08);
}

.war-treasury-balance {
  margin-top: 38px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.war-treasury-balance strong {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.war-treasury-balance small,
.war-treasury-projection small {
  margin-top: 10px;
  color: #696971;
  font-size: 9px;
  line-height: 1.5;
}

.war-treasury-projection {
  padding: 23px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.war-treasury-projection strong {
  margin-top: 7px;
  color: #f0b94a;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.war-treasury-address {
  padding: 22px 0;
}

.war-treasury-address code {
  margin-top: 8px;
  overflow-wrap: anywhere;
  color: #c9c9cf;
  font-size: 11px;
  line-height: 1.65;
}

.war-treasury-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.war-ledger-card {
  padding: 34px;
}

.war-ledger-card h3 {
  margin: 9px 0 26px;
  font-size: 31px;
  letter-spacing: -0.04em;
}

.war-ledger-list {
  display: grid;
  gap: 10px;
}

.war-ledger-list > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.02);
}

.war-ledger-list > div > span {
  color: var(--war-red);
  font-size: 10px;
  font-weight: 1000;
}

.war-ledger-list strong {
  display: block;
  font-size: 11px;
}

.war-ledger-list p {
  margin: 6px 0 0;
  color: #777780;
  font-size: 10px;
  line-height: 1.55;
}

.war-ledger-disclosure {
  margin-top: 18px;
  padding: 17px;
  border: 1px solid rgba(240, 185, 74, 0.16);
  border-radius: 13px;
  background: rgba(240, 185, 74, 0.035);
}

.war-ledger-disclosure > span {
  color: var(--war-gold);
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: 1.1px;
}

.war-ledger-disclosure p {
  margin: 8px 0 0;
  color: #85858d;
  font-size: 10px;
  line-height: 1.62;
}

.war-ledger-link {
  margin-top: 18px;
  min-height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(239, 23, 40, 0.24);
  border-radius: 12px;
  color: #fff;
  background: rgba(239, 23, 40, 0.06);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 0.8px;
}

.war-ledger-link:hover {
  border-color: rgba(239, 23, 40, 0.55);
  background: rgba(239, 23, 40, 0.11);
}

@media (max-width: 1040px) {
  .war-transparency-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .war-treasury-card,
  .war-ledger-card {
    padding: 24px;
    border-radius: 20px;
  }

  .war-treasury-card::before {
    left: 24px;
    right: 24px;
  }

  .war-treasury-card__top {
    align-items: flex-start;
  }

  .war-treasury-card__actions,
  .war-treasury-card__actions .war-button {
    width: 100%;
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1040px) {
  .war-donation-hero__grid,
  .war-donation-grid {
    grid-template-columns: 1fr;
  }

  .war-donation-hero__grid {
    gap: 44px;
  }

  .war-wallet-card {
    max-width: 680px;
  }

  .war-donation-panel--summary {
    position: relative;
    top: auto;
  }

  .war-history-row {
    grid-template-columns: 110px minmax(0, 1fr) 120px auto;
  }

  .war-history-row__from {
    display: none;
  }
}

@media (max-width: 820px) {
  .war-donation-hero {
    padding-top: 66px;
  }

  .war-section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .war-amount-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .war-supporter-note__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .war-donation-shell {
    width: min(calc(100% - 28px), var(--war-shell));
  }

  .war-donation-hero {
    padding: 52px 0 58px;
  }

  .war-donation-hero h1 {
    font-size: clamp(46px, 16vw, 72px);
  }

  .war-donation-hero__copy > p {
    font-size: 15px;
  }

  .war-donation-hero__actions,
  .war-donation-hero__actions .war-button,
  .war-web3-wallet-guide {
    width: 100%;
  }

  .war-wallet-card,
  .war-donation-panel--form,
  .war-donation-panel--summary {
    padding: 24px;
    border-radius: 20px;
  }

  .war-wallet-card__stats {
    grid-template-columns: 1fr;
  }

  .war-donation-section {
    padding: 62px 0;
  }

  .war-network-alert {
    align-items: stretch;
    flex-direction: column;
  }

  .war-network-alert .war-button {
    width: 100%;
  }

  .war-transaction-summary > div {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .war-history-row {
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
  }

  .war-history-row__status {
    grid-column: 1 / -1;
  }

  .war-history-row__hash {
    min-width: 0;
  }

  .war-history-row__amount {
    text-align: right;
  }

  .war-history-row > a {
    grid-column: 1 / -1;
  }

  .war-collectibles-roadmap > div {
    grid-template-columns: 36px 1fr;
  }

  .war-collectibles-roadmap small {
    grid-column: 2;
  }
}

@media (max-width: 410px) {
  .war-wallet-card__actions,
  .war-wallet-card__actions .war-mini-button {
    width: 100%;
  }

  .war-amount-grid {
    grid-template-columns: 1fr 1fr;
  }

  .war-donation-panel__number {
    font-size: 44px;
  }
}

/* =========================================================
   RECENT PUBLIC WAR DONATIONS
========================================================= */

.war-donation-section--public {
  overflow: hidden;
}


#recentPublicDonations {
  outline: none !important;
}


.war-public-donations {
  display: grid;
  gap: 14px;
  width: 100%;
}


.war-public-donation-row {
  display: grid;
  grid-template-columns:
    minmax(220px, 1.7fr)
    minmax(130px, 0.9fr)
    minmax(100px, 0.65fr)
    minmax(120px, 0.75fr);

  gap: 0;
  width: 100%;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.012)
    ),
    #09090a;
}


.war-public-donation-row__cell {
  min-width: 0;
  padding: 22px 20px;

  border-right: 1px solid rgba(255, 255, 255, 0.07);
}


.war-public-donation-row__cell:last-of-type {
  border-right: 0;
}


.war-public-donation-row__cell > span,
.war-public-donation-row__message > span {
  display: block;

  margin-bottom: 8px;

  color: #686870;

  font-size: 8px;
  font-weight: 1000;
  letter-spacing: 1.4px;
  line-height: 1;

  text-transform: uppercase;
}


.war-public-donation-row__cell > strong {
  display: block;

  overflow: hidden;

  color: #f7f7f4;

  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;

  text-overflow: ellipsis;
}


.war-public-donation-row__cell > small {
  display: block;

  margin-top: 7px;

  overflow: hidden;

  color: #696971;

  font-size: 9px;
  line-height: 1.4;

  text-overflow: ellipsis;
  white-space: nowrap;
}


.war-public-donation-row__value {
  text-align: right;
}


.war-public-donation-row__value strong {
  color: #ffffff;

  font-size: 15px;
  white-space: nowrap;
}


/* =========================================================
   PUBLIC DONATION MESSAGE
========================================================= */

.war-public-donation-row__message {
  grid-column: 1 / -1;

  padding: 19px 20px 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.07);

  background: rgba(0, 0, 0, 0.16);
}


.war-public-donation-row__message p {
  max-width: 1000px;

  margin: 0;

  color: #b4b4bb;

  font-size: 13px;
  line-height: 1.7;
}


/* =========================================================
   PUBLIC DONATION TRANSACTION
========================================================= */

.war-public-donation-row__tx {
  grid-column: 1 / -1;

  display: flex;
  align-items: center;

  min-height: 44px;

  padding: 0 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.065);

  color: var(--war-red);

  background: rgba(239, 23, 40, 0.018);

  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 0.9px;

  text-decoration: none;
  text-transform: uppercase;

  transition:
    color 150ms ease,
    background 150ms ease;
}


.war-public-donation-row__tx:hover {
  color: #ffffff;

  background: rgba(239, 23, 40, 0.08);
}


/* =========================================================
   PUBLIC DONATION EMPTY STATE
========================================================= */

.war-public-empty {
  display: grid;
  gap: 8px;

  padding: 26px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.02);
}


.war-public-empty span {
  color: var(--war-red);

  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 1.4px;

  text-transform: uppercase;
}


.war-public-empty strong {
  color: #9a9aa2;

  font-size: 12px;
  line-height: 1.6;
}


/* =========================================================
   VIEW ALL DONATIONS BUTTON
========================================================= */

.war-public-donations__footer {
  display: flex;

  margin-top: 22px;
}


.war-public-donations__footer .war-button {
  min-width: 210px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .war-public-donation-row {
    grid-template-columns:
      minmax(0, 1.4fr)
      minmax(0, 1fr);
  }


  .war-public-donation-row__cell {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }


  .war-public-donation-row__cell:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.07);
  }


  .war-public-donation-row__value {
    text-align: left;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .war-public-donation-row {
    grid-template-columns: 1fr;
  }


  .war-public-donation-row__cell,
  .war-public-donation-row__cell:nth-child(odd) {
    padding: 17px 18px;

    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  }


  .war-public-donation-row__message {
    padding: 17px 18px;
  }


  .war-public-donation-row__tx {
    padding: 0 18px;
  }


  .war-public-donations__footer .war-button {
    width: 100%;
  }

}