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

:root {
  --teal: #2bd4a5;
  --teal-dark: #0f9e88;
  --bg: #07160e;
  --card: rgba(255, 255, 255, 0.08);
  --text: #eafff4;
  --text-dim: rgba(234, 255, 238, 0.75);
  --glass: rgba(10, 31, 30, 0.55);
  --glow: 0 0 12px rgba(43,212,165,0.8);
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: var(--bg);
  /* Green crosshatch background (two green hatch layers + dark layer) */
  background-image:
    linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
    repeating-linear-gradient(45deg,
      rgba(43, 212, 165, 0.15) 0px,
      rgba(43, 212, 165, 0.15) 2px,
      transparent 2px,
      transparent 6px),
    repeating-linear-gradient(-45deg,
      rgba(43, 212, 165, 0.12) 0px,
      rgba(43, 212, 165, 0.12) 2px,
      transparent 2px,
      transparent 6px);
  background-blend-mode: overlay;
  min-height: 100%;
  overflow-x: hidden;
}

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

.image-frame {
  width: min(720px, 92vw);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(15, 40, 34, 0.42);
  border: 1px solid rgba(43, 212, 165, 0.6);
  box-shadow: inset 0 0 40px rgba(0,0,0,.25), 0 12px 40px rgba(0,0,0,.5);
  backdrop-filter: saturate(1.2) blur(4px);
  -webkit-backdrop-filter: saturate(1.2) blur(4px);
  position: relative;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: saturate(1.05);
  box-shadow: 0 8px 22px rgba(0,0,0,.55);
}

.image-frame:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  box-shadow: inset 0 0 120px rgba(0, 255, 210, 0.25);
}

footer {
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--text-dim);
}

.product-ad {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  background: rgba(2, 8, 6, 0.55);
  border: 1px solid rgba(43, 212, 165, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.25s ease;
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
}
.product-ad h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  color: #b7fff0;
  letter-spacing: .2px;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(43,212,165,0.95), rgba(0,0,0,0.15));
  color: #062d26;
  font-weight: 700;
  border: 1px solid rgba(43,212,165,0.95);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-ad a:hover,
.product-ad a:focus-visible {
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 0 0 4px rgba(43,212,165,0.45);
}
.product-ad a:focus-visible {
  outline: 3px solid rgba(0, 255, 210, 0.75);
  outline-offset: 2px;
}
footer p {
  margin: 0;
  color: rgba(234, 255, 238, 0.75);
  font-size: 0.9rem;
}

/* Accessibility helpers for keyboard focus on root links if any */
a:focus-visible {
  outline: 3px solid rgba(0, 255, 210, 0.9);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive: mobile-first scaling for larger screens */
@media (min-width: 768px) {
  main {
    padding: 6rem 2rem;
  }
  .image-frame {
    width: 720px;
    padding: 1.25rem;
  }
  .product-ad {
    padding: 0.9rem 1.15rem;
  }
}
@media (min-width: 1024px) {
  body {
    background-attachment: fixed;
  }
  .image-frame {
    transform: translateZ(0);
  }
}