/* Pink grid paper hacker theme - mobile-first, single stylesheet */

:root{
  --bg: #0a0a12;
  --panel: rgba(255,255,255,.08);
  --panel-strong: rgba(255,255,255,.16);
  --text: #f5f5f7;
  --muted: #cbd5e0;
  --pink: #ff4bd1;
  --pink-glow: rgba(255,75,209,.9);
  --focus: #76ffb6;
}

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

html, body { height: 100%; }

/* Pink grid paper background */
body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  line-height: 1.5;
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, rgba(255,0,128,.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,0,128,.25) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Layout: mobile-first hero area centered with frosted glass card for image */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 180px);
}

/* Frosted glass card containing the image (acts as hero frame) */
.image-frame {
  width: min(92vw, 720px);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  padding: .9rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
  /* subtle neon edge to enhance cyberpunk vibe */
  border-right: 1px solid rgba(255,255,255,.35);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  /* slight glow for image against grid */
  box-shadow: 0 0 14px rgba(255, 0, 120, .25);
}

/* Footer with a discreet glassy panel and CTA area */
footer {
  width: 100%;
  margin-top: 2rem;
  padding: 1.25rem;
  text-align: center;
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.15);
  color: #e6e6e6;
  font-size: 0.95rem;
}

.product-ad { display: inline-block; padding: .25rem; }

/* Hacker-style product ad heading (monospace with glow) */
.product-ad h3 {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .95rem;
  margin-bottom: .35rem;
  color: #fff;
  letter-spacing: .5px;
  text-shadow: 0 0 8px rgba(255,0,170,.9);
}

/* CTA button-like link (prominent CTA) */
.product-ad a {
  display: inline-block;
  text-decoration: none;
}
.product-ad a p {
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: 999px;
  color: #fff;
  /* vibrant dual-tone gradient for cyberpunk CTA */
  background: linear-gradient(135deg, rgba(255,0,128,.95), rgba(0,120,255,.70));
  border: 1px solid rgba(255,255,255,.25);
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(0,0,0,.4);
  transition: transform .15s ease;
}
.product-ad a:hover p{ transform: translateY(-1px); }

/* Global paragraph color for content text */
p { color: #e9e9e9; }

/* Focus styles for accessibility (keyboard users) */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Subtle neon accents on product ad title for emphasis on larger screens */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 200px); }
  .image-frame { width: min(720px, 82vw); padding: 1.25rem; }
  footer { padding: 1.5rem 2rem; }
  .product-ad h3 { font-size: 1rem; }
}