/* a8812254.css - pink polka dots background, coral hacker theme, frosted glass */

:root{
  --bg-paper: #fffafc;
  --text: #0a0a0a;
  --muted: #6b6b6b;
  --coral: #ff6f61;
  --coral-dark: #e85e50;
  --card: rgba(255,255,255,0.78);
  --glass: rgba(255,255,255,0.75);
  --ring: rgba(255, 111, 97, 0.95);
  --radius: 14px;
  --shadow: 0 8px 28px rgba(0,0,0,0.25);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background-color: var(--bg-paper);
  /* Pink polka dots background */
  background-image:
    radial-gradient(circle at 10px 10px, rgba(255, 105, 180, 0.75) 2px, transparent 3px),
    radial-gradient(circle at 30px 30px, rgba(255, 105, 180, 0.55) 2px, transparent 3px);
  background-size: 40px 40px, 40px 40px;
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Glassy header */
header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px) saturate(1.2);
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.brand {
  font-weight: 900;
  color: #0b0b0b;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 105, 180, 0.25);
  border: 1px solid rgba(0,0,0,0.15);
  text-shadow: 0 0 6px rgba(255, 105, 180, 0.8);
}

/* Main layout */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.hero {
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  text-align: center;
  width: min(92%, 900px);
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px) saturate(1.2);
}

/* Hierarchy: only one h1 allowed by spec, style accordingly */
h1 {
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  margin: 0.25rem 0;
  color: #0a0a0a;
  text-shadow: 0 0 12px rgba(0, 200, 120, 0.25);
  line-height: 1.08;
}

/* Subhead */
.subhead {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: #1a1a1a;
  margin: 0;
  opacity: 0.95;
}

/* Central CTA (visual centerpiece) */
.hero-cta {
  display: grid;
  grid-template-rows: auto auto;
  width: min(92%, 760px);
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px) saturate(1.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  margin-top: 0.25rem;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.38);
  outline: none;
}

.hero-cta img {
  width: 100%;
  height: auto;
  display: block;
}

.cta-text {
  padding: 0.75rem;
  font-weight: 700;
  color: #0a0a0a;
  text-align: center;
  background: rgba(255, 230, 230, 0.95);
  user-select: none;
}

/* Footer */
footer {
  padding: 1.25rem;
  text-align: center;
  color: #6e6e6e;
}

.footer-ad {
  display: inline-block;
  margin: 0.25rem auto 0.75rem;
}
.footer-ad a {
  color: #5a9b4b;
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0,0,0,0.12);
  display: inline-block;
  font-size: 0.9rem;
}

/* Focus states for accessibility on links */
a:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Desktop adjustments */
@media (min-width: 640px) {
  .hero { padding: 3rem; }
}