:root {
  --bg-deep: #041a2b;
  --bg-blue: #0a2a55;
  --green: #2fffae;
  --green-dark: #13d07a;
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(0, 255, 150, 0.6);
  --text: #eafff6;
}

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

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* blue carbon fiber background (subtle stripes) */
  background-image:
    repeating-linear-gradient(45deg, rgba(0, 140, 255, 0.18) 0 4px, rgba(0, 140, 255, 0) 4px 8px),
    repeating-linear-gradient(-45deg, rgba(0, 255, 120, 0.14) 0 4px, rgba(0, 255, 120, 0) 4px 8px),
    linear-gradient(#0a1b2a, #041a2b);
  background-attachment: fixed;
  background-size: 100% 100%, 100% 100%, auto;
}

/* Layout: mobile-first, hero-centered */
main {
  display: grid;
  place-items: center;
  padding: 1.25rem 1rem;
  min-height: calc(100vh - 160px);
}

.image-frame {
  width: min(92%, 1100px);
  border-radius: 14px;
  padding: 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

footer {
  padding: 2rem 1rem;
  color: var(--text);
}

.product-ad {
  max-width: 560px;
  margin: 0.75rem auto 0;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(10, 20, 30, 0.55);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.product-ad h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #a8ffcd;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
}

.product-ad a p {
  margin: 0;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  color: #041e12;
  background: linear-gradient(#1ce36e, #0ab56a);
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-weight: 700;
  transition: transform 0.15s ease, background 0.2s ease;
  display: inline-block;
}

.product-ad a p:hover {
  transform: translateY(-1px);
  background: linear-gradient(#23e57a, #0bb567);
}

.product-ad a:focus-visible,
.product-ad a:focus {
  outline: 3px solid #00ff88;
  outline-offset: 2px;
}

footer p {
  text-align: center;
  color: #87ffb1;
  opacity: 0.85;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Small screens: tighten visuals, keep frosted glass vibe */
@media (max-width: 767px) {
  .image-frame { padding: 0.75rem; }
  .product-ad { padding: 0.8rem; }
  .product-ad h3 { font-size: 0.85rem; }
  .product-ad a p { padding: 0.65rem 1.05rem; }
}

/* Slight uplift for larger screens to emphasize hero */
@media (min-width: 768px) {
  main { min-height: calc(100vh - 200px); padding-top: 2.5rem; }
  .image-frame { padding: 1.25rem; }
  footer { padding-top: 1.5rem; }
}