/* 6499a0ce.css - TON Acolytes landing page styling (beige-maroon crosshatch with green hacker theme) */

/* Minimal reset and base */
:root{
  --bg: #3b0000;              /* maroon base */
  --card: rgba(255,255,255,.88); /* frosted glass card */
  --card-border: rgba(0,0,0,.15);
  --text: #eafff0;
  --muted: #2d6a2d;
  --green: #19d26a;
  --green-dark: #0b7a2d;
  --shadow: 0 6px 18px rgba(0,0,0,.25);
  --radius: 14px;
  --glow: 0 6px 20px rgba(25, 210, 106, 0.25);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html, body, #root { margin: 0; padding: 0; }

/* Maroon crosshatch background (beige-tinted overlays via subtle lightness) */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  min-height: 100vh;
  /* crosshatch pattern layered for hacker vibe */
  background-image:
    linear-gradient(45deg, rgba(0,0,0,.28) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0,0,0,.28) 25%, transparent 25%);
  background-size: 14px 14px;
  background-position: 0 0, 7px 7px;
  background-blend-mode: overlay;
  letter-spacing: .2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(0,0,0,.25);
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(2px);
}
.brand-wrap { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; }
.brand-name {
  font-weight: 800;
  color: #caffd0;
  text-shadow: 0 0 6px rgba(0,255,180,.4);
}

/* Layout: hero with visual centerpiece and frosted text card */
.hero.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  justify-items: center;
  padding: 24px 16px;
  min-height: calc(100vh - 110px);
}
.hero-content {
  width: 100%;
  max-width: 680px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
  color: #0a2b14;
}
.hero-content h1 {
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.04;
  margin: 0 0 12px;
  color: #0d2f14;
}
.subhead {
  font-size: clamp(14px, 2.5vw, 18px);
  color: #1f5e28;
  margin: 0 0 18px;
}
.cta {
  display: inline-block;
  padding: 16px 28px;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 800;
  color: #04210a;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #2bdc57 0%, #14a447 100%);
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: var(--glow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.35); }
.cta:focus-visible { outline: 3px solid #b6ffd3; outline-offset: 2px; }

/* Prominent image centerpiece */
.hero-visual {
  width: 100%;
  max-width: 680px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.18);
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  display: block;
}

/* Footer with small advertisement and closing note */
.site-footer {
  padding: 16px;
  text-align: center;
  color: #d4ffd9;
  background: rgba(0,0,0,.04);
  border-top: 1px solid rgba(0,0,0,.08);
}
.footer-ad {
  font-size: 14px;
  margin-bottom: 6px;
}
.footer-ad a {
  color: #c6ffd3;
  text-decoration: none;
  border-bottom: 1px dashed rgba(198,255,211,.6);
}
.closing-note {
  font-size: 13px;
  color: #d4ffd0;
}

/* Desktop improvement: keep image as centerpiece while text reads on left/right */
@media (min-width: 900px) {
  .hero.grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
  }
  .hero-content { padding: 34px; background: rgba(255,255,255,.92); }
  .cta { font-size: 20px; padding: 18px 34px; }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}