/* Reset and base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Theme tokens */
:root {
  --bg-maroon: #2a0d0d;
  --teal: #0ff0d1;
  --teal-dark: #0ba9a0;
  --glass: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.28);
  --text: #e8fff8;
  --muted: #b5efe2;
  --shadow: 0 10px 40px rgba(0,0,0,.5);
}

/* Page setup: mobile-first, cyberpunk vibe with frosted glass */
html, body { height: 100%; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: var(--bg-maroon);
  /* maroon dots background pattern */
  background-image: radial-gradient(circle, rgba(122,0,0,.55) 1px, transparent 1px);
  background-size: 14px 14px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.image-frame {
  width: min(96%, 860px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  /* subtle neon edge */
  box-shadow: 0 0 12px rgba(0,255,235,.25);
}

/* Footer with prominent CTA */
footer { padding: 1rem; margin-top: auto; }

.product-ad {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(4, 18, 18, 0.6);
  border: 1px solid rgba(0, 255, 235, 0.25);
  width: min(92%, 720px);
  margin: .75rem auto 0;
  box-shadow: inset 0 0 20px rgba(0,0,0,.25), 0 6px 20px rgba(0,0,0,.25);
}

.product-ad h3 {
  font-size: 1.25rem;
  margin-bottom: .5rem;
  color: var(--teal);
  text-shadow: 0 0 6px rgba(0,255,235,.8);
}
.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  /* neon teal CTA */
  background: linear-gradient(135deg, #00f5d1 0%, #0bd6c0 100%);
  color: #06231e;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 6px 16px rgba(0,255,235,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0,255,235,.8);
}
.product-ad a:focus-visible {
  outline: 3px solid #00ffd2;
  outline-offset: 2px;
}
.product-ad a p {
  margin: 0;
  padding: 0;
  color: #06231e;
  font-weight: 800;
}
footer p {
  text-align: center;
  font-size: .9rem;
  color: #cbd8d0;
  margin-top: .5rem;
}

/* Responsive tweaks (desktop and tablet) */
@media (min-width: 640px) {
  .image-frame { padding: 1.25rem; border-radius: 24px; }
  .product-ad { width: min(90%, 760px); padding: 1.1rem; }
}
@media (min-width: 1024px) {
  body { background-size: 16px 16px; }
  main { padding: 3rem 2rem; }
  .image-frame { padding: 1.5rem; }
  .product-ad { padding: 1.25rem 1.5rem; }
  .product-ad h3 { font-size: 1.4rem; }
}