/* Neon Indigo Hacker Landing - single stylesheet (mobile-first, accessible, frosted glass) */

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

/* Color tokens */
:root {
  --indigo-dark: #0b0a1a;
  --indigo-deep: #120d3b;
  --lime: #a5ff00;
  --lime-soft: rgba(165, 255, 0, 0.4);
  --glass: rgba(16, 16, 40, 0.55);
  --glass-border: rgba(255, 255, 255, 0.18);
  --text: #eaffff;
  --text-dim: #cfeaff;
  --shadow: 0 8px 24px rgba(0,0,0,.4);
}

/* Global look: indigo neon glow background with lime accents */
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(#0b0a14 0%, #0b0a14 60%, #0b0a14 100%);
  background-image:
    radial-gradient(circle at 15% -5%, rgba(0, 255, 128, 0.18) 0 20%, transparent 40%),
    radial-gradient(circle at 85% 0%, rgba(120, 0, 255, 0.15) 0 25%, transparent 40%);
  background-size: 120% 120%, 120% 120%;
  animation: drift 20s linear infinite;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  line-height: 1.4;
}

@keyframes drift {
  0% { background-position: 0% 0%, 0% 0%; }
  50% { background-position: 60% 0%, -10% 0%; }
  100% { background-position: 0% 0%, 0% 0%; }
}

/* Layout wrappers get frosted glass feel where applicable */
header, main, footer {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 1rem;
  display: block;
}

/* Frosted glass header with glowing title (hero) */
header {
  background: rgba(16, 16, 40, 0.55);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin: 1rem auto 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw + 1rem, 2.2rem);
  line-height: 1.15;
  letter-spacing: .2px;
  color: #eafff3;
  text-shadow: 0 0 6px rgba(0,255,128,.75), 0 0 14px rgba(0,255,128,.55);
}

/* Main content area: centered hero image with glass frame */
main {
  display: grid;
  place-items: center;
  padding: 1rem;
}

.image-frame {
  width: min(92vw, 720px);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(8, 8, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

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

/* Footer with prominent CTA section (glowing lime accent) */
footer {
  padding: 1.25rem;
  text-align: center;
  margin-top: auto;
}

.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: rgba(15, 15, 40, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: .75rem;
}

.product-ad h3 {
  margin: 0 0 .25rem;
  font-size: 1rem;
  color: #d9ffb6;
  text-shadow: 0 0 6px rgba(0,255,128,.6);
}

.product-ad a {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  color: #051200;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 0 8px rgba(0,255,128,.8);
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.28), 0 0 14px rgba(0,255,128,.9);
}
.product-ad a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

/* Accessibility: ensure high-contrast focus for keyboard nav on links/buttons within the ad */
a:focus-visible { outline: 3px solid #9cff00; outline-offset: 2px; }

/* Small utility tweaks for readability on small devices */
p { margin: 0; }

/* Responsive tweaks (tablet/desktop) */
@media (min-width: 700px) {
  header {
    padding: 1.25rem 1.5rem;
  }
  header h1 {
    font-size: clamp(1.8rem, 2.8vw + 1rem, 2.6rem);
  }
  main { padding: 1.5rem; }
  .image-frame { width: min(60vw, 860px); }
  footer { padding: 1.5rem 0.5rem; }
}
