/* 6a20ced3.css - magenta diagonal lines background with beige hacker theme
   Responsive mobile-first, frosted glass hero, accessible focus styles. */

/* Reset basics */
*, *::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: #2b2b2b;
  /* Beige base with magenta diagonal lines pattern for hacker vibe */
  background-color: #f5ecd9;
  background-image: repeating-linear-gradient(45deg, rgba(255,0,170,.25) 0 8px, transparent 8px 16px);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Theme variables */
:root {
  --magenta: #ff3a9a;
  --magenta-dark: #c4006f;
  --glass: rgba(255, 255, 255, 0.92);
  --text: #2b2b2b;
  --shadow: rgba(0,0,0,.15);
  --focus: #fff;
}

/* Header */
.site-header { padding: 12px; text-align: center; }
.brand {
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--magenta);
  text-shadow: 0 0 12px rgba(255, 58, 154, 0.6);
}

/* Main wrapper */
main { display: block; }

/* Hero: frosted glass card, mobile-first, grid layout */
.hero {
  width: min(1000px, 92%);
  margin: 22px auto;
  padding: 22px;
  border-radius: 14px;
  background: var(--glass);
  backdrop-filter: saturate(125%) blur(6px);
  -webkit-backdrop-filter: saturate(125%) blur(6px);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 22px 44px rgba(0,0,0,.15);
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 12px;
  text-align: center;
}

/* Title styling (single H1) */
.hero > h1 {
  margin: 0;
  font-size: 1.6rem;
  color: #2b0f23;
  text-shadow: 0 0 8px rgba(255, 58, 154, 0.25);
}

/* Image area */
.hero-media { width: 100%; display: flex; justify-content: center; }
.hero-media img {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  background: #fff;
  display: block;
}

/* Subhead and CTA */
.subhead {
  font-size: 1.05rem;
  color: #2e2e2e;
  margin: 0;
}
.cta {
  display: inline-block;
  margin: 6px auto 0;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  color: #04152a;
  text-decoration: none;
  background: linear-gradient(135deg, #fff 0%, #ffd8e6 60%, #ffc4f0 100%);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 22px rgba(255, 58, 154, 0.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 58, 154, 0.65); }
.cta:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Footer */
.site-footer { text-align: center; padding: 14px; }
.footer-ad a {
  display: inline-block;
  font-size: 0.85rem;
  color: #04152a;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  background: linear-gradient(135deg, #ffe5f0 0%, #ffd0e9 100%);
}
.gratitude { margin-top: 8px; color: #666; }

/* Desktop layout: image to the right, text left */
@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    text-align: left;
    align-items: center;
  }
  .hero > h1 { font-size: 2rem; }
  .subhead { font-size: 1.08rem; }
  .cta { justify-self: start; }
  .hero-media { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
  .hero { transition: none; }
}