*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }

:root {
  --indigo-900: #0b0f20;
  --indigo-800: #1a1f3a;
  --indigo-600: #4f5bd8;
  --gold: #ffd700;
  --glass: rgba(255,255,255,.15);
  --glass-border: rgba(255,255,255,.28);
  --text: #e9f0ff;
  --muted: #cbd5e1;
  --shadow: 0 10px 25px rgba(0,0,0,.35);
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background-color: #0b0f20;
  background-image:
    radial-gradient(circle at 1px 1px, var(--gold) 2px, transparent 2px),
    radial-gradient(circle at 10px 10px, var(--gold) 2px, transparent 2px),
    linear-gradient(135deg, #0b0f20 0%, #0a0f2b 60%, #0b0f24 100%);
  background-size: 20px 20px, 20px 20px, cover;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,215,0,.9) 2px, transparent 2px),
    radial-gradient(circle at 10px 10px, rgba(255,215,0,.7) 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: .65;
  mix-blend-mode: overlay;
}

main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  min-height: calc(100vh - 120px);
  position: relative;
  z-index: 1;
}

.image-frame {
  width: min(92vw, 760px);
  aspect-ratio: 16/9;
  border-radius: 20px;
  padding: 10px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: inset 0 0 22px rgba(255,255,255,.25),
              0 20px 60px rgba(0,0,0,.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
  transition: transform .4s ease;
}
.image-frame:hover { transform: translateY(-2px); }

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  filter: saturate(1.05);
}

footer {
  padding: 2rem 1rem;
  text-align: center;
  color: #cbd5e1;
  position: relative;
  z-index: 1;
}

.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: .95rem 1.1rem;
  border-radius: 12px;
  background: rgba(10,14,30,.6);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: var(--shadow);
  width: min(96%, 540px);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  font-size: 0.95rem;
  margin: 0;
  letter-spacing: .6px;
}
.product-ad a {
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  color: #04122a;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.7);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 0 12px rgba(99,102,241,.6);
}
.product-ad a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99,102,241,.9);
}

footer p {
  margin-top: .75rem;
  font-size: .9rem;
  color: var(--muted);
}

/* Accessibility focus for any focusable controls */
a:focus-visible, button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99,102,241,.9);
  border-radius: 6px;
}

@media (min-width: 768px) {
  main { padding: 6rem 2rem; }
  .image-frame { width: min(60vw, 860px); }
  footer { padding: 3rem 2rem; }
}
@media (min-width: 1024px) {
  .image-frame { width: min(720px, 64vw); }
  footer { padding: 3.5rem 0; }
}