/* Light reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Theme & accessibility */
:root {
  --coral: #FF7F50;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.16);
  --glass-border: rgba(255, 255, 255, 0.28);
  --shadow: 0 14px 34px rgba(0,0,0,.25);
  --focus: 0 0 0 3px rgba(255,255,255,.9);
}

html, body { height: 100%; }

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--white);
  background: var(--coral);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--white); text-decoration: none; }

/* Mobile-first layout: hero centered, image frame with frosted glass feel */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  width: 100%;
  min-height: calc(100vh - 140px);
}

.image-frame {
  width: min(92vw, 720px);
  aspect-ratio: 16/9;
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: saturate(1.25) blur(6px);
  -webkit-backdrop-filter: saturate(1.25) blur(6px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Footer / ad block with frosted glass feel */
footer {
  padding: 1.25rem;
  text-align: center;
}

.product-ad {
  display: inline-block;
  padding: .6rem .95rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: .75rem;
}

.product-ad h3 {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .25rem;
}

.product-ad a p { margin: 0; }

/* Small caption text under ad and any footer text */
footer p { color: rgba(255, 255, 255, 0.92); font-size: .9rem; }

/* CTA helpers (prominent, accessible on coral) */
.btn, .cta {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: var(--coral);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover, .cta:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,.3); }
.btn:focus-visible, .cta:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

/* Focus accessibility for links and buttons on keyboard navigation */
a:focus-visible, button:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

/* Responsive tweaks for larger screens */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 160px); }
  .image-frame { border-radius: 20px; padding: 1.25rem; }
  .product-ad { padding: .75rem 1.15rem; border-radius: 14px; }
}