/* Reset and base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

/* Theme variables (olive hacker + orange cyberpunk) */
:root {
  --olive-900: #2e3a1a;
  --olive-700: #405a1b;
  --olive-500: #6b8a2d;
  --olive-300: #a6bf37;
  --orange: #ff8c2b;
  --bg-dark: #0b0f0a;
  --fg: #eaf6e4;
  --glass: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.22);
  --shadow: 0 10px 25px rgba(0,0,0,.45);
  --focus: 0 0 0 4px rgba(255, 140, 0, 0.65);
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--fg);
  background:
    radial-gradient(circle at 15% 0%, rgba(255,140,0,.25) 0%, rgba(255,140,0,.15) 25%, transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(64, 98, 22,.25) 0%, rgba(64, 98, 22,.12) 25%, transparent 40%),
    #0a0f0a;
  background-blend-mode: screen, multiply, normal;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */
main {
  display: grid;
  place-items: center;
  padding: 1.25rem 1rem;
}

.image-frame {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.25);
  box-shadow: var(--shadow);
  position: relative;
  isolation: isolate;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02) 60%);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  pointer-events: none;
  mix-blend-mode: screen;
}

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

/* Frosted glass vibe for the frame edge / glow handled via ::after above */

/* Footer / CTA area (accessible, prominent) */
footer {
  padding: 1rem;
  text-align: center;
}

.product-ad {
  display: inline-block;
  padding: 0.75rem 1rem;
  margin: 0.75rem auto 0.5rem;
  border-radius: 12px;
  background: rgba(12, 20, 10, 0.54);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #eaf7e7;
  letter-spacing: .2px;
  margin-bottom: .25rem;
}
.product-ad a {
  color: #eaf7e7;
  text-decoration: none;
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,140,0,.5), rgba(255,140,0,0.95));
  border: 1px solid rgba(255,255,255,.25);
  font-weight: 700;
  transition: transform .15s ease;
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

footer p {
  color: #b7d1b1;
  font-size: .9rem;
  margin-top: .25rem;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 768px) {
  main { padding: 2.5rem 0; }
  .image-frame { border-radius: 24px; }
  .product-ad { padding: 0.9rem 1.2rem; }
  .product-ad h3 { font-size: 1rem; }
}