/* Frosted glass hacker-theme landing page CSS (mobile-first, single stylesheet) */

:root {
  --blue: #1e90ff;
  --blue-soft: #4aa6ff;
  --glass: rgba(255, 255, 255, 0.08);
}

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

html, body { height: 100%; padding: 0; margin: 0; }

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: #e8f0ff;
  min-height: 100vh;
  line-height: 1.5;
  background-color: #000;
  /* black waves background */
  background-image:
    radial-gradient(circle at 15% 0%, rgba(0,170,255,0.18), transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(0,90,255,0.15), transparent 40%);
  background-blend-mode: screen;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--blue); text-decoration: none; }

main {
  display: grid;
  place-items: center;
  padding: 3rem 1rem;
}

/* Hero frame with frosted glass look */
.image-frame {
  width: min(92vw, 1100px);
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background: var(--glass);
  border: 1px solid rgba(30,144,255,.55);
  padding: 1rem;
  display: grid;
  align-items: center;
  justify-items: center;
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
  overflow: hidden;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  transition: transform .3s ease;
}
.image-frame:hover img { transform: scale(1.03); }

footer {
  text-align: center;
  padding: 1.5rem 1rem 3rem;
  color: #a9c6ff;
  background: rgba(0,0,0,0.3);
}

.product-ad {
  display: inline-block;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(0, 170, 255, 0.65);
  box-shadow: 0 6px 14px rgba(0, 170, 255, 0.45);
  margin: 0.75rem auto;
}
.product-ad h3 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
  color: #a6e4ff;
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  color: #04131d;
  background: linear-gradient(135deg, #7df 0%, #1e90ff 100%);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 4px 12px rgba(0, 170, 255, 0.6);
}
.product-ad a:focus-visible p {
  outline: 2px solid #4cc9ff;
  outline-offset: 2px;
}
.product-ad a:hover p {
  transform: translateY(-1px);
}

footer p {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Focus styles for accessibility on interactive elements */
:focus-visible {
  outline: 2px solid #4cc9ff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks - mobile-first, adjust at larger sizes */
@media (min-width: 640px) {
  .image-frame { border-radius: 32px; padding: 1.25rem; }
  .image-frame img { border-radius: 20px; }
}
@media (min-width: 1024px) {
  main { padding: 5rem 2rem; }
  .image-frame { max-width: 1200px; }
}