/* Hacker pink-cyan frosted-glass landing page (mobile-first) */

:root{
  --pink-1: #ff4a9e;
  --pink-2: #ff2d9e;
  --cyan: #00e6ff;
  --text: #eaffff;
  --glass: rgba(255,255,255,.12);
  --glass-border: rgba(255,255,255,.25);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  /* Pink gradient background with cyan accents via UI elements */
  background: linear-gradient(135deg, var(--pink-1) 0%, var(--pink-2) 60%, #ff7bd5 100%);
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* Global focus visibility for accessibility (cyan highlight) */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

main {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

/* Frosted glass frame around the hero image */
.image-frame {
  width: 100%;
  max-width: 720px;
  border-radius: 16px;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  overflow: hidden;
  position: relative;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  /* Subtle cyan glow on the image edges */
  box-shadow: 0 0 0 2px rgba(0,255,255,.15);
}

/* Neon cyan accent overlay for hacker vibe */
.image-frame:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  /* cyan glow and scanline-like feel */
  box-shadow: inset 0 0 0 1px rgba(0,255,255,.25),
              0 0 40px rgba(0,255,255,.4);
  mix-blend-mode: screen;
  opacity: 0.85;
}

/* Footer with frosted glass CTA + ad */
footer {
  padding: 1.25rem;
  text-align: center;
  color: rgba(234, 255, 255, 0.95);
  /* light glass feel for footer separation */
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.product-ad {
  display: inline-block;
  padding: 0.6rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  margin-bottom: 0.75rem;
}

.product-ad h3 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
  color: #eaffff;
  letter-spacing: .2px;
}

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

.product-ad a p {
  margin: 0;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 800;
  font-family: inherit;
  color: #021b2a;
  background: linear-gradient(135deg, rgba(0, 230, 255, 0.95), rgba(0, 204, 200, 0.75));
  box-shadow: 0 6px 14px rgba(0, 230, 255, 0.6);
}

/* Footer text sizing */
footer p {
  font-size: 0.9rem;
  opacity: 0.92;
  margin-top: 0.25rem;
}

/* Small screens: compact, mobile-first */
@media (min-width: 600px) {
  main { padding: 3rem 1.5rem; }
  .image-frame { max-width: 800px; }
  .product-ad { transform: translateZ(0); }
}

@media (min-width: 900px) {
  /* More generous spacing on larger viewports */
  main { padding: 4rem 2rem; }
  .image-frame { max-width: 900px; }
}