/* Solana Acolytes Donation Page - Styles (index.css) */
/* Mobile-first, olive grid paper background with magenta cyberpunk accents */
/* Frosted glass hero, responsive layout, accessible focus styles */

:root{
  --olive: #4a5a1a;
  --olive-dark: #2f3510;
  --magenta: #ff2ec8;
  --magenta-dark: #c400a6;
  --text: #e8f6e7;
  --muted: #dbe8d0;
  --glass: rgba(255,255,255,.12);
  --glass-border: rgba(255,255,255,.25);
  --shadow: 0 12px 28px rgba(0,0,0,.25);
}

*,
*::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(--olive-dark);
  /* Olive grid paper pattern */
  background-image:
    linear-gradient(rgba(0,0,0,.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.25) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0, 0 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--magenta); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

a:focus-visible {
  outline: 3px solid var(--magenta);
  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(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(255,255,255,.15);
}

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

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

.hero {
  width: 100%;
  max-width: 860px;
  text-align: center;
  padding: 2rem 1.25rem 3rem;
  border-radius: 20px;
  /* Frosted glass look on the hero */
  background: rgba(255,255,255,.12);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
}

.hero h1 {
  font-size: clamp(1.8rem, 1.2rem + 3vw, 3rem);
  line-height: 1.15;
  margin: 0 0 0.5rem;
  color: #fff;
  text-shadow: 0 0 12px rgba(255,0,255,.65);
}

.hero h2 {
  font-size: clamp(1rem, 0.9vw + .8rem, 1.4rem);
  margin: 0 0 1rem;
  color: var(--muted);
  font-weight: 500;
  text-shadow: 0 0 8px rgba(0,0,0,.25);
}

.qr-center {
  width: min(60vmin, 420px);
  margin: 1rem auto 0;
  padding: 0.25rem;
  border-radius: 14px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  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: 10px;
  /* Ensure high contrast on grid paper */
  filter: saturate(1.05);
}

.telegram-link {
  font-size: 0.95rem;
  margin: 0.75rem 0 0;
  color: #e8ffd9;
  display: inline-block;
  padding: .25rem .5rem;
  border-radius: 6px;
  transition: transform .2s ease;
}
.telegram-link:hover { transform: translateY(-1px); }

.donation-note {
  font-size: 0.95rem;
  color: #d9ffd8;
  margin-top: .25rem;
}

.site-footer {
  padding: 1.25rem;
  text-align: center;
  margin-top: 1.5rem;
}

.advertisement {
  display: inline-block;
  margin-bottom: .5rem;
}
.advertisement a {
  padding: .5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,0,160,.5);
  background: rgba(255,0,160,.15);
  color: #ffe6f6;
  font-weight: 700;
  letter-spacing: .2px;
  text-shadow: 0 0 6px rgba(255,255,255,.15);
  display: inline-block;
  transition: transform .2s ease, background .2s ease;
}
.advertisement a:hover {
  transform: translateY(-1px);
  background: rgba(255,0,160,.25);
}
.gratitude {
  margin-top: .4rem;
  color: #d8ffd6;
  font-size: .95rem;
}

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