:root {
  --bg: #0b0b0b;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.16);
  --text: #e8e8e8;
  --muted: #9a9a9a;
  --accent: #ffd400;
}

*,
*::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(--text);
  background-color: var(--bg);
  /* Yellow dots pattern background (mobile-friendly, lightweight) */
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 213, 0, 0.85) 1px, transparent 1px);
  background-size: 22px 22px;
  background-repeat: repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main {
  display: grid;
  place-items: center;
  padding: 3rem 1rem;
  min-height: calc(100vh - 60px);
}

.image-frame {
  width: min(92vw, 720px);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(20, 20, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  position: relative;
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(6%) contrast(1.02);
}

footer {
  padding: 1.75rem 1rem;
  text-align: center;
}

.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.6rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  margin: 0 auto 0.75rem;
  max-width: 100%;
}

.product-ad h3 {
  font-size: 0.95rem;
  margin: 0;
  color: #f5f5f5;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.product-ad a { text-decoration: none; }

.product-ad a p {
  margin: 0;
  padding: 0.55rem 1rem;
  display: inline-block;
  border-radius: 8px;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  color: #f7f7f7;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.15s ease, background 0.15s ease;
  font-weight: 600;
}

.product-ad a:hover p { transform: translateY(-1px); background: linear-gradient(135deg, #3a3a3a, #222); }

.product-ad a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

footer p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.25rem 0 0;
}

@media (min-width: 600px) {
  main { padding: 4rem 2rem; }
}

@media (min-width: 900px) {
  main { padding: 6rem 2rem; }
  .image-frame { width: min(720px, 60vw); }
}