/* === Visual Polish — Shadows, Transitions, Scroll Reveal === */

/* --- Resting shadow: adds depth to all flat cards --- */
.intro-card,
.tool-card,
.proj-card,
.hub-card,
.event-card,
.profile-card,
.mission-card,
.ini-card,
.link-card,
.step-card,
.odd-card,
.bib-card,
.stat-box {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* --- Smoother transitions on all cards --- */
.intro-card,
.tool-card,
.proj-card,
.hub-card,
.profile-card,
.mission-card,
.ini-card,
.link-card,
.step-card,
.odd-card,
.bib-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* --- Hover shadow for cards that don't already define one --- */
.intro-card:hover,
.tool-card:hover,
.event-card:hover,
.ini-card:hover,
.step-card:hover,
.odd-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* --- Subtle accent glow on buttons --- */
a.cta-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover,
.cta-btn:hover {
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

/* --- Scroll reveal animation --- */
.pp-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.pp-reveal.pp-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero section: subtle radial glow --- */
.hero {
  position: relative;
  overflow: hidden;
}
.pp-hero-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > *:not(.pp-hero-glow) {
  position: relative;
  z-index: 1;
}

/* --- Section divider accent line (between major sections) --- */
.pp-section-glow {
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
  margin: 0;
}
