/*  CSS: Olive gradient background with gray/polished hacker theme and frosted glass */

/* Core tokens (olive + gray accents) */
:root {
  --olive-1: #6b8a2f;
  --olive-2: #526b21;
  --olive-3: #8a9a54;
  --panel: rgba(255, 255, 255, 0.22);
  --text: #e6e6e6;
  --muted: rgba(230, 230, 230, 0.95);
  --shadow: 0 8px 20px rgba(0,0,0,.25);
  --cta: linear-gradient(135deg, #d9e0d0 0%, #cbd8c3 60%, #bac2b0 100%);
}

/* Reset-lite to keep file size small */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* Olive gradient backdrop with subtle gray overlay */
  background: linear-gradient(135deg, var(--olive-1) 0%, var(--olive-2) 60%, var(--olive-3) 100%);
  background-size: cover;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle neon glow overlay for depth (hacker vibe) */
body:before {
  content: "";
  position: fixed;
  inset: -20vmin;
  background: radial-gradient(circle at 25% 25%, rgba(190, 215, 160, 0.25) 0 40px, rgba(0,0,0,0) 40px),
              radial-gradient(circle at 75% 75%, rgba(0, 140, 180, 0.25) 0 40px, rgba(0,0,0,0) 40px);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
  animation: drift 18s linear infinite;
  mix-blend-mode: screen;
}
@keyframes drift { to { transform: translateX(20px); } }

/* Header styling with subtle teal/brown accents */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 18, 18, 0.6);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.branding {
  padding: 0.75rem 1rem;
  font-weight: 900;
  color: #e8f0f0;
  letter-spacing: .4px;
}

/* Main content centers content (mobile-first) */
main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 1rem;
}

/* Frosted glass hero panel */
.hero {
  display: grid;
  gap: 1rem;
  width: min(100%, 900px);
  padding: 1.75rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  text-align: center;
  align-items: center;
  justify-items: center;
}

/* Title and subhead */
.hero h1 {
  font-size: clamp(1.8rem, 4vw + 1rem, 3rem);
  margin: 0;
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0,0,0,0.25);
}
.subhead {
  font-size: clamp(0.95rem, 1.4vw + 0.6rem, 1.15rem);
  color: rgba(255,255,255,0.95);
  margin: 0;
  line-height: 1.4;
}

/* Centerpiece image + CTA */
.hero-media {
  display: grid;
  gap: 1rem;
  justify-items: center;
  width: 100%;
}
.hero-media img {
  width: min(92%, 720px);
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 14px 32px rgba(0,0,0,0.25);
}
.cta {
  display: inline-block;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  color: #041014;
  background: var(--cta);
  border: 1px solid rgba(0,0,0,0.25);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.cta:focus-visible { outline: 3px solid #dfe7f0; outline-offset: 2px; }

/* Footer */
footer {
  padding: 1rem;
  text-align: center;
  color: #2b2b2b;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.footer-ad a {
  color: #7a3b1a;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(122, 29, 29, 0.15);
  border: 1px solid rgba(0,0,0,0.15);
  font-weight: 700;
}
.closing-note {
  font-size: 0.95rem;
  opacity: 0.95;
  margin-top: 0.25rem;
}

/* Focus styles for accessibility */
a:focus-visible {
  outline: 3px solid rgba(0, 170, 255, 0.9);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  .hero { padding: 2rem; border-radius: 22px; }
  .hero-media img { width: 60%; max-width: 800px; }
}