/* CSS for Solana Acolytes Donation Page - hacker night theme (mobile-first) */

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

:root {
  --bg: #0b0f14;
  --grid: rgba(0, 170, 255, 0.25);
  --text: #e8f2ff;
  --muted: #b6d0ff;
  --blue: #4aa7ff;
  --glass: rgba(8, 12, 28, 0.72);
  --glass-border: rgba(60, 120, 255, 0.6);
  --cta: rgba(60, 120, 255, 0.95);
  --shadow: 0 8px 28px rgba(0,0,0,.5);
}

html, body {
  height: 100%;
  color: var(--text);
  background: var(--bg);
  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;
  /* black & dark grey grid paper with neon blue accents */
  background-image:
    linear-gradient(to right, rgba(74, 164, 255, 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(74, 164, 255, 0.25) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px;
  background-attachment: fixed;
  background-position: 0 0, 0 0;
}

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, 0.85);
  border-bottom: 1px solid rgba(60, 120, 255, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.brand {
  font-weight: 800;
  letter-spacing: .4px;
  color: #eaf4ff;
  text-shadow: 0 0 8px rgba(60, 120, 255, 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.72);
  border: 1px solid rgba(60, 120, 255, 0.6);
  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: #f0f7ff;
  text-shadow: 0 0 10px rgba(60, 120, 255, 0.6);
}
.hero h2 {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.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 { margin-top: 12px; }
.telegram-link a {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(60, 120, 255, 0.95);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(160, 190, 255, 0.9);
  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(90, 140, 255, 1);
  outline: none;
}
.telegram-link a:focus-visible {
  box-shadow: 0 0 0 3px rgba(60,120,255,.6);
}
a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Footer with product advertisement */
.site-footer {
  padding: 18px 12px;
  text-align: center;
  color: #dbd3bd;
  border-top: 1px solid rgba(60,120,255,.25);
  background: rgba(2,4,12,.6);
}
.advertisement a {
  color: #cfe0ff;
  text-decoration: none;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(60,120,255,.5);
  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: #d6cdb1;
}

/* Focus visibility for accessibility */
a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(60,120,255,.6);
  border-radius: 6px;
}

/* Responsive tweaks (mobile-first) */
@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; }
}