/* Neon indigo hacker vibe with frosted glass, mobile-first */

:root {
  --indigo: #4b32c6;
  --indigo-dark: #3a2f9a;
  --neon: #f6ff00;
  --text: #eaf0ff;
  --glass: rgba(255, 255, 255, 0.14);
}

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

html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue";
  color: var(--text);
  background: #0b0720;
  overflow-x: hidden;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Yellow neon glow background (soft, animated) */
body::before {
  content: "";
  position: fixed;
  inset: -20vmax;
  background:
    radial-gradient(circle at 20% 0%, rgba(246, 255, 0, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(246, 255, 0, 0.18) 0%, transparent 40%);
  filter: blur(60px);
  z-index: -1;
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowPulse {
  0%,100% { transform: scale(1); opacity: 0.9; }
  50%     { transform: scale(1.03); opacity: 1; }
}

main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 120px);
}

/* Frosted glass frame for the image (hero) */
.image-frame {
  width: min(92vw, 860px);
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px) saturate(115%);
  -webkit-backdrop-filter: blur(8px) saturate(115%);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    inset 0 0 22px rgba(255, 255, 255, 0.08),
    0 0 40px rgba(80, 0, 200, 0.25);
}

/* Image fills the frame */
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Footer with featured product as prominent CTA area */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  color: #e7eaff;
  background: linear-gradient(to top right, rgba(8, 4, 20, 0.75), rgba(8, 4, 20, 0.35));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Frosted product ad container */
.product-ad {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(26, 16, 60, 0.70);
  border: 1px solid rgba(160, 140, 255, 0.66);
  margin: 0.5rem auto 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.product-ad h3 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
  color: var(--neon);
  text-shadow: 0 0 8px rgba(246,255,0,.8);
  letter-spacing: .2px;
}

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

.product-ad a p {
  margin: 0;
  padding: 0.56rem 1.05rem;
  border-radius: 999px;
  color: #0a0a15;
  font-weight: 700;
  display: inline-block;
  background: linear-gradient(to bottom right, #f9faff, #d7d2ff);
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  box-shadow: 0 0 14px rgba(0,0,0,.25);
}

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

/* Subtle hover for interactivity on CTA */
.product-ad a:hover p {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(246,255,0,.9);
  transition: transform 0.15s ease;
}

/* Small helper text color for copyright line in footer */
footer > p {
  margin: 0.25rem 0 0;
  color: #cbd7ff;
  font-size: 0.92rem;
  opacity: 0.95;
}

/* Layout tweaks for larger screens (still mobile-first) */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; min-height: 70vh; }
  .image-frame { width: min(70vw, 900px); }
  .product-ad h3 { font-size: 1.05rem; }
}
