:root {
  --lime: #a6ff00;
  --lime-soft: rgba(166, 255, 0, 0.25);
  --silver: #cbd6e3;
  --bg: #0b0f14;
  --glass: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.28);
  --shadow: rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  color: #eaf6ff;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  background-color: var(--bg);
  background-image:
    linear-gradient(to bottom right, rgba(0,0,0,0.45), rgba(0,0,0,0.15)),
    repeating-linear-gradient(135deg,
      rgba(166, 255, 0, 0.15) 0 6px,
      rgba(0,0,0,0) 6px 12px);
  min-height: 100vh;
  display: grid;
  place-items: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.image-frame {
  width: min(92vw, 860px);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 12px rgba(0,0,0,0.0);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

footer {
  width: 100%;
  display: grid;
  justify-items: center;
  padding: 1.5rem 1rem 3rem;
  margin-top: 0.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0.2));
}

.product-ad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #dfffe0;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
}

.product-ad h3 {
  font-size: 0.92rem;
  margin: 0;
  color: #eaffec;
}

.product-ad a {
  text-decoration: none;
  color: #d9ffd9;
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0,0,0,.25), rgba(255,255,255,.15));
  border: 1px solid rgba(255,255,255,.4);
}
.product-ad a:focus-visible,
.product-ad a:focus {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}
.product-ad a:hover {
  filter: brightness(1.05);
}

footer p {
  color: rgba(230, 240, 255, 0.9);
  font-size: 0.85rem;
  margin: 0.25rem 0 0;
}

/* Mobile-first: tweaks for larger screens */
@media (min-width: 640px) {
  main { padding: 3rem 2rem; }
  .image-frame { width: min(860px, 82vw); padding: 1.25rem; }
  .product-ad { font-size: 1rem; }
}

@media (min-width: 1024px) {
  body {
    background-image:
      linear-gradient(to bottom right, rgba(0,0,0,0.18), rgba(0,0,0,0.0)),
      repeating-linear-gradient(135deg, rgba(166,255,0,0.18) 0 6px, rgba(0,0,0,0) 6px 12px);
  }
  .image-frame {
    border-radius: 20px;
    padding: 1.5rem;
  }
  .image-frame img { border-radius: 12px; }
}