/* Frosted glass, hacker-cyberpunk landing styles (mobile-first) */

/* Lightweight reset */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html, body { margin: 0; padding: 0; }

/* Theme tokens */
:root {
  --cyan: #00e6ff;
  --cyan-dark: #009fbf;
  --text: #e6feff;
  --glass: rgba(255, 255, 255, 0.08);
  --stroke: rgba(0, 230, 255, 0.4);
}

/* Gray radial gradient background with cyan accents */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  min-height: 100dvh;
  line-height: 1.5;
  background: radial-gradient(circle at 20% 0%, rgba(80,80,80,.25) 0%, rgba(0,0,0,0) 40%),
              radial-gradient(circle at 85% 0%, rgba(20,20,20,.6) 0%, rgba(0,0,0,0) 40%),
              #0b0f14;
  /* subtle glow for hacker vibe */
  background-blend-mode: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Layout containers */
main {
  padding: 1rem;
  display: block;
}

.image-frame {
  width: min(92%, 900px);
  margin: 1rem auto;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 230, 255, 0.25);
  box-shadow:
    0 20px 60px rgba(0, 230, 255, 0.22),
    inset 0 0 0 1px rgba(0, 230, 255, 0.15);
  backdrop-filter: saturate(110%) blur(2px);
  -webkit-backdrop-filter: saturate(110%) blur(2px);
}

/* Image scales nicely on all devices */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* Footer and product ad styling (frosted glass) */
footer {
  padding: 1.25rem;
  color: #d9feff;
  background: transparent;
}

.product-ad {
  width: min(680px, 92%);
  margin: 0.75rem auto 0;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 230, 255, 0.28);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  box-shadow: 0 6px 20px rgba(0, 230, 255, 0.22);
}

.product-ad h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #baf6ff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

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

/* CTA style: cyan, glossy, accessible */
.product-ad a p {
  margin: 0;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 230, 255, 0.32), rgba(0, 230, 255, 0.16));
  color: #eaffff;
  font-weight: 700;
  border: 1px solid rgba(0, 230, 255, 0.6);
  outline: none;
  display: inline-block;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 14px rgba(0, 230, 255, 0.6);
}

/* Interaction */
.product-ad a:focus-visible,
.product-ad a:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 999px;
}
.product-ad a:hover p {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(0, 230, 255, 0.92);
}

/* Small screens: ensure readability and spacing */
@media (min-width: 520px) {
  .image-frame { margin: 1.25rem auto; }
  .product-ad { width: min(680px, 92%); }
}

/* Larger screens: keep hero prominent and readable without crowding */
@media (min-width: 900px) {
  main {
    padding: 2rem 1.5rem;
  }
  .image-frame {
    width: min(700px, 60%);
  }
  footer {
    padding: 1.75rem 1.5rem;
  }
  .product-ad {
    width: min(680px, 40%);
  }
}