/* Global reset and base */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #eafaf4;
  /* Teal parchment backdrop with subtle cyberpunk edge */
  background: linear-gradient(135deg, rgba(14, 70, 66, 0.25) 0%, rgba(0,0,0,0.12) 60%), 
              linear-gradient(#113a32 0%, #0b2b26 60%, #0b2b26 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Light reset utilities */
:root {
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.25);
  --text: #eafaf4;
  --accent: #2fe2c8;
  --focus: #a0ffde;
}
* { box-sizing: border-box; }

/* Layout: mobile-first, centered hero image with frosted glass frame */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}
.image-frame {
  width: 100%;
  max-width: 1040px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95);
}

/* Footer with frosted glass panel and CTA link styled as button */
footer {
  padding: 1.25rem 1rem 2rem;
}
.product-ad {
  max-width: 980px;
  margin: 0 auto 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.product-ad h3 { margin: 0; font-size: 1.05rem; }
.product-ad a {
  color: #eafff5;
  text-decoration: none;
  font-weight: 700;
  padding: .6rem 1rem;
  border-radius: 999px;
  display: inline-block;
  background: rgba(20, 180, 170, 0.25);
  border: 1px solid rgba(20, 180, 170, 0.75);
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); background: rgba(20, 180, 170, 0.40); }

/* Focus styles for accessibility */
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.product-ad a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
p { margin: 0; color: rgba(234, 244, 240, 0.95); }

/* Responsive tweaks: bigger screens get more breathing room and a taller hero */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { height: 70vh; min-height: 420px; border-radius: 22px; }
  .product-ad { flex-direction: row; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; }
  .product-ad a { font-size: 1rem; padding: .8rem 1.1rem; }
}
@media (min-width: 1024px) {
  .image-frame { height: 65vh; }
  footer { padding: 1.75rem 0; }
}