/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: #e8eefc;
  background-color: #1e1e1e;
  /* gray polka dots background */
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.15) 2px, transparent 2px);
  background-size: 22px 22px;
  background-position: 0 0;
}

/* CSS variables for colors */
:root {
  -- coral: #ff6f61;
  -- coral-dark: #e95b4b;
  -- text: #e8eefc;
  -- glass: rgba(255, 255, 255, 0.08);
  -- glass-border: rgba(255, 255, 255, 0.25);
  -- shadow: rgba(0,0,0,.55);
}

/* Light reset for layout */
main {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

/* Frosted glass hero frame around the image */
.image-frame {
  width: min(92%, 900px);
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  outline: none;
}

/* Footer and CTA */
footer {
  padding: 1.5rem;
  text-align: center;
  color: var(--text);
}

/* Featured product CTA with cyberpunk coral glow */
.product-ad {
  display: inline-block;
  padding: .6rem .8rem;
  border-radius: 10px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
  margin: 0 auto 0.75rem;
  backdrop-filter: blur(4px);
}
.product-ad h3 {
  font-size: 1.05rem;
  margin: 0 0 .4rem;
  color: #e8faff;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.4);
}
.product-ad a {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--coral) 0%, #ff9a7a 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(255, 111, 97, .6);
  border: 1px solid rgba(255,255,255,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover, .product-ad a:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(255,111,97,.8);
  outline: none;
}

/* Global focus for accessibility on keyboard users */
a:focus-visible, button:focus-visible {
  outline: 2px solid #a6e6ff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Minor responsive tweaks */
@media (min-width: 700px) {
  main { padding: 3rem 2rem; }
  .image-frame { padding: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}