/* a8812254.css - white parchment background with red hacker theme, frosted glass */

/* Core color tokens */
:root{
  --bg: #fffaf6;            /* parchment-like background base */
  --text: #1a0a0a;
  --muted: #8a1b1b;
  --red: #e53935;
  --red-dark: #b01212;
  --card: rgba(255, 255, 255, 0.88);
  --glass: rgba(255, 255, 255, 0.8);
  --ring: rgba(229, 57, 53, 0.95);
  --radius: 14px;
  --shadow: 0 8px 28px rgba(0,0,0,0.25);
}

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

/* Page setup */
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background: var(--bg);
  /* Subtle parchment texture with gentle red tint */
  background-image:
    radial-gradient(circle at 10px 8px, rgba(229, 57, 53, 0.08) 2px, transparent 4px),
    radial-gradient(circle at 40px 40px, rgba(229, 57, 53, 0.04) 2px, transparent 4px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9));
  background-size: 40px 40px, 40px 40px, auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header: frosted glass with a parchment vibe */
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,.1);
}

.brand {
  font-weight: 900;
  color: #1b0a0a;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(229, 57, 53, 0.25);
  border: 1px solid rgba(0,0,0,0.15);
  text-shadow: 0 0 6px rgba(229, 57, 53, 0.6);
}

/* Layout: mobile-first, simple centered hero with grid/flex mix */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

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

/* Title: single H1 as required */
h1 {
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  margin: 0.25rem 0;
  color: #2a130a;
  text-shadow: 0 0 12px rgba(229, 57, 53, 0.6);
  line-height: 1.08;
}

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

/* Prominent CTA as 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.15);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  backdrop-filter: blur(6px) saturate(1.2);
  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.28);
  outline: none;
}

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

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

/* Footer: small advertisement plus gratitude */
footer {
  padding: 1.25rem;
  text-align: center;
  color: #7a3b3b;
}

.footer-ad {
  display: inline-block;
  margin: 0.25rem auto 0.75rem;
}
.footer-ad a {
  color: #c11;
  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 states for accessibility on links */
a:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 6px;
}

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