:root {
  --coral: #ff6f61;
  --coral-dark: #e05640;
  --silver: #c0cbd3;
  --silver-dark: #8a94a1;
  --bg: #0b0f14;
  --glass: rgba(255,255,255,.08);
  --glass-border: rgba(255,255,255,.25);
  --text: #e8f0f6;
  --muted: #cbd5e1;
  --accent: #00e5ff;
  --shadow: 0 10px 25px rgba(0,0,0,.35);
}

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

html, body { height: 100%; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  /* coral striped background pattern */
  background-image:
    repeating-linear-gradient(135deg, rgba(255,111,97,.25) 0 14px, rgba(0,0,0,0) 14px 28px);
  background-size: 100% auto;
  min-height: 100vh;
  line-height: 1.4;
  text-shadow: 0 1px 0 rgba(0,0,0,.4);
  position: relative;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 70% 20%, rgba(0, 214, 255, .08), transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(255, 255, 255, .04), transparent 40%);
  mix-blend-mode: screen;
}

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

.image-frame {
  width: min(90vw, 720px);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 18px;
  padding: 1.25rem;
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: saturate(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.3);
}

footer {
  padding: 1.25rem;
  text-align: center;
  color: #dbe2e8;
  background: linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,.05));
  border-top: 1px solid rgba(255,255,255,.08);
  position: relative;
}

.product-ad {
  display: inline-block;
  text-align: left;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  margin-bottom: 0.75rem;
}
.product-ad h3 {
  font-size: 0.95rem;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}
.product-ad p {
  display: inline-block;
  font-size: 1rem;
  margin: 0;
  color: #e2e8f0;
}
.product-ad a {
  display: inline-block;
  margin-left: 0.75rem;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(#f1f5f9, #e2e8f0);
  color: #0b0f14;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 2px 6px rgba(0,0,0,.25);
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  main { padding: 6rem 2rem; }
  .image-frame { padding: 1.5rem; }
  .product-ad { display: inline-block; vertical-align: middle; margin-left: 12px; }
}

@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; }
  .product-ad {
    background: rgba(20,24,34,.5);
    border-color: rgba(255,255,255,.25);
  }
  body { text-shadow: 0 1px 0 rgba(0,0,0,.6); }
}