/* olive-striped hacker theme - mobile-first CSS (single stylesheet) */

/* Root tokens for Indigo + Olive cyberpunk vibe */
:root {
  --indigo-800: #2a2f6b;
  --indigo-900: #1b1e4a;
  --indigo-950: #14173a;
  --olive: #708000;
  --olive-dark: #556a00;
  --text: #e8f0ff;
  --muted: #cbd5e1;
  --glass: rgba(14, 16, 28, 0.65);
  --border: rgba(255, 255, 255, 0.18);
  --gold: #ffd166;
  --shadow: 0 12px 40px rgba(0,0,0,.45);
}

/* Reset */
*,
*::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, Arial;
  color: var(--text);
  background-color: #0a0a0a;
  /* Olive striped pattern + indigo overlay for hacker vibe */
  background-image:
    /* olive stripes */
    repeating-linear-gradient(
      90deg,
      rgba(112,128,0,0.25) 0px,
      rgba(112,128,0,0.25) 12px,
      rgba(0,0,0,0) 12px,
      rgba(0,0,0,0) 24px
    ),
    /* indigo glow overlay */
    linear-gradient(135deg, rgba(26,28,95,.25), rgba(14,16,28,.25));
  background-blend-mode: overlay, normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  /* subtle vignette for depth */
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 60% 20%, rgba(255,255,255,.04), transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(0,0,0,.25), transparent 40%);
  mix-blend-mode: screen;
  z-index: -1;
}

/* Layout containers */
.site-header {
  padding: 1rem;
  text-align: center;
  color: #e6f0ff;
  opacity: .95;
}
.main { display: block; }

/* Hero section (centerpiece) */
.hero {
  display: grid;
  grid-template-rows: auto auto auto auto;
  justify-items: center;
  text-align: center;
  gap: 1rem;
  padding: clamp(1.25rem, 6vw, 3rem) 1rem;
  margin: 2rem auto;
  max-width: 1000px;
  width: 100%;
  border-radius: 14px;
  background: rgba(9, 9, 18, 0.62); /* frosted glass look on dark backdrop */
  border: 1px solid var(--border);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.hero > h1 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 1.05;
  margin: 0.25rem 0;
  font-weight: 900;
  color: #f8fbff;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.hero-image {
  width: min(92%, 720px);
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0.5rem auto;
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
  background: rgba(0,0,0,.25);
}
.subhead {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  color: #e7eeff;
  opacity: .95;
  margin: 0.25rem 0;
}
.hero-cta {
  display: inline-block;
  padding: 1rem 1.75rem;
  font-size: clamp(1.15rem, 3vw, 1.25rem);
  font-weight: 800;
  color: #0a0a0a;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #8af2a8 0%, #4cc9f0 60%, #5a6dff 100%);
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 8px 22px rgba(0,0,0,.45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.55);
}
.hero-cta:focus-visible {
  outline: 3px solid #9bd9ff;
  outline-offset: 2px;
  border-radius: 999px;
}

/* Footer */
.site-footer {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #cbd5e1;
  font-family: inherit;
}
.footer-ad a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
}
.footer-ad a:hover { text-decoration: underline; }

/* Accessibility: keyboard focus on links */
a:focus-visible {
  outline: 3px solid #9bd9ff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 640px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    padding: 1.15rem 2rem;
    font-size: 1.15rem;
  }
}
@media (min-width: 1024px) {
  .hero {
    padding: 5rem 2rem;
  }
  .hero-image { width: min(70%, 820px); }
  .hero > h1 { font-size: 3rem; }
}