/* Solana Acolytes Donation Page — Styles (single stylesheet) */
/* Mobile-first, cyan grid paper on a deep indigo base with a frosted glass cyberpunk vibe */

:root{
  --bg: #0b1020;                      /* deep indigo background */
  --grid: rgba(0, 255, 255, 0.25);    /* cyan grid lines */
  --text: #e8ffff;
  --muted: #b5f7ff;
  --card: rgba(255,255,255,.08);
  --card-border: rgba(255,255,255,.25);
  --shadow: 0 8px 28px rgba(0,0,0,.4);
  --focus: #4affff;
  --cta: rgba(0, 255, 255, .25);
  --cta-border: rgba(0, 255, 255, .5);
}

*,
*::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: var(--bg);
  /* Cyan grid paper over indigo base */
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: #7af0ff; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

* { box-sizing: border-box; }

.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(255,255,255,.15);
}

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

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

/* Frosted glass hero with glow */
.hero {
  width: 100%;
  max-width: 860px;
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 255, 255, .25), 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 .6rem;
  font-size: clamp(1.6rem, 1rem + 3vw, 2.8rem);
  color: var(--text);
  line-height: 1.12;
  text-shadow: 0 0 12px rgba(0, 255, 255, .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,.28);
  border: 1px solid rgba(0, 255, 255, 0.5);
  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: #d8fbff;
}
.donation-note {
  margin-top: .4rem;
  font-size: .95rem;
  color: #d6fff0;
}

/* CTA-like styling for links as prominent CTAs */
.advertisement a,
.telegram-link a {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 255, .5);
  background: rgba(0, 255, 255, .25);
  color: #021014;
  font-weight: 700;
  letter-spacing: .2px;
  text-shadow: 0 0 6px rgba(0,255,255,.4);
  transition: transform .2s ease, background .2s ease;
}
.advertisement a:hover,
.telegram-link a:hover {
  transform: translateY(-1px);
  background: rgba(0, 255, 255, .35);
}

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

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

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