/* Light reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Theme tokens */
:root {
  --magenta: #ff00ff;
  --magenta-glow: rgba(255, 0, 255, 0.65);
  --green: #39ff14;
  --green-soft: rgba(57, 255, 20, 0.85);
  --glass: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.25);
  --bg-deep: #0a001a;
}

/* Global surface and neon glow background (mobile-first) */
html, body {
  height: 100%;
}
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #eafff5;
  background: var(--bg-deep);
  background-image:
    radial-gradient(circle at 20% -10%, rgba(255,0,255,.25), rgba(255,0,255,0) 40%),
    radial-gradient(circle at 90% 100%, rgba(0,255,140,.15), rgba(0,0,0,0) 40%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Subtle magenta glow layer for the page */
body::before {
  content: "";
  position: fixed;
  inset: -10vmax;
  background: radial-gradient(circle at 60% 20%, rgba(255,0,255,.28), rgba(255,0,255,0) 40%),
              radial-gradient(circle at 15% 85%, rgba(0,255,140,.15), rgba(0,0,0,0) 50%);
  filter: saturate(1.1);
  z-index: -1;
  pointer-events: none;
  /* gentle animation for cyber glow */
  animation: neonPulse 8s ease-in-out infinite;
}
@keyframes neonPulse {
  0%,100% { filter: saturate(1.0) brightness(1.0); }
  50% { filter: saturate(1.15) brightness(1.08); }
}

/* Layout: mobile-first hero area */
main {
  width: 100%;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 160px);
}

/* Frosted glass image frame (hero) */
.image-frame {
  width: min(92vw, 860px);
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 20px 60px rgba(0,0,0,.55),
    inset 0 0 0 1px rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.image-frame::after {
  /* subtle cyber border glow */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  border: 1px solid rgba(0, 255, 120, 0.55);
  box-shadow: inset 0 0 40px rgba(0,0,0,.15);
  pointer-events: none;
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
  object-fit: cover;
}

/* Footer with frosted CTA area */
footer {
  width: 100%;
  padding: 1.75rem 1rem;
  text-align: center;
  color: #dcffd9;
  background: linear-gradient(to top, rgba(0,0,0,0.0), rgba(0,0,0,0.15));
  border-top: 1px solid rgba(255,255,255,.15);
}

/* Product ad as prominent CTA (neon green) with frosted glass */
.product-ad {
  display: inline-block;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(12, 0, 28, 0.42);
  border: 1px solid rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 0.75rem;
}
.product-ad h3 {
  font-size: 0.95rem;
  color: #e2ffd8;
  padding: 0.25rem 0.6rem;
  display: inline-block;
  letter-spacing: .4px;
}
.product-ad a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  padding: .62rem 1rem;
  border-radius: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #22ff78 0%, #0bdc58 100%);
  color: #041d0a;
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 0 14px rgba(57,255,20,.9);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(57,255,20,.95);
}
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.product-ad a p {
  margin: 0;
  padding: 0;
  color: #041d0a;
  font-weight: 700;
  display: inline-block;
}

/* Footer additional text style for readability */
footer p {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  opacity: 0.95;
}

/* Keyboard focus for accessibility on all focusable elements (fallback) */
:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Responsive tweaks */
@media (min-width: 600px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 180px); }
  .image-frame { border-radius: 24px; padding: 1.4rem; }
  .image-frame img { border-radius: 14px; }
}

@media (min-width: 1024px) {
  main { padding: 4rem 4rem; }
  .image-frame { width: min(860px, 70vw); }
  footer { padding: 2rem 0; }
  .product-ad { margin-top: 0.5rem; }
}