/* Minimal reset and CSS variables for a hacker cyberpunk theme */
:root {
  --bg: #0a0a0a;
  --fg: #eae6e3;
  --panel: rgba(0,0,0,0.52);
  --accent: #ff8a1f;    /* orange circuit glow */
  --accent-dark: #ff6a00;
  --glow: 0 0 14px rgba(255, 138, 31, 0.9);
  --radius: 14px;
}

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

/* Page background: orange circuit-board vibe on dark baseline */
html, body { height: 100%; }
body {
  color: var(--fg);
  background-color: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* simple, compact circuit-like pattern (mobile-first) */
  background-image:
    radial-gradient(circle at 20% 15%, rgba(255, 140, 0, 0.15) 0 60px, transparent 60px),
    radial-gradient(circle at 70% 60%, rgba(0, 255, 208, 0.10) 0 60px, transparent 60px),
    linear-gradient(135deg, rgba(255, 120, 0, 0.12) 0 2px, transparent 2px 60px),
    linear-gradient(45deg, rgba(255, 120, 0, 0.12) 0 2px, transparent 2px 60px);
  background-size: 60px 60px, 60px 60px, 60px 60px, 60px 60px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  background-blend-mode: overlay;
  overflow-x: hidden;
}

/* Frosted glass header bar with neon shine */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 16px;
  background: rgba(0,0,0,0.45);
  border-bottom: 1px solid rgba(255,165,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}
header h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: .3px;
  text-shadow: 0 0 8px rgba(255, 138, 0, 0.9);
}
header:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Main layout: mobile-first, center content */
main {
  display: flex;
  justify-content: center;
  padding: 1.25rem;
}
article {
  width: 100%;
  max-width: 1000px;
}

/* Frosted glass image frame (hero content) */
.image-frame {
  display: grid;
  place-items: center;
  margin: 0.75rem auto;
  padding: 1.25rem;
  border-radius: calc(var(--radius) * 1.2);
  background: rgba(10,10,10,0.48);
  border: 1px solid rgba(255,165,0,0.55);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  box-shadow: 0 6px 40px rgba(0,0,0,0.65);
  max-width: 680px;
}
.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  filter: saturate(1.04);
}

/* Footer / product ad panel */
footer {
  padding: 1.25rem;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  color: #ddd;
}
.product-ad {
  background: rgba(0,0,0,0.48);
  border: 1px solid rgba(255,165,0,0.62);
  border-radius: 12px;
  padding: 1rem;
  width: 100%;
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 6px 22px rgba(0,0,0,0.55);
}
.product-ad h3 {
  font-size: 0.98rem;
  color: #ffd6a5;
  margin: 0;
}
.product-ad p { margin: 0; }

/* CTA styled as a neon-orange pill button */
.product-ad a {
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #111;
  background: linear-gradient(135deg, #ff9a3a 0%, #ff5a1a 100%);
  box-shadow: 0 6px 18px rgba(255, 100, 0, 0.6);
}
.product-ad a:hover { transform: translateY(-1px); filter: saturate(1.08); }
.product-ad a:focus-visible {
  outline: 3px solid #00e5ff;
  outline-offset: 2px;
}

/* Small-screen typography tweaks */
footer p { font-size: 0.9rem; opacity: 0.95; }

/* Responsive refinements */
@media (min-width: 640px) {
  header h1 { font-size: 1.8rem; }
  .image-frame { padding: 1.5rem; }
  .product-ad { grid-template-columns: 1fr auto; }
  .product-ad h3 { font-size: 1.02rem; }
}
@media (min-width: 1024px) {
  header { padding: 1.25rem 2rem; }
  header h1 { font-size: 2rem; }
  .image-frame { padding: 2rem; border-radius: 18px; }
  .product-ad { padding: 1.25rem 1.5rem; }
  .product-ad a { font-size: 1rem; }
}