/* Mobile-first, single stylesheet for a futuristic cyberpunk landing with green paper texture and frosted glass panels */

/* Reset and base variables */
:root{
  --bg-paper: #1b3a1b;
  --bg-texture: rgba(0,0,0,.04);
  --glass: rgba(255,255,255,.14);
  --border: rgba(255,255,255,.35);
  --green-deep: #0e2f14;
  --orange: #ff7a00;
  --orange-dark: #e06600;
  --text: #e8f4e0;
  --glow: 0 0 16px rgba(255, 122, 0, 0.55);
}

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

html, body{ height: 100%; }
body{
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background-color: var(--bg-paper);
  /* Green paper texture (subtle layered gradients) */
  background-image:
    linear-gradient(135deg, rgba(0,0,0,.04) 25%, transparent 25%),
    linear-gradient(225deg, rgba(0,0,0,.04) 25%, transparent 25%),
    linear-gradient(45deg, rgba(0,0,0,.04) 25%, transparent 25%),
    linear-gradient(315deg, rgba(0,0,0,.04) 25%, transparent 25%),
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.08), rgba(255,255,255,0) 40%);
  background-size: 60px 60px, 60px 60px, 60px 60px, 60px 60px, 200px 200px;
  background-position: 0 0, 30px 30px, -30px -30px, 60px -60px, 0 0;
  background-blend-mode: multiply;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  line-height: 1.4;
}

main{
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
}

.image-frame{
  width: min(92vw, 720px);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: .75rem;
  border-radius: 20px;
  background: rgba(255,255,255,.12);
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
  backdrop-filter: blur(6px) saturate(1.1);
  -webkit-backdrop-filter: blur(6px) saturate(1.1);
  overflow: hidden;
  /* Subtle neon edge for hacker vibe */
  outline: 1px solid rgba(0,255,150,.15);
}

.image-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  filter: saturate(1.05);
  /* slight glow when image is loaded to hint futuristic UI */
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.image-frame::after{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  left: 0; top: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 40px rgba(0,255,170,.08);
  mix-blend-mode: screen;
}

/* Frosted glass effect around the hero area for depth */
.hero-glass {
  position: relative;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: inline-block;
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}

/* Footer / CTA area */
footer{
  margin-top: 2rem;
  padding: 1rem;
  display: grid;
  justify-items: center;
  gap: .75rem;
  color: #e6f6da;
  font-size: .95rem;
}

.product-ad{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3{
  margin: 0;
  font-size: 0.95rem;
  color: #ffd08c; /* warm orange-yellow accent */
  letter-spacing: .3px;
  white-space: nowrap;
}

.product-ad a{
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: #ff7a00; /* orange button */
  color: #0b2d0a;        /* dark text for high contrast on orange */
  text-decoration: none;
  font-weight: 900;
  font-size: .95rem;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  transition: transform .15s ease, background .2s ease;
}
.product-ad a:hover,
.product-ad a:focus-visible{
  background: #ff9a22;
  transform: translateY(-1px);
  outline: none;
}
.product-ad a:focus-visible{
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.product-ad a:active{
  transform: translateY(0);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.2);
}

footer p{
  margin: 0;
  color: #dbeecf;
  opacity: .95;
}

/* Focus visibility for global accessibility on keyboard navigation */
:focus-visible{
  outline: 3px solid #7affb8;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks: scale hero for larger screens while preserving mobile-first flow */
@media (min-width: 700px){
  main{
    padding: 2.5rem 2rem;
  }
  .image-frame{
    width: min(820px, 68vw);
    aspect-ratio: 16/9;
  }
  .hero-glass{ padding: 1.25rem; }
  .product-ad h3{ font-size: 1rem; }
}
