:root {
  --bg: #0b1020;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-border: rgba(255, 255, 255, 0.22);
  --text: #e8eaff;
  --muted: #cbd5e1;
  --indigo: #4f46e5;
  --blue: #3b82f6;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

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

/* Global base */
html, body {
  height: 100%;
}
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: #0b1020;
  min-height: 100vh;
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}

/* Abstract blue blur background for cyberpunk vibe */
body::before {
  content: "";
  position: fixed;
  width: 180vmax;
  height: 180vmax;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 25% 25%, rgba(60,120,255,.55) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(120,60,255,.45) 0%, transparent 40%),
    linear-gradient(135deg, rgba(8,12,40,.92), rgba(8,12,60,.96));
  filter: blur(70px);
  opacity: 0.9;
  z-index: -1;
  border-radius: 20px;
}

/* Layout */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  min-height: calc(100vh - 0px);
}

.image-frame {
  width: min(680px, 92%);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: 0 22px 60px rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Footer / Ad panel (glassy) */
footer {
  padding: 20px 0 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.product-ad {
  width: min(680px, 92%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}

.product-ad h3 {
  font-size: 1rem;
  color: #e9f0ff;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: .2px;
  text-shadow: 0 0 6px rgba(99,102,241,.6);
  margin: 0;
}

.product-ad a {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 20px rgba(37,99,235,.5);
}
.product-ad a:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.product-ad a:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

footer p {
  color: #cbd5e1;
  font-size: .9rem;
  letter-spacing: .2px;
}

/* Focus support for keyboard users on any focusable element */
a:focus-visible,
button:focus-visible,
 [tabindex]:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks: mobile-first, scale up gracefully */
@media (min-width: 640px) {
  main {
    padding: 56px 16px 72px;
  }
  .image-frame {
    width: min(860px, 92%);
  }
  .product-ad {
    width: min(860px, 92%);
  }
}
@media (min-width: 1024px) {
  .image-frame {
    width: min(1000px, 78%);
  }
  .product-ad {
    width: min(1000px, 78%);
  }
}