/* Coral circuit board hacker theme (mobile-first, single stylesheet) */

/* Reset & base */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; }
body {
  margin: 0;
  padding: 0;
  color: #eaf4fb;
  background-color: #0b0f14;
  /* Coral circuit board texture */
  background-image:
    linear-gradient(45deg, rgba(255, 122, 92, 0.12) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 122, 92, 0.12) 25%, transparent 25%),
    radial-gradient(circle at 10px 10px, rgba(0,0,0,.25) 2px, transparent 2px);
  background-size: 40px 40px, 40px 40px, 100px 100px;
  background-position: 0 0, 0 0, 0 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Hero container: emphasize content with frosted glass look around the image */
.image-frame {
  position: relative;
  width: 92%;
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Subtle glass edge to enhance frosted look */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
  pointer-events: none;
}

/* Footer with a lightweight cyberpunk vibe */
footer {
  margin-top: auto;
  padding: 16px 12px;
  text-align: center;
  color: #e9f2fb;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.15);
}
footer p {
  margin: 6px 0 0;
  font-size: 0.9rem;
}
.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}
.product-ad h3 {
  font-size: 0.95rem;
  margin: 0;
  color: #fff;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 122, 92, 0.95); /* coral CTA */
  color: #fff;
  font-weight: 700;
  letter-spacing: .2px;
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 6px 16px rgba(0,0,0,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.5);
}
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Focus styles for other interactive elements (if any in page) */
a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive: mobile-first scaling */
@media (min-width: 600px) {
  .image-frame { width: 88%; }
}
@media (min-width: 900px) {
  .image-frame { width: 820px; padding: 1.75rem; margin: 3rem auto; }
  .product-ad a { padding: 14px 28px; }
}
