/* Light reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
:root {
  /* cyberpunk cyan sunset palette */
  --bg-a: #00e5ff;
  --bg-b: #00d2ff;
  --bg-c: #7a00ff;
  --bg-d: #0a0a0f;
  --fg: #e6f7ff;
  --muted: #a7f0ff;
  --accent: #00e5ff;
  --glass: rgba(255,255,255,.08);
  --glass-stroke: rgba(255,255,255,.25);
}
html, body { height: 100%; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto; color: var(--fg); background: linear-gradient(135deg, var(--bg-a) 0%, var(--bg-b) 35%, var(--bg-c) 65%, var(--bg-d) 100%); }

/* subtle cyber grid overlay (futuristic, frosted glass vibe) */
body::before, body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
body::before {
  /* glow accents */
  background: radial-gradient(circle at 15% 10%, rgba(0,255,255,.08), transparent 40%),
              radial-gradient(circle at 70% 25%, rgba(0,0,0,.08), transparent 40%);
  mix-blend-mode: screen;
}
body::after {
  /* light frosted grid */
  background-image:
    linear-gradient(transparent 24px, rgba(255,255,255,.04) 24px),
    linear-gradient(90deg, transparent 24px, rgba(255,255,255,.04) 24px);
  background-size: 24px 24px;
  opacity: .08;
}

/* layout container */
main {
  position: relative;
  z-index: 1;
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

/* frosted glass card for the hero image frame */
.image-frame {
  width: min(92vw, 900px);
  aspect-ratio: 16 / 9;
  display: grid;
  align-items: center;
  justify-items: center;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px;
  padding: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0,0,0,.55);
  transition: transform .25s ease;
}
.image-frame:hover { transform: translateY(-2px); }

/* image styling with rounded corners inside frame */
.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: inset 0 0 40px rgba(0,0,0,.25);
}

/* footer with a frosted panel and a CTA */
footer {
  width: min(1100px, 92vw);
  margin: 2rem auto 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--fg);
}

/* featured product block */
.product-ad { display: flex; align-items: center; gap: 1rem; }
.product-ad h3 { font-size: 1rem; font-weight: 600; color: #bff7ff; margin: 0; display: inline-block; }
.product-ad a { text-decoration: none; }
.product-ad a p {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 8px;
  background: rgba(0,0,0,.6);
  color: #eaffff;
  border: 1px solid rgba(0,255,255,.5);
  margin: 0;
  transition: transform .2s ease;
}
.product-ad a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}
.product-ad a:hover { transform: translateY(-1px); }

/* footer copyright text */
footer > p {
  margin: 0;
  font-size: .95rem;
  color: #cfeaff;
}

/* accessible link focus styles (global) */
a { color: #c7fbff; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* responsive tweaks (mobile-first) */
@media (min-width: 640px) {
  main { padding: 3rem 1.5rem; }
  .image-frame { width: min(88vw, 940px); }
  footer { padding: 1.25rem 1.25rem; }
}
@media (min-width: 980px) {
  main { padding: 4rem 2rem; }
  .image-frame { width: min(780px, 72vw); }
  footer { gap: 2rem; }
}