:root {
  color-scheme: dark;
}

html {
  overflow-x: clip;
}

body.sleek-home.pollsmax-donate-page {
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  background: #050608;
  color: #e2e8f0;
  min-height: 100vh;
  overflow-x: clip;
}

body.sleek-home.pollsmax-donate-page h1,
body.sleek-home.pollsmax-donate-page h2,
body.sleek-home.pollsmax-donate-page h3 {
  font-family: "Plus Jakarta Sans", "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

body.sleek-home.pollsmax-donate-page #mainHeader {
  position: relative;
  z-index: 50;
  background: rgba(5, 6, 8, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.45);
  overflow: visible;
}

body.sleek-home.pollsmax-donate-page .sleek-home-header-logo {
  transform: scale(1.18) translateY(1px);
  transform-origin: left center;
}

body.sleek-home.pollsmax-donate-page footer {
  background: #0a0c10 !important;
  border-top: 1px solid rgba(51, 65, 85, 0.45) !important;
}

body.sleek-home.pollsmax-donate-page .sleek-sitelinks-strip .sleek-sitelinks-item {
  font-size: 0.75rem;
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: normal;
  white-space: nowrap;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

@media (min-width: 640px) {
  body.sleek-home.pollsmax-donate-page .sleek-sitelinks-strip .sleek-sitelinks-item {
    font-size: 0.8125rem;
  }
}

body.sleek-home.pollsmax-donate-page .sleek-sitelinks-strip a.sleek-sitelinks-item {
  color: #94a3b8;
  transition: color 0.12s ease;
}

body.sleek-home.pollsmax-donate-page .sleek-sitelinks-strip a.sleek-sitelinks-item:hover {
  color: #fff;
}

.pollsmax-donate-page main {
  overflow-x: clip;
}

.donate-hero {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 71px 20px 110px;
  text-align: center;
}

.donate-hero h1 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.55rem, 5vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: #ffffff;
}

.donate-intro {
  max-width: 1180px;
  margin: 32px auto 46px;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.72;
  color: #94a3b8;
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
  padding-top: 12px;
}

.donate-card {
  position: relative;
  min-height: 300px;
  padding: 28px 18px 20px;
  border: 1px solid rgba(51, 65, 85, 0.72);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(8, 11, 18, 0.96));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.donate-card:hover {
  transform: translateY(-3px);
  border-color: rgba(148, 163, 184, 0.72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.donate-card--popular {
  border-color: rgba(245, 158, 11, 0.72);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.12), 0 20px 52px rgba(245, 158, 11, 0.08);
}

.donate-card--popular:hover {
  border-color: rgba(251, 191, 36, 0.85);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.2), 0 22px 56px rgba(245, 158, 11, 0.12);
}

.donate-popular {
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #111827;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}

.donate-popular__text {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  display: inline-block;
  transform: scale(1.07);
}

.donate-amount {
  font-family: "Plus Jakarta Sans", "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.35rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #ffffff;
  margin-top: 2px;
}

.donate-frequency {
  margin-top: 10px;
  font-size: 0.92rem;
  font-weight: 400;
  color: #94a3b8;
}

.donate-tier-note {
  max-width: 180px;
  margin: 30px auto 0;
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 400;
}

.donate-button {
  width: 100%;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #ffffff;
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.22);
  transition: transform 0.14s ease, filter 0.14s ease, box-shadow 0.14s ease;
}

.donate-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.32);
  color: #ffffff;
}

.donate-one-time {
  display: inline-block;
  margin-top: 34px;
  color: #c4b5fd;
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.14s ease;
}

.donate-one-time:hover {
  color: #ffffff;
}

.donate-disclaimer {
  max-width: 680px;
  margin: 18px auto 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #64748b;
}

@media (max-width: 1050px) {
  .donate-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .donate-hero {
    padding: 45px 16px 82px;
  }

  .donate-intro {
    font-size: 0.875rem;
    line-height: 1.65;
  }

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

  .donate-card {
    min-height: 250px;
  }

  .donate-tier-note {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
  }

  .donate-button {
    margin-top: 0;
    flex-shrink: 0;
  }

  .donate-card:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 14px) / 2);
    margin-inline: auto;
  }
}

/* Light mode — cards + copy adapt; donate buttons keep dark-mode purple styling */
html[data-pollsmax-theme="light"] body.sleek-home.pollsmax-donate-page {
  background: #ffffff;
  color: #0f172a;
}

html[data-pollsmax-theme="light"] .donate-hero h1 {
  color: #000000;
}

html[data-pollsmax-theme="light"] .donate-intro {
  color: #475569;
}

html[data-pollsmax-theme="light"] .donate-disclaimer {
  color: #64748b;
}

html[data-pollsmax-theme="light"] .donate-card {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  box-shadow: none;
}

html[data-pollsmax-theme="light"] .donate-card:hover {
  border-color: #9ca3af;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

html[data-pollsmax-theme="light"] .donate-card--popular {
  background: #f3f4f6;
  border-color: rgba(245, 158, 11, 0.72);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.14);
}

html[data-pollsmax-theme="light"] .donate-card--popular:hover {
  border-color: rgba(251, 191, 36, 0.85);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.22), 0 14px 36px rgba(245, 158, 11, 0.1);
}

html[data-pollsmax-theme="light"] .donate-amount {
  color: #000000;
}

html[data-pollsmax-theme="light"] .donate-frequency {
  color: #374151;
}

html[data-pollsmax-theme="light"] .donate-tier-note {
  color: #4b5563;
}

html[data-pollsmax-theme="light"] .donate-button {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.22);
}

html[data-pollsmax-theme="light"] .donate-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.32);
  color: #ffffff;
}

html[data-pollsmax-theme="light"] .donate-one-time {
  color: #7c3aed;
}

html[data-pollsmax-theme="light"] .donate-one-time:hover {
  color: #5b21b6;
}
