/* Reset & base */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: #e9e0cf;
  background: #0a0a0f;
  overflow-x: hidden;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
:root {
  --gold: #ffd700;
  --gold-dark: #e5b400;
  --glass: rgba(255,255,255,.08);
  --glass-strong: rgba(255,255,255,.15);
  --text: #e9e2d0;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .7;
  pointer-events: none;
  /* gold geometric pattern layer */
  background-image:
    linear-gradient(135deg, rgba(255,215,0,.12) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,215,0,.12) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255,215,0,.08) 25%, transparent 25%),
    linear-gradient(45deg, rgba(255,215,0,.08) 25%, transparent 25%);
  background-size: 60px 60px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  mix-blend-mode: overlay;
  filter: saturate(110%);
}
main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 2rem 1rem;
  margin: 0 auto;
  width: 100%;
  max-width: 980px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.42);
}
.image-frame { width: 100%; display: flex; justify-content: center; align-items: center; padding: 0; }
.image-frame img {
  width: 100%;
  height: auto;
  max-width: 860px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 8px 22px rgba(0,0,0,.5);
}
footer {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #d8d0c7;
  background: rgba(0,0,0,.25);
}
.product-ad {
  display: inline-block;
  padding: .75rem;
  border-radius: 12px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  margin-bottom: .75rem;
}
.product-ad h3 {
  margin: 0 0 .5rem 0;
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
  text-shadow: 0 0 6px rgba(255,215,0,.6);
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 9px;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 2px 0 #d6b007, 0 6px 16px rgba(0,0,0,.4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.5); }
.product-ad a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
footer p { margin: 0.5rem 0 0; font-size: .9rem; color: #c9bfb6; }

/* Focus & accessibility for interactive elements in dark theme */
a:focus-visible, button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 6px;
}
a, button { color:inherit; }

/* Responsive tweaks (mobile-first) */
@media (min-width: 600px) {
  main { border-radius: 18px; padding: 24px; }
  .image-frame img { max-width: 92%; }
  .product-ad h3 { font-size: 1.05rem; }
  footer { padding: 2rem 1rem; }
}
@media (min-width: 900px) {
  main { padding: 28px; }
  .image-frame { max-width: 760px; }
  .image-frame img { border-radius: 16px; }
  .product-ad { margin-top: 0; }
}