/* CSS for the pink grid paper, hacker-meets-cyberpunk landing page */

/* Reset (light) */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Theme variables */
:root{
  --bg: #0b0d12;
  --fg: #e6e6ea;
  --muted: #a6a6b2;
  --panel: rgba(17, 17, 22, 0.66);
  --grid: rgba(255, 105, 180, 0.25);
  --accent: #ff6bd6;
  --glass: rgba(255,255,255,0.15);
  --white: #ffffff;
}

/* Pink grid paper background (mobile-first) */
html, body {
  height: 100%;
}
body {
  color: var(--fg);
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Hero container */
main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vmin 2rem;
  flex: 1 0 auto;
}

/* Frosted glass image frame (hero) */
.image-frame {
  width: min(92%, 800px);
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: saturate(1.1) blur(6px);
  -webkit-backdrop-filter: saturate(1.1) blur(6px);
  box-shadow: 0 14px 48px rgba(0,0,0,.55);
}

/* Hero image */
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: saturate(1.05);
}

/* Footer with CTA */
footer {
  width: 100%;
  padding: 14px 16px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  background: linear-gradient(to bottom, rgba(2,2,8,0.4), rgba(2,2,8,0.1) 60%, rgba(2,2,8,0.0));
}

/* Ad block (CTA) */
.product-ad {
  background: rgba(10,10,18,0.65);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: 12px 16px;
  text-align: center;
  max-width: 420px;
  width: calc(100% - 32px);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Ad heading (cyberpunk mono look) */
.product-ad h3 {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #ffd6ff;
  letter-spacing: .4px;
  text-shadow: 0 0 6px rgba(255,0,170,0.6);
}

/* CTA link styled as a button */
.product-ad a { text-decoration: none; display: inline-block; }
.product-ad a p {
  margin: 0;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  color: #0b0b0f;
  background: linear-gradient(135deg, rgba(255,105,180,0.95), rgba(255,56,176,0.85));
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 0 12px rgba(255,0,170,0.75);
  transition: transform .15s ease, filter .15s ease;
}
.product-ad a:focus-visible p {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
.product-ad a:hover p {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* Focus accessibility for all focusable elements (keyboard navigation) */
:focus-visible {
  outline: 2px solid #8bf8ff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  main { padding: 8vmin 2rem; }
  .product-ad { margin-top: 2px; }
}
