/*  magenta-hacker-theme.css - Mobile-first, magenta gradient, frosted glass, future cyberpunk */

/* Global reset and variables */
:root {
  --bg-start: #1a0020;
  --bg-end:   #7a005c;
  --magenta:  #ff2bd9;
  --magenta-dark: #b4008a;
  --lime:     #a8ff6a;
  --text:     #ecf6ff;
  --muted:    #d8a6c9;
  --ring: rgba(255, 0, 170, 0.6);
  --card-radius: 14px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

/* Pink magenta gradient background with abstract blur/pattern */
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle magenta blur overlays for depth */
body::before {
  content: "";
  position: fixed;
  inset: -10% -10% auto -10%;
  height: 60%;
  background: radial-gradient(circle at 20% 20%, rgba(255,0,180,.25) 0 120px, transparent 120px),
              radial-gradient(circle at 60% 40%, rgba(255,100,220,.20) 0 120px, transparent 120px),
              radial-gradient(circle at 40% 70%, rgba(255,0,140,.18) 0 120px, transparent 120px);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

/* Light reset for layout */
* { box-sizing: border-box; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  text-align: center;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,.28);
  border-bottom: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
}
.brand {
  font-weight: 800;
  color: #ffd7f6;
  text-shadow: 0 0 10px rgba(255,0,140,.6);
  letter-spacing: .4px;
}

/* Main container */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 120px);
  position: relative;
  z-index: 1;
}

/* Frosted glass hero */
.hero {
  width: 100%;
  max-width: 940px;
  padding: 1.8rem;
  border-radius: var(--card-radius);
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  display: grid;
  gap: 1.25rem;
  text-align: center;
}

/* Title and subhead */
.hero h1 {
  font-size: clamp(1.8rem, 4vw + 1rem, 3rem);
  margin: 0;
  color: #fff9fb;
  text-shadow: 0 0 12px rgba(255,0,140,.9);
}
.subhead {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--muted);
  margin: 0.25rem 0 0;
}

/* Media and CTA area (grid-based) */
.hero-media {
  display: grid;
  gap: 20px;
  align-items: center;
  justify-items: center;
}
.hero-media img {
  width: min(92%, 720px);
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.25);
  box-shadow: 0 14px 38px rgba(0,0,0,.6);
}
.cta {
  display: inline-block;
  padding: 16px 34px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #061118;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4bd9 0%, #ff2d87 100%);
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 8px 22px rgba(0,0,0,.45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.55); }
.cta:focus { outline: none; box-shadow: 0 0 0 4px var(--ring); }

/* Footer */
footer {
  padding: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 2rem;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(2px);
}
.footer-ad a {
  color: #ffd7f0;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.18);
}
.gratitude { margin-top: 6px; }

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Responsive tweaks */
@media (min-width: 768px) {
  .hero { padding: 2rem; }
  .hero-media { gap: 28px; }
  .hero-media img { width: auto; max-width: 760px; }
}