/* Light reset */
*, *::before, *::after { box-sizing: border-box; }

/* Theme variables and base setup */
:root {
  --bg-dark: #0b0b0d;
  --fg: #f5f7ff;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.25);
  --shadow: 0 8px 28px rgba(0,0,0,.45);
  --cta: #ffb347;
}
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--fg);
  background: 
    radial-gradient(circle at 15% 25%, rgba(255,128,0,.25) 0 60px, transparent 60px),
    radial-gradient(circle at 75% 15%, rgba(255,180,0,.25) 0 80px, transparent 80px),
    radial-gradient(circle at 40% 70%, rgba(255,100,0,.25) 0 100px, transparent 100px),
    linear-gradient(#0b0b0d 0, #0b0b0d 100%);
  background-blend-mode: overlay;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body::before {
  content:"";
  position: fixed; inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,.6) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 2px 2px, 3px 3px, 4px 4px;
  background-position: 0 0, 40px 60px, 100px 20px;
  opacity: .08;
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
  padding: 2rem 1rem;
}

/* Frosted glass hero frame for the image */
.image-frame {
  width: min(92%, 900px);
  padding: 1.25rem;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
}
.image-frame img {
  width: 100%; height: auto; display: block;
  border-radius: 12px;
  filter: saturate(1.15) contrast(1.05);
}

/* Footer / Product Ad */
footer {
  text-align: center;
  padding: 1rem;
  color: rgba(230,235,245,.92);
  position: relative;
  z-index: 1;
}
.product-ad {
  display: inline-block;
  padding: .6rem .9rem;
  border-radius: 12px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
}
.product-ad h3 {
  margin: 0 0 .25rem;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.34);
  font-weight: 700;
}
.product-ad a:hover, .product-ad a:focus {
  background: rgba(255,255,255,.28);
  outline: none;
}
p { margin: 0; }

/* Global link focus for accessibility */
a { color: #e8f0ff; text-decoration: none; }
a:focus-visible {
  outline: 3px solid #00e5ff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive: mobile-first adjustments */
@media (min-width: 640px) {
  main { padding: 3rem 2rem; }
  .image-frame { padding: 1.5rem; }
}
@media (min-width: 900px) {
  main { padding: 4rem 2rem; }
  .image-frame { width: min(860px, 88%); }
}