/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
:root {
  --bg: #041b1f;
  --glass: rgba(6, 26, 26, 0.65);
  --text: #e8ffff;
  --cyan: #00f5ff;
  --cyan2: #00e5e5;
  --border: rgba(0,255,255,.5);
}
body {
  font-family: ui-sans-serif, system-ui, -apple-system;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  padding: 1rem;
  display: grid;
  grid-template-rows: auto auto;
  gap: 1rem;
  /* turquoise noise texture (subtle tiling) */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,255,255,.12) 2px, transparent 2px),
    radial-gradient(circle at 3px 3px, rgba(0,255,255,.08) 2px, transparent 2px);
  background-size: 6px 6px, 6px 6px;
  background-color: #031017;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { width: 100%; max-width: 860px; display: grid; justify-items: center; }

.image-frame {
  width: 100%;
  max-width: 720px;
  border-radius: 20px;
  padding: .75rem;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(0,255,255,.35);
  backdrop-filter: saturate(1.15) blur(6px);
  -webkit-backdrop-filter: saturate(1.15) blur(6px);
  box-shadow: 0 8px 30px rgba(0,255,255,.28);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(0,255,255,.45);
  filter: saturate(1.05);
}
.image-frame:focus-within {
  outline: 2px solid rgba(0,255,255,.8);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(0,255,255,.8), 0 8px 30px rgba(0,255,255,.32);
}

footer {
  width: 100%;
  display: grid;
  grid-auto-flow: row;
  justify-items: center;
  padding: 0 0 2rem;
}
.product-ad {
  width: min(92%, 760px);
  padding: .9rem 1rem;
  border-radius: 14px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(0,255,255,.5);
  text-align: left;
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  box-shadow: 0 8px 28px rgba(0,255,255,.28);
}
.product-ad h3 { margin: 0 0 .25rem; font-size: 1rem; color: #b9fffb; }
.product-ad a { text-decoration: none; display: inline-block; width: auto; }
.product-ad a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.product-ad a p {
  margin: 0;
  padding: .8rem 1.15rem;
  border-radius: 10px;
  font-weight: 700;
  color: #041016;
  background: linear-gradient(135deg, rgba(0,255,255,.85), rgba(0,170,170,.65));
  border: 1px solid rgba(0,255,255,.95);
  box-shadow: 0 0 12px rgba(0,255,255,.6);
  display: inline-block;
}
footer p { margin: .5rem 0 0; color: #9efcff; font-size: .9rem; }

/* Responsive tweaks (mobile-first) */
@media (min-width: 768px) {
  body {
    padding: 2rem;
  }
  .image-frame { padding: 1rem; border-radius: 22px; }
  .image-frame img { border-radius: 14px; }
  .product-ad h3 { font-size: 1.05rem; }
  .product-ad a p { padding: .95rem 1.25rem; font-size: 1rem; }
}