/* Reset and base */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --bg: #0b0f14;
  --bg-alt: #10131a;
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.25);
  --text: #e8e8e8;
  --muted: #c9c9c9;
  --red-start: #ff2d55;
  --red-end: #e60028;
  --glow: 0 0 16px rgba(255, 0, 80, 0.6);
  --radius: 14px;
}

html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  color: var(--text);
  background: #0b0f14;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "JetBrains Mono", monospace;
  line-height: 1.4;
  overflow-x: hidden;
}

/* Magenta abstract blur background (soft, accessible) */
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  left: -10vmax;
  top: -10vmax;
  width: 120vmax;
  height: 120vmax;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,0,170,.75) 0%, transparent 40%),
    radial-gradient(circle at 60% 60%, rgba(255,0,150,.55) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255,0,200,.4) 0%, transparent 40%);
  filter: blur(40px);
  pointer-events: none;
  transform: translateZ(0);
  mix-blend-mode: screen;
}

/* Layout: mobile-first, centered hero image with frosted glass frame */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
}

.image-frame {
  width: min(92vw, 860px);
  border-radius: calc(var(--radius) * 1.15);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: saturate(120%) blur(6px);
  -webkit-backdrop-filter: saturate(120%) blur(6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
  position: relative;
  isolation: isolate;
  /* subtle hacker-glow edge */
  outline: 1px solid rgba(255, 0, 80, 0.25);
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,0,0,.25);
  pointer-events: none;
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Footer with CTA in frosted glass / neon red vibe */
footer {
  width: 100%;
  padding: 1.75rem 1rem 2rem;
  text-align: center;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,.15);
}

.product-ad {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(159, 0, 26, 0.25); /* deep red halo */
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin: 0 auto 0.75rem;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.product-ad h3 {
  font-size: 0.95rem;
  margin: 0;
  color: #ffd6d6;
  letter-spacing: .04em;
}
.product-ad a {
  text-decoration: none;
}
.product-ad p {
  display: inline-block;
  margin: 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red-start), var(--red-end));
  color: white;
  font-weight: 700;
  font-size: .92rem;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.product-ad a:focus-visible,
.product-ad p:focus-visible,
.product-ad a:hover,
.product-ad p:hover {
  outline: 3px solid rgba(255,255,255,0.9);
  outline-offset: 2px;
}
.product-ad p:active {
  transform: translateY(1px);
  filter: brightness(0.98);
}

/* Typography tweaks for small screens */
p { margin: 0.75rem 0; }

/* Focus styles for accessibility on links/buttons outside hover states */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 600px) {
  main { padding: 2rem; }
  .image-frame { border-radius: 22px; }
  .product-ad { font-size: 1rem; }
}
@media (min-width: 900px) {
  main { padding: 3rem; }
  .image-frame { width: 860px; }
  .product-ad { font-size: 1.02rem; }
}
@media (min-width: 1200px) {
  footer { padding: 2rem 0 2.5rem; }
}