/* Global reset (light) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Color system for hacker-cyberpunk feel */
:root {
  --indigo-900: #0b1020;
  --indigo-700: #3b2f8a;
  --indigo-500: #5b5bd6;
  --coral: #ff6b6b;
  --text: #e9eaff;
  --glass: rgba(255, 255, 255, 0.08);
}

/* Light, indigo waves background with a frosted-glass vibe across the page */
body {
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  background: #05060a;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Indigo waves: subtle layered gradients with a gentle drift animation */
body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.25) 0 22%, rgba(99, 102, 241, 0) 40%),
    radial-gradient(circle at 70% 60%, rgba(236, 72, 153, 0.25) 0 22%, rgba(236, 72, 153, 0) 40%),
    linear-gradient(135deg, rgba(2,6,23,0.95), rgba(2,6,23,0.75) 60%);
  background-blend-mode: screen, screen, normal;
  animation: drift 18s linear infinite;
  filter: saturate(110%);
  border-radius: 0;
}

@keyframes drift {
  0% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-6px) translateX(6px); }
  100% { transform: translateY(0) translateX(0); }
}

/* Layout container for the content (no header present in HTML) */
main {
  width: 100%;
  display: block;
  padding: 20px 14px;
  box-sizing: border-box;
}

/* Frosted glass framed image area (hero-ish) */
.image-frame {
  width: min(94vw, 860px);
  margin: 28px auto;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
  /* subtle neon glow around the frame to emphasize hacker/cyberpunk vibe */
  border: 1px solid rgba(99, 102, 241, 0.6);
  box-shadow: 0 0 28px rgba(99,102,241,0.45);
}

/* Image inside the frosted frame scales responsively */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  image-rendering: crisp-edges;
  filter: saturate(1.04);
}

/* Gentle inner overlay to create a "holographic" layer */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.25) 60%);
  mix-blend-mode: overlay;
  opacity: 0.6;
  border-radius: inherit;
}

/* Slight neon line accents along the edges for cyberpunk feel */
.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.8), rgba(255,107,107,0.8));
  -webkit-mask: linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0);
  mix-blend-mode: screen;
  opacity: 0.9;
  pointer-events: none;
  filter: blur(0.2px);
}

/* Footer and product-ad area (CTA) */
footer {
  padding: 18px 14px 28px;
  text-align: center;
  color: #e8eaff;
  background: rgba(3, 6, 20, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Featured product card-like section with a strong coral CTA */
.product-ad {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  max-width: 720px;
  margin: 8px auto 14px;
  border-radius: 12px;
  background: rgba(7, 9, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.product-ad h3 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: .2px;
  color: #e8eaff;
  display: inline-block;
}

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

/* CTA button styling (text inside a paragraph as per HTML) */
.product-ad a p {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 9px;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  margin: 0;
  box-shadow: 0 6px 14px rgba(255, 107, 107, 0.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a p:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(255, 107, 107, 0.7);
}
.product-ad a:focus-visible p {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Basic link readability if other links appear */
a {
  color: #93c5fd;
  text-decoration: none;
}
a:focus-visible {
  outline: 2px solid #7dd3fc;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Accessibility helpers for keyboard navigation and readability on small screens */
@media (min-width: 768px) {
  .image-frame {
    width: min(70vw, 860px);
  }
  footer {
    padding: 22px 0;
  }
  .product-ad {
    gap: 16px;
  }
}
@media (min-width: 1024px) {
  .image-frame { width: min(60vw, 860px); }
}
