/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
:root {
  --bg: #0b0f1a;
  --text: #e9f2ff;
  --muted: #a7b6d4;
  --blue: #4cc9ff;
  --red: #ff3b3b;
  --red-deep: #e0192d;
  --glass: rgba(255,255,255,0.08);
}
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background-color: var(--bg);
  /* blue diagonal lines background */
  background-image: repeating-linear-gradient(135deg, rgba(0,180,255,.25) 0 8px, transparent 8px 16px);
  background-size: auto;
  line-height: 1.4;
}

/* Layout & hero */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}
.image-frame {
  width: min(92vw, 860px);
  border-radius: 20px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: inset 0 0 50px rgba(0,0,0,.25), 0 20px 40px rgba(0,0,0,.5);
  position: relative;
  backdrop-filter: blur(8px) saturate(1.25);
  outline: 1px solid rgba(255,0,0,.25);
}
.image-frame img { display: block; width: 100%; height: auto; }

/* Subtle red overlay for hacker vibe */
.image-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(255,0,0,0.0), rgba(255,0,0,0.18) 60%, rgba(0,0,0,0.0) 100%);
  mix-blend-mode: screen;
  opacity: 0.25;
}

/* Footer / CTA */
footer { padding: 1.75rem 1rem 2rem; text-align: center; }

/* Frosted glass card for product ad with red CTA */
.product-ad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 12px rgba(0,0,0,.25);
}
.product-ad h3 {
  font-size: 0.95rem;
  color: #bfeaff;
  margin: 0;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3b3b 0%, #ff2e63 60%, #e0192d 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 0 14px rgba(255,0,0,.75);
  transition: transform .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.product-ad p { color: #e7f4ff; margin: 0; font-size: .9rem; }

/* Small helper text under footer */
footer p { color: #cbdaf4; font-size: .85rem; margin: .5rem 0 0; }

/* Focus safety for links outside product ad */
a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Responsive tweaks (mobile-first) */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { border-radius: 28px; }
}
@media (max-width: 420px) {
  .product-ad { padding: .5rem 0.75rem; }
  .product-ad h3 { font-size: .85rem; }
  .product-ad a { padding: .5rem .9rem; }
}