/* Hacker/Cyberpunk landing - navy radial gradient, frosted glass, mobile-first */

/* Global reset (light) */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
:root {
  --bg-glass: rgba(255, 255, 255, 0.08);
  --glow: 0 0 12px rgba(0, 230, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.22);
  --fg: #eaf2ff;
}
body {
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, "JetBrains Mono", monospace;
  line-height: 1.45;
  background-color: #040a1a;
  /* navy radial gradient background (layered) */
  background-image:
    radial-gradient(circle at 20% 10%, rgba(0, 120, 255, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(0, 40, 100, 0.28) 0%, transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(0, 0, 60, 0.42) 0%, transparent 50%);
  min-height: 100vh;
}

/* Layout */
main { display: grid; place-items: center; padding: 2rem 1rem; }

.image-frame {
  width: min(92vw, 860px);
  background: var(--bg-glass);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  padding: 6px;
  backdrop-filter: saturate(1.2) blur(6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Footer / CTA area */
footer {
  text-align: center;
  padding: 1.25rem 1rem 3rem;
}

/* Featured product card (frosted glass) */
.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: .75rem;
  margin: 1rem auto 0;
  width: min(92vw, 420px);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.product-ad h3 {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1rem;
  margin: 0;
  color: #eaffff;
}

.product-ad a { text-decoration: none; }

/* CTA button style (contains a <p> inside the <a>) */
.product-ad a p {
  margin: 0;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.95), rgba(0, 255, 170, 0.95));
  color: #041018;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: 0 6px 16px rgba(0, 180, 255, 0.6);
  display: inline-block;
  white-space: nowrap;
}

/* Base link styling for accessibility and contrast */
a { color: #e8f2ff; text-decoration: none; }

/* Focus styles for accessibility (visible focus) */
a:focus-visible {
  outline: 2px solid #9af;
  outline-offset: 2px;
  border-radius: 6px;
}
a:hover { text-decoration: none; }

/* Text sizing / responsive tweaks (mobile-first) */
@media (min-width: 520px) {
  .image-frame { padding: 8px; }
}
@media (min-width: 768px) {
  /* Slightly larger typography on bigger screens for readability while keeping hacker theme */
  body { font-size: 16px; }
  .image-frame { border-radius: 20px; }
  .product-ad { transform: translateZ(0); }
} 

/* Small utility: ensure no unexpected gaps on edges */
p { margin: 0; }