:root {
  --blue: #0b5fa5;
  --maroon: #800000;
  --glass: rgba(255, 255, 255, 0.12);
  --text: #e9f4ff;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background: var(--blue);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Minimal reset for consistent layout */
main {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  flex: 1;
}

.image-frame {
  width: min(92vw, 860px);
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08); /* frosted glass look */
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

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

/* Frosted footer / ad area with a clear CTA */
footer {
  width: 100%;
  padding: 1.75rem 1rem;
  margin-top: auto;
  display: grid;
  place-items: center;
  background: rgba(5, 5, 25, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--text);
}

.product-ad {
  text-align: center;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 420px;
  margin-bottom: 0.75rem;
}

.product-ad h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: #eaffff;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.6);
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  background: var(--maroon);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, background 0.2s ease;
  outline: none;
}
.product-ad a:hover { transform: translateY(-1px); background: #a0002a; }
.product-ad a:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 2px;
}

footer p {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.95;
  margin: 0.25rem 0 0;
}

/* Responsive tweaks */
@media (min-width: 640px) {
  main { padding: 3rem 0; }
  .image-frame { padding: 1.25rem; }
  .product-ad { margin-top: 0; }
}