/* CSS: Hacker-cyberpunk landing with indigo diagonals, lime accents, frosted glass, mobile-first */

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Theme vars */
:root {
  --indigo: #0a0a2a;
  --indigo-deep: #0b0b29;
  --lime: #b8ff00;
  --lime-dark: #88ff00;
  --glass: rgba(255,255,255,.08);
  --edge: rgba(255,255,255,.25);
  --text: #e9fbff;
  --muted: #b6c7ff;
}

/* Base */
html, body {
  height: 100%;
  background: var(--indigo-deep);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  /* Indigo diagonal lines background (futuristic hacker vibe) */
  background-image:
    repeating-linear-gradient(135deg,
      rgba(75, 0, 130, 0.25) 0px,
      rgba(75, 0, 130, 0.25) 2px,
      transparent 2px,
      transparent 8px);
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout - mobile-first */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 1.5rem;
}

/* Frosted glass frame around the hero image */
.image-frame {
  width: min(92%, 860px);
  padding: 1rem;
  border-radius: 16px;
  background: rgba(20, 20, 40, 0.42);
  border: 1px solid var(--edge);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}

/* Image styling */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  /* subtle glow around the image for cyberpunk feel */
  box-shadow: 0 0 20px rgba(184, 255, 0, 0.25);
  border: 1px solid rgba(184, 255, 0, 0.25);
}

/* Footer with a frosted product ad */
footer {
  padding: 1.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
}

/* Frosted glass style for the ad panel */
.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: rgba(15, 15, 32, 0.58);
  border: 1px solid var(--edge);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
  max-width: 100%;
  width: min(720px, 92%);
}

/* Heading inside ad */
.product-ad h3 {
  margin: 0;
  font-size: 1rem;
  color: rgba(184, 255, 0, 0.95);
  text-shadow: 0 0 6px rgba(184, 255, 0, 0.8);
  letter-spacing: .2px;
}

/* CTA button styled as a prominent, accessible button */
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .65rem 1.2rem;
  border-radius: 999px;
  background: #161638;
  color: #eaffd5;
  border: 1px solid rgba(184, 255, 0, 0.85);
  font-weight: 700;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  background: #1f1f48;
  box-shadow: 0 0 14px rgba(184, 255, 0, 0.9);
}
.product-ad a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(0,0,0,.25);
}
.product-ad a > p { margin: 0; }

/* Footer text style */
footer p {
  font-size: .92rem;
  color: #c2cbff;
  opacity: .95;
}

/* Focus ring for keyboard users on links/buttons outside ad (if any) */
a, button { outline-color: transparent; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 640px) {
  main { min-height: 70vh; padding: 2.5rem; }
  footer { padding-bottom: 2rem; }
  .product-ad { flex-direction: row; align-items: center; justify-content: center; }
}
