/* Global reset and cyberpunk base */
:root{
  --bg: #0b0f14;
  --card: rgba(255,255,255,.08);
  --card-border: rgba(255,255,255,.25);
  --text: #e6f0f8;
  --accent: #ff7a1a;
  --coral: #ff5a5a;
}
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background-color: var(--bg);
  /* orange diagonal lines background (hacker/cyberpunk vibe) */
  background-image:
    linear-gradient(135deg, rgba(255,122,26,.25) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,122,26,.25) 25%, transparent 25%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  /* ensure sufficient contrast on text over frosted panels */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh);
}

.image-frame {
  width: min(92vw, 860px);
  aspect-ratio: 16 / 9;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  /* slight neon pop for cyberpunk feel */
  filter: saturate(1.05) contrast(1.05);
  object-fit: cover;
}

/* Footer / product ad area (frosted glass card) */
footer {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #cbd8e6;
}

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

.product-ad h3 {
  margin: 0 0 .4rem;
  font-size: 1.05rem;
}

.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #0a0a0a;
  background: linear-gradient(135deg, #ffa24d 0%, #ff6b6b 100%);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,.4);
}
.product-ad a:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 2px;
}
.product-ad p { margin: 0; }

/* Accessibility: ensure focus ring on CTA even for mouse users too */
.product-ad a:focus-visible {
  outline-offset: 2px;
  outline: 3px solid #ffd166;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { width: min(80vw, 900px); }
}