/* 27578825.css - lime zigzag background with blue hacker theme, frosted glass hero, responsive layout */

/* Reset and base */
*, *::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: #1b2b3a;
  /* Lime zigzag pattern layered with blue accents for hacker vibe */
  background-color: #e7f5d8;
  background-image:
    /* lime zigzags */
    repeating-linear-gradient(135deg, rgba(0, 255, 100, 0.25) 0 8px, transparent 8px 16px),
    repeating-linear-gradient(315deg, rgba(0, 180, 255, 0.18) 0 8px, transparent 8px 16px);
  background-size: 24px 24px, 24px 24px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accent colors */
:root {
  --blue: #2b8cff;
  --blue-dark: #1066d0;
  --pink: #ff5db5;
  --glass: rgba(255, 255, 255, 0.92);
  --shadow: rgba(0,0,0,.15);
}

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

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

/* Hero section - frosted glass, mobile-first, grid-based 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, 0.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 (H1 only one per page) */
.hero > h1 {
  margin: 0;
  font-size: 1.6rem;
  color: #0a1a2a;
  text-shadow: 0 0 8px rgba(0, 102, 255, 0.25);
}

/* Centerpiece 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: #22324a;
  margin: 0;
}
.cta {
  display: inline-block;
  margin: 6px auto 0;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  color: #041b2a;
  text-decoration: none;
  /* blue neon button style */
  background: linear-gradient(135deg, #e8f0ff 0%, #97d0ff 60%, #60a8ff 100%);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 22px rgba(43,140,255,0.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(43,140,255,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: #041b2a;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  background: linear-gradient(135deg, #b8eaff 0%, #7bd0ff 100%);
}
.gratitude { margin-top: 8px; color: #5a5a5a; }

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