/* Reset: light, box-model, margins/padding */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Root tokens */
:root {
  --accent: #ff8a00;
  --accent-dark: #ff6a00;
  --bg-glow: rgba(255, 180, 0, 0.25);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.28);
  --text: #ffffff;
  --muted: #d9d9d9;
}

/* Mobile-first, responsive sky background (orange galaxy + stars) */
html, body { height: 100%; }
body {
  min-height: 100vh;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  background: #0b0b0b;
  /* layered orange galaxy + stars */
  background-image:
    radial-gradient(circle at 15px 20px, rgba(255,210,100,.9) 0 2px, transparent 2px),
    radial-gradient(circle at 60px 40px, rgba(255,165,0,.9) 0 2px, transparent 2px),
    radial-gradient(circle at 120px 70px, rgba(255,255,255,.8) 0 1px, transparent 1px),
    radial-gradient(circle at 260px 150px, rgba(255,170,0,.6) 0 1px, transparent 1px),
    radial-gradient(circle at 320px 220px, rgba(255,255,255,.8) 0 1px, transparent 1px),
    linear-gradient(135deg, #1a0e00 0%, #2a1000 50%, #0b0b0a 100%);
  background-blend-mode: screen;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

/* Subtle glow overlay for depth */
body:before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(255,140,0,.15) 0 40%, transparent 40%),
              radial-gradient(circle at 25% 60%, rgba(255,105,0,.12) 0 20%, transparent 20%);
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 0;
}

/* Layout containers */
main {
  flex: 1 0 auto;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  position: relative;
  z-index: 1;
  /* Frosted glass backdrop behind content */
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.image-frame {
  width: min(92vw, 780px);
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  backdrop-filter: saturate(1.1) blur(6px);
  -webkit-backdrop-filter: saturate(1.1) blur(6px);
  position: relative;
  z-index: 1;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.15) contrast(1.05);
}

/* Footer with a prominent CTA-styled card */
footer {
  width: 100%;
  display: grid;
  justify-items: center;
  padding: 1.75rem 1rem 2rem;
  background: rgba(0,0,0,.28);
  border-top: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
  color: var(--text);
}

.product-ad {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28);
  margin-bottom: .75rem;
}
.product-ad h3 {
  font-size: .95rem;
  color: #ffd79a;
  line-height: 1;
  margin: 0;
}
.product-ad a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,140,0,.95), rgba(255,70,0,.9));
  border: 1px solid rgba(255,255,255,.4);
  padding: .6rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .2s ease;
}
.product-ad a:focus-visible {
  outline: 3px solid #ffd27a;
  outline-offset: 2px;
  border-radius: 8px;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.3);
}
.product-ad a p {
  margin: 0;
}
footer p {
  margin: 0;
  font-size: .9rem;
  color: #ddd;
  opacity: .9;
}

/* Responsive tweaks */
@media (min-width: 600px) {
  main { padding: 3rem 2rem; }
  .image-frame { border-radius: 28px; }
}
@media (min-width: 900px) {
  body { font-size: 18px; }
  .image-frame { transform: translateZ(0); }
  footer { padding-bottom: 2.5rem; }
}