/* Minimal reset and cyberpunk foundation */
:root {
  --bg: #0a071a;
  --glass: rgba(15, 9, 28, 0.65);
  --cyan: #00e5ff;
  --cyan-dark: #00b8e6;
  --text: #eaf6ff;
}
*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: var(--bg);
  /* violet noise texture feel */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,255,255,.08) 1px, transparent 1px),
    radial-gradient(circle at 3px 7px, rgba(170,0,255,.08) 1px, transparent 1px);
  background-size: 4px 4px, 4px 4px;
  background-position: 0 0, 2px 2px;
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }

main {
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

/* Image hero with frosted glass vibe */
.image-frame {
  width: min(100%, 980px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(0, 255, 255, .25);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; }

.image-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,.25) 100%);
  pointer-events: none;
}
.image-frame::before {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 60px rgba(0, 255, 255, .45);
  pointer-events: none;
}

/* Frosted glass caption area (decorative glow) */
.image-frame::after,
.image-frame::before { border-radius: inherit; }

/* Featured product CTA inside footer area */
footer {
  padding: 1.25rem;
  text-align: center;
  color: #cbdcff;
}
.product-ad {
  display: grid;
  gap: .5rem;
  padding: .9rem;
  margin: 1rem auto 0;
  max-width: 520px;
  width: 100%;
  background: rgba(6, 0, 28, .58);
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 255, .4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #d9feff;
}
.product-ad a {
  display: inline-flex;
  align-items: center;
  padding: .5rem .85rem;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(135deg, #00f0ff 0%, #00b8ff 100%);
  color: #02131b;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 6px 16px rgba(0, 240, 255, .5);
}
.product-ad a:hover { transform: translateY(-1px); filter: brightness(1.05); }
.product-ad a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.product-ad a p { margin: 0; }

/* Focus styles for general accessibility on interactive elements */
a, button {
  outline: none;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  main { padding: 2rem 2rem 0; }
  .image-frame { border-radius: 22px; }
  footer { text-align: center; }
  .product-ad { justify-self: center; }
}