/* CSS: Violet-green galaxy with lime hacker vibes, frosted glass, mobile-first */

/* Reset and base */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #eafff0;
  min-height: 100vh;
  /* Green/blue galaxy-like backdrop with neon lime accents */
  background-color: #04160b;
  background-image:
    /* subtle star specks */
    radial-gradient( circle at 20% 20%, rgba(80,255,120,.9) 0 1px, transparent 1px ),
    radial-gradient( circle at 70% 40%, rgba(0,255,180,.85) 0 1px, transparent 1px ),
    radial-gradient( circle at 40% 70%, rgba(180,255,120,.75) 0 1px, transparent 1px ),
    /* diagonal veils for depth */
    linear-gradient(135deg, rgba(0,0,0,.15), rgba(0,0,0,.0) 40%),
    linear-gradient(45deg, rgba(0,0,0,.06), rgba(0,0,0,.0) 40%);
  background-size: 2px 2px, 2px 2px, 2px 2px, cover, cover;
  background-blend-mode: screen, screen, screen, normal, normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Header spacer (no visible branding) */
.site-header { height: 64px; }

/* Hero: frosted glass card with a grid layout; mobile-first */
.hero {
  width: min(92%, 860px);
  margin: 2rem auto;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  display: grid;
  gap: 1rem;
  text-align: center;
  grid-template-rows: auto auto auto auto;
  isolation: isolate;
}

/* Title and subtitle */
.hero h1 {
  font-size: 1.6rem;
  margin: 0;
  color: #eaffd6;
}
.subhead {
  font-size: 1rem;
  color: #eaffd6;
  opacity: 0.95;
  margin: 0;
}

/* Image centerpiece */
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.75);
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}

/* CTA: prominent visual centerpiece button (though it's a link) */
.cta {
  display: inline-block;
  padding: 1rem 1.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0b0b0b;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #4aff9a 0%, #3bdc7e 60%, #2abf63 100%);
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.25); }
.cta:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Footer: small advertisement + gratitude */
.site-footer {
  padding: 1rem;
  text-align: center;
  font-size: 0.92rem;
  color: #e9ffe6;
}
.site-footer .ad a {
  color: #4aff9a;
  text-decoration: underline;
}
.site-footer .gratitude {
  margin-top: .5rem;
  color: #eaffea;
}

/* Accessibility: reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .cta, .hero { transition: none; }
  .hero-media img { transition: none; }
}

/* Desktop refinements */
@media (min-width: 768px) {
  .hero { padding: 2.25rem; gap: 1.75rem; }
  .hero h1 { font-size: 2rem; }
  .subhead { font-size: 1.02rem; }
  .cta { font-size: 1.3rem; padding: 1.15rem 2rem; }
}