/* Light reset and base styles (mobile-first) */
*, *::before, *::after { box-sizing: border-box; }
html, body { padding: 0; margin: 0; height: 100%; }
:focus { outline: none; }
:focus-visible { outline: 3px solid #89f5ff; outline-offset: 2px; }

:root {
  --navy: #0a1020;
  --navy-2: #0b1a2b;
  --teal: #14e3c3;
  --teal-dark: #0fb9a5;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(160, 210, 230, 0.45);
  --text: #e6f2f8;
  --muted: #a6cbdc;
}

html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background: #0a1020;
  /* Navy metallic sheen with a subtle cyberpunk glow */
  background-image:
    radial-gradient(circle at 15% -10%, rgba(0, 255, 230, 0.15), transparent 25%),
    radial-gradient(circle at 85% 0%, rgba(0, 180, 255, 0.15), transparent 25%),
    linear-gradient(135deg, #0a1020 0%, #0b1a2b 50%, #0a1630 100%);
  background-blend-mode: screen, screen, normal;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Layout containers */
main {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 5vmin 0 2rem;
}

.image-frame {
  position: relative;
  width: min(92%, 720px);
  border-radius: 20px;
  padding: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  /* subtle frosted glow */
  background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.05) 60%, rgba(255,255,255,0.25) 100%);
  mix-blend-mode: overlay;
}

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

/* Footer with a frosted glass ad / CTA */
footer {
  width: 100%;
  margin-top: auto;
  padding: 20px 16px;
  text-align: center;
}

.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 680px;
  width: 90%;
  margin: 0 auto;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid rgba(160,210,230,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3 {
  font-size: 1.05rem;
  color: #9ff;
  text-shadow: 0 0 8px rgba(0,255,230,0.6);
  margin: 0 0 2px;
}

.product-ad a {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #041c1b;
  background: linear-gradient(135deg, #14e5c3 0%, #0fb9a5 100%);
  border: 1px solid rgba(0, 170, 170, 0.6);
  box-shadow: 0 6px 16px rgba(0, 214, 200, 0.5);
}
.product-ad a:hover { transform: translateY(-1px); filter: brightness(1.05); }
.product-ad a:focus-visible { outline: 3px solid #89f5ff; outline-offset: 2px; }

footer p { color: var(--muted); font-size: 0.9rem; margin: 6px 0 0; }

/* Responsive tweaks (mobile-first) */
@media (min-width: 640px) {
  main { padding: 6vmin 0 2rem; }
  .image-frame { padding: 18px; }
}

@media (min-width: 900px) {
  main { justify-content: center; }
  .image-frame { width: 860px; padding: 20px; }
  footer { padding: 28px 0 40px; }
}