:root {
  --bg: #0b0b14;
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.28);
  --text: #e9e3f4;
  --muted: #d6c8e8;
  --pink: #ff58c6;
  --pink-dark: #ff2b95;
  --yellow: #ffd400;
  --shadow: 0 8px 28px rgba(0,0,0,.35);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system;
  color: var(--text);
  background-color: var(--bg);
  /* yellow diagonal lines on dark cyberpunk backdrop */
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.0)),
    repeating-linear-gradient(135deg, rgba(255, 223, 0, 0.25) 0 8px, rgba(0,0,0,0) 8px 16px);
  background-size: auto;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  padding: 4rem 1.25rem;
  display: grid;
  place-items: center;
}

.image-frame {
  width: min(860px, 92vw);
  border-radius: 18px;
  padding: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  transition: transform 0.3s ease;
}
.image-frame:hover img {
  transform: scale(1.02);
}

footer {
  padding: 20px 1rem 40px;
  width: 100%;
}

.product-ad {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  width: min(420px, 90vw);
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.product-ad h3 {
  font-size: 1.05rem;
  margin: 0;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: 12px 18px;
  font-weight: 700;
  color: #0b0010;
  background: linear-gradient(135deg, #ff5bd6 0%, #ff1980 60%, #ff007f 100%);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 20px rgba(255, 0, 150, 0.6);
  transition: transform 0.25s ease, filter 0.25s ease;
}
.product-ad a:hover { filter: brightness(1.05); transform: translateY(-1px); }
.product-ad a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

footer p { text-align: center; opacity: 0.8; margin: 8px 0 0; }

@media (min-width: 700px) {
  main { padding: 6rem 2rem; }
  .image-frame { width: 760px; }
  .product-ad { align-items: center; justify-content: center; }
  .product-ad h3 { font-size: 1.15rem; }
  footer { padding-top: 0; }
}

@media (prefers-color-scheme: light) {
  body {
    background: #f7f7fb;
    color: #1b1b1f;
    background-image:
      linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.03)),
      repeating-linear-gradient(135deg, rgba(255, 223, 0, 0.08) 0 8px, rgba(0,0,0,0) 8px 16px);
  }
  .image-frame {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  }
}