/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Theme: teal stripes with magenta hacker vibe; frosted glass */
:root {
  --teal: #0fb4a3;
  --teal-dark: #0a8a8a;
  --magenta: #ff2bd6;
  --magenta-dark: #e400b0;
  --bg: #0b1016;
  --glass: rgba(255, 255, 255, 0.08);
  --glow: rgba(255, 0, 180, 0.9);
}

html, body { height: 100%; }

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: #e8fbf6;
  background-color: var(--bg);
  /* Teal striped pattern background */
  background-image:
    repeating-linear-gradient(135deg,
      rgba(0, 180, 170, 0.25) 0px,
      rgba(0, 180, 170, 0.25) 12px,
      rgba(0,0,0,0) 12px,
      rgba(0,0,0,0) 24px);
  /* Subtle neon ambiance layer */
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: -40vmax;
  background:
    radial-gradient(circle at 20% 10%, rgba(0,255,255,.15), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(255,0,160,.15), transparent 40%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
@media (min-width: 900px) {
  body::before { filter: blur(30px); }
}

main {
  display: grid;
  place-items: center;
  padding: 3rem 1rem 2rem;
}

.image-frame {
  width: min(92vw, 860px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.75rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  overflow: hidden;
  position: relative;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  /* magenta/purple glow accents */
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
  mix-blend-mode: screen;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,0,180,.25), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(0,255,170,.25), transparent 40%);
  opacity: .9;
}

/* Footer / CTA area */
footer {
  padding: 1rem 1rem 3rem;
  text-align: center;
  color: #cde2e9;
}
.product-ad {
  display: inline-block;
  width: min(92vw, 720px);
  text-align: left;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin: 0 0 1rem;
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}
.product-ad h3 {
  margin: 0 0 .5rem 0;
  font-size: 1.1rem;
  color: #f6bbff;
  text-shadow: 0 0 6px rgba(255,0,180,.7);
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  color: white;
  background: var(--magenta);
  border: 1px solid rgba(255,255,255,.6);
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover { background: #e0118a; transform: translateY(-1px); }
.product-ad a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0,0,0,.0), 0 0 0 6px rgba(255,255,255,.8);
}
footer p {
  margin: .25rem 0 0;
  font-size: .9rem;
  opacity: .9;
}

/* Focus management for accessibility */
:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive tweaks */
@media (min-width: 600px) {
  main { padding: 4rem 2rem; }
  .image-frame { width: min(70vw, 760px); }
}
@media (min-width: 1024px) {
  .image-frame { width: min(60vw, 860px); }
  .product-ad { display: inline-block; vertical-align: top; margin-left: 2rem; }
  footer { text-align: left; padding: 2rem 2rem 4rem; }
}