/* Neon Shadows - hacker themed CSS (mobile-first, single stylesheet) */

/* 1) Global reset & color tokens */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg1: #0b2a66;      /* deep blue */
  --bg2: #4b00a8;      /* violet */
  --bg3: #0b0f1a;      /* near-black for contrast */
  --glass: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.25);
  --text: #eaf5ff;
  --muted: rgba(234,246,255,.75);
  --neon: #6af5ff;
  --violet: #7b2ff7;
}
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg1) 0%, #2b3dff 40%, var(--bg2) 100%);
  background-size: 300% 300%;
  animation: drift 30s ease infinite;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@keyframes drift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { animation: none; }
}

/* 2) Layout (mobile-first) */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem;
}
.image-frame {
  background: rgba(7,12,44,0.48);                /* frosted glass-ish */
  border: 1px solid rgba(140,210,255,0.25);
  border-radius: 18px;
  padding: 1.2rem;
  max-width: 92%;
  width: 100%;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 20px 60px rgba(0, 210, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  max-width: 100%;
  filter: saturate(1.05);
}
main + footer { margin-top: 1.5rem; }

/* 3) Footer / CTA styling (prominent, accessible) */
footer {
  padding: 1.75rem 1rem 2rem;
  text-align: center;
  color: var(--muted);
}
.product-ad {
  display: inline-flex;
  flex-direction:column;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1rem;
  border-radius: 14px;
  width: min(92vw, 420px);
  margin: 0 auto 0.75rem;
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
}
.product-ad h3 {
  font-size: .95rem;
  margin: 0.15rem 0 0.25rem;
  color: #eaffff;
  text-shadow: 0 0 8px rgba(106,245,255,.6);
}
.product-ad a {
  display: block;
  text-decoration: none;
  width: 100%;
}
.product-ad p {
  margin: 0;
  padding: .8rem 1rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  letter-spacing: .2px;
  color: #04121a;
  background: linear-gradient(135deg, #12f0ff 0%, #7c3dff 100%);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 6px 20px rgba(0,0,0,.25), 0 0 12px rgba(106,245,255,.8);
  transition: transform .2s ease;
}
.product-ad p:hover { transform: translateY(-1px); }

/* 4) Typography & focus states (accessible) */
a, button {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--neon);
  outline-offset: 2px;
  border-radius: 6px;
}
.product-ad a:focus-visible, .image-frame:focus-visible {
  outline: 3px solid var(--neon);
  outline-offset: 2px;
  border-radius: 6px;
}

/* 5) Responsive tweaks (tablet/desktop) */
@media (min-width: 640px) {
  main { padding: 6rem 2rem; }
  .image-frame { padding: 1.6rem; width: 720px; }
}
@media (min-width: 1024px) {
  main { padding: 8rem 0; }
  .image-frame { width: 860px; padding: 1.8rem; }
}

/* 6) Reduced motion preference tweak */
@media (prefers-reduced-motion: reduce) {
  .image-frame { transition: none; }
  .product-ad p { transition: none; }
}