/*  navy-silver-hacker hero styling - single-file CSS for Solana Acolytes News (silver background, navy accents) */

/* Color variables */
:root{
  --bg: #cfcfcf;              /* silver solid background */
  --text: #0b1a2b;             /* navy text for strong contrast on silver */
  --muted: #2b3b56;
  --card: rgba(255,255,255,.28);     /* frosted glass card */
  --card-border: rgba(0,0,0,.15);
  --shadow: rgba(0,0,0,.25);
  --cta-start: #0a2a58;            /* deep navy blue start */
  --cta-end: #0f5bd8;              /* cyan-blue end for contrast */
  --focus: rgba(0, 180, 255, .65);
  --footer-text: #1a1f2a;
  --link: #1e6d9e;
}

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

/* Page background and subtle glow for hacker vibe */
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);
  /* faint vertical/horizontal lines to imply grid without overwhelming the silver base */
  background-image:
    linear-gradient(to right, rgba(0,0,0,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  background-blend-mode: overlay;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
  letter-spacing: .2px;
}

/* Optional cinematic glow overlay to amp cyberpunk feel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(0, 180, 255, .15), transparent 40%),
              radial-gradient(circle at 40% 70%, rgba(0, 0, 0, .0), transparent 40%);
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
  filter: saturate(1.1);
}

/* Header height placeholder */
.site-header { height: 64px; }

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

/* Card-like hero container (frosted glass) */
.hero-grid {
  position: relative;
  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,.28);
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 22px 46px rgba(0,0,0,.25);
  overflow: hidden;
  z-index: 1;
}

/* Soft glow behind the content area for depth */
.hero-grid::before {
  content: "";
  position: absolute;
  inset: -3px;
  background: radial-gradient(circle at 20% 20%, rgba(0, 120, 255, .25), transparent 40%),
              radial-gradient(circle at 80% 60%, rgba(0, 0, 0, .0), transparent 40%);
  filter: blur(20px);
  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,.20);
  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 */
h1 {
  margin: 6px 0 0;
  font-size: 1.9rem;
  line-height: 1.15;
  color: #0a1a2b;
  text-shadow: 0 1px 0 rgba(255,255,255,.2);
}
h2 {
  margin: .25rem 0 0;
  font-size: 1.1rem;
  color: #132238;
  opacity: .95;
}

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

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

/* Accessibility: focus ring */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive two-column layout on larger screens: image left, content right */
@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.2rem; }
  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; }
}