* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --lime: #a6ff2a;
  --lime-dark: #7bd21c;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-edge: rgba(255, 255, 255, 0.25);
  --text: #eafff0;
}

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: linear-gradient(135deg, #2b0000 0%, #7a0000 50%, #2b0000 100%);
  min-height: 100vh;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: #d0ffd0; text-decoration: none; }

main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem 0;
  min-height: calc(100vh - 120px);
}

.image-frame {
  width: 92%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  display: grid;
  place-items: center;
  box-shadow: 0 15px 40px rgba(0,0,0,.45);
  backdrop-filter: saturate(1.1) blur(6px);
  -webkit-backdrop-filter: saturate(1.1) blur(6px);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

footer {
  padding: 1.5rem;
}

.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: 1rem;
  margin: .75rem auto;
  width: min(92%, 720px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.product-ad h3 {
  font-size: 1rem;
  color: var(--lime);
  text-shadow: 0 0 6px rgba(166, 255, 42, 0.8);
}

.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-decoration: none;
}

.product-ad a p {
  padding: .75rem 1rem;
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #b6ff6a 0%, #66ff17 100%);
  color: #062a00;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  line-height: 1;
  letter-spacing: .2px;
}

/* Focus styles for accessibility */
.product-ad a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
  border-radius: 999px;
}
.product-ad a:focus-visible p {
  text-shadow: 0 0 8px rgba(166, 255, 42, 0.9);
}

/* Footer text styling for glow */
footer p {
  text-align: center;
  margin-top: .5rem;
  color: #c9ffd0;
  opacity: .95;
}

/* Responsive tweaks - mobile-first by default */
@media (min-width: 768px) {
  main { padding: 3rem 2rem 0; }
  .image-frame { width: 80%; }
  .product-ad { width: 70%; }
}

@media (min-width: 1024px) {
  .image-frame { width: 60%; }
  .product-ad { width: 50%; }
}