/* index.css - Cyberpunk, frosted-glass, yellow gradient landing page styling */

/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #111;
  /* Yellow gradient background (primary) */
  background: linear-gradient(135deg, #ffd56a 0%, #ffd24a 40%, #ffbf00 100%);
  min-height: 100vh;
}

/* Magenta accents (hacker/cyberpunk) */
:root {
  --magenta: #ff2bd4;
  --magenta-dark: #d600c3;
  --glass: rgba(255, 255, 255, 0.75);
}

.site-header {
  padding: 16px;
  text-align: center;
  background: transparent;
}

.brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--magenta);
  text-shadow: 0 0 12px rgba(255, 0, 180, 0.6);
  letter-spacing: .5px;
}

/* Main layout and hero (mobile-first) */
main { display: block; }

.hero {
  width: min(1100px, 92%);
  margin: 28px auto;
  padding: 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72); /* frosted glass effect */
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 18px;
  text-align: center;
}

/* Title styling with neon glow */
.hero h1 {
  font-size: 1.8rem;
  margin: 0;
  color: #1a1030;
  text-shadow: 0 0 8px rgba(255, 0, 180, 0.6);
}

/* Image centerpiece */
.hero-media img {
  width: 100%;
  height: auto;
  max-width: 750px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  display: block;
  margin-inline: auto;
}

.subhead {
  font-size: 1.05rem;
  color: #2a2a2a;
  margin: 0;
}

/* CTA - prominent centerpiece */
.cta {
  display: inline-block;
  margin: 6px auto 0;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #ff2bd4 0%, #ff1785 60%, #e600c1 100%);
  box-shadow: 0 6px 18px rgba(255, 0, 212, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255, 0, 212, 0.8);
}
.cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Footer with small advertisement */
.site-footer {
  text-align: center;
  padding: 14px 12px;
}
.footer-ad a {
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(135deg, #ff2bd4, #e600c6);
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
}
.gratitude {
  margin: 8px 0 0;
  font-size: 0.95rem;
  color: #333;
}

/* Desktop emphasis: place image side-by-side with text for a strong centerpiece */
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    text-align: left;
    align-items: center;
  }
  .hero-media { align-self: center; justify-self: center; }
  .hero h1 { font-size: 2.4rem; }
  .subhead { font-size: 1.15rem; }
  .cta { justify-self: start; }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
  .hero { transition: none; }
}