/* index.css - Solana Acolytes Donation Page (mobile-first, beige gradient + orange hacker-night vibe) */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --bg-from: #f6ecd4;
  --bg-to:   #efe0c9;
  --text: #2b2b2b;
  --accent: #ff8a00;
  --accent-soft: rgba(255,138,0,.25);
  --glass: rgba(255,255,255,.75);
  --border: rgba(255, 138, 0, .55);
  --shadow: 0 8px 28px rgba(0,0,0,.15);
}

html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-from) 0%, var(--bg-to) 100%);
  min-height: 100%;
}

a { color: #b65a00; text-decoration: none; }
a:focus-visible { outline: 3px solid #ffb000; outline-offset: 2px; border-radius: 6px; }

:focus { outline: none; }

/* Layout scaffolding */
.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.0);
}
.brand {
  font-weight: 800;
  font-size: 1.05rem;
  color: #7a3400;
  text-shadow: 0 0 14px rgba(255, 138, 0, .65);
  letter-spacing: .4px;
}

/* Hero section (centralized, prominent QR) */
.hero {
  display: grid;
  place-items: center;
  padding: 1.75rem 1rem 2.5rem;
}
.hero-layout {
  width: min(1100px, 94%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75); /* frosted glass */
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}

.hero-copy { padding: 0.75rem; }
.hero-copy h1 {
  font-size: clamp(1.4rem, 6vw, 2.2rem);
  line-height: 1.15;
  margin: 0 0 0.5rem 0;
  color: #2b2b2b;
}
.subhead {
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  color: #8a4f1c;
  margin: 0 0 0.75rem 0;
}
.telegram-link a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 138, 0, 0.6);
  background: rgba(255, 140, 0, 0.15);
  color: #6a2e00;
  font-weight: 700;
}
.telegram-link a:hover { background: rgba(255, 140, 0, 0.25); transform: translateY(-1px); }
.hero-qr {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem;
}
.hero-qr img {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(255, 140, 0, 0.3);
  filter: saturate(1.05);
}

/* Responsive two-column layout on larger screens */
@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 1.5rem;
  }
  .hero-copy { padding: 1.75rem 1.75rem 1.75rem 2rem; }
  .hero-qr { padding: 1.75rem; }
  .hero-copy h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
}

/* Footer / advertisement styling */
.site-footer {
  padding: 1rem;
  text-align: center;
  color: #6b4a2b;
}
.footer-ad {
  margin-bottom: 0.5rem;
}
.footer-ad a {
  color: #ff7a00;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px dashed rgba(255, 122, 0, 0.6);
}
.gratitude {
  margin: 0.25rem 0 0;
  color: #6b3e1a;
}
@media (prefers-reduced-motion: reduce) {
  .telegram-link a, .hero-qr img { transition: none; }
}
