/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --bg: #0a0a0a;
  --fg: #e9e0d0;
  --card: rgba(0,0,0,.38);
  --glass: rgba(255,255,255,.08);
  --soft: rgba(255,140,0,.55);
  --orange: #ff8a00;
  --orange-dark: #ff4d00;
  --border: rgba(255,255,255,.28);
}
html, body { margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; color: var(--fg); background: var(--bg); }

/* White-noise texture (mobile-first, light, accessible) */
body {
  /* subtle cyber-noise via layered gradients (no assets) */
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    radial-gradient(circle at 25% 15%, rgba(255,255,255,.04), transparent 40%);
  background-size: 4px 4px, 4px 4px, 80px 80px;
  background-blend-mode: overlay;
  background-color: #0a0a0a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 2rem;
  /* ensure good contrast on focus for keyboard users */
  scroll-behavior: smooth;
}

/* Layout scaffolding */
main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
}
.image-frame {
  width: min(92vw, 980px);
  padding: 1rem;
  border-radius: 20px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0,0,0,.6), inset 0 0 30px rgba(255,122,0,.15);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  filter: saturate(1.05);
}
footer {
  margin-top: 1.75rem;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1rem;
}
.product-ad {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  width: min(92vw, 860px);
  padding: 1rem;
  border-radius: 14px;
  background: rgba(0,0,0,.38);
  border: 1px solid rgba(255,140,0,.5);
  color: #ffd7a3;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 22px rgba(0,0,0,.5);
}
.product-ad h3 { font-size: 1.05rem; margin: 0; color: #ffd28a; }
.product-ad a { text-decoration: none; display: inline-flex; align-items: center; }
.product-ad a p {
  margin: 0;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a00, #ff3d00);
  color: #fff;
  font-weight: 700;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(255,74,0,.6);
  transition: transform .2s ease;
}
.product-ad a:focus-visible { outline: 3px solid #ffd27b; outline-offset: 2px; }
.product-ad a:hover p { transform: translateY(-1px); }

/* Mobile-first typography tweaks for clarity on small screens */
.product-ad p { font-size: .95rem; }

/* High-contrast focus for links elsewhere if any */
a:focus-visible { outline: 3px solid #ffd27b; outline-offset: 2px; }

/* Neon hacker-cyberpunk feel via orange accents and glassy surfaces */
.image-frame { border-color: rgba(255,255,255,.28); }
.image-frame:focus-within { outline: 2px solid rgba(255, 200, 120, .8); outline-offset: 2px; }

/* Responsive adjustments */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { padding: 1.25rem; border-radius: 22px; }
  .product-ad { padding: 1.25rem 1.75rem; }
}
@media (min-width: 1024px) {
  .product-ad { width: min(86vw, 960px); }
  .image-frame { border-radius: 24px; }
  .image-frame img { border-radius: 16px; }
  .image-frame { box-shadow: 0 0 60px rgba(255,122,0,.25); }
  .product-ad h3 { font-size: 1.15rem; }
}