/* Cyberpunk hacker-theme landing page (mobile-first, single stylesheet) */

/* 1) Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: #e7f0f7;
  background-color: #0b0f14;
  /* olive zigzag background (subtle) */
  background-image:
    repeating-linear-gradient(135deg, rgba(107,122,37,.92) 0 12px, rgba(107,122,37,.0) 12px 24px),
    repeating-linear-gradient(315deg, rgba(107,122,37,.92) 0 12px, rgba(107,122,37,.0) 12px 24px);
  background-size: 40px 40px, 40px 40px;
  background-position: 0 0, 20px 20px;
  background-attachment: scroll;
  -webkit-tap-highlight-color: transparent;
}

/* 2) Layout containers (mobile-first) */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem 1.5rem;
  min-height: 66vh;
  position: relative;
}

.image-frame {
  width: min(92%, 1100px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08); /* frosted glass base */
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

/* subtle frosted-glass edge glow / cyber edge */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(0,255,255,.25);
  pointer-events: none;
}

/* faint neon outline for hacker vibe */
.image-frame { outline: 2px solid rgba(0,255,255,.15); }

/* 3) Footer / CTA area (prominent CTA button style) */
footer {
  padding: 2rem 1rem 3rem;
  text-align: center;
  color: #cbd5e1;
}

/* Product ad card with frosted-glass look */
.product-ad {
  display: inline-block;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 0.75rem;
}

.product-ad h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.55rem;
  letter-spacing: .2px;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  color: #eaffff;
  background: linear-gradient(#11161c, #0b1118);
  border: 1px solid rgba(255,255,255,.28);
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover,
.product-ad a:focus {
  transform: translateY(-1px);
  background: linear-gradient(#162028, #0f141b);
  outline: none;
}
.product-ad a:focus-visible {
  outline: 3px solid #7df7ff;
  outline-offset: 2px;
}
footer p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* 4) Focus accessibility for all interactive elements */
a, button {
  color: inherit;
  text-decoration: none;
  outline: none;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid #7df7ff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* 5) Responsive enhancements (desktop and large tablets) */
@media (min-width: 768px) {
  main { padding: 3rem 2rem 1.5rem; min-height: 72vh; }
  .image-frame { border-radius: 20px; }
  .product-ad { padding: 1.25rem 1.5rem; }
  .product-ad h3 { font-size: 1rem; }
}

@media (min-width: 1024px) {
  body { background-attachment: fixed; } /* parallax-ish feel on larger viewports */
  .image-frame { width: min(72%, 1200px); }
  footer { padding: 3rem 2rem 4rem; }
}