/* Reset and base styles (light, accessible, mobile-first) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a2a66;            /* blue solid background (navy-toned) */
  --card: rgba(255, 255, 255, 0.08);
  --card-contrast: rgba(255, 255, 255, 0.18);
  --text: #e6f0ff;
  --muted: #a8c0e8;
  --accent: #1ec8ff;
  --btn: #0e5bd8;
  --btn-dark: #0a3a8f;
  --glass: rgba(255, 255, 255, 0.12);
  --glow: 0 0 12px rgba(30, 200, 255, 0.8);
  --glow-strong: 0 0 28px rgba(20, 180, 255, 0.8);
  --radius: 14px;
}

html, body { height: 100%; }
html { color-scheme: dark; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: 70vh;
}

.image-frame {
  width: min(92vw, 720px);
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
}

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

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  /* subtle holographic glow overlay for cyberpunk vibe */
  background: radial-gradient(circle at 70% 20%, rgba(0, 180, 255, 0.18), transparent 40%),
              radial-gradient(circle at 0% 100%, rgba(0,0,0,0.25), transparent 40%);
  pointer-events: none;
}

/* Frosted glass footer / glass panel for the ad area */
footer {
  width: 100%;
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(5, 10, 25, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #d9eaff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.product-ad {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .6rem 0;
}

.product-ad h3 {
  font-size: 1rem;
  color: #e8f3ff;
  margin-right: auto;
  display: inline-block;
  letter-spacing: .5px;
  text-shadow: 0 0 6px rgba(0, 170, 255, 0.6);
}

.product-ad a {
  display: inline-flex;
  align-items: center;
  padding: .55rem 0.85rem;
  border-radius: 8px;
  background: #0b57d8;            /* solid blue CTA button */
  color: #eaffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  font-family: inherit;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.2s ease;
}
.product-ad a:hover {
  background: #0a4ac9;
  transform: translateY(-1px);
}
.product-ad a:focus-visible {
  outline: 3px solid #7bd6ff;
  outline-offset: 2px;
  border-radius: 8px;
}

footer p {
  font-size: .875rem;
  color: #b6c7e8;
  margin-top: .25rem;
}

/* Responsive: mobile-first scaling for larger viewports */
@media (min-width: 768px) {
  main { padding: 3rem 0; }
  .image-frame { width: min(60vw, 720px); }
  footer { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; }
  .product-ad { gap: 1.25rem; }
  footer p { margin: 0; }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}