/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --bg-dark: #0b0b0f;
  --dot-yellow: rgba(255, 223, 0, 0.95);
  --red: #ff2a2a;
  --red-dark: #b4001a;
  --glass: rgba(255, 255, 255, 0.08);
  --text: #f2f2f2;
}
html { color-scheme: dark; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background-color: var(--bg-dark);
  /* Yellow polka dots background */
  background-image: radial-gradient(circle at 10px 10px, var(--dot-yellow) 2px, transparent 2px);
  background-size: 28px 28px;
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  /* subtle cyber glow overlay for depth */
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 60% 20%, rgba(255,0,0,.08), transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(0,255,155,.04), transparent 40%);
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 0;
}

/* Layout - mobile-first (single column hero) */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem 0;
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 160px);
}
.image-frame {
  width: min(92vw, 860px);
  padding: 1.25rem;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 0, 0, 0.55);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px) saturate(120%);
  position: relative;
  overflow: hidden;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(255,0,0,.35);
  pointer-events: none;
}
.image-frame > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}
.image-frame {
  /* cyber glow outline for hacker feel */
  box-shadow:
    0 0 0 2px rgba(255,0,0,.25),
    0 0 40px rgba(255,0,0,.65),
    0 6px 20px rgba(0,0,0,.5);
}
@media (min-width: 768px) {
  main { padding-top: 2.5rem; min-height: calc(100vh - 240px); }
  .image-frame { padding: 1.75rem; }
}
@media (min-width: 1024px) {
  main { padding-top: 3rem; }
  .image-frame { padding: 2rem; }
}

/* Footer and product ad (CTA area) */
footer {
  text-align: center;
  padding: 1.75rem 1rem 2.5rem;
  margin-top: 1rem;
  z-index: 1;
}
.product-ad {
  display: inline-block;
  text-align: left;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  width: max-content;
  margin: 0 auto 0.75rem;
}
.product-ad h3 {
  margin: 0 0 .25rem 0;
  color: #ffd166;
  font-size: 0.95rem;
  letter-spacing: .4px;
}
.product-ad p {
  margin: 0;
  font-weight: 600;
  color: #fff;
}
.product-ad a {
  display: inline-block;
  margin-top: .35rem;
  padding: .55rem .85rem;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #ff4d4d 0%, #d90404 100%);
  border: 1px solid rgba(255,255,255,.55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0,0,0,.5);
}
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
footer p {
  color: #aaa;
  font-size: .92rem;
  margin: .25rem 0 0;
}

/* Focus and accessibility */
a, button {
  outline: none;
}
:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}