/* CSS for Solana Acolytes Donation Page - hacker night theme with neon coral accents */

/* Reset baseline */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0f;                 /* deep space / black */
  --grid: rgba(255, 111, 97, 0.28); /* neon coral grid lines */
  --text: #f8f0f0;               /* light text for contrast */
  --muted: #ffd0cc;              /* muted text/captions */
  --coral: #ff6f61;               /* neon coral accents */
  --glass: rgba(8, 12, 28, 0.75);  /* frosted glass */
  --glass-border: rgba(255, 111, 97, 0.5);
  --cta: rgba(255, 111, 97, 0.95);
  --shadow: 0 8px 28px rgba(0,0,0,.5);
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* grid paper background with neon coral accents */
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px;
  background-position: 0 0, 0 0;
  background-attachment: fixed;
  -webkit-tap-highlight-color: transparent;
}

html { font-size: 16px; }
@media (min-width: 1200px) { html { font-size: 18px; } }

body { display: flex; flex-direction: column; min-height: 100vh; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7,7,12,.85);
  border-bottom: 1px solid rgba(255, 111, 97, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.brand {
  font-weight: 900;
  letter-spacing: .4px;
  color: #eaf6ff;
  text-shadow: 0 0 8px rgba(255, 111, 97, 0.9);
  font-size: 1.05rem;
}

/* Main layout */
main {
  flex: 1;
  display: grid;
  place-items: start center;
  padding: 20px 12px;
}

/* Hero (QR centerpiece) */
.hero {
  width: min(92%, 720px);
  text-align: center;
  padding: 22px;
  border-radius: 16px;
  background: rgba(8, 12, 28, 0.75);
  border: 1px solid rgba(255, 111, 97, 0.55);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-size: 1.6rem;
  line-height: 1.15;
  margin-bottom: 8px;
  color: #f8fbff;
  text-shadow: 0 0 10px rgba(255, 111, 97, 0.6);
}
.hero h2 {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 16px;
}

/* QR centerpiece */
.qr-center {
  display: grid;
  place-items: center;
  padding: 12px 6px;
}
.qr-center img {
  width: 66vmin;
  max-width: 420px;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.65);
  filter: saturate(1.05);
}

/* Telegram link styled as CTA pill */
.telegram-link { margin-top: 12px; }
.telegram-link a {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 111, 97, 0.95);
  color: #051018;
  text-decoration: none;
  border: 1px solid rgba(255, 174, 152, 0.95);
  box-shadow: 0 6px 14px rgba(0,0,0,.4);
  font-weight: 700;
  transition: transform .15s ease, background .15s ease;
}
.telegram-link a:hover,
.telegram-link a:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 111, 97, 1);
  outline: none;
}
.telegram-link a:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.6);
}
a:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Footer */
.site-footer {
  padding: 18px 12px;
  text-align: center;
  color: #d9d2cb;
  border-top: 1px solid rgba(255,111,97,.25);
  background: rgba(2,4,12,.6);
}
.advertisement a {
  color: #e9eaff;
  text-decoration: none;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 174, 152, 0.95);
  background: rgba(0,0,0,.25);
}
.advertisement a:hover {
  color: #fff;
  background: rgba(20,24,36,.5);
}
.gratitude {
  margin-top: 8px;
  font-size: 13px;
  color: #d6d2cb;
}

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

/* Responsive tweaks */
@media (min-width: 640px) {
  .hero { padding: 32px; }
  .hero h1 { font-size: 1.9rem; }
  .hero h2 { font-size: 1.12rem; }
}
@media (min-width: 1024px) {
  .hero { padding: 40px; }
  .hero h1 { font-size: 2.2rem; }
  .hero h2 { font-size: 1.25rem; }
}