/* Global reset and color system */
*,
*::before,
*::after { box-sizing: border-box; }
:root {
  --bg: #0b0b0f;
  --bg2: #1a0f12;
  --glass: rgba(255,255,255,.08);
  --glass-border: rgba(255,255,255,.25);
  --text: #e8e0c8;
  --muted: #c9c4af;
  --gold: #d4af37;
  --gold-dark: #b4892c;
  --shadow: 0 20px 60px rgba(0,0,0,.5);
  --neon: 0 0 14px rgba(212,175,55,.8);
}
html, body { height: 100%; }
html { color-scheme: dark; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  /* Black sunset gradient with gold cyberpunk vibe */
  background: linear-gradient(135deg, #0b0b0f 0%, #1a0f12 60%, #0b0b0f 100%),
              radial-gradient(circle at 20% -10%, rgba(255,140,0,.25), transparent 40%),
              radial-gradient(circle at 90% 0%, rgba(255,215,0,.15), transparent 40%);
  background-blend-mode: overlay, screen, screen;
  min-height: 100vh;
  padding: 1rem;
  display: grid;
  place-items: start center;
}

/* Layout container (mobile-first) */
main {
  width: 100%;
  max-width: 1100px;
  display: grid;
  gap: 1.75rem;
  place-items: center;
  padding-top: 1.25rem;
}

/* Frosted glass frame for the hero image */
.image-frame {
  width: min(92vw, 900px);
  padding: 0.75rem;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  outline: 1px solid rgba(255,255,255,.12);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  filter: saturate(1.05);
  /* subtle neon edge glow on the image */
  box-shadow: 0 0 0 rgba(212,175,55,0);
}
@media (min-width: 720px) {
  .image-frame { border-radius: 22px; padding: 1rem; }
  .image-frame img { border-radius: 16px; }
}

/* Footer styling */
footer {
  width: 100%;
  padding: 1rem 0;
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
}
.product-ad {
  margin: 1.25rem auto;
  padding: .75rem;
  width: min(92%, 720px);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  display: grid;
  grid-template-columns: 1fr;
  gap: .5rem;
  align-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 28px rgba(0,0,0,.4);
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
}
.product-ad h3 {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1.05rem;
  margin: 0;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd36b 0%, #f6c24a 60%, #e0a800 100%);
  color: #0b0b0b;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 2px 6px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.8);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:focus-visible {
  outline: 3px solid #ffd54a;
  outline-offset: 2px;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(212,175,55,.8);
}
.product-ad p { margin: 0; font-family: inherit; font-weight: 700; color: #111; }

/* Typography accents for cyberpunk vibe on small screens */
@media (min-width: 640px) {
  .product-ad { grid-template-columns: 1fr auto; align-items: center; padding: .75rem 1rem; }
  .product-ad h3 { font-size: 1.15rem; }
}
@media (min-width: 1024px) {
  main { padding-top: 2rem; }
}
