*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }

/* Theme: neon violet hacker vibe with frosted glass, light on dark */
:root {
  --bg-deep: #0b0a12;
  --bg-soft: #120b1e;
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.25);
  --text: #f2f4ff;
  --accent: #7c5cff;
  --accent-glow: rgba(124,92,255,0.95);
  --cta: rgba(140, 60, 255, 0.95);
  --cta-border: rgba(255,255,255,0.6);
  --shadow: 0 6px 24px rgba(0,0,0,.4);
}

html, body {
  background: linear-gradient(135deg, #0b0a12 0%, #0b0a12 50%, #121226 100%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  width: 70vmax;
  height: 70vmax;
  left: -15vmax;
  top: -15vmax;
  background: radial-gradient(circle at 25% 25%, rgba(120,0,255,.6), transparent 40%),
              radial-gradient(circle at 75% 60%, rgba(0,255,255,.25), transparent 40%),
              radial-gradient(circle at 60% 20%, rgba(0,120,255,.25), transparent 40%);
  filter: blur(60px);
  z-index: -1;
  opacity: 0.9;
  pointer-events: none;
}

main {
  width: min(980px, 92%);
  margin: 0 auto;
  padding: 48px 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Image frame with frosted glass / glassmorphism look */
.image-frame {
  width: min(96%, 720px);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 18px;
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  box-shadow: var(--shadow);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
}

/* Footer area with a frosted card CTA */
footer {
  width: 100%;
  padding: 8px 0 28px;
  display: flex;
  justify-content: center;
}

.product-ad {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(720px, 92%);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 24px rgba(0,0,0,.4);
}

.product-ad h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #f6f7ff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .2px;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
}

.product-ad a p {
  margin: 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 0 12px rgba(124, 92, 255, 0.95);
}

/* Focus visibility for accessibility on focusable controls */
a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks - mobile-first */
@media (max-width: 600px) {
  .product-ad {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  .product-ad h3 {
    font-size: 0.95rem;
  }
  .product-ad a p {
    width: max-content;
  }
  main { padding: 28px 0; }
}
