/* =========================================================
   DONACIÓN · versión ilustrada 2026-10-19
   ========================================================= */
.donation-magic-page {
  --don-ink: #3b1455;
  --don-purple: #6f2fb5;
  --don-violet: #8c4ed8;
  --don-pink: #f041a8;
  --don-blue: #6fa9ff;
  --don-cream: #fffafc;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(203, 177, 255, .28), transparent 34%),
    linear-gradient(180deg, #fffafd 0%, #f7f2ff 46%, #fffaf7 100%);
}

.donation-magic-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(118px, 11vw, 154px) 0 clamp(54px, 7vw, 90px);
  min-height: 760px;
  background:
    radial-gradient(ellipse at 50% 110%, rgba(150, 112, 220, .18) 0 23%, transparent 54%),
    linear-gradient(180deg, rgba(244,246,255,.72) 0%, rgba(249,237,255,.9) 100%);
}

.donation-magic-hero::before,
.donation-magic-hero::after {
  content: "";
  position: absolute;
  inset: auto -6% 0;
  height: 42%;
  pointer-events: none;
  z-index: -2;
}

.donation-magic-hero::before {
  background:
    linear-gradient(150deg, transparent 0 16%, rgba(157, 186, 255, .2) 16% 27%, transparent 27% 31%, rgba(157, 186, 255, .18) 31% 40%, transparent 40%) left bottom/52% 100% no-repeat,
    linear-gradient(210deg, transparent 0 16%, rgba(184, 151, 231, .19) 16% 28%, transparent 28% 33%, rgba(157, 186, 255, .17) 33% 43%, transparent 43%) right bottom/56% 100% no-repeat;
  filter: blur(.1px);
}

.donation-magic-hero::after {
  height: 23%;
  background:
    radial-gradient(ellipse at 8% 100%, rgba(103,83,164,.24), transparent 50%),
    radial-gradient(ellipse at 30% 100%, rgba(123,112,183,.18), transparent 48%),
    radial-gradient(ellipse at 70% 100%, rgba(105,86,173,.18), transparent 46%),
    radial-gradient(ellipse at 94% 100%, rgba(105,86,173,.2), transparent 48%);
  opacity: .76;
}

.donation-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background:
    radial-gradient(circle at 8% 14%, rgba(255,255,255,.95) 0 5%, transparent 18%),
    radial-gradient(circle at 86% 18%, rgba(255,255,255,.82) 0 6%, transparent 21%),
    linear-gradient(180deg, #edf5ff 0%, #f7edff 54%, #fff8fc 100%);
}

.donation-flower {
  position: absolute;
  z-index: 1;
  color: #ba65db;
  font-size: clamp(2.2rem, 6vw, 5rem);
  filter: drop-shadow(0 10px 22px rgba(104, 47, 157, .2));
  opacity: .65;
  pointer-events: none;
}
.donation-flower--left { left: 2.2%; top: 22%; transform: rotate(-16deg); }
.donation-flower--right { right: 2.5%; top: 15%; transform: rotate(20deg); }

.donation-magic-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: clamp(20px, 4vw, 70px);
  align-items: center;
}

.donation-magic-card {
  position: relative;
  z-index: 3;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(122, 63, 166, .14);
  border-radius: clamp(28px, 4vw, 46px);
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 30px 80px rgba(84, 37, 118, .14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.donation-magic-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #6d2ca2;
  background: linear-gradient(90deg, rgba(244, 213, 255, .9), rgba(255, 230, 248, .92));
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.donation-magic-eyebrow > span { color: #f02ca6; }

.donation-magic-card h1 {
  max-width: 760px;
  margin: 20px 0 20px;
  color: var(--don-ink);
  font-family: var(--display);
  font-size: clamp(2.9rem, 5.6vw, 5.9rem);
  line-height: .96;
  letter-spacing: -.055em;
}
.donation-magic-card h1 em {
  font-family: var(--serif);
  color: var(--don-pink);
  font-weight: 700;
}
.donation-magic-card > p {
  max-width: 690px;
  margin-bottom: 26px;
  color: #665a72;
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.78;
}

.donation-paypal-magic {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  width: min(100%, 590px);
  min-height: 66px;
  padding: 8px 18px 8px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(100deg, #ef3ca6 0%, #963ed4 46%, #5d4fe2 100%);
  box-shadow: 0 18px 44px rgba(127, 55, 188, .28), inset 0 0 0 1px rgba(255,255,255,.32);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}
.donation-paypal-magic:hover,
.donation-paypal-magic:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(127, 55, 188, .35), inset 0 0 0 1px rgba(255,255,255,.42);
}
.donation-paypal-magic__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255,255,255,.2);
  font: 800 1.55rem/1 var(--display);
  transform: skew(-8deg);
}
.donation-paypal-magic__arrow { font-size: 1.55rem; }

.donation-impact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  color: #5f4b70;
  font-size: .85rem;
  font-weight: 700;
}
.donation-impact-row span { display: inline-flex; align-items: center; gap: 7px; }
.donation-impact-row svg { width: 20px; height: 20px; fill: #6d31bd; }

.donation-magic-art {
  position: relative;
  z-index: 2;
  min-height: 600px;
  display: grid;
  place-items: end center;
}
.donation-magic-art img {
  width: min(100%, 670px);
  max-height: 670px;
  object-fit: contain;
  filter: drop-shadow(0 26px 35px rgba(75, 31, 105, .14));
  transform: translateY(20px);
}
.donation-handnote {
  position: absolute;
  z-index: 3;
  color: #7a34b7;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.75rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  transform: rotate(-7deg);
  text-shadow: 0 1px 0 #fff;
}
.donation-handnote--top { top: 8%; right: 0; }
.donation-handnote--side { right: -4%; bottom: 19%; transform: rotate(7deg); }

.donation-youtube-showcase {
  position: relative;
  padding: clamp(52px, 7vw, 92px) 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(250,242,255,.9)),
    radial-gradient(circle at 15% 10%, rgba(242, 190, 255, .25), transparent 30%);
}
.donation-youtube-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(85, 33, 112, .12);
  border-radius: clamp(28px, 4vw, 46px);
  background: rgba(255,255,255,.88);
  box-shadow: 0 30px 80px rgba(68, 30, 92, .12);
}
.donation-youtube-panel::before {
  content: "";
  position: absolute;
  width: 420px;
  aspect-ratio: 1;
  right: -120px;
  bottom: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,118,255,.2), transparent 65%);
  pointer-events: none;
}
.donation-youtube-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px;
}
.donation-youtube-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--don-ink);
  font-weight: 800;
  font-size: 1.05rem;
}
.donation-youtube-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 32px;
  border-radius: 9px;
  background: #ff0a3c;
}
.donation-youtube-logo svg { width: 24px; height: 24px; fill: #fff; }
.donation-youtube-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(1.7rem, 3vw, 3.1rem);
  color: var(--don-ink);
}
.donation-youtube-channel-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  color: #562076;
  background: #f1e3ff;
  font-size: .9rem;
  font-weight: 800;
}
.donation-youtube-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}
.donation-channel-preview {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(83, 41, 111, .13);
  background: #fff;
  box-shadow: 0 20px 48px rgba(62, 25, 85, .13);
  transition: transform .25s ease, box-shadow .25s ease;
}
.donation-channel-preview:hover,
.donation-channel-preview:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 28px 64px rgba(62, 25, 85, .18);
}
.donation-channel-preview img { width: 100%; height: auto; }
.donation-youtube-copy { position: relative; z-index: 2; padding: 8px 0 80px; }
.donation-youtube-copy h3 {
  margin: 18px 0 16px;
  color: var(--don-ink);
  font-size: clamp(2rem, 3.5vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.donation-youtube-copy p { max-width: 630px; line-height: 1.78; }
.donation-youtube-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.donation-sleeping-sticker {
  position: absolute;
  z-index: 1;
  right: -3%;
  bottom: -8%;
  width: clamp(150px, 23vw, 330px);
  filter: drop-shadow(0 18px 24px rgba(75,30,105,.16));
  pointer-events: none;
}

.donation-small-support {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 20%, rgba(191,166,255,.28), transparent 26%),
    linear-gradient(180deg, #f8f2ff 0%, #fffaf7 100%);
}
.donation-small-support__grid {
  display: grid;
  grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}
.donation-small-support__art {
  min-height: 360px;
  display: grid;
  place-items: center;
}
.donation-small-support__art img {
  width: min(100%, 430px);
  filter: drop-shadow(0 22px 35px rgba(76,31,107,.16));
}
.donation-small-support__copy {
  padding: clamp(28px, 4vw, 50px);
  border-radius: 34px;
  border: 1px solid rgba(79, 31, 104, .1);
  background: rgba(255,255,255,.72);
  box-shadow: 0 24px 60px rgba(65,28,86,.09);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.donation-small-support__copy h2 {
  margin: 14px 0 20px;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 1.02;
}
.donation-small-support__copy p { max-width: 760px; line-height: 1.8; }
.donation-small-support__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

@media (max-width: 1040px) {
  .donation-magic-hero__grid,
  .donation-youtube-grid,
  .donation-small-support__grid {
    grid-template-columns: 1fr;
  }
  .donation-magic-art { min-height: 480px; }
  .donation-magic-art img { max-height: 520px; }
  .donation-handnote--top { right: 8%; }
  .donation-handnote--side { right: 6%; }
  .donation-youtube-copy { padding-bottom: 120px; }
  .donation-small-support__art { order: 2; min-height: 260px; }
  .donation-small-support__art img { width: min(82vw, 420px); }
}

@media (max-width: 720px) {
  .donation-magic-hero { padding-top: 100px; min-height: auto; }
  .donation-magic-card { padding: 24px 20px; border-radius: 28px; }
  .donation-magic-card h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
  .donation-paypal-magic { grid-template-columns: 40px 1fr auto; min-height: 60px; font-size: 1rem; }
  .donation-paypal-magic__icon { width: 40px; height: 40px; }
  .donation-impact-row { gap: 10px 14px; }
  .donation-magic-art { min-height: 370px; }
  .donation-magic-art img { width: min(96vw, 500px); max-height: 440px; }
  .donation-handnote { display: none; }
  .donation-youtube-panel { padding: 20px; border-radius: 28px; }
  .donation-youtube-heading { align-items: flex-start; flex-direction: column; }
  .donation-youtube-channel-btn { width: 100%; justify-content: center; }
  .donation-channel-preview { border-radius: 20px; }
  .donation-youtube-copy { padding-bottom: 112px; }
  .donation-youtube-actions,
  .donation-small-support__actions { flex-direction: column; }
  .donation-youtube-actions .btn,
  .donation-small-support__actions .btn { width: 100%; }
  .donation-sleeping-sticker { right: 50%; transform: translateX(50%); bottom: -3%; width: 190px; }
  .donation-small-support__copy { padding: 26px 20px; border-radius: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .donation-paypal-magic,
  .donation-channel-preview { transition: none; }
}
