/* Solana Acolytes Donation Page — Styles (single stylesheet) */
/* Mobile-first, brown grid paper background with green hacker-night accents,
   frosted glass hero, and cyberpunk vibes. */

:root{
  --bg-brown: #3a2510;
  --grid-green: rgba(34, 139, 34, 0.28);
  --bg-hero: rgba(6, 24, 12, 0.60);
  --edge: rgba(0, 255, 120, 0.45);
  --text: #eafff0;
  --muted: #b9f7c9;
  --shadow: 0 12px 28px rgba(0,0,0,.36);
  --card: rgba(255,255,255,.08);
  --card-border: rgba(0, 0, 0, .15);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

html { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial; color-scheme: dark; }

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background-color: var(--bg-brown);
  /* brown grid paper background with green grid lines */
  background-image:
    linear-gradient(to right, var(--grid-green) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-green) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: #9af59b; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
a:focus-visible {
  outline: 3px solid #4cff7a;
  outline-offset: 2px;
  border-radius: 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,255,120,.25);
}

.brand {
  font-weight: 800;
  color: #eafff0;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-size: 0.95rem;
  display: inline-block;
  padding: .25rem 0;
  text-shadow: 0 0 8px rgba(0,255,120,.65);
}

main {
  display: grid;
  justify-items: center;
  padding: 1.5rem 1rem 2rem;
}

.hero {
  width: 100%;
  max-width: 860px;
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  /* subtle green glow around the card edges for cyberpunk feel */
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,255,120,.35), rgba(0,0,0,0) 60%);
  filter: blur(0.5px);
  pointer-events: none;
  mask-image: linear-gradient(#000, rgba(0,0,0,0.9));
}

.hero h1 {
  margin: 0 0 .5rem;
  font-size: clamp(1.6rem, 1.2rem + 3vw, 2.8rem);
  color: #eafff0;
  line-height: 1.12;
  text-shadow: 0 0 12px rgba(0,255,120,.75);
}

.hero h2 {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 0.8vw + 0.9rem, 1.25rem);
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .2px;
}

.qr-center {
  width: min(60vmin, 420px);
  margin: 1rem auto 0;
  padding: 0.25rem;
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(0, 255, 120, .35);
  display: grid;
  place-items: center;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.qr-center img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  image-rendering: crisp-edges;
  filter: saturate(1.05);
}

.telegram-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.95rem;
  color: #d5ffd6;
}
.donation-note {
  margin-top: .4rem;
  font-size: .95rem;
  color: #c8ffd0;
}

.site-footer {
  padding: 1.5rem;
  text-align: center;
}
.advertisement a {
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0,255,120,.5);
  background: rgba(0,255,120,.15);
  color: #e8fff0;
  font-weight: 700;
  letter-spacing: .2px;
  text-shadow: 0 0 6px rgba(0,255,0,.25);
  transition: transform .2s ease, background .2s ease;
}
.advertisement a:hover {
  transform: translateY(-1px);
  background: rgba(0,255,120,.25);
}
.gratitude {
  margin-top: .5rem;
  color: #d7ffd8;
  font-size: .95rem;
}

/* Focus visibility for all interactive elements (accessibility) */
:focus-visible { outline: 3px solid #4cff7a; outline-offset: 2px; border-radius: 6px; }

/* Responsive tweaks */
@media (min-width: 768px) {
  .hero { padding: 2.5rem 2rem 3.5rem; }
  .site-header { padding: 1rem 2rem; }
  .advertisement a { font-size: 1rem; padding: .7rem 1.1rem; }
}