/* index.css - mobile-first, cyberpunk frost-glass theme on beige galaxy background */

/* Lightweight reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #eaf6ff;
  background-color: #f5ecd8; /* beige base */
  /* Beige galaxy starscape (soft, lightweight) */
  background-image:
    radial-gradient(circle at 5% 15%, rgba(255,255,255,.95) 0 2px, transparent 2px),
    radial-gradient(circle at 25% 70%, rgba(180,210,255,.95) 0 1px, transparent 1px),
    radial-gradient(circle at 60% 40%, rgba(170,210,255,.8) 0 1px, transparent 1px),
    radial-gradient(circle at 85% 25%, rgba(255,255,255,.9) 0 2px, transparent 2px),
    repeating-radial-gradient(circle at 50% 50%, rgba(120,110,80,.25) 0 1px, transparent 1px, transparent 6px);
  background-size: 120px 120px, 180px 180px, 240px 240px, 300px 300px, 900px 900px;
  background-blend-mode: screen;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
}

/* Page structure helpers */
.site-header { height: 64px; }

main { width: 100%; }

/* Hero layout: image as centerpiece, CTA is prominent */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 1rem;
  padding: 40px 16px 52px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.hero-image {
  width: min(92vw, 640px);
  height: auto;
  border-radius: 18px;
  object-fit: contain;
  background: rgba(255,255,255,.08);
  padding: 8px;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

h1 {
  margin: 6px 0 0;
  font-size: 1.9rem;
  line-height: 1.15;
  color: #eaf6ff;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}
h2 {
  margin: .25rem 0 0;
  font-size: 1.1rem;
  color: #b8d9ff;
  opacity: .95;
}

/* CTA as visual centerpiece */
.cta {
  display: inline-block;
  margin-top: 14px;
  padding: 1rem 1.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #061a2e;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(92,196,255,0.95) 0%, rgba(42,136,255,0.95) 60%, rgba(11,108,255,0.95) 100%);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 6px 18px rgba(0,120,255,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,120,255,.85); }
.cta:focus { outline: none; box-shadow: 0 0 0 4px rgba(110,180,255,.65), 0 12px 28px rgba(0,0,0,.25); }

/* Footer advertisement + closing note */
.site-footer {
  margin-top: 12px;
  padding: 14px 16px;
  text-align: left;
  color: #0e1f31;
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
}
.site-footer .footer-ad {
  font-size: .95rem;
  margin: 0;
}
.site-footer .footer-ad a {
  color: #0b57a2;
  text-decoration: none;
  font-weight: 600;
}
.site-footer .footer-ad a:hover { text-decoration: underline; }
.closing-note { margin-top: 6px; font-size: .95rem; color: #0b1f2b; opacity: .95; }

/* Focus visibility for keyboard users */
:focus-visible {
  outline: 3px solid #88d0ff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks: grid layout shifts to two-column with image as centerpiece on larger screens */
@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    text-align: left;
    gap: 2rem;
    padding: 60px 48px;
  }
  .hero-image {
    width: 100%;
    max-width: 620px;
    justify-self: center;
  }
  /* Place text in the second column while keeping the image as centerpiece */
  .hero-grid > *:not(.hero-image) {
    grid-column: 2;
  }
  h1 { text-align: left; font-size: 2.4rem; }
  h2 { text-align: left; font-size: 1.25rem; }
  .cta { font-size: 1.25rem; padding: 1.15rem 1.4rem; }
}

@media (min-width: 1024px) {
  .hero-grid { gap: 2.5rem; padding: 80px 72px; }
  .hero-image { max-width: 680px; }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.35rem; }
  .cta { font-size: 1.3rem; }
}