:root {
  --beige: #efe0c0;
  --beige-dark: #d8c6a3;
  --coral: #ff6b61;
  --coral-dark: #e0584a;
  --text: #2a1f16;
  --glass: rgba(255, 255, 255, 0.16);
  --glass-border: rgba(255, 255, 255, 0.45);
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  --radius: 14px;
}

*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Inter", Arial;
  color: var(--text);
  background-color: var(--beige);
  /* coral crosshatch background */
  background-image:
    linear-gradient(45deg, rgba(255,107,97,.25) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,107,97,.25) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,107,97,.25) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,107,97,.25) 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0;
  background-color: var(--beige);
  min-height: 100vh;
}

/* Light reset margins for sections */
main, footer {
  width: 100%;
}

/* Responsive, mobile-first layout */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* Frosted glass hero frame around image (corrupt cyberpunk vibe) */
.image-frame {
  width: min(92vw, 1100px);
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) + 6px);
  padding: .75rem;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px) saturate(1.15);
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* Subtle cyber glow around the image area */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius) + 6px);
  pointer-events: none;
  box-shadow: inset 0 0 60px rgba(255, 180, 150, 0.25);
  mix-blend-mode: screen;
  opacity: 0.95;
}

/* Footer with featured product (CTA) */
footer {
  padding: 1.75rem 1rem 2.5rem;
  text-align: center;
  background: linear-gradient(to top, rgba(255,255,255,.95), rgba(255,255,255,.75) 70%, rgba(255,255,255,.95));
  border-top: 1px solid rgba(0,0,0,.05);
}

/* Product ad card */
.product-ad {
  display: inline-block;
  text-align: left;
  padding: .9rem 1.2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(0,0,0,.05);
  margin-bottom: .75rem;
}
.product-ad h3 {
  margin: 0 0 .4rem 0;
  font-size: 1.05rem;
  color: #2a1f16;
}
.product-ad a {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 9px;
  text-decoration: none;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 14px rgba(255, 107, 97, 0.6);
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(255, 107, 97, 0.75);
}
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255,255,255,.6);
}
.product-ad p {
  margin: 0;
  padding: 0;
  display: inline;
  font-size: .95rem;
  color: #5a4631;
}

/* Footer copyright text styling */
footer p {
  margin: .5rem 0 0;
  font-size: .95rem;
  color: #6b5a44;
}

/* Focus visibility for accessibility on all interactive elements */
a:focus-visible, button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(63, 120, 90, 0.25);
}

/* Ensure interactivity on links without default outline in some browsers */
a, button {
  text-decoration: none;
  color: inherit;
}

/* Responsive tweaks */
@media (min-width: 600px) {
  main {
    padding: 3rem 0;
  }
  .image-frame {
    width: min(80vw, 1000px);
    min-height: 420px;
  }
  .product-ad {
    display: inline-block;
  }
}
@media (min-width: 900px) {
  body {
    font-size: 17px;
  }
  .image-frame {
    border-radius: calc(var(--radius) + 6px);
  }
}