/* 78facd21.css - blue paper texture with lime hacker theme, frosted glass, mobile-first */

/* Color system for blue paper texture + lime accents */
:root{
  --bg: #d6eaff;
  --text: #0e0e0e;
  --muted: #5a7a7a;
  --lime: #b5ff00;
  --lime-soft: rgba(181, 255, 0, 0.25);
  --card: rgba(255, 255, 255, 0.92);
  --glass: rgba(255, 255, 255, 0.85);
  --ring: rgba(181, 255, 0, 0.95);
  --radius: 14px;
  --shadow: 0 8px 28px rgba(0,0,0,.25);
}

/* Reset micro */
*, *::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);
  /* Blue paper texture: soft gradient with subtle paper speckling */
  background: linear-gradient(135deg, #e7f2ff 0%, #d1e8ff 60%, #cbe0ff 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  /* light blue paper grain overlay */
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.9) 2px, transparent 2px),
                    radial-gradient(circle at 6px 6px, rgba(0,0,0,.04) 2px, transparent 2px);
  background-size: 6px 6px, 6px 6px;
  mix-blend-mode: overlay;
  opacity: .6;
}

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

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

/* Main layout: centered, grid-based hero with frosted card */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

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

/* H1: single per page */
h1 {
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  margin: 0.25rem 0;
  color: #0a0a0a;
  text-shadow: 0 0 12px rgba(0, 200, 0, 0.25);
  line-height: 1.08;
}

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

/* Central CTA (the visual centerpiece) */
.hero-cta {
  display: grid;
  grid-template-rows: auto auto;
  width: min(92%, 720px);
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.14);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px) saturate(1.2);
  transition: transform .25s ease, box-shadow .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: #0e0e0e;
  text-align: center;
  background: rgba(255, 230, 170, 0.95);
  user-select: none;
}

/* Footer with small advertisement and gratitude message */
footer {
  padding: 1.25rem;
  text-align: center;
  color: #6b6b6b;
}
.footer-ad {
  display: inline-block;
  margin: 0.25rem auto 0.75rem;
}
.footer-ad a {
  color: #b12a00;
  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.15);
  display: inline-block;
  font-size: 0.9rem;
}

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

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