/* Light reset and box model */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #e8e8e8;
  background-color: #0a0a0f;
  /* Pink carbon-fiber vibe: subtle woven patterns over a dark base */
  background-image:
    linear-gradient(135deg, rgba(255,0,140,0.15) 25%, rgba(0,0,0,0) 25%),
    linear-gradient(225deg, rgba(255,0,140,0.15) 25%, rgba(0,0,0,0) 25%);
  background-size: 40px 40px;
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Mobile-first layout */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  width: 100%;
  min-height: calc(100vh - 120px);
}

.image-frame {
  width: 100%;
  max-width: 880px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: rgba(12,12,16,0.6);
  border: 1px solid rgba(255,255,255,0.25);
  /* Frosted glass feel */
  backdrop-filter: saturate(1.05) blur(6px);
  -webkit-backdrop-filter: saturate(1.05) blur(6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02) 60%, rgba(0,0,0,0.0) 100%);
  mix-blend-mode: overlay;
  pointer-events: none;
  border-radius: 20px;
}

.image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) brightness(0.98);
}

footer {
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(5,5,8,0.9);
  border-top: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(25,25,30,0.54);
  border: 1px solid rgba(255,255,255,0.15);
  min-width: 260px;
  /* Subtle glassiness for hacker vibe */
  box-shadow: inset 0 0 0 rgba(255,255,255,0.0);
}

.product-ad h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f5f5f5;
  letter-spacing: .2px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.product-ad a p {
  margin: 0;
  padding: 12px 22px;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(135deg, #ff4fbf 0%, #ff1e9b 100%);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 6px 18px rgba(255,0,140,0.55);
  min-width: 140px;
}

/* Focus styles for accessibility on CTA */
.product-ad a:focus-visible,
.product-ad a:focus {
  outline: 2px solid #ff6bd6;
  outline-offset: 2px;
  border-radius: 8px;
}

/* Simple footer caption */
footer p {
  color: #cbd5e1;
  font-size: 0.92rem;
  margin-left: 16px;
  white-space: nowrap;
}

/* Responsive tweaks */
@media (min-width: 600px) {
  main { padding: 40px 20px; min-height: calc(100vh - 120px); }
  .image-frame { border-radius: 22px; max-width: 900px; }
  footer { padding: 20px; }
  .product-ad { flex-direction: row; align-items: center; gap: 20px; }
  .product-ad h3 { font-size: 1rem; }
  footer p { margin-left: 0; }
}

@media (min-width: 1024px) {
  .image-frame { max-width: 980px; }
  .product-ad { min-width: 320px; }
  .product-ad a p { padding: 14px 26px; }
}