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

/* Theme: turquoise glow, hacker green, frosted glass, cyberpunk vibe */
:root {
  --bg-turquoise-1: rgba(0, 255, 212, 0.25);
  --bg-turquoise-2: rgba(0, 255, 170, 0.25);
  --bg-base: #041716;
  --fg: #eafff7;
  --green: #00ffd0;
  --green-soft: #00ffa8;
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(0, 255, 210, 0.5);
  --radius: 14px;
  --shadow: 0 10px 25px rgba(0,0,0,.25);
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--fg);
  background: radial-gradient(circle at 20% 0%, var(--bg-turquoise-1) 0 40%, transparent 40%),
              radial-gradient(circle at 80% 60%, var(--bg-turquoise-2) 0 40%, transparent 40%),
              var(--bg-base);
  min-height: 100vh;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 2rem 1rem;
}

.image-frame {
  width: min(92%, 700px);
  background: var(--glass);
  border: 1px solid rgba(0, 255, 210, 0.45);
  border-radius: var(--radius);
  padding: 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 rgba(0,0,0,.2);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  image-rendering: auto;
}

/* Frosted glass panel for hero/art area feel */
.image-frame {
  transition: transform .2s ease;
}
.image-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}

footer {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #ddfff0;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(0, 255, 210, 0.4);
}

/* Product ad block as a neon frosted capsule */
.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: .75rem;
  border-radius: 999px;
  width: min(92%, 520px);
  margin: .25rem auto;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(0, 255, 210, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3 {
  font-size: .95rem;
  margin: 0;
  color: #baffee;
  text-shadow: 0 0 6px rgba(0, 255, 180, 0.6);
}
.product-ad a { text-decoration: none; color: inherit; }

/* CTA button styling (image uses a link inside the ad) */
.product-ad a p {
  margin: 0;
  padding: .65rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0,255,180,.25), rgba(0,150,120,.25));
  border: 1px solid rgba(0,255,210,.6);
  color: #eafff0;
  font-weight: 700;
  display: inline-block;
}
.product-ad a:focus-visible {
  outline: 2px solid #00ffd6;
  outline-offset: 2px;
  border-radius: 999px;
}
.product-ad a:hover p {
  background: linear-gradient(135deg, rgba(0,255,200,.45), rgba(0,150,120,.45));
  color: #fff;
  text-shadow: 0 0 8px rgba(0,255,180,.8);
  transform: translateY(-1px);
  transition: transform .15s ease;
}

/* General focus accessibility for other links/buttons if present */
a:focus-visible { outline: 2px solid #00ffd6; outline-offset: 2px; border-radius: 4px; }

/* Responsive adjustments */
@media (min-width: 768px) {
  main { min-height: 70vh; padding: 3rem 2rem; }
  .image-frame { width: min(65%, 860px); padding: 10px; }
  footer { padding: 2rem 1rem; }
}
@media (min-width: 1024px) {
  .image-frame { width: min(60%, 920px); }
  .product-ad { width: min(40%, 680px); }
}