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

/* Theme variables (gold gradient with neon blue accents) */
:root {
  --bg-gold-1: #f6d365;
  --bg-gold-2: #fda085;
  --blue-start: #0ea5ff;
  --blue-end: #1b6aff;
  --glass: rgba(255, 255, 255, .12);
  --text: #e8f2ff;
  --focus: rgba(125, 211, 252, .8);
}

/* Base page styling (mobile-first) */
html, body { height: 100%; }
body {
  min-height: 100dvh;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  display: grid;
  place-items: start center;
  padding: 1.25rem;
  background:
    radial-gradient(circle at 20% -10%, rgba(255,255,255,.15), transparent 40%),
    linear-gradient(135deg, rgba(245, 205, 92, .15), rgba(245, 173, 76, .25) 60%, rgba(10,10,20,.25) 100%),
    linear-gradient(135deg, var(--bg-gold-1) 0%, var(--bg-gold-2) 100%);
  background-blend-mode: overlay, overlay, normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Layout containers */
main { width: min(100%, 860px); }

/* Frosted glass card for hero image */
.image-frame {
  width: 100%;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  image-rendering: -webkit-optimize-contrast;
  /* Subtle neon glow on the image edge for hacker vibe */
  box-shadow: 0 0 0 transparent;
}

/* Footer and ad section */
footer {
  padding: 1.25rem;
  text-align: center;
  width: 100%;
}

.product-ad {
  display: inline-grid;
  gap: .4rem;
  padding: .9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3 {
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #dff3ff;
  margin: 0;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
}
.product-ad p {
  margin: 0;
  padding: .55rem .95rem;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  /* prominent blue CTA button with glow */
  background: linear-gradient(135deg, #0b87ff 0%, #1e60ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(14, 100, 210, 0.6);
  transition: transform .2s ease;
}
.product-ad p:hover { transform: translateY(-1px); }

/* Focus styles for accessibility (visible keyboard focus) */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}
a, button { color: inherit; }

/* Responsive tweaks (mobile-first) */
@media (min-width: 600px) {
  main { margin-top: 1.25rem; }
  .product-ad { padding: 1rem 1.5rem; }
  .product-ad p { padding: .6rem 1.05rem; }
}
@media (min-width: 900px) {
  .image-frame { padding: 1.25rem; }
  .image-frame img { border-radius: 12px; }
  footer { padding: 1.5rem 0; }
}