/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #e7f9e0;
  background-color: #0b0b0f;
  background-image: radial-gradient(#7a0d0d 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  min-height: 100vh;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: #1fe2a8; text-decoration: none; }

/* Focus accessibility for keyboard users */
:focus-visible { outline: 3px solid #ffd166; outline-offset: 2px; border-radius: 4px; }

/* Color system for hacker/olive cyberpunk theme */
:root {
  --olive: #6b8e23;
  --olive-d: #3b5a12;
  --maroon: #8a0a0a;
  --bg: #0b0b0f;
  --glass: rgba(255,255,255,.08);
  --shadow: 0 20px 40px rgba(0,0,0,.4);
  --text: #e7f9e0;
  --muted: #a6b883;
  --accent: #1fe2a8;
  --radius: 14px;
}

/* Layout: mobile-first hero centered with a dotted maroon background */
main {
  display: grid;
  place-items: center;
  padding: 6vmin 3vmin;
  width: 100%;
}

.image-frame {
  width: min(92vw, 1000px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: var(--shadow);
  backdrop-filter: saturate(1.1) blur(2px);
  transition: transform .5s ease;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .6s ease;
  filter: saturate(1.05) contrast(1.02);
}
.image-frame:hover img { transform: scale(1.08); }

/* Frosted-glass overlay at the bottom of the hero for depth */
.image-frame::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0));
  backdrop-filter: blur(3px);
  pointer-events: none;
}
.image-frame::before {
  content: "";
  position: absolute;
  top: -20px; left: -20px; right: -20px;
  height: 60px;
  background: linear-gradient(135deg, transparent 40%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.25) 60%, transparent 60%);
  filter: blur(2px);
  opacity: .25;
  pointer-events: none;
}

/* Footer with a glassy CTA-like product ad and copyright */
footer {
  padding: 20px 16px;
  text-align: center;
  color: var(--muted);
  background: rgba(10,10,10,.6);
  border-top: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
}
.product-ad {
  display: inline-block;
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(18,28,6,.9), rgba(18,28,6,.75));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 6px 14px rgba(0,0,0,.4);
  margin-bottom: 12px;
}
.product-ad h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: #e9f8cf;
}
.product-ad a { display: inline-block; }
.product-ad a p {
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(#2b3a0f, #1a2b0d);
  color: #e8ffd9;
  border: 1px solid rgba(255,255,255,.22);
  transition: transform .2s ease;
}
.product-ad a:hover p { transform: translateY(-1px); background: linear-gradient(#32400f, #1f2f0a); }
footer p { margin: 8px 0 0; font-size: .9rem; opacity: .85; }

/* Desktop enhancements for larger screens */
@media (min-width: 768px) {
  main { padding: 8vmin 4vmin; }
  .image-frame { border-radius: 22px; }
}
@media (min-width: 1024px) {
  main { padding: 6vmin 6vmin; }
  .image-frame { width: 60vw; }
  footer { padding: 28px 0; }
  .product-ad { font-size: 1.05rem; }
}