:root {
  color-scheme: dark;
  --ink: #fff6dc;
  --muted: #c9bfa6;
  --dim: #887b65;
  --void: #070509;
  --stage: #120b12;
  --velvet: #3a0d18;
  --velvet-deep: #190811;
  --gold: #f0bc54;
  --gold-deep: #9f6521;
  --teal: #22c7b7;
  --red: #b72834;
  --line: rgba(240, 188, 84, 0.42);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.56);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    repeating-linear-gradient(90deg, rgba(80, 13, 30, 0.28) 0 34px, rgba(18, 8, 16, 0.42) 34px 70px),
    linear-gradient(180deg, #130713 0, #070509 46%, #0d080d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.66), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.66)),
    linear-gradient(180deg, rgba(240, 188, 84, 0.08), transparent 38%);
}

.shell {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0;
}

.marquee {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 246, 220, 0.05), transparent 80px),
    linear-gradient(135deg, rgba(58, 13, 24, 0.92), rgba(7, 5, 9, 0.96) 46%, rgba(18, 11, 18, 0.98));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.bulbs {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 10px;
  padding: 13px 16px;
  background: linear-gradient(180deg, #211014, #0b0709);
  border-bottom: 1px solid var(--line);
}

.bulbs span {
  justify-self: center;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(240, 188, 84, 0.82), inset 0 -2px 3px rgba(67, 31, 5, 0.45);
}

.bulbs span:nth-child(3n) {
  background: var(--teal);
  box-shadow: 0 0 12px rgba(34, 199, 183, 0.72), inset 0 -2px 3px rgba(3, 51, 48, 0.5);
}

.bulbs span:nth-child(4n) {
  background: #ff5b66;
  box-shadow: 0 0 12px rgba(255, 91, 102, 0.72), inset 0 -2px 3px rgba(68, 0, 8, 0.5);
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 30px;
  align-items: center;
  padding: 30px;
}

.copy {
  padding: 4px 0;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 13px;
  padding: 6px 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  border: 1px solid rgba(240, 188, 84, 0.58);
  background: rgba(10, 5, 8, 0.54);
  border-radius: 999px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  color: #fff1bd;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 3px 0 #4a1118, 0 0 28px rgba(240, 188, 84, 0.22);
}

.summary {
  max-width: 600px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 14px;
}

.button {
  position: relative;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 12px 14px;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #160b10;
  box-shadow: inset 0 0 0 1px rgba(255, 246, 220, 0.04);
}

.button::before,
.button::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 18px;
  background: var(--stage);
  border-radius: 999px;
  transform: translateY(-50%);
}

.button::before {
  left: -7px;
}

.button::after {
  right: -7px;
}

.button span {
  color: currentColor;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.78;
}

.button.primary {
  color: #210b08;
  background: linear-gradient(180deg, #ffd878, #d89225);
  border-color: #ffe1a0;
}

.button.primary:hover {
  filter: brightness(1.08);
}

.button.secondary {
  color: #f4ead0;
  background: linear-gradient(180deg, #812232, #3b101a);
  border-color: rgba(255, 115, 128, 0.58);
}

.button.cloud {
  color: #091a18;
  background: linear-gradient(180deg, #6af0df, #22a99d);
  border-color: #9ff7ed;
}

.button.donate {
  color: #fff4da;
  background: linear-gradient(180deg, #682f88, #2a123a);
  border-color: rgba(221, 146, 255, 0.64);
}

.support-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 190px);
  gap: 12px;
  align-items: center;
  margin: 22px 0 4px;
  padding: 14px;
  border: 1px solid rgba(240, 188, 84, 0.62);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(183, 40, 52, 0.24), rgba(34, 199, 183, 0.12)),
    rgba(10, 5, 8, 0.64);
  box-shadow: inset 0 0 0 1px rgba(255, 246, 220, 0.06), 0 0 24px rgba(240, 188, 84, 0.12);
}

.support-main p {
  margin: 0;
  color: #fff1bd;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.32;
}

.support-main .button {
  min-height: 58px;
}

.button.disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.note {
  margin: 0;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.45;
}

.poster {
  margin: 0;
}

.poster-frame {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(240, 188, 84, 0.62);
  background:
    linear-gradient(180deg, rgba(240, 188, 84, 0.18), rgba(23, 10, 14, 0.9)),
    #12080c;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.46);
}

.poster img {
  display: block;
  width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(255, 246, 220, 0.14);
  background: #050505;
}

.poster figcaption {
  margin-top: 9px;
  color: var(--dim);
  font-size: 13px;
}

.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.details article {
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(240, 188, 84, 0.34);
  background: linear-gradient(180deg, rgba(23, 11, 16, 0.96), rgba(9, 6, 10, 0.96));
}

.details h2 {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 18px;
}

.details p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.donate-marquee {
  margin-bottom: 18px;
}

.donate-head {
  padding: 30px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 12px;
  padding: 9px 14px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 5, 8, 0.58);
}

.support-callout {
  max-width: 760px;
  margin: 18px 0 4px;
  padding: 16px 18px;
  color: #fff1bd;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
  border: 1px solid rgba(240, 188, 84, 0.62);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(183, 40, 52, 0.22), rgba(34, 199, 183, 0.13)),
    rgba(10, 5, 8, 0.64);
  box-shadow: inset 0 0 0 1px rgba(255, 246, 220, 0.06), 0 0 24px rgba(240, 188, 84, 0.12);
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.donate-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(240, 188, 84, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 246, 220, 0.04), transparent 80px),
    linear-gradient(180deg, rgba(23, 11, 16, 0.98), rgba(9, 6, 10, 0.98));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.36);
}

.coin-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.coin-title h2 {
  margin: 0;
  color: #fff1bd;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.coin-title span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.donate-card img {
  width: min(100%, 230px);
  align-self: center;
  padding: 9px;
  border-radius: 8px;
  border: 1px solid rgba(240, 188, 84, 0.55);
  background: #fff6dc;
}

.donate-card code {
  display: block;
  min-height: 48px;
  padding: 10px;
  overflow-wrap: anywhere;
  color: #f2dfb6;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  line-height: 1.35;
  border-radius: 8px;
  border: 1px solid rgba(240, 188, 84, 0.24);
  background: rgba(0, 0, 0, 0.28);
}

.copy-button {
  min-height: 44px;
  color: #210b08;
  font: inherit;
  font-weight: 800;
  border: 1px solid #ffe1a0;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffd878, #d89225);
  cursor: pointer;
}

.copy-button:hover {
  filter: brightness(1.08);
}

@media (max-width: 900px) {
  .download-panel,
  .details,
  .donate-grid,
  .support-main {
    grid-template-columns: 1fr;
  }

  .actions {
    grid-template-columns: 1fr;
  }
}
