/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html, body { margin: 0; padding: 0; }
:root {
  --bg: #0a0f14;
  --panel: rgba(10, 22, 28, 0.68);
  --turq: #2ee6d6;
  --turq-dark: #1bc9bc;
  --text: #eaffff;
  --text-soft: #c9f6f0;
  --shadow: rgba(0, 255, 214, 0.35);
}
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.4;
  min-height: 100vh;
  /* turquoise dot pattern background */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(46,230,214,.95) 2px, transparent 2px),
    radial-gradient(circle at 8px 8px, rgba(46,230,214,.55) 2px, transparent 2px);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  /* subtle cyber glow edge */
  position: relative;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 60% 20%, rgba(46,230,214,.15), transparent 40%),
              radial-gradient(circle at 20% 60%, rgba(0, 255, 225,.12), transparent 40%);
  mix-blend-mode: screen;
  z-index: 0;
}

/* Layout */
main {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 180px);
}
.image-frame {
  width: min(92vw, 720px);
  padding: 14px;
  border-radius: 16px;
  background: rgba(10, 22, 28, 0.62);
  border: 1px solid rgba(46,230,214,.60);
  box-shadow: 0 14px 40px rgba(0, 255, 214, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  outline: 1px solid rgba(46,230,214,.35);
}
footer {
  padding: 1.25rem;
  text-align: center;
  z-index: 1;
  position: relative;
}
.product-ad {
  display: inline-block;
  padding: 0.65rem 0.95rem;
  margin-bottom: 0.5rem;
  background: rgba(6,12,18,.65);
  border-radius: 12px;
  border: 1px solid rgba(46,230,214,.50);
  box-shadow: 0 6px 20px rgba(0,255,214,.28);
}
.product-ad h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  color: #a9fff2;
  letter-spacing: .2px;
}
.product-ad a { text-decoration: none; display: inline-block; }
.product-ad a p {
  margin: 0;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2af3d0 0%, #14e0d6 100%);
  color: #041f1c;
  font-weight: 800;
  border: 1px solid rgba(0,0,0,.15);
  text-shadow: none;
  transition: transform .15s ease;
  display: inline-block;
}
.product-ad a:hover p { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,255,214,.45); }
.product-ad a:focus-visible { outline: 2px solid var(--turq); outline-offset: 2px; border-radius: 999px; }

/* Footer text color for contrast */
footer p {
  margin: 0.75rem 0 0;
  color: #a9f6f0;
  font-size: 0.92rem;
}
@media (min-width: 768px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 240px); }
  .image-frame { width: min(80vw, 900px); padding: 20px; border-radius: 20px; }
  .image-frame img { border-radius: 14px; }
  footer { padding: 1.75rem; }
}
@media (min-width: 1024px) {
  .image-frame { padding: 22px; }
  .product-ad h3 { font-size: 1.05rem; }
}