/* violet zigzag background with cyan hacker vibe, olive frosted glass style for Solana Acolytes page */

/* Core palette and reset */
:root{
  --bg: #1a093a;
  --text: #e7f6ff;
  --muted: #b6cde5;
  --cyan: #0ff0ff;
  --cyan-dark: #00c6d9;
  --violet: #8a2be2;
  --glow: rgba(0,255,255,.9);
  --glass: rgba(255,255,255,.12);
  --stroke: rgba(0,255,200,.35);
  --radius: 14px;
  --shadow: 0 10px 28px rgba(0,0,0,.35);
}
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  /* violet zigzag with cyan accents */
  background-color: #1a093a;
  background-image:
    repeating-linear-gradient(-45deg,
      rgba(0,255,255,.25) 0 6px,
      transparent 6px 12px),
    linear-gradient(135deg, rgba(138,43,226,.25), rgba(0,0,0,0) 60%);
  background-blend-mode: overlay;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }

/* Layout container */
.container { width: 100%; max-width: 1020px; margin: 0 auto; padding: 0 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  backdrop-filter: blur(6px);
  background: rgba(15, 0, 40, .75);
  border-bottom: 1px solid rgba(0,255,255,.25);
}
.site-header .brand {
  display: inline-block;
  padding: .75rem 0;
  font-weight: 800;
  color: #eaffff;
  text-shadow: 0 0 8px rgba(0,255,255,.8);
  letter-spacing: .4px;
}
.subtle { color: var(--muted); }

/* Main area */
main { padding: 1.25rem 0 2rem; }

/* Hero (frosted glass) */
.hero { display: grid; place-items: center; padding: 1rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  justify-items: center;
  text-align: center;
  padding: 1rem;
  width: 100%;
  max-width: 1000px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-media img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 14px 34px rgba(0,0,0,.4);
}
.hero-copy { text-align: left; padding: 0 1rem; width: 100%; max-width: 680px; }
.hero-copy h1 { font-size: 1.6rem; margin: 0.25rem 0 0.5rem; line-height: 1.15; color: #eaffff; }
.subhead { color: rgba(230,255,255,.92); font-size: 1.05rem; }

/* CTA */
.cta-hero {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #00e5ff 0%, #2af5ff 60%, #8b2bd9 100%);
  color: #041b1a;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta-hero:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,0,0,.4); }
.cta-hero:focus-visible {
  outline: 3px solid rgba(0, 230, 230, .9);
  outline-offset: 2px;
}
.hero-note { display: none; }

/* Footer */
.site-footer { padding: 1rem; text-align: center; color: rgba(234,255,255,.92); }
.footer-ad a {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 6px;
  background: rgba(0, 255, 255, .25);
  color: #eaffff;
  font-weight: 700;
  border: 1px solid rgba(0,255,255,.5);
}
.closing-note { margin-top: .75rem; color: #e9fff0; }

/* Focus visibility helpers */
:focus { outline: none; }
:focus-visible { outline: 3px solid rgba(0, 255, 255, .9); outline-offset: 2px; }

/* Responsive (mobile-first) */
@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1fr 1.4fr 0.6fr;
    text-align: left;
    align-items: center;
  }
  .hero-media { justify-self: center; grid-column: 1; }
  .hero-copy { grid-column: 2; align-self: center; }
  .cta-hero { grid-column: 3; justify-self: end; align-self: center; }
}
@media (min-width: 1100px) {
  .hero-copy h1 { font-size: 2rem; }
}