/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg-dark: #0b1020;
  --bg-deep: #0a1a3d;
  --bg-mid: #0b1a40;
  --blue: #6ea8ff;
  --violet: #8a5cff;
  --glass: rgba(255,255,255,.08);
  --border: rgba(170,190,255,.35);
  --text: #e9eaff;
  --text-soft: #cbd8ff;
}
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-mid) 40%, var(--bg-dark) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% -10%, rgba(110,180,255,.28), transparent 40%),
    linear-gradient(135deg, rgba(0,0,0,.0) 40%, rgba(138,92,255,.18) 60%, rgba(0,0,0,.0) 100%);
  mix-blend-mode: screen;
  animation: sheen 12s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes sheen {
  0% { transform: translateX(-5%); }
  50% { transform: translateX(5%); }
  100% { transform: translateX(-5%); }
}
* { box-sizing: border-box; }

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

/* Layout */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem;
  min-height: calc(100vh - 180px);
  position: relative;
  z-index: 1;
}
.image-frame {
  width: min(92vw, 980px);
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(12, 20, 60, .6);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  display: grid;
  place-items: center;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .5s ease;
  filter: saturate(1.05);
}
.image-frame:hover img { transform: scale(1.03); }

/* Footer / product ad (frosted glass card) */
footer {
  width: 100%;
  padding: 14px 0 40px;
  margin-top: 2rem;
  z-index: 1;
}
.product-ad {
  width: min(92vw, 860px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(170,190,255,.25);
  color: #eaf0ff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  font-size: .95rem;
  margin: 0;
  color: #d2ddff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-ad a { text-decoration: none; color: inherit; }
.product-ad p {
  margin: 0;
  font-weight: 700;
  color: #f7faff;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(110,180,255,.28), rgba(138,92,255,.28));
  border: 1px solid rgba(150,170,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
footer p {
  text-align: center;
  color: #a9b6ff;
  font-size: .9rem;
  margin: 10px auto 0;
  opacity: .85;
}

/* Accessibility: focus states */
:focus-visible {
  outline: 2px solid #7bd4ff;
  outline-offset: 2px;
  border-radius: 6px;
}
a:focus-visible, button:focus-visible { outline-offset: 3px; }

/* Responsive tweaks (mobile-first) */
@media (min-width: 720px) {
  main { padding: 8rem 2rem; }
  .image-frame { border-radius: 28px; }
  .product-ad { padding: 16px 20px; }
}
@media (min-width: 1024px) {
  .image-frame { border-radius: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}