/* teal checkerboard + green hacker theme with frosted glass for Crypto Router Bot page */
/* Mobile-first, single stylesheet */

:root{
  --teal: #0f8a88;
  --teal-darker: #0b6f6b;
  --green: #2bd47f;
  --green-dark: #1a9f63;
  --bg: #070f0f;
  --text: #e8fff1;
  --muted: #cbd5e1;
  --glass: rgba(12, 18, 14, 0.66);
  --border: rgba(0,0,0,.25);
  --shadow: 0 12px 40px rgba(0,0,0,.5);
  --shadow-soft: 0 8px 24px rgba(0,0,0,.35);
  --gold: #ffd166;
}

/* Reset */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: #040c0c;
  /* Teal checkerboard background pattern on dark base */
  background-image:
    linear-gradient(45deg, rgba(43,212,127,.35) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(43,212,127,.35) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(43,212,127,.35) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(43,212,127,.35) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
}
body::before {
  /* subtle frosted glow layer on top of checkerboard for depth */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.04), transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(0,0,0,.22), transparent 40%);
  mix-blend-mode: screen;
  z-index: 0;
}

/* Layout wrappers */
.site-header {
  padding: 1rem;
  text-align: center;
  color: #eafff1;
  z-index: 1;
  position: relative;
}

/* Main grid flow */
main { padding: 0; }

/* Hero section: prominent centerpiece with frosted glass */
.hero {
  display: grid;
  grid-template-rows: auto auto auto auto;
  justify-items: center;
  text-align: center;
  gap: 1rem;
  padding: clamp(1.25rem, 6vw, 3rem) 1rem;
  margin: 2rem auto;
  width: 100%;
  max-width: 1000px;
  border-radius: 16px;
  background: rgba(6, 12, 12, 0.66); /* frosted glass */
  border: 1px solid rgba(0, 0, 0, 0.25);
  backdrop-filter: saturate(1.3) blur(8px);
  -webkit-backdrop-filter: saturate(1.3) blur(8px);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.hero > h1 {
  font-size: clamp(1.8rem, 6vw, 2.9rem);
  margin: 0.25rem 0;
  font-weight: 900;
  color: #eefef3;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero-image {
  width: min(92%, 720px);
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0.4rem auto;
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
  background: rgba(0,0,0,.25);
}
.subhead {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  color: #e3fff0;
  opacity: .95;
  margin: 0.25rem 0;
}
.hero-cta {
  display: inline-block;
  padding: 1rem 1.75rem;
  font-size: clamp(1.15rem, 3vw, 1.25rem);
  font-weight: 800;
  color: #041b0f;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #5ef2a1 0%, #2bd47f 60%, #1e8f57 100%);
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.5);
}
.hero-cta:focus-visible {
  outline: 3px solid #9ff5d1;
  outline-offset: 2px;
  border-radius: 999px;
}

/* Footer with small advertisement and gratitude text */
.site-footer {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #cfeada;
  font-family: inherit;
  position: relative;
  z-index: 1;
}
.footer-ad a {
  color: #7affbf;
  text-decoration: none;
  font-weight: 700;
}
.footer-ad a:hover { text-decoration: underline; }

/* Keyboard focus */
a:focus-visible {
  outline: 3px solid #9ff5d1;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 640px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    padding: 1.15rem 2rem;
    font-size: 1.125rem;
  }
}
@media (min-width: 1024px) {
  .hero { padding: 4rem 2rem; }
  .hero-image { width: min(70%, 820px); }
  .hero > h1 { font-size: 3rem; }
}