/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --bg: #0b1020;
  --bg-soft: #0a1220;
  --card: rgba(255,255,255,.08);
  --text: #e6f0ff;
  --red: #ff2d2d;
  --red-dark: #b40000;
  --glass: rgba(255,255,255,.08);
}
html { scroll-behavior: smooth; }

/* Navy carbon-fiber, hacker/cyberpunk vibe (mobile-first) */
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background-color: var(--bg);
  background-image:
    linear-gradient(45deg, rgba(0,0,0,.25) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0,0,0,.25) 25%, transparent 25%),
    linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.04));
  background-size: 8px 8px, 8px 8px, 100% 100%;
  background-position: 0 0, 4px 4px, 0 0;
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem 0;
}

.image-frame {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

/* Footer + product ad (CTA) */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  color: #e6f0ff;
  background: rgba(5,7,20,.85);
  border-top: 1px solid rgba(255,255,255,.08);
}
.product-ad {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
  padding: .65rem 0;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--red);
}
.product-ad a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #8a0000 0%, #ff2d2d 100%);
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 6px 16px rgba(255,0,0,.6);
}
.product-ad a:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #a60000 0%, #ff5252 100%);
}
.product-ad a:focus-visible {
  outline: 3px solid #80ffde;
  outline-offset: 2px;
}
footer p {
  margin: .75rem 0 0;
  font-size: .85rem;
  opacity: .9;
}

/* Focus accessibility for links/buttons in general */
a:focus-visible, button:focus-visible {
  outline: 3px solid #80ffde;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 520px) {
  main { padding: 3rem 1.5rem 0; }
}
@media (min-width: 768px) {
  image-frame { /* no-op, kept for clarity if extended */ }
  .image-frame { border-radius: 22px; }
  footer { padding: 2rem 1.5rem; }
}
@media (min-width: 1024px) {
  .product-ad h3 { font-size: 1.05rem; }
  footer { font-size: 0.95rem; }
}