/* CSS: index.css - Solana Acolytes Donation Page (mobile-first, hacker-night, frosted glass) */

/* 1) Reset + base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #eaffff;
  /* Maroon striped background (dark, cyberpunk look) */
  background-color: #0b0000;
  background-image: repeating-linear-gradient(
      135deg,
      rgba(122, 0, 22, 0.95) 0px,
      rgba(122, 0, 22, 0.95) 8px,
      rgba(40, 0, 0, 0.95) 8px,
      rgba(40, 0, 0, 0.95) 16px
    );
  /* Subtle cyan glow overlay for cyberpunk vibe */
  background-image:
    radial-gradient( circle at 20% -10%, rgba(0, 255, 235, 0.12), transparent 40% ),
    radial-gradient( circle at 80% 0%, rgba(0, 255, 235, 0.08), transparent 40% ),
    repeating-linear-gradient(
      135deg,
      rgba(122, 0, 22, 0.95) 0px,
      rgba(122, 0, 22, 0.95) 8px,
      rgba(40, 0, 0, 0.95) 8px,
      rgba(40, 0, 0, 0.95) 16px
    );
}
a {
  color: #3af6ff;
  text-decoration: none;
}
a:hover, a:focus {
  color: #b6fbff;
  text-decoration: underline;
}
a:focus-visible {
  outline: 3px solid #00ffd9;
  outline-offset: 2px;
  border-radius: 4px;
}
img { max-width: 100%; height: auto; display: block; }

/* 2) Layout scaffolding */
.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: #a8fbff;
  letter-spacing: .4px;
  text-shadow: 0 0 14px rgba(0, 255, 235, 0.6);
}
.main {
  min-height: calc(100vh - 0px);
}
.hero {
  display: grid;
  place-items: center;
  padding: 1.75rem 1rem 2rem;
}
.hero-layout {
  width: min(1100px, 94%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(6, 14, 22, 0.62); /* frosted glass base */
  border: 1px solid rgba(0, 255, 235, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.hero-copy { padding: 0.75rem; }
.hero-copy h1 {
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  line-height: 1.15;
  color: #eaffff;
  margin-bottom: 0.5rem;
}
.subhead {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: #aaf4ff;
  opacity: 0.95;
  margin-bottom: 0.75rem;
}
.telegram-link a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 235, 0.6);
  background: rgba(0, 255, 235, 0.15);
  color: #dfffff;
  font-weight: 600;
}
.telegram-link a:hover {
  background: rgba(0, 255, 235, 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 16px 40px rgba(0, 255, 235, 0.28);
  filter: saturate(1.05);
}
@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 1.5rem;
  }
  .hero-copy { padding: 1.75rem 1.25rem; }
  .hero-qr { padding: 1.75rem; }
}

/* 3) Footer / advertisement section */
.site-footer {
  padding: 1rem;
  text-align: center;
  color: #baffff;
  font-size: 0.95rem;
}
.footer-ad {
  margin-bottom: 0.5rem;
}
.footer-ad a {
  color: #7ef7ff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(126, 247, 255, 0.6);
}
.gratitude {
  margin: 0.25rem 0 0;
  color: #c7fffd;
  opacity: 0.95;
}
@media (prefers-reduced-motion: reduce) {
  .telegram-link a,
  .hero-qr img {
    transition: none;
  }
} 

/* 4) Accessibility helpers for high contrast in dark mode vibe */
@media (prefers-color-scheme: light) {
  body {
    background: linear-gradient(#1a0f12, #0b0b0f);
  }
  .brand { color: #0ff; text-shadow: 0 0 12px rgba(0,255,255,0.9); }
  a { color: #0066cc; }
}
