:root {
  --bg: #2b1a0b;
  --fg: #ffd86e;
  --glass: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--fg);
  background: 
    linear-gradient(135deg, rgba(180,120,0,.15), rgba(0,0,0,0) 40%),
    radial-gradient(circle at 10% 0%, rgba(255,209,60,.15), transparent 28%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 1px, transparent 1px 8px),
    #2b1a0b;
  background-blend-mode: overlay;
  min-height: 100vh;
}

main {
  width: 100%;
  max-width: 900px;
  padding: 28px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-frame {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px;
  border-radius: calc(var(--radius) + 6px);
  background: var(--glass);
  border: 1px solid rgba(255, 209, 0, 0.4);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(from 180deg at 50% 50%, rgba(255, 213, 0, 0.0) 0, rgba(0,0,0,.25) 180deg, rgba(255,213,0,0.0) 360deg);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

footer {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 16px 16px 28px;
}

.product-ad {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: min(100%, 860px);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 214, 0, 0.6);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3 {
  font-size: 1rem;
  margin: 0;
  color: var(--fg);
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  color: #ffd94d;
  font-weight: 700;
}
.product-ad a:focus-visible, a:focus-visible {
  outline: 3px solid #ffd94d;
  outline-offset: 2px;
  border-radius: 4px;
}
.product-ad p {
  margin: 0;
  font-weight: 600;
  color: #ffd94d;
}

@media (min-width: 600px) {
  main { padding: 40px 20px; }
  .image-frame { padding: 18px; border-radius: 18px; max-width: 800px; }
  .product-ad { flex-direction: row; align-items: center; justify-content: center; padding: 14px 18px; }
  .product-ad h3 { font-size: 1.05rem; }
}
@media (min-width: 900px) {
  .image-frame { max-width: 860px; }
  .product-ad { justify-content: center; }
}