/* Light reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --fg: #e6eaff;
  --muted: #b9c4f8;
  --bg-deep: #0b0f1a;
  --glass: rgba(255, 255, 255, 0.08);
  --glow: rgba(0, 229, 255, 0.6);
}
html { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial; }
body {
  margin: 0;
  padding: 0;
  color: var(--fg);
  background-color: #0b0f1a;
  /* Indigo geometric shapes background (multiple layers) */
  background-image:
    radial-gradient(circle at 15% 10%, rgba(75, 0, 255, 0.25) 0 25%, transparent 25%),
    radial-gradient(circle at 75% 85%, rgba(0, 255, 255, 0.25) 0 25%, transparent 25%),
    conic-gradient(from 180deg at 60% 40%, rgba(60, 0, 180, 0.25) 0 25%, transparent 25% 50%, rgba(0, 255, 255, 0.2) 50% 75%, transparent 75% 100%);
  background-blend-mode: overlay;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  /* Additional indigo shapes for depth */
  background-image:
    linear-gradient(135deg, rgba(18, 12, 56, 0.9) 0 60%, rgba(18,12,56,0.9) 60% 100%),
    conic-gradient(from 90deg at 70% 20%, rgba(120, 0, 255, 0.25) 0 25%, transparent 25% 50%),
    radial-gradient(circle at 25% 20%, rgba(0, 255, 255, 0.12), transparent 40%);
  background-blend-mode: overlay;
  opacity: 0.95;
  pointer-events: none;
  z-index: -1;
  filter: saturate(1.15);
}

/* Layout */
main {
  width: 100%;
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.image-frame {
  width: min(92vw, 1000px);
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  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);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Footer / Ad */
footer {
  padding: 1.5rem;
  margin-top: auto;
  background: rgba(6, 8, 20, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: var(--fg);
}

.product-ad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0.75rem 1rem;
  margin: 0.25rem auto 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  min-width: max-content;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.95rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #e9eaff;
  margin: 0;
}
.product-ad a {
  color: #e9f0ff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  padding: .5rem 1rem;
  border-radius: 10px;
  /* neon glow / hacker vibe */
  background: linear-gradient(135deg, rgba(0, 255, 245, 0.25), rgba(138, 43, 226, 0.25));
  border: 1px solid rgba(0, 255, 245, 0.45);
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(0, 255, 245, 0.45), rgba(138, 43, 226, 0.35));
}
.product-ad a:focus-visible {
  outline: 3px solid #00e5ff;
  outline-offset: 2px;
  border-radius: 10px;
}
.product-ad a p {
  margin: 0;
  font-size: .95rem;
  padding: 0;
}

footer p {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: #bcc6f9;
  opacity: 0.95;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 600px) {
  main { padding: 3rem 2rem; }
  .image-frame { padding: 1.25rem; border-radius: 22px; }
  footer { padding: 2rem; }
  .product-ad { padding: 1rem 1.25rem; border-radius: 14px; }
}
@media (min-width: 1024px) {
  main { justify-content: center; }
  .image-frame { width: 900px; }
  .product-ad { font-size: 1rem; }
}