:root {
  --bg: #0a0f14;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --text: #e9e0c6;
  --gold: #d4af37;
  --gold-dark: #c1942a;
  --shadow: 0 12px 28px rgba(0,0,0,.5);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: var(--bg);
  /* white carbon fiber pattern (subtle) */
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,.08) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.08) 75%);
  background-size: 18px 18px;
  background-position: 0 0, 0 9px, 9px -9px, -9px 0;
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }

main {
  width: 100%;
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: 1rem 0;
}

.image-frame {
  width: 92%;
  max-width: 860px;
  padding: 1.2rem;
  margin: 2rem auto 1.5rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 10px 28px rgba(0,0,0,.5);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

footer {
  padding: 1.25rem 1rem;
  text-align: center;
  color: #e9e0c0;
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  width: min(92%, 860px);
  padding: .6rem;
  margin: 0 auto;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
}

.product-ad h3 {
  font-size: .95rem;
  margin: 0;
  color: #f5e6a8;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,.95);
  background: linear-gradient(#f8e6ac, #e2c06a);
  color: #111;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(212,175,55,.8);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(212,175,55,.9);
}

.product-ad a:focus {
  outline: 3px solid rgba(212,175,55,.95);
  outline-offset: 2px;
}

footer p {
  color: #d8d2bd;
  margin: .25rem 0 0;
}

@media (min-width: 768px) {
  main {
    padding-top: 2rem;
  }
  .image-frame {
    width: 70%;
    padding: 1.6rem;
  }
  .product-ad {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.8rem 1.2rem;
    gap: 2rem;
  }
  .product-ad h3 {
    font-size: 1rem;
  }
  footer {
    padding: 1.75rem 1rem;
  }
}