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

:root {
  --bg: #0b0f14;
  --glass: rgba(255,255,255,0.08);
  --teal: #2ce3d4;
  --teal-dark: #14c1ac;
  --gold: #d4af37;
  --gold-dark: #9a7a2b;
  --text: #e7fbff;
  --shadow: 0 10px 35px rgba(0,0,0,.4);
}

html, body { height: 100%; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: var(--bg);
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.25)),
    repeating-linear-gradient(135deg, rgba(212,175,55,.25) 0 12px, transparent 12px 24px);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { padding: 28px 16px; display: block; }

.image-frame {
  width: min(92vw, 720px);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px) saturate(1.2);
}

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

footer { padding: 16px; text-align: center; color: rgba(232, 246, 255, 0.85); }

.product-ad {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  width: min(92vw, 760px);
  margin: 12px auto 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(8,16,28,.55);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}

.product-ad h3 { font-size: 1rem; font-weight: 700; color: #e8fbff; margin: 0; }

.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ec6a8 0%, #14f0bd 100%);
  color: #042a21;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 4px 12px rgba(0,0,0,.25);
}
.product-ad a:hover,
.product-ad a:focus { transform: translateY(-1px); outline: none; box-shadow: 0 6px 16px rgba(0,0,0,.3); }

/* Focus-visible for accessibility on interactive elements */
:focus-visible { outline: 3px solid #7df0df; outline-offset: 2px; border-radius: 6px; }

/* Responsive tweaks */
@media (min-width: 768px) {
  main { display: grid; place-items: center; padding: 48px 0; min-height: 80vh; }
  .image-frame { width: min(66vw, 760px); }
  footer { padding: 24px 0; }
}