/* CSS for Crypto Acolytes Donation Page - neon hacker night theme with frosted glass */

/* Reset and root variables */
:root {
  --bg: #0a0a0f;
  --panel: rgba(12, 12, 12, 0.75);
  --text: #eaeaea;
  --muted: #c9c9c9;
  --neon: #ff6a00;
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.15);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: var(--text);
  background-color: var(--bg);
  /* grid paper background (black & dark grey) with neon accents */
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px;
  background-position: 0 0, 0 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after { box-sizing: border-box; }

/* Header */
.site-header {
  padding: 0.75rem 1rem;
  text-align: center;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  display: inline-block;
  font-weight: 700;
  color: #f2f2f2;
  letter-spacing: .4px;
  font-size: 0.95rem;
  text-transform: uppercase;
  opacity: .95;
}

/* Main hero area (mobile-first) */
main { display: block; }

/* Hero grid: single column on mobile, two columns on larger screens */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  justify-items: center;
  padding: 2.5rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-content {
  padding: 1.75rem;
  border-radius: 12px;
  background: rgba(10,10,10,0.65);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-content h1 {
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0 0 .5rem;
}
.hero-content h2 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #e8e8e8;
  margin: 0 0 0.75rem;
}
.telegram-note {
  font-size: .95rem;
  color: #e6e6e6;
}
.telegram-note a {
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,106,0,.4);
}
.telegram-note a:hover { text-decoration: underline; }

/* QR center panel */
.hero-qr {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.hero-qr img {
  width: 280px;
  max-width: 90%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(0,0,0,.5);
}

/* Footer */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  color: #d8d8d8;
  border-top: 1px solid rgba(255,255,255,.08);
}
footer a { color: var(--neon); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.advertisement { margin: 0.25rem 0 0.5rem; }

.closing-note { margin-top: 0.25rem; }

/* Accessibility: clear focus indication for keyboard users */
a:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Desktop layout adjustments (two-column hero) */
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    padding: 3.5rem 1.75rem;
    align-items: center;
  }
  .hero-content { padding: 2rem; }
  .hero-content h1 { font-size: 2.25rem; }
  .hero-content h2 { font-size: 1.25rem; }
  .hero-qr { justify-content: center; align-items: center; }
  .hero-qr img { width: 420px; }
}