/* CSS reset and cyberpunk theme */

*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --indigo: #4b6fff;
  --indigo-dark: #2a2f6b;
  --bg: #0a0a12;
  --text: #e9eaff;
  --muted: #b6b8d9;
}

html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "JetBrains Mono", monospace;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* Red abstract blur background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 12%, rgba(255,0,80,.25) 0 40%, transparent 40%),
    radial-gradient(circle at 70% 40%, rgba(111,0,255,.25) 0 40%, transparent 40%),
    radial-gradient(circle at 40% 85%, rgba(255,60,100,.20) 0 40%, transparent 40%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

/* Layout */
main {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

/* Frosted glass hero frame with neon glow */
.image-frame {
  position: relative;
  width: min(92vw, 860px);
  padding: 1.25rem;
  background: rgba(15, 12, 40, 0.58);
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-radius: 22px;
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
}
.image-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(120,0,255,.65), rgba(255,0,120,.65));
  filter: blur(20px);
  z-index: -1;
  opacity: 0.9;
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  outline: 2px solid rgba(140, 120, 250, 0.25);
  outline-offset: 2px;
  /* subtle neon hint */
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

footer {
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--muted);
}

.product-ad {
  display: inline-block;
  text-align: left;
  padding: .75rem 1rem;
  border-radius: 14px;
  background: rgba(12, 8, 28, 0.55);
  border: 1px solid rgba(107, 90, 255, 0.5);
  box-shadow: 0 6px 16px rgba(0,0,0,.45);
  margin-bottom: .75rem;
}
.product-ad h3 {
  margin: 0 0 .25rem 0;
  color: #ffd9f0;
  font-size: 1rem;
}
.product-ad a {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #f472b6);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: inset 0 0 6px rgba(255,255,255,.25), 0 6px 14px rgba(0,0,0,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.5);
}
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
footer p { margin: .25rem 0 0; color: #cbd5e1; }

a { color: #cbd5e1; text-decoration: none; }
a:hover { text-decoration: underline; }

@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { padding: 1.5rem; }
  .image-frame img { border-radius: 16px; }
  .product-ad { font-size: 1.05rem; }
}

@media (min-width: 1024px) {
  main { min-height: 85vh; }
  .image-frame { width: 70%; }
}