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

html, body { margin: 0; padding: 0; }

:root {
  --olive: #556b2f;
  --olive-soft: #6b8e3a;
  --bg-olive: #0e140f;
  --orange: #ff8c00;
  --orange-dark: #d97706;
  --glass: rgba(9, 14, 9, 0.75);
  --radius: 14px;
  --shadow: 0 10px 28px rgba(0,0,0,.35);
  --neon: 0 0 12px rgba(140, 200, 100, 0.55);
}

body {
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #e8f5e1;
  background-color: #000;
  /* orange checkerboard background */
  background-image:
    linear-gradient(45deg, rgba(255, 140, 0, 0.95) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 140, 0, 0.95) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 140, 0, 0.95) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 140, 0, 0.95) 75%);
  background-size: 22px 22px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  letter-spacing: .2px;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 180px);
}

.image-frame {
  width: min(900px, 92%);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(140, 180, 100, .45);
  background: rgba(5, 10, 5, .25);
  backdrop-filter: blur(2px) saturate(110%);
  -webkit-backdrop-filter: blur(2px) saturate(110%);
  box-shadow: var(--shadow);
  position: relative;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-frame::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(140, 200, 100, .8), transparent);
  animation: scan 3s linear infinite;
}
@keyframes scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

footer {
  padding: 1.25rem;
  text-align: center;
  color: #cbdcc2;
}

.product-ad {
  display: inline-block;
  padding: .75rem;
  border-radius: var(--radius);
  background: rgba(7, 12, 7, .65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(110, 190, 100, .55);
  margin: 0 0 0.75rem;
}

.product-ad h3 {
  margin: 0 0 .25rem;
  font-size: 1.05rem;
  color: #e6ffd5;
  text-shadow: 0 0 6px rgba(140, 200, 100, .4);
}

.product-ad a { text-decoration: none; display: inline-block; }
.product-ad a p {
  margin: 0;
  padding: .55rem 1rem;
  border-radius: 8px;
  background: linear-gradient(#254a16, #0f2d0c);
  color: #eaffdc;
  border: 1px solid rgba(122, 178, 60, .95);
  font-weight: 600;
}

.product-ad a:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 2px;
}

footer p {
  margin: .25rem 0 0;
  color: #cbdcc2;
  font-size: .95rem;
}

/* High-contrast CTA on focus for accessibility */
.product-ad a,
.product-ad a:focus-visible {
  outline: none;
}
.product-ad a:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.6);
  border-radius: 8px;
}

/* Subtle neon hint for hacker vibe on larger screens */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { width: min(980px, 80%); }
  footer { padding: 1.75rem; }
}
