/* Mobile-first, single stylesheet for a maroon, beige hacker/cyberpunk theme with frosted glass */
:root{
  --maroon: #5a0f0f;
  --beige:  #f5e6c7;
  --beige-dark: #e0d0a0;
  --glass: rgba(255,255,255,.16);
  --glass-border: rgba(255,255,255,.28);
  --shadow: 0 20px 40px rgba(0,0,0,.25);
}

*, *::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;
  background: var(--maroon);
  color: #f5ead4;
  line-height: 1.4;
}

a{ color: inherit; text-decoration: none; }

/* Layout: mobile-first, centered hero with frosted card image frame */
main{
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}

.image-frame{
  width: 100%;
  max-width: 660px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

/* Image scales cleanly inside the frosted glass frame */
.image-frame img{
  display: block;
  width: 100%;
  height: auto;
}

/* Footer with a frosted-glass ad block and CTA */
footer{
  padding: 1.25rem;
  text-align: center;
  color: #f2e9d1;
}

/* Featured product "card" – frosted glass look with a ready-to-click CTA */
.product-ad{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .6rem .9rem;
  border-radius: 12px;
  background: rgba(245,238,214,.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(245,238,214,.6);
  margin: 0.75rem auto 0;
}

.product-ad h3{
  font-size: .95rem;
  color: #f3e5c4;
  padding: 0;
  margin: 0 0 .25rem;
}

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

.product-ad a p{
  margin: 0;
  padding: .6rem 1rem;
  border-radius: 8px;
  background: rgba(245,238,214,.94);
  color: #2b1e0f;
  font-weight: 700;
  border: 1px solid rgba(235,210,150,.9);
  display: inline-block;
  transition: transform .2s ease, background .2s ease;
}

.product-ad a:hover p{
  transform: translateY(-1px);
  background: rgba(245,238,214,.98);
}

/* Focus styles for accessibility on the CTA */
.product-ad a:focus-visible p,
.product-ad a:focus p{
  outline: 3px solid #e7d4a6;
  outline-offset: 2px;
}

/* Small tweaks for larger screens */
@media (min-width: 640px){
  main{ padding: 3rem 2rem; min-height: 70vh; }
  .product-ad{ margin-top: .5rem; }
}