/* The support page (/support): ways to help, then the players who keep Daylight UI free. */

.eyebrow { display: flex; align-items: center; gap: 10px; font: 600 11px var(--font-game); letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-label); }
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 1px; background: var(--accent); }

/* hero */
.give-hero { padding: 76px 0 0; text-align: center; }
.give-hero .sun { width: 72px; height: auto; margin-bottom: 18px; filter: drop-shadow(0 0 18px rgba(230, 90, 114, 0.35)); animation: sun-up var(--open) var(--ease) both; }
.give-hero h1 { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.06; animation: sun-up var(--slow) var(--ease) both; }
.give-hero h1 .g { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.give-hero .lead { max-width: 560px; margin: 20px auto 0; }
@keyframes sun-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* the three ways */
#ways { padding-top: 56px; }
.ways { display: grid; grid-template-columns: 1.1fr 1.1fr 1fr; gap: 18px; align-items: stretch; }
.way { display: flex; transition: transform var(--normal) var(--ease); }
@media (hover: hover) { .way:hover { transform: translateY(-2px); } }
.way > .in { position: relative; inset: auto; margin: var(--t, 0); flex: 1; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 26px 26px; }
.way h2 { position: relative; font-size: 24px; line-height: 1.2; font-weight: 400; }
.way p { position: relative; flex: 1; font-size: 14px; line-height: 1.55; }
.way .wbtn { position: relative; margin-top: 8px; white-space: nowrap; }
.way .wbtn .arrow { display: inline-block; margin-left: 6px; transition: transform var(--fast) var(--ease); }
.way .wbtn:hover .arrow, .way .wbtn:focus-visible .arrow { transform: translateX(3px); }
.way .eyebrow { position: relative; }

/* the lit ones (Patreon and Ko-fi, first place, the monthly supporters): a thin Daylight line around the frame */
.lit::after, .step.p1::after, .monthly::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: 6px; padding: 1px; background: var(--accent); opacity: 0.7; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity var(--normal) var(--ease); }
.lit:hover::after { opacity: 1; }

/* Patreon and Ko-fi: lit alike, a soft Daylight glow behind it and an accent border */
.lit .glow { position: absolute; inset: -30% -30% -30% 10%; pointer-events: none; opacity: 0.2; filter: blur(34px);
  background: radial-gradient(closest-side, var(--hi), transparent), radial-gradient(closest-side at 30% 60%, var(--lo), transparent);
  transition: opacity var(--slow) var(--ease); }
.lit:hover .glow { opacity: 0.32; }
.lit h2 { font-size: 28px; }

.free { margin-top: 28px; text-align: center; color: var(--ink-label); font-size: 15px; line-height: 1.8; }

/* the donators */
#legends .head { max-width: none; text-align: center; margin-bottom: 48px; }
#legends .head .eyebrow { justify-content: center; margin-bottom: 14px; }
#legends .head .eyebrow::after { content: ""; width: 24px; height: 2px; border-radius: 1px; background: var(--accent); }
#legends .head p { margin-left: auto; margin-right: auto; max-width: 520px; }

/* the podium: first in the middle and raised, its light breathing slowly */
.podium { list-style: none; margin: 0 auto 26px; padding: 0; max-width: 760px; display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 16px; align-items: end; }
.step { display: flex; }
.step.p1 { order: 2; }
.step.p2 { order: 1; }
.step.p3 { order: 3; }
.step > .in { position: relative; inset: auto; margin: var(--t, 0); flex: 1; overflow: hidden; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 16px 22px; }
.step.p1 > .in { padding: 44px 16px 30px; }
.step .halo { position: absolute; left: 50%; top: 18%; width: 160px; height: 120px; transform: translate(-50%, -50%); pointer-events: none; filter: blur(26px); opacity: 0.22;
  background: radial-gradient(closest-side at 40% 50%, var(--lo), transparent), radial-gradient(closest-side at 60% 50%, var(--hi), transparent);
  animation: breathe 4.8s var(--ease-sine) infinite alternate; }
.step.p1 .halo { opacity: 0.38; width: 200px; }
@keyframes breathe { from { transform: translate(-50%, -50%) scale(0.9); } to { transform: translate(-50%, -50%) scale(1.12); } }
.step .rank { position: relative; font: 600 34px/1 var(--font-game); background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step.p1 .rank { font-size: 46px; }
.step .who { position: relative; margin-top: 6px; max-width: 100%; font: 400 20px/1.25 var(--font-head); color: var(--ink-value); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.step.p1 .who { font-size: 24px; }
.step .place { position: relative; font: 600 11px var(--font-game); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-label); }

/* the cards under it */
.list { display: flex; }
.list > .in { position: relative; inset: auto; margin: var(--t, 0); flex: 1; padding: 22px 26px 24px; }
.list .eyebrow { margin: 0 0 14px; }
.monthly { margin-bottom: 18px; }
.cols { display: grid; grid-template-columns: 1fr 1.6fr; gap: 18px; align-items: stretch; }

.names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.name { padding: 4px 12px; border-radius: 999px; font-size: 14px; line-height: 1.5; color: var(--ink-text);
  background: rgba(242, 238, 230, 0.05); box-shadow: inset 0 0 0 1px var(--line); }
.monthly .name { color: var(--ink-value); background: color-mix(in srgb, var(--mid) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mid) 35%, transparent); }

.ranks { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ranks li { display: flex; align-items: baseline; gap: 14px; padding: 6px 10px; border-radius: 4px; }
.ranks li:nth-child(odd) { background: rgba(242, 238, 230, 0.03); }
.ranks .n { width: 20px; text-align: right; font: 600 15px var(--font-game); color: var(--mid); }
.ranks .who { font-size: 15px; color: var(--ink-value); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.empty { text-align: center; color: var(--ink-label); }

.thanks { margin-top: 44px; text-align: center; }
.thanks p { color: var(--ink-label); }
.thanks .acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

@media (prefers-reduced-motion: reduce) {
  .step .halo, .give-hero .sun, .give-hero h1 { animation: none; }
}
@media (max-width: 860px) {
  .ways, .cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .give-hero { padding-top: 48px; }
  .podium { grid-template-columns: 1fr; gap: 12px; }
  .step.p1, .step.p2, .step.p3 { order: 0; }
  .step > .in, .step.p1 > .in { padding: 20px 16px; }
  .step.p1 .rank { font-size: 38px; }
  .list > .in { padding: 20px; }
}
