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

/* Core palette and helpers */
:root {
  --maroon: #7a001a;
  --maroon-dark: #5a000f;
  --beige1: #f5ecd8;
  --beige2: #efe1c9;
  --glass: rgba(255, 255, 255, 0.16);
  --text: #1b1b1b;
  --shadow: 0 12px 28px rgba(0,0,0,.25);
  --glow: 0 0 12px rgba(122,0,26,.8);
}
html, body { height: 100%; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  min-height: 100dvh;
  /* Beige radial gradient background with subtle cyberpunk hues */
  background: 
    radial-gradient(circle at 20% 0%, #f8eedb 0%, #f0e2cc 28%, #e5d1b2 60%, #d4c2a8 100%),
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.25) 0%, rgba(255,255,255,.0) 60%),
    #efe4d4;
  background-attachment: fixed;
  line-height: 1.35;
}

/* Layout: mobile-first center hero, then widen on larger screens */
main {
  display: grid;
  place-items: center;
  padding: 1.75rem 1rem;
}

/* Frosted glass image frame (hero) */
.image-frame {
  width: min(92vw, 760px);
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
  position: relative;
  isolation: isolate;
  /* subtle neon edge for hacker vibe */
}
.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 2px;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.15), rgba(0,0,0,0) 40%);
  mix-blend-mode: screen;
  filter: saturate(1.2);
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  pointer-events: none;
  /* neon glow along the frame for cyberpunk styling */
  box-shadow: 0 0 12px 2px rgba(122,0,26,.5), inset 0 0 8px rgba(122,0,26,.25);
  z-index: 0;
  opacity: .9;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* slight color punch to feel gritty */
  filter: saturate(1.08) contrast(1.02);
}
.image-frame::hover { transform: translateZ(0); }

/* Footer and product ad (CTA areas) */
footer {
  width: 100%;
  padding: 1.75rem 1rem;
  text-align: center;
  color: #2a2a2a;
  background: linear-gradient(to top, rgba(255,255,255,.85), rgba(255,255,255,.55) 60%, rgba(255,255,255,.0) 100%);
  border-top: 1px solid rgba(0,0,0,.08);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.product-ad {
  display: inline-block;
  padding: .6rem .95rem;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.55);
  margin-bottom: .9rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 6px 14px rgba(0,0,0,.15);
}
.product-ad h3 {
  font-size: .92rem;
  color: var(--maroon);
  margin-bottom: .25rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
}
.product-ad p {
  margin: 0;
  font-weight: 800;
  color: #fff;
}
.product-ad a {
  background: linear-gradient(135deg, #a3002d 0%, #7a001a 100%);
  padding: .65rem 1rem;
  border-radius: .75rem;
  color: #fff;
  font-weight: 800;
  border: 0;
  box-shadow: 0 6px 12px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .2s ease, filter .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.05);
}
.product-ad a:focus-visible {
  outline: 3px solid #ffd299;
  outline-offset: 2px;
}
footer p {
  font-size: .92rem;
  margin-top: .25rem;
  color: #2b2b2b;
  opacity: .9;
}

/* Accessibility: visible focus for any links outside (if any) */
a:focus-visible {
  outline: 3px solid #ffd299;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive tweaks: larger screens get a bit more breathing room */
@media (min-width: 768px) {
  main { padding: 3rem 1rem; }
  .image-frame { width: min(860px, 92vw); border-radius: 26px; }
  footer { padding: 2rem 1rem; }
}
