/* Neon Nightmares – beige waves hacker theme (mobile-first, single stylesheet) */

/* 1) Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

/* 2) Theme variables (accessible colors & magenta accents) */
:root {
  --bg: #efe0cc;
  --bg2: #f6e6d0;
  --glass: rgba(255, 255, 255, 0.28);
  --glass-border: rgba(255, 255, 255, 0.6);
  --text: #1a1a1a;
  --muted: #5a4b4b;
  --mag: #ff2ec7;
  --mag-dark: #c300a0;
  --shadow: 0 8px 26px rgba(0,0,0,.15);
}

/* 3) Beige waves background (soft gradients to evoke waves) */
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg) 60%, var(--bg2) 100%);
  /* subtle layered waves using gentle gradients */
  background-image:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.55) 0 40px, transparent 41px),
    radial-gradient(circle at 70% 0%, rgba(255,255,255,.40) 0 40px, transparent 41px);
  background-size: 180px 100px, 240px 120px;
  background-repeat: repeat-x;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 4) Layout containers (mobile-first) */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6rem 1rem 2rem;
}

.image-frame {
  width: 100%;
  max-width: 860px;
  border-radius: 18px;
  padding: 1rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  /* magenta hologram glow around frame */
  outline: 0;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  border: 2px solid rgba(255, 0, 180, .65);
  box-shadow: 0 0 18px rgba(255,0,180,.75);
  pointer-events: none;
  filter: saturate(110%);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.8);
  /* slight neon hue shift to feel cyberpunk */
  filter: hue-rotate(-6deg) saturate(1.05);
}

/* 5) CTA and footer styling (prominent magenta button) */
footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem 3rem;
  gap: .75rem;
  color: var(--muted);
}
.product-ad {
  width: 100%;
  max-width: 720px;
  padding: 1rem 1rem 1.25rem;
  border-radius: 12px;
  text-align: center;
  background: rgba(255, 255, 255, .28);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 6px 18px rgba(0,0,0,.08);
}
.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: 1rem;
  font-weight: 700;
}
.product-ad a {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--mag), var(--mag-dark));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(255,0,170,.55);
  border: 1px solid rgba(255,255,255,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(255,0,170,.75);
}
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
footer p {
  margin: 0.25rem 0 0;
  font-size: .9rem;
  color: #6b5858;
}

/* 6) Accessibility helpers for focus */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: 6px;
  -webkit-underline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(0,0,0,.05);
}

/* 7) Responsive tweaks (mobile-first, scale for larger viewports) */
@media (min-width: 600px) {
  main { padding: 8rem 2rem 3rem; }
  .image-frame { padding: 1.25rem; border-radius: 20px; }
  .image-frame::after { border-width: 2px; }
  footer { padding: 2rem 0 3rem; }
}
@media (min-width: 900px) {
  main { padding: 6rem 0 2rem; }
  .image-frame { width: 66%; }
  .product-ad { width: 66%; }
}
@media (min-width: 1200px) {
  .image-frame { width: 56%; }
  .product-ad { width: 56%; }
}