/* Reset & base */
:root {
  --bg0: #0b0a1a;
  --bg1: #1a1030;
  --glass: rgba(255,255,255,0.08);
  --edge: rgba(120, 170, 255, 0.6);
  --text: #eaf2ff;
  --muted: #a3a8d8;
  --neon: #7bd7ff;
}

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

html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Inter", "Segoe UI", Roboto;
  color: var(--text);
  background-color: var(--bg0);
  /* Purple noise texture: speckle + neon gradient base */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.15) 1px, transparent 2px),
    radial-gradient(circle at 30px 30px, rgba(0,0,0,0.15) 1px, transparent 2px),
    linear-gradient(135deg, rgba(40,0,80,0.85), rgba(0,40,120,0.85) 60%, rgba(10,0,40,0.85));
  background-size: 40px 40px, 40px 40px, 100% 100%;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Layout: mobile-first, hero centered */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}

/* Frosted glass frame for hero image */
.image-frame {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(120, 180, 255, 0.4);
  border-radius: 14px;
  padding: 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  position: relative;
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  filter: saturate(1.05);
}

/* Subtle neon aura around the frame for cyberpunk vibe */
.image-frame:after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  pointer-events: none;
  box-shadow: 0 0 40px 6px rgba(90,130,255,0.35);
  opacity: 0.8;
  mix-blend-mode: screen;
}

/* Footer with featured product card (glass-like) */
footer {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #a5a8d8;
}

/* Frosted glass product card */
.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .9rem 1.2rem;
  border-radius: 12px;
  width: min(92%, 740px);
  background: rgba(14,7,40,0.65);
  border: 1px solid rgba(100,140,255,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}
.product-ad h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #e7f0ff;
  text-shadow: 0 0 6px rgba(120,170,255,0.9);
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  margin: 0;
  padding: .65rem 1.05rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #5b7aff 0%, #1a3ef0 100%);
  color: #fff;
  font-weight: 700;
  display: inline-block;
  transition: transform 0.15s ease;
}
.product-ad a p:hover { transform: translateY(-1px); }

/* Focus styles for accessibility on CTA */
.product-ad a:focus-visible { outline: 0; }
.product-ad a:focus-visible p {
  outline: 2px solid var(--neon);
  outline-offset: 4px;
}

/* Footer text color tweaks */
footer p {
  margin: 0;
  color: #8f8fb6;
  font-size: .86rem;
}

/* Responsive tweaks */
@media (min-width: 640px) {
  main { padding: 3rem 2rem; }
  .image-frame { padding: 1.25rem; }
}
@media (min-width: 1024px) {
  main { padding: 4rem 3rem; }
  .image-frame { padding: 1.5rem; border-radius: 18px; }
}