/* Minimal reset and CSS for a yellow polka-dot hacker/cyberpunk landing page */

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

html, body {
  height: 100%;
}

:root {
  --bg: #0f1117;
  --fg: #e6e6e6;
  --muted: #b8b8b8;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.20);
  --accent: #ffd400; /* yellow CTA */
  --accent-dark: #e6b100;
  --card-shadow: rgba(0,0,0,.45);
  --focus: #00e0ff;
}

body {
  margin: 0;
  padding: 0;
  color: var(--fg);
  background-color: var(--bg);
  /* Yellow polka dots background (ghostly grayscale hacker vibe) */
  background-image:
    radial-gradient(circle, rgba(255, 212, 0, 0.95) 2px, transparent 3px),
    radial-gradient(circle, rgba(255, 212, 0, 0.85) 2px, transparent 3px),
    radial-gradient(circle, rgba(0,0,0,0.25) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 100% 100%;
  background-position: 0 0, 0 0, 0 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  line-height: 1.6;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 6rem);
  padding: 2rem 1rem;
}

.image-frame {
  width: min(92vw, 720px);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.20);
  padding: 1rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 20px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px) saturate(0.9);
  -webkit-backdrop-filter: blur(6px) saturate(0.9);
}

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

footer {
  width: 100%;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  color: var(--muted);
  background: transparent;
}

.product-ad {
  width: min(92vw, 720px);
  margin: 0.5rem auto;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.20);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.product-ad h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: .4px;
  color: #f3f3f3;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  background: var(--accent);
  color: #141414;
  border-radius: 8px;
  padding: 0.9rem 1.15rem;
  font-weight: 800;
  line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a p {
  margin: 0;
  padding: 0;
  color: inherit;
  font-weight: 800;
  font-family: inherit;
}

/* CTA hover/focus states for accessibility */
.product-ad a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}

footer p {
  text-align: center;
  color: #bdbdbd;
  font-size: 0.9rem;
  margin: 0.25rem 0 0;
  letter-spacing: .2px;
}

/* Layout tweaks for larger screens (slightly more “hacker/cyberpunk” vibe) */
@media (min-width: 700px) {
  main { padding: 4rem 2rem; min-height: calc(100vh - 8rem); }
  .image-frame { width: min(70vw, 800px); padding: 1.25rem; }
  .product-ad { flex-direction: row; align-items: center; justify-content: space-between; }
  .product-ad h3 { font-size: 1.05rem; }
}
