/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial; }
:root {
  --navy: #0a1020;
  --navy-2: #070a1a;
  --ink: #e6f0ff;
  --steel: #cbd5e1;
  --cyan: #66e3ff;
  --cyan-dark: #5ad0ff;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-stroke: rgba(255, 255, 255, 0.25);
}
html, body { margin: 0; padding: 0; background: var(--navy); color: var(--ink); }

/* Silver waves background (mobile-first, subtle) */
body {
  background-image:
    radial-gradient(circle at 20px 0, rgba(255,255,255,0.18) 0 2px, transparent 2px),
    radial-gradient(circle at 100px 20px, rgba(120,180,255,0.10) 0 4px, transparent 4px),
    linear-gradient(to bottom, rgba(15,18,40,0.9), rgba(10,14,32,0.95) 60%, rgba(8,12,28,0.98));
  background-size: 120px 60px, 220px 120px, 100% 100%;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color-scheme: dark;
}

/* Layout: mobile-first hero container centered */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 140px);
  position: relative;
}

/* Frosted glass card around the image (hero) */
.image-frame {
  width: min(860px, 92%);
  padding: 1.25rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  box-shadow: 0 12px 40px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.14);
  overflow: hidden;
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  filter: saturate(1.05);
  image-rendering: crisp-edges;
}

/* Footer: product ad + copyright */
footer {
  padding: 1.25rem;
  text-align: center;
  color: var(--steel);
}
.product-ad {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(3,8,20,0.65);
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 0.75rem;
}
.product-ad h3 {
  font-size: 0.92rem;
  margin: 0 0 0.25rem;
  color: #eaf6ff;
  font-weight: 700;
}
.product-ad a { text-decoration: none; display: inline-block; }
.product-ad a p {
  margin: 0;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  color: #e8fbff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.25);
  background: linear-gradient(135deg, rgba(0,0,0,0.25), rgba(255,255,255,0.0));
}
footer p { margin: 0.6rem 0 0; font-size: 0.84rem; opacity: 0.88; }

/* Focus & accessibility: visible focus ring on interactive elements */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks (desktop) */
@media (min-width: 720px) {
  main { padding: 3rem 2rem; }
  .image-frame { padding: 1.75rem; border-radius: 24px; }
}
@media (min-width: 1024px) {
  body { /* slight shift for more cyberpunk feel on large screens */ }
  .image-frame { width: min(980px, 84%); }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .image-frame { backdrop-filter: none; -webkit-backdrop-filter: none; }
}