/* Frosted glass cyberpunk landing page - brown dot background with lime accents */

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

/* Theme variables (easy tweaks) */
:root {
  --bg: #1b0f07;          /* deep brown/black */
  --dot: rgba(91,64,28,.9);/* brown dot color */
  --lime: #baff00;         /* neon lime */
  --lime-soft: rgba(186,255,0,.9);
  --glass: rgba(255,255,255,.08);
  --edge: rgba(255,255,255,.28);
  --txt: #eaffd9;
  --shadow: 0 8px 24px rgba(0,0,0,.35);
  --radius: 14px;
}

/* Background: brown dots pattern + cyberpunk glow overlay */
body {
  position: relative;
  min-height: 100dvh;
  font-family: ui-sans-serif, system-ui, -apple-system, "Inter", Arial;
  color: var(--txt);
  background-color: var(--bg);
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1px);
  background-size: 16px 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Subtle neon glow behind content (doesn't block interactivity) */
body::before {
  content: "";
  position: fixed;
  width: 46vmin;
  height: 46vmin;
  left: -6vmin;
  top: -6vmin;
  background: radial-gradient(circle at center, rgba(0,255,120,.25), transparent 60%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

/* Layout stacking */
main, footer { position: relative; z-index: 1; }

/* Hero: centered, mobile-first */
main {
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
}

/* Frosted glass card around the image */
.image-frame {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
  position: relative;
}

/* Image styling inside frame */
.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 16px;
  transition: transform .6s ease;
}
.image-frame:hover img { transform: scale(1.03); }

/* Soft inner shading for depth (frosted look) */
.image-frame::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 40px rgba(0,0,0,.25);
  pointer-events: none;
}

/* Optional focused halo when the frame is focused (keyboard nav) */
.image-frame:focus-within {
  outline: 2px dashed #a8ff00;
  outline-offset: 4px;
}

/* Simple panel areas (optional content around hero) */
.panel {
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(200,255,180,.4);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  max-width: 780px;
  margin: 1rem auto 0;
  text-align: center;
}

/* CTA styling (neon lime hacker vibe) */
.btn,
a.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .4px;
  color: #041f00;
  background: linear-gradient(135deg, rgba(183,255,0,.95), rgba(183,255,0,.75));
  border: 1px solid rgba(183,255,0,.95);
  text-decoration: none;
  box-shadow: 0 0 14px rgba(183,255,0,.7);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover, a.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(183,255,0,.95);
}
.btn:focus-visible, a.btn:focus-visible {
  outline: 2px solid #a8ff00;
  outline-offset: 2px;
  box-shadow: 0 0 22px rgba(168,255,0,.85);
}
.btn.secondary,
a.btn.secondary {
  background: rgba(0,0,0,.25);
  color: #eaffd0;
  border: 1px solid rgba(176,255,180,.6);
  box-shadow: inset 0 0 12px rgba(0,0,0,.3);
}
.btn.secondary:hover { transform: translateY(-1px); }

/* Ad area in footer (product ad) styled as frosted glass panel with neon accent */
.product-ad {
  display: flex; justify-content: center; align-items: center;
  gap: .75rem; flex-wrap: wrap;
  padding: 1rem;
  margin: 1rem auto 0;
  max-width: 900px;
  border-radius: 12px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(126,255,180,.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.product-ad h3 {
  margin: 0;
  color: var(--lime);
  font-size: 0.95rem;
  font-weight: 700;
}
.product-ad a p {
  margin: 0;
  padding: .6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(76,255,170,.9);
  color: #041f00;
  background: linear-gradient(135deg, rgba(180,255,200,.95), rgba(0,0,0,.0) 60%);
  display: inline-block;
  font-weight: 800;
  text-transform: none;
}
.product-ad a { text-decoration: none; }

/* Footer styling with frosted glass feel and lime text */
footer {
  padding: 1.5rem 1rem 2rem;
  text-align: center;
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.15);
}
footer p { margin: .25rem 0 0; color: #cfe79d; }

/* Responsive tweaks (mobile-first) */
@media (min-width: 600px) {
  main { padding: 2rem 0; }
  .image-frame { width: 90%; }
}
@media (min-width: 900px) {
  .image-frame { width: min(80%, 800px); }
  .product-ad { justify-content: center; }
}