/* 0f5a24d1.css - lime grid paper background with brown hacker theme, frosted glass, mobile-first */

/* Color system and tokens */
:root{
  --bg: #2a1f0b;              /* brown base */
  --grid-line: rgba(170, 255, 128, 0.25); /* lime grid line */
  --text: #eaffd8;
  --muted: #d4ffd3;
  --card: rgba(255,255,255,.08);          /* frosted glass card */
  --card-border: rgba(255,255,255,.25);
  --shadow: rgba(0,0,0,.28);
  --cta-start: #a8ff5a;                   /* lime-green CTA start */
  --cta-end: #6bbf2a;                     /* lime-green CTA end */
  --focus: rgba(140, 255, 120, .65);
  --footer-text: #2b1f0a;
  --accent: #ff2bd4;                       /* magenta accent for contrast if needed */
}

/* Reset baseline for predictable rendering */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

/* Global body styling: lime grid paper overlay on brown */
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  /* Lime checker/grid paper look */
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 0 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
  letter-spacing: .2px;
  text-rendering: optimizeLegibility;
}

/* Header and layout helpers */
.site-header { height: 64px; }

/* Main content container */
main { width: 100%; }

/* Hero card: frosted glass with lime glow accents */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 1.25rem;
  padding: 28px 16px 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255,255,255,.08);      /* frosted glass */
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 22px 46px rgba(0,0,0,.35);
  position: relative;
  overflow: hidden;
}

/* Subtle glow behind the image area to enhance cyberpunk vibe */
.hero-grid::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at 20% 20%, rgba(168, 255, 90, .25), transparent 40%),
              radial-gradient(circle at 80% 60%, rgba(90, 200, 180, .25), transparent 40%);
  filter: blur(6px);
  z-index: 0;
  pointer-events: none;
  border-radius: 20px;
  opacity: .95;
}

/* Centerpiece image styling */
.hero-image {
  width: min(92vw, 640px);
  height: auto;
  border-radius: 16px;
  padding: 6px;
  background: rgba(0,0,0,.15);
  border: 1px solid rgba(255,255,255,.25);
  object-fit: contain;
  box-shadow: 0 14px 40px rgba(0,0,0,.4);
  z-index: 1;
  position: relative;
}

/* Typography for title and subtitle */
h1 {
  margin: 6px 0 0;
  font-size: 1.9rem;
  line-height: 1.15;
  color: #e8ffd8;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}
h2 {
  margin: .25rem 0 0;
  font-size: 1.1rem;
  color: #d9ffd9;
  opacity: .95;
}

/* CTA button that acts as the visual centerpiece */
.cta {
  display: inline-block;
  margin-top: 14px;
  padding: 1rem 1.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0a0a0a;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cta-start) 0%, var(--cta-end) 100%);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.35); }
.cta:focus { outline: none; box-shadow: 0 0 0 4px rgba(168,255,122,.65), 0 14px 28px rgba(0,0,0,.25); }

/* Footer: advertisement + closing notice */
.site-footer {
  margin-top: 12px;
  padding: 12px 16px;
  text-align: left;
  color: var(--footer-text);
  background: rgba(0,0,0,.04);
  border-top: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
}
.site-footer .footer-ad a {
  color: #a6ffb7;
  text-decoration: none;
  font-weight: 700;
}
.site-footer .footer-ad a:hover { text-decoration: underline; }
.closing-note { margin-top: 6px; font-size: .95rem; color: #2b210a; }

/* Keyboard focus visuals for accessibility */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive layout: two-column with image as centerpiece on larger screens */
@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    text-align: left;
    gap: 2rem;
    padding: 60px 48px;
  }
  .hero-image {
    width: 100%;
    max-width: 680px;
    justify-self: center;
  }
  .hero-grid > *:not(.hero-image) {
    grid-column: 2;
  }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.25rem; }
  .cta { font-size: 1.25rem; padding: 1.15rem 1.4rem; }
}
@media (min-width: 1024px) {
  .hero-grid { gap: 2.5rem; padding: 80px 72px; }
  .hero-image { max-width: 720px; }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.3rem; }
  .cta { font-size: 1.3rem; }
}