/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #eae6e0;
  min-height: 100vh;
  /* maroon dots background pattern */
  background-color: #0a0a0f;
  background-image: radial-gradient(circle, rgba(122,13,13,0.95) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  background-position: 0 0;
}

/* Color tokens */
:root {
  --coral: #ff6a3d;
  --coral-soft: #ff7f50;
  --glass: rgba(20,20,28,0.55);
  --text-on-dots: #e9e1d9;
  --panel: rgba(16,16,24,0.6);
}

/* Frosted glass panels (light reset + cyberpunk vibe) */
header, main, footer {
  width: 100%;
  display: block;
  margin: 0 auto;
  padding: 0;
}

/* Header / hero (frosted glass container) */
header {
  text-align: center;
  padding: 1.75rem 1rem;
  margin: 0 auto 1rem;
  max-width: 1100px;
  border-radius: 12px;
  background: rgba(20,20,28,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  /* subtle glow for hacker vibe */
  box-shadow: 0 0 16px rgba(255, 120, 80, 0.15);
}
header h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: .5px;
  color: #ffd6bf;
  text-shadow: 0 0 8px rgba(255,120,80,.8);
}

/* Main content with responsive centering */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

/* Image frame (hero visual) */
.image-frame {
  width: min(92%, 720px);
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.25);
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Footer & product ad (frosted panel with CTA) */
footer {
  padding: 1rem;
  text-align: center;
}
.product-ad {
  display: inline-block;
  background: rgba(20,20,28,.6);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  padding: 0.9rem;
  margin: 0 auto 0.75rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  max-width: 90%;
}
.product-ad h3 {
  margin: 0 0 .5rem;
  color: #ffad88;
  font-size: 1.05rem;
  display: inline-block;
}
.product-ad p {
  margin: 0;
  color: #ffdcbc;
  font-weight: 500;
}
.product-ad a { text-decoration: none; display: inline-block; }
.product-ad a p {
  padding: .65rem 1.15rem;
  background: var(--coral);
  color: #fff;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  font-weight: 700;
  transition: transform .15s ease, background .2s ease;
}
a:focus-visible, button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }

/* CTA hover/focus */
.product-ad a:hover p,
.product-ad a:focus-visible p {
  background: var(--coral-soft);
  transform: translateY(-1px);
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 768px) {
  header { padding: 2rem; }
  main { padding: 2rem; }
  .image-frame { width: 70%; }
}
@media (min-width: 1024px) {
  .image-frame { width: 60%; }
  header { text-align: left; padding-left: 2rem; padding-right: 2rem; }
  header h1 { text-align: left; }
  footer { padding: 1.5rem 2rem; }
  .product-ad { margin: 0 auto; }
}