:root {
  --purple: #5b2b82;
  --purple-deep: #3c1b57;
  --gold: #f3c43a;
  --gold-soft: #f9dd8f;
  --cream: #fdf7f0;
  --ink: #1e1226;
  --muted: #5c4d69;
  --card: #ffffff;
  --shadow: 0 30px 60px rgba(40, 18, 60, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #f9f0ff 0%, #fff8e8 55%, #ffffff 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(92, 77, 105, 0.1);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: var(--purple-deep);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--purple);
}

.button {
  background: var(--purple);
  color: #fff;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 18px 30px rgba(91, 43, 130, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.button.small {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.button:hover {
  transform: translateY(-2px) scale(1.01);
  background: var(--purple-deep);
}

.button.ghost {
  background: transparent;
  color: var(--purple);
  border: 1px solid rgba(91, 43, 130, 0.35);
  box-shadow: none;
}

.button.ghost:hover {
  background: var(--purple);
  color: #fff;
}

main {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  position: relative;
}

.hero-content h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: var(--purple-deep);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.hero-stats .stat {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  display: block;
  color: var(--purple-deep);
}

.hero-art {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1.5rem;
  position: relative;
}

.glow-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  max-width: 320px;
  position: relative;
  overflow: hidden;
}

.glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(243, 196, 58, 0.25), rgba(91, 43, 130, 0.2));
  opacity: 0.6;
  pointer-events: none;
}

.card-title {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  margin-bottom: 0.6rem;
  position: relative;
}

.progress {
  height: 10px;
  background: rgba(91, 43, 130, 0.15);
  border-radius: 999px;
  overflow: hidden;
  margin: 1rem 0 0.5rem;
  position: relative;
}

.progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  border-radius: inherit;
}

.card-note {
  font-size: 0.85rem;
  color: var(--muted);
  position: relative;
}

.floating-tile {
  background: var(--purple);
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: 18px;
  font-weight: 600;
  box-shadow: 0 18px 30px rgba(91, 43, 130, 0.2);
  animation: float 6s ease-in-out infinite;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(243, 196, 58, 0.25), transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(91, 43, 130, 0.18), transparent 55%);
  z-index: -1;
}

.section {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-content {
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.section h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
  color: var(--purple-deep);
}

.section p {
  color: var(--muted);
}

.mission-grid,
.impact-grid,
.materials-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.mission-card,
.impact-card,
.materials-card {
  background: var(--card);
  padding: 1.8rem;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(40, 18, 60, 0.08);
}

.mission-card h3 {
  font-family: "Sora", sans-serif;
  margin-bottom: 0.6rem;
}

.impact {
  background: linear-gradient(140deg, rgba(91, 43, 130, 0.06), rgba(243, 196, 58, 0.12));
  border-radius: 32px;
}

.stat-number {
  font-family: "Sora", sans-serif;
  font-size: 2.4rem;
  color: var(--purple);
  margin-bottom: 0.4rem;
}

.event {
  background: var(--cream);
  border-radius: 28px;
}

.event-details {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 2rem 0;
}

.detail {
  padding: 1rem 1.2rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(91, 43, 130, 0.1);
}

.label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--purple);
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.materials-card {
  border: 1px dashed rgba(91, 43, 130, 0.3);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  text-align: center;
}

.donate {
  padding-bottom: 6rem;
}

.donate-wrapper {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  background: linear-gradient(120deg, rgba(91, 43, 130, 0.12), rgba(243, 196, 58, 0.22));
  border-radius: 32px;
  padding: 3rem;
}

.donate-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.donate-card ul {
  list-style: none;
  margin-top: 1rem;
}

.donate-card li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(91, 43, 130, 0.1);
}

.donate-card li:last-child {
  border-bottom: none;
}

.footer {
  background: var(--purple-deep);
  color: #f5e9ff;
  padding: 3rem 1.5rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer h3 {
  font-family: "Sora", sans-serif;
  margin-bottom: 0.6rem;
}

.footer .label {
  color: var(--gold-soft);
}

.footer-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(245, 233, 255, 0.7);
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal.in-view:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal.in-view:nth-child(3) {
  transition-delay: 0.2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 4rem;
  }

  .donate-wrapper {
    padding: 2.5rem;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.3rem;
  }

  .donate-wrapper {
    padding: 2rem;
  }

  .button {
    width: 100%;
  }

  .cta-group,
  .donate-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
