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

:root {
  --gold: #ffd700;
  --gold-deep: #d4a200;
  --bg-panel: rgba(255,255,255,0.08);
  --bg-border: rgba(255,215,0,0.75);
  --text: #f5f2e0;
}

html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: var(--text);
  background-color: #0a0a0a;
  /* Yellow circuit-board vibe background */
  background-image:
    linear-gradient(0deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.18) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.15) 0 2px, transparent 2px 6px),
    linear-gradient(135deg, rgba(255,219,0,0.08), rgba(255,180,0,0.08));
  background-blend-mode: overlay, overlay, normal, normal;
}

/* Layout: mobile-first, centered hero image and frosted glass vibe */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 2rem;
}

.image-frame {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.75);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  position: relative;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Frosted glass look over the frame */
  backdrop-filter: blur(2px) saturate(1.2);
  background: linear-gradient(to bottom right, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  pointer-events: none;
}

/* Footer with frosted-ad style card for CTA */
footer {
  padding: 1.25rem;
  text-align: center;
  color: #e8e0c5;
  background: rgba(0, 0, 0, 0.25);
}

.product-ad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .4rem;
  padding: .75rem 1rem;
  width: min(420px, 92%);
  margin: 0 auto 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.75);
  backdrop-filter: blur(6px);
}

.product-ad h3 {
  margin: 0;
  font-size: 1rem;
}

.product-ad a {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.product-ad p {
  margin: 0;
  padding: .5rem 1rem;
  font-weight: 700;
  text-align: center;
  border-radius: 8px;
  background: linear-gradient(#f8d64d, #e2b400);
  color: #281a00;
  border: 1px solid rgba(0,0,0,.15);
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}
.product-ad a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Desktop tweaks (responsive) */
@media (min-width: 700px) {
  main { padding: 3rem; }
  .image-frame { max-width: 800px; aspect-ratio: 21 / 9; }
  .product-ad { margin-top: -1rem; }
}