:root {
  --background: #061225;
  --surface: #0c1d34;
  --surface-dark: #08172b;
  --border: #294563;
  --accent: #48d8ff;
  --text: #f5f9ff;
  --muted: #b7c8dc;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.donation-page { min-height: 100vh; padding: 28px 20px 56px; }
.back-link { display: block; width: min(1120px, 100%); margin: 0 auto 18px; color: var(--muted); font-size: .9rem; }
.back-link:hover { color: var(--accent); }
.donation-shell { width: min(1120px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: start; }
.campaign-card, .checkout-card { overflow: hidden; background: var(--surface); border: 1px solid rgba(71, 204, 255, .18); border-radius: 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, .28); }
.campaign-image { position: relative; aspect-ratio: 1 / 1; background: #07142d; }
.campaign-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.campaign-image::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(6, 18, 37, .82), transparent 40%); }
.campaign-badge { position: absolute; z-index: 1; bottom: 24px; left: 28px; padding: 8px 14px; border-radius: 999px; background: var(--accent); color: #061225; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.campaign-copy { padding: 30px 34px 34px; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .15em; }
h1 { margin: 0 0 16px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; }
h2, h3 { margin: 0; }
.campaign-copy p, .checkout-header p { color: var(--muted); line-height: 1.6; }
.about-link { display: inline-block; margin-top: 6px; color: var(--accent); font-weight: 800; text-decoration: none; }
.about-link:hover { text-decoration: underline; }
.campaign-copy ul { display: grid; gap: 13px; margin: 26px 0 0; padding: 0; list-style: none; color: #d7e6f4; }
.campaign-copy li span { margin-right: 10px; color: var(--accent); font-weight: 800; }
.checkout-card { padding: 30px; }
.checkout-header { margin-bottom: 22px; }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.amount-grid button { padding: 14px 8px; border: 1px solid #234a6e; border-radius: 12px; background: #102947; color: #eaf8ff; cursor: pointer; font-weight: 800; }
.amount-grid button:hover, .amount-grid button.selected { border-color: var(--accent); background: var(--accent); color: #061225; }
form { display: grid; gap: 9px; }
form > label:not(.consent), legend { color: #dbeafa; font-size: .86rem; font-weight: 700; }
input[type="text"], input[type="email"], input[type="tel"] { width: 100%; margin-bottom: 8px; padding: 13px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-dark); color: #fff; }
input:focus, textarea:focus { outline: 2px solid rgba(72, 216, 255, .35); border-color: var(--accent); }
fieldset { display: grid; gap: 9px; margin: 10px 0; padding: 0; border: 0; }
.payment-option { display: flex; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.payment-option.selected { border-color: var(--accent); background: rgba(72, 216, 255, .08); }
.payment-option span { display: grid; gap: 3px; flex: 1; }
.payment-option small { color: #91a8bf; }
.consent { display: flex; align-items: flex-start; gap: 9px; margin: 5px 0 8px; color: #9eb4c9; font-size: .82rem; }
.submit-button { display: block; width: 100%; padding: 14px; border: 0; border-radius: 10px; background: var(--accent); color: #061225; cursor: pointer; font-weight: 800; text-align: center; text-decoration: none; }
.submit-button:disabled { cursor: not-allowed; opacity: .5; }
.error { color: #ff9a9a; font-size: .86rem; }
.result { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); text-align: center; }
.result p { color: var(--muted); font-size: .9rem; }
.result img { display: block; width: min(220px, 100%); margin: 14px auto; padding: 8px; border-radius: 8px; background: #fff; }
.result textarea { width: 100%; min-height: 74px; padding: 10px; resize: vertical; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-dark); color: #dbeafa; }
.copy-button { margin-top: 10px; padding: 9px 14px; border: 1px solid var(--accent); border-radius: 8px; background: transparent; color: var(--accent); cursor: pointer; }
.link-button { margin-top: 16px; }
.success { color: #8fe6bd !important; }
[hidden] { display: none !important; }

.about-page { min-height: 100vh; padding: 28px 20px 70px; }
.about-header, .about-content { width: min(940px, 100%); margin: 0 auto; }
.about-header { padding-bottom: 48px; }
.about-header .back-link { width: auto; margin-bottom: 52px; }
.about-header h1 { max-width: 880px; }
.about-lead { max-width: 760px; margin: 22px 0 26px; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.about-cta { width: fit-content; min-width: 220px; }
.soundtrack-control { display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 760px; margin: 28px 0; padding: 14px 16px; border: 1px solid rgba(72, 216, 255, .2); border-radius: 14px; background: rgba(8, 23, 43, .62); }
.soundtrack-label { margin: 0 0 4px; color: var(--accent); font-size: .7rem; font-weight: 800; letter-spacing: .13em; }
.soundtrack-status { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.soundtrack-button { flex: 0 0 auto; padding: 10px 14px; border: 1px solid var(--accent); border-radius: 9px; background: transparent; color: var(--accent); cursor: pointer; font-weight: 800; }
.soundtrack-button:hover { background: rgba(72, 216, 255, .1); }
.soundtrack-button:disabled { cursor: not-allowed; opacity: .5; }
.about-content { display: grid; gap: 22px; }
.about-section { padding: 36px; border: 1px solid rgba(71, 204, 255, .18); border-radius: 22px; background: var(--surface); box-shadow: 0 20px 60px rgba(0, 0, 0, .2); }
.about-section-highlight { background: linear-gradient(135deg, rgba(12, 29, 52, .98), rgba(11, 42, 68, .9)); }
.about-section h2 { margin-bottom: 16px; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; }
.about-section > p:not(.eyebrow), .care-card p, .about-list span { color: var(--muted); line-height: 1.7; }
.about-section > p:not(.eyebrow) + p { margin-top: 16px; }
.media-section > div:first-child { max-width: 720px; }
.media-layout { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 28px; }
.media-photo-card { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: rgba(8, 23, 43, .62); }
.media-photo-card img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.media-card { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: rgba(8, 23, 43, .62); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.media-card video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #050b16; }
.media-card figcaption { padding: 14px 16px 16px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.media-photo-card figcaption { padding: 12px; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.care-card { padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: rgba(8, 23, 43, .62); }
.care-icon { display: block; margin-bottom: 14px; font-size: 1.7rem; }
.care-card h3 { font-size: 1.05rem; line-height: 1.3; }
.care-card p { margin: 10px 0 0; font-size: .92rem; }
.about-list { display: grid; gap: 20px; margin: 28px 0 0; padding: 0 0 0 24px; }
.about-list li { padding-left: 8px; color: var(--accent); }
.about-list strong { display: block; margin-bottom: 6px; color: var(--text); font-size: 1.05rem; }
.about-list span { display: block; }
.about-final { text-align: center; }
.about-final p:not(.eyebrow) { max-width: 720px; margin: 0 auto 24px; }
.about-final .about-cta { margin: 0 auto; }

@media (max-width: 820px) {
  .donation-shell { grid-template-columns: 1fr; }
  .media-layout { grid-template-columns: 120px minmax(0, 1fr); }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .care-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .donation-page { padding: 20px 12px 40px; }
  .about-page { padding: 20px 12px 48px; }
  .about-header .back-link { margin-bottom: 34px; }
  .about-section { padding: 26px 22px; }
  .soundtrack-control { align-items: stretch; flex-direction: column; }
  .soundtrack-button { width: 100%; }
  .media-layout { grid-template-columns: 1fr; }
  .media-photo-card { width: 150px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-card { padding: 22px 18px; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
}
