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

/* Palette & vibe: cyan radial gradient background with pink hacker accents */
:root {
  --pink: #ff4bd9;
  --pink-dark: #e400a3;
  --cyan: rgba(0, 255, 255, .28);
  --glass: rgba(255, 255, 255, .08);
  --glass-border: rgba(255, 255, 255, .25);
  --text: #eafaff;
  --muted: rgba(234, 240, 255, .9);
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  min-height: 100vh;
  /* cyan radial gradient background + pink accents for hacker vibe */
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 255, 255, .28) 0 40%, transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(255, 0, 180, .25) 0 28%, transparent 28%),
    #05040b;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Mobile-first layout: hero centered, content in frosted glass panels */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}

/* Image frame with frosted border + cyberpunk glow */
.image-frame {
  width: 100%;
  max-width: 720px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(0, 0, 0, .25);
  padding: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  backdrop-filter: saturate(1.2) blur(2px);
  -webkit-backdrop-filter: saturate(1.2) blur(2px);
}

/* Image tweaks for cyberpunk feel */
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: saturate(1.05) contrast(1.05);
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

/* footer with frosted glass ad card */
footer {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  color: #f5faff;
  background: linear-gradient(to top, rgba(5,5,18,.6), rgba(5,5,18,.22) 60%, rgba(5,5,18,.6));
}

/* Frosted glass product ad card */
.product-ad {
  background: rgba(12, 12, 28, .55);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  text-align: center;
  width: min(92%, 420px);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .28);
  margin-bottom: .75rem;
}
.product-ad h3 {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1rem;
  color: #fff;
  margin: 0 0 .5rem;
  letter-spacing: .04em;
}
.product-ad a { text-decoration: none; }
.product-ad p {
  display: inline-block;
  margin: 0;
  padding: .4rem .9rem;
  font-weight: 700;
  color: #fff;
  border-radius: 999px;
  background: rgba(255, 0, 180, .25);
  border: 1px solid rgba(255, 255, 255, .35);
  transition: transform .2s ease;
}
.product-ad a:focus-visible,
.product-ad p:focus-visible {
  outline: 3px solid #00e6ff;
  outline-offset: 2px;
}
.product-ad p:hover {
  transform: translateY(-1px);
  background: rgba(255, 0, 180, .35);
  box-shadow: 0 6px 16px rgba(255, 0, 180, .5);
}
footer p {
  margin: 0;
  color: #d8d8e6;
  font-size: .9rem;
  opacity: .95;
}

/* Focus styles for accessibility on all interactive elements */
a, button {
  outline: none;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid #00e6ff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  main { padding: 4rem 2rem; }
  .image-frame { padding: 1.25rem; }
  footer { padding: 2rem 2rem; }
}