/* Minimal reset and cyberpunk, hacker-leaning styles (single stylesheet) */

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
body {
  margin: 0;
  color: #eafff6;
  background-color: #0b111a;
  /* Lime crosshatch background (cyan-lime hacker glow) */
  background-image:
    repeating-linear-gradient(45deg, rgba(168,255,70,.25) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(-45deg, rgba(168,255,70,.18) 0 2px, transparent 2px 14px);
  background-size: 16px 16px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Layout: mobile-first, centered hero image inside frosted glass frame */
main {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.image-frame {
  width: min(92vw, 1100px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 255, 0.35);
  border-radius: 18px;
  padding: 1.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(8px) saturate(1.15);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55), inset 0 0 0 rgba(0,0,0,0);
  border-top-color: rgba(0, 255, 255, 0.6);
  /* subtle neon lift for cyberpunk vibe */
  transition: transform .2s ease;
}
.image-frame:hover { transform: translateY(-1px); }

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  /* slight glow cast by the image itself for depth */
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
}

/* Frosted glass accent on footer region */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

/* Featured product card with neon cyan styling */
.product-ad {
  display: inline-block;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(0, 255, 255, 0.4);
  margin-bottom: 0.75rem;
}
.product-ad h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
  color: #00e6ff;
  text-shadow: 0 0 6px rgba(0, 230, 255, 0.8);
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  display: inline-block;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  color: #022a2a;
  background: #b2fff0;
  border: 1px solid rgba(0,0,0,.15);
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover p {
  transform: translateY(-1px);
  background: #79fff0;
  color: #022a2a;
}

/* Footer text */
footer p {
  color: #d7fff1;
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
}

/* Focus accessibility for keyboard users */
a:focus-visible,
button:focus-visible,
:focus {
  outline: 2px solid #00e5ff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Desktop layout tweaks */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { padding: 2rem; border-radius: 20px; }
  footer { text-align: left; padding: 2rem 2rem; }
  .product-ad { display: inline-block; vertical-align: top; margin-right: 2rem; }
  .product-ad h3 { font-size: 1.05rem; }
}

/* Respect dark color schemes if the user prefers */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; }
}