/*  TON Acolytes page - black radial gradient background with magenta hacker theme, frosted glass  */

/* Global palette */
:root{
  --bg: #000;
  --magenta: #ff2d87;
  --magenta-soft: #ff6bd9;
  --text: #e8e8e8;
  --muted: #c7a8c9;
  --ring: rgba(255, 0, 140, 0.6);
  --card: rgba(255,255,255,.22);
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0,0,0,.5);
}

/* Reset-ish */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

/* Black radial gradient background with magenta accents */
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  min-height: 100vh;
  background: #000;
  background-image:
    radial-gradient(circle at 25% 15%, rgba(255,0,160,.25) 0 80px, transparent 80px),
    radial-gradient(circle at 70% 65%, rgba(255,0,140,.18) 0 100px, transparent 100px),
    radial-gradient(circle at 40% 80%, rgba(180,0,255,.15) 0 120px, transparent 120px);
  background-size: 400px 400px, 420px 420px, 480px 480px;
  background-attachment: fixed;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  /* subtle star texture look via tiny dots */
  background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: .25;
  mix-blend-mode: overlay;
}

/* Header (frosted glass) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  text-align: center;
  padding: 0.65rem 1rem;
  background: rgba(0,0,0,.35);
  border-bottom: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
}
.brand {
  font-weight: 800;
  color: #ff7ad6;
  text-shadow: 0 0 8px rgba(255,0,140,.6);
}

/* Layout: center content with a grid container for hero */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 120px);
  position: relative;
  z-index: 1;
}

/* Frosted glass hero panel */
.hero {
  width: 100%;
  max-width: 940px;
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.25rem;
  text-align: center;
}

/* Title and subhead with magenta glow */
.hero h1 {
  font-size: clamp(1.8rem, 4vw + 1rem, 3rem);
  margin: 0;
  color: #fff;
  text-shadow: 0 0 12px rgba(255,0,140,.9);
}
.subhead {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: #d6cbd6;
  margin: 0.25rem 0 0;
}

/* Centerpiece media area (image + CTA) */
.hero-media {
  display: grid;
  gap: 20px;
  align-items: center;
  justify-items: center;
}
.hero-media img {
  width: min(92%, 720px);
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.25);
  box-shadow: 0 14px 38px rgba(0,0,0,.6);
}
.cta {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0b0b0b;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4bd9 0%, #ff2d87 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;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.55); }
.cta:focus { outline: none; box-shadow: 0 0 0 4px var(--ring); }

/* Footer with small advertisement and gratitude */
footer {
  padding: 1rem;
  text-align: center;
  color: #d8cbd8;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 2rem;
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(2px);
}
.footer-ad a {
  color: #ffd0ff;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.18);
}
.gratitude { margin-top: 6px; }

/* Accessibility: focus visible for CTA */
a.cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

/* Motion preference */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Desktop tweaks */
@media (min-width: 768px) {
  .hero { padding: 2rem; }
  .hero-media { gap: 28px; }
  .hero-media img { width: auto; max-width: 760px; }
}