/* Reset and layout foundation */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --coral: #ff6b61;
  --coral-dark: #e0564a;
  --cyan: #3af2e5;
  --text: #eaf6ff;
  --glass: rgba(255,255,255,.14);
  --shadow: 0 12px 28px rgba(0,0,0,.25);
  --blur: 8px;
}
html, body { height: 100%; }
body {
  min-height: 100dvh;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  /* Silver sunset gradient background with coral accents for hacker vibe */
  background: linear-gradient(135deg, #cbd5e1 0%, #f0e6e9 40%, #ffd1bd 100%);
  background-attachment: fixed;
}

/* Link defaults for accessibility */
a { color: inherit; text-decoration: none; }

/* Page structure */
main {
  padding: 2rem 1rem 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.image-frame {
  position: relative;
  width: min(92vw, 1000px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: var(--shadow);
  display: flex;
  backdrop-filter: blur(var(--blur)) saturate(110%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(110%);
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /* subtle neon overlay for cyberpunk glow (frosted glass feel) */
  background: linear-gradient(135deg, rgba(58,242,229,.15), rgba(255,107,97,0) 60%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
footer {
  margin: 2rem auto 3rem;
  width: min(92vw, 1000px);
  padding: 1rem;
  border-top: 1px solid rgba(255,255,255,.25);
  color: var(--text);
  background: linear-gradient(135deg, rgba(0,0,0,0.0), rgba(0,0,0,0.0));
  display: grid;
  gap: .5rem;
}
.product-ad { display: flex; align-items: center; gap: .75rem; }
.product-ad h3 {
  font-size: .95rem;
  margin: 0;
  font-weight: 600;
  color: #f7fbff;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
}
.product-ad a { display: inline-block; }
.product-ad a p {
  display: inline-block;
  padding: .65em 1.1em;
  border-radius: 8px;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(255,107,97,.45);
  transition: transform .15s ease, box-shadow .15s ease;
  outline: none;
}
.product-ad a:hover p { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(255,107,97,.6); }
.product-ad a:focus-visible > p,
.product-ad a:focus > p {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
footer p { font-size: .92rem; opacity: .8; }

/* Subtle responsive refinements (mobile-first) */
@media (min-width: 600px) {
  body { background: linear-gradient(135deg, #cbd5e1 0%, #f0e6e9 40%, #ffd1bd 100%); }
  main { padding-top: 3rem; }
  .image-frame { border-radius: 22px; }
}
@media (min-width: 900px) {
  body { background: linear-gradient(135deg, #cbd5e1 0%, #e8dde1 45%, #ffd6c1 100%); }
  main { padding-top: 4rem; }
  .image-frame { width: min(70vw, 1000px); }
  footer { grid-template-columns: 1fr 1fr; align-items: center; padding: 1rem 0 2rem; }
}

/* Focus visibility helpers for keyboard navigation */
:focus { outline: none; }
.product-ad a:focus-visible > p { outline: 2px solid var(--cyan); outline-offset: 2px; }