/* Light reset and utility */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --cyan: #00e5ff;
  --cyan-dark: #00a8c6;
  --bg: #03161a;
  --text: #eaffff;
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.25);
}
html, body { height: 100%; }

/* Turquoise checkerboard background + hacker vibe */
body {
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: var(--text);
  background-color: #04161a;
  background-image:
    linear-gradient(rgba(2,2,2,0.25), rgba(2,2,2,0.25)),
    linear-gradient(45deg, rgba(0, 230, 230, 0.25) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0, 230, 230, 0.25) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0, 230, 230, 0.25) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0, 230, 230, 0.25) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0, 0 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Layout: mobile-first, centered hero with frosted glass look */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 180px);
}

.image-frame {
  width: min(92vw, 860px);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Footer / CTA area with frosted glass + neon hue */
footer {
  padding: 1.25rem;
  width: 100%;
  display: grid;
  place-items: center;
  margin-top: 0.5rem;
}

.product-ad {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(0, 120, 180, 0.28);
  border: 1px solid rgba(0, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  width: min(92vw, 520px);
  max-width: 520px;
  margin-bottom: 0.75rem;
}
.product-ad h3 {
  font-size: 0.95rem;
  color: #9af6ff;
  margin: 0 0 0.5rem 0;
}
.product-ad a { text-decoration: none; display: inline-block; }
.product-ad a p {
  margin: 0;
  padding: 0.75rem 1.25rem;
  display: inline-block;
  border-radius: 999px;
  background: linear-gradient(135deg, #00e5ff 0%, #00b8c9 100%);
  color: #eaffff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
.product-ad a:hover p { transform: translateY(-1px); }
.product-ad a:focus-visible { outline: 3px solid #9efcff; outline-offset: 2px; }

/* Focus for all links for accessibility */
a:focus { outline: 3px solid #9efcff; outline-offset: 2px; }

/* Subtle cyberpunk glow for headings (where present) */
h1, h2, h3, h4 { text-shadow: 0 0 6px rgba(0, 240, 255, 0.6); }

/* Responsive tweaks */
@media (min-width: 600px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 260px); }
  .image-frame { border-radius: 18px; }
}
@media (min-width: 960px) {
  main { padding: 4rem 2rem; }
  .image-frame { width: min(60vw, 900px); }
}