/* Donations page — warm sunset / hope (poster-inspired) */

.donations-page {
  --donate-night: #140503;
  --donate-ember: #ef5b16;
  --donate-amber: #f5a623;
  --donate-rose: #f08aa8;
  --donate-cream: #fff4e8;
  min-height: 100vh;
  background: var(--donate-night);
  color: var(--donate-cream);
}

.donations-page .skip-link {
  color: #1a0604;
}

.donations-topbar {
  position: relative;
  z-index: 2;
  padding: 16px 0;
  background: linear-gradient(180deg, rgba(10, 2, 1, 0.92), rgba(10, 2, 1, 0.35));
}

.donations-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.donations-topbar .brand-copy strong,
.donations-topbar .brand-copy small {
  color: #fff;
}

.donations-topbar .brand-copy em {
  color: var(--donate-amber);
}

.donations-top-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.donations-topbar .text-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

/* Full-bleed emotional hero */
.donations-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.donations-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.donations-hero-media picture,
.donations-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.donations-hero-media img {
  object-fit: cover;
  object-position: center top;
  transform: scale(1.04);
  animation: donations-hero-drift 18s ease-in-out infinite alternate;
}

.donations-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 3, 2, 0.2) 0%, transparent 40%, rgba(12, 3, 2, 0.55) 100%);
  pointer-events: none;
}

.donations-hero-copy {
  position: relative;
  z-index: 2;
  padding: 48px 0 56px;
  display: flex;
  justify-content: center;
  animation: donations-rise 0.9s ease-out both;
}

/* Phone: portrait poster, show full image (no side crop) */
@media (max-width: 768px) {
  .donations-hero {
    min-height: 0;
    display: block;
    overflow: visible;
  }

  .donations-hero-media {
    position: relative;
    inset: auto;
  }

  .donations-hero-media picture,
  .donations-hero-media img {
    height: auto;
  }

  .donations-hero-media img {
    object-fit: unset;
    object-position: center top;
    transform: none;
    animation: none;
  }

  .donations-hero-shade {
    background:
      linear-gradient(180deg, transparent 55%, rgba(12, 3, 2, 0.5) 100%);
  }

  .donations-hero-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 16px 32px;
  }
}

.donations-hero-copy .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.donations-cta {
  box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.55);
  animation: donations-cta-glow 2.4s ease-in-out infinite;
}

.donations-main {
  position: relative;
  margin-top: -28px;
  padding-bottom: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(239, 91, 22, 0.18), transparent 40%),
    linear-gradient(180deg, #1a0805 0%, #2a1008 40%, #1f0a06 100%);
}

.donations-layout {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: 8px 0 48px;
}

.donations-cause {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(245, 166, 35, 0.35);
  background: linear-gradient(135deg, rgba(239, 91, 22, 0.18), rgba(0, 0, 0, 0.25));
}

.donations-cause-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  flex-shrink: 0;
}

.donations-cause-title {
  margin: 0 0 4px;
  font-weight: 700;
  color: #fff;
}

.donations-cause-meta {
  margin: 0;
  color: rgba(255, 244, 232, 0.78);
  font-size: 0.95rem;
}

.donations-form {
  padding: 28px 24px 30px;
  border-radius: 18px;
  border: 1px solid rgba(245, 166, 35, 0.28);
  background:
    linear-gradient(165deg, rgba(255, 248, 239, 0.97), rgba(255, 236, 214, 0.94));
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.donations-form .kicker {
  color: var(--orange-deep);
}

.donations-form h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--ink);
}

.donations-form-lead {
  margin: 0 0 20px;
  color: var(--ink-soft);
}

.amount-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 16px;
}

.amount-preset {
  appearance: none;
  border: 1px solid rgba(199, 60, 8, 0.35);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.amount-preset:hover {
  transform: translateY(-2px);
  border-color: var(--donate-ember);
  box-shadow: 0 0 18px rgba(239, 91, 22, 0.25);
}

.amount-preset.is-active {
  background: linear-gradient(135deg, #ef5b16, #f5a623);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 22px rgba(245, 166, 35, 0.45);
}

.custom-amount-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.custom-amount-wrap span {
  font-weight: 700;
  color: var(--orange-deep);
}

.custom-amount-wrap input {
  border: 0;
  background: transparent;
  width: 100%;
  padding: 14px 0;
  font: inherit;
  color: var(--ink);
}

.custom-amount-wrap input:focus {
  outline: none;
}

.donations-form label {
  display: block;
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 0.92rem;
}

.donations-form .optional {
  font-weight: 500;
  color: var(--ink-soft);
}

.donations-form input[type="text"],
.donations-form input[type="email"],
.donations-form input[type="tel"],
.donations-form textarea {
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.donations-form textarea {
  resize: vertical;
  min-height: 90px;
}

.donations-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}

.donations-form .form-span-2 {
  grid-column: 1 / -1;
}

.donations-form .field-hint {
  margin: -8px 0 14px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.donations-anon {
  margin: 0 0 16px;
}

.anon-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
}

.anon-check input {
  margin-top: 4px;
  width: auto;
}

.anon-check small {
  display: block;
  font-weight: 500;
  color: var(--ink-soft);
}

.donations-form.is-anonymous #name-field label::after,
.donations-form.is-anonymous #phone-field label::after {
  content: " (optional)";
  font-weight: 500;
  color: var(--ink-soft);
}

.donations-selected {
  margin: 8px 0 16px;
  font-size: 1.05rem;
}

.donations-selected strong {
  color: var(--orange-deep);
}

.donations-form .fineprint {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.donations-form .form-error {
  margin: 12px 0 0;
  color: #a11;
  font-weight: 600;
}

.donations-partners {
  padding: 40px 0 28px;
  border-top: 1px solid rgba(245, 166, 35, 0.2);
}

.donations-partners .kicker {
  text-align: center;
  color: var(--donate-amber);
  margin-bottom: 18px;
}

.donations-logo-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.donations-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 88px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.donations-logo-dark {
  background: #111;
}

.donations-logo img {
  max-width: 100%;
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.donations-footer {
  padding: 28px 0 48px;
  border-top: 1px solid rgba(245, 166, 35, 0.18);
  background: rgba(0, 0, 0, 0.25);
}

.donations-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.donations-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.donations-footer-brand img {
  width: 72px;
  height: auto;
  border-radius: 10px;
  background: #fff;
}

.donations-footer-brand p {
  margin: 0;
  max-width: 22ch;
  color: rgba(255, 244, 232, 0.85);
}

.donations-enquiries .tickets-contacts-label {
  margin: 0 0 8px;
  color: var(--donate-amber);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.donations-enquiries ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.donations-enquiries li {
  display: flex;
  gap: 12px;
  margin: 0 0 6px;
  color: rgba(255, 244, 232, 0.9);
}

.donations-enquiries a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.donations-enquiries a:hover {
  color: var(--donate-amber);
}

.donations-shell {
  width: min(640px, calc(100% - 40px));
  margin: 48px auto 80px;
  padding: 36px 28px;
  border-radius: 18px;
  border: 1px solid rgba(245, 166, 35, 0.28);
  background: linear-gradient(165deg, rgba(255, 248, 239, 0.97), rgba(255, 236, 214, 0.94));
  color: var(--ink);
}

.donations-result h1 {
  font-family: var(--serif);
  margin: 0 0 12px;
}

.donations-quote {
  font-family: "Caveat", cursive;
  font-size: 1.6rem;
  color: var(--orange-deep);
  margin: 0 0 22px;
}

@keyframes donations-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes donations-hero-drift {
  from { transform: scale(1.04); }
  to { transform: scale(1.08); }
}

@keyframes donations-cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.35); }
  50% { box-shadow: 0 0 28px 4px rgba(245, 166, 35, 0.45); }
}

@media (max-width: 640px) {
  .amount-presets {
    grid-template-columns: repeat(2, 1fr);
  }

  .donations-form .form-grid {
    grid-template-columns: 1fr;
  }

  .donations-logo {
    width: calc(50% - 10px);
    min-width: 130px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .donations-hero-media img,
  .donations-hero-copy,
  .donations-cta,
  .amount-preset {
    animation: none !important;
    transition: none !important;
  }
}
