/* Minimal reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Theme + helpers */
:root{
  --indigo: #4f46e5;
  --indigo-dark: #4338ca;
  --cyan: #00e5ff;
  --bg1: #0a1020;
  --bg2: #0a1b2a;
  --glass: rgba(8,12,28,.6);
  --glass-border: rgba(110,140,255,.34);
  --radius: 14px;
  --shadow: 0 6px 16px rgba(0,0,0,.25);
}

html, body { height: 100%; }

/* Navy checkerboard background (dark, cyberpunk vibe) */
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: #e8f0ff;
  line-height: 1.5;
  background-color: var(--bg1);
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,.05) 25%, transparent 25%);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Frosted glass + hacker style header (hero) */
header {
  padding: 3rem 1rem;
  text-align: center;
  background: rgba(8,12,28,.6);
  border-bottom: 1px solid rgba(110,140,255,.34);
  backdrop-filter: blur(6px);
}
header h1 {
  font-size: clamp(1.8rem, 2.3vw + 1rem, 3.6rem);
  line-height: 1.08;
  color: #eaf0ff;
  letter-spacing: .4px;
  text-shadow: 0 0 8px rgba(79,70,229,.65);
  margin-bottom: .75rem;
}
header::after {
  content: "";
  display: block;
  height: 1px;
  width: 60%;
  max-width: 420px;
  margin: .75rem auto 0;
  background: linear-gradient(90deg, transparent, rgba(110,140,255,.6), transparent);
  filter: saturate(130%);
  opacity: .9;
}

/* Main content area */
main { padding: 1rem; }

/* Image frame with frosted-glass feel and subtle border for cyberpunk look */
.image-frame {
  max-width: 760px;
  margin: 2rem auto;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(110,140,255,.28);
  box-shadow: inset 0 0 40px rgba(0,0,0,.15);
}

/* Make image responsive */
.image-frame img { display: block; width: 100%; height: auto; }

/* Footer area with CTA styled as a neon button and frosted glass card */
footer {
  padding: 1.5rem;
  text-align: center;
  color: #cbd8ff;
  border-top: 1px solid rgba(110,140,255,.25);
  background: rgba(8,12,28,.4);
  backdrop-filter: blur(6px);
}
footer .product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: 12px;
}
footer .product-ad h3 {
  font-size: 1.05rem;
  color: #d8e0ff;
}
footer .product-ad a {
  display: inline-block;
  padding: .9rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, rgba(79,70,229,1) 0%, rgba(0,182,255,1) 100%);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
footer .product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
footer p { font-size: .9rem; opacity: .85; }

/* Accessible focus styles for all interactive elements */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 6px;
}
a { color: #cfe2ff; text-decoration: none; }

/* Lightweight responsive tweaks (mobile-first) */
@media (min-width: 640px) {
  header { padding: 4rem 1.5rem; }
  main { padding: 1.25rem 2rem; }
}
@media (min-width: 900px) {
  .image-frame { margin: 3rem auto; }
}
