:root {
  --teal: #2ee6c8;
  --teal-dark: #0fb59f;
  --silver: #cbd6de;
  --bg: #0b0f14;
}

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

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #e8f7f5;
  background-color: #cbd6de;
  /* silver crosshatch background */
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.25) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,.25) 25%, transparent 25%);
  background-size: 12px 12px;
  background-position: 0 0, 0 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.75rem;
  padding: 1.5rem;
  line-height: 1.4;
}

/* Hero / image frame with frosted glass feel */
main {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0 0;
}

.image-frame {
  width: min(92vw, 860px);
  aspect-ratio: 16 / 9;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.image-frame:hover img {
  transform: scale(1.02);
}

/* Footer with frosted glass ad card */
footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 0 0;
  gap: 0.75rem;
}

.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.product-ad h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--teal);
  letter-spacing: .3px;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
}

.product-ad a p {
  margin: 0;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: rgba(46, 225, 190, 0.25);
  color: #062b2a;
  border: 1px solid rgba(46, 225, 190, 0.55);
  font-weight: 700;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.product-ad a p:hover {
  background: rgba(46, 225, 190, 0.40);
  box-shadow: 0 0 10px rgba(46, 225, 190, 0.6);
}
.product-ad a:focus-visible p,
.product-ad a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 8px;
}

footer p {
  margin: 0.25rem 0 0;
  color: #0a141c;
  opacity: 0.75;
  font-size: 0.92rem;
}

/* Focus styles for accessibility on links and any interactive element */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 600px) {
  .image-frame {
    width: min(860px, 80vw);
  }
  .product-ad h3 {
    font-size: 1.02rem;
  }
}

@media (min-width: 900px) {
  body {
    padding-top: 2rem;
  }
  main { padding-top: 0; }
}