/* Reset and base styles */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #eef6f7;
  background: #0b7a7a; /* teal solid background */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Helpers and tokens */
:root {
  --teal: #0b7a7a;
  --glass: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.35);
  --silver: #cbd5e1;
  --silver-dark: #94a3b8;
  --text: #eaf6f7;
  --shadow: 0 8px 28px rgba(0,0,0,.25);
}

/* Layout: mobile-first, centered hero image with frosted glass frame */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 140px);
  padding: 16px;
}

.image-frame {
  width: min(92vw, 720px);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px) saturate(110%);
  box-shadow: var(--shadow);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Footer with frosted glass card for the ad and a small copyright line */
footer {
  padding: 28px 16px;
  display: flex;
  justify-content: center;
}

.product-ad {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(92vw, 560px);
  padding: 14px;
  gap: 8px;
  border-radius: 14px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.34);
  backdrop-filter: blur(6px) saturate(110%);
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
}

.product-ad h3 {
  font-size: 1rem;
  margin: 0;
  color: #e7feff;
  letter-spacing: .5px;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* CTA button styling (link styled as a button for prominence) */
.product-ad a {
  text-decoration: none;
  display: inline-block;
}
.product-ad a p {
  margin: 0;
  padding: 12px 18px;
  border-radius: 8px;
  color: #041e28;
  background: #eaffff;
  border: 1px solid rgba(0,0,0,0.25);
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover p,
.product-ad a:focus-visible p {
  background: #dff6f6;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.product-ad a:focus-visible {
  outline: 3px solid #72fff5;
  outline-offset: 2px;
  border-radius: 6px;
}

footer p {
  color: #eaf6f7;
  text-align: center;
  font-size: 0.8rem;
  margin-top: 8px;
  opacity: 0.95;
  letter-spacing: .25px;
}

/* Accessibility: ensure focus visibility for keyboard users on interactive elements */
a:focus-visible {
  outline: 3px solid #72fff5;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Small screens look */
@media (min-width: 600px) {
  main { min-height: calc(100vh - 180px); padding: 28px; }
  .image-frame { border-radius: 16px; }
}
