/* Cyberpunk hacker theme - single stylesheet (mobile-first) */

:root{
  --bg-green: #0a3d1a;       /* green solid background */
  --accent-yellow: #ffd81a;   /* yellow accents */
  --yellow-soft: #ffe57a;
  --card: rgba(0,0,0,.28);
  --glass: rgba(255,255,255,.08);
  --glow: 0 0 14px rgba(255, 216, 26, 0.9);
  --text: #e6ffd2;
  --text-dim: #c6ffad;
  --border: rgba(255, 216, 0, 0.35);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial;
  background-color: var(--bg-green);
  color: var(--text);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout: mobile-first, centered hero with frosted image frame */
main {
  display: grid;
  place-items: center;
  min-height: 60vh;
  padding: 2rem 1rem;
}

.image-frame {
  width: min(92vw, 980px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: rgba(0,0,0,.25);
  border: 1px solid var(--border);
  box-shadow:
    0 8px 24px rgba(0,0,0,.45),
    0 0 24px rgba(220, 255, 0, 0.25);
  /* subtle parallax depth hint (no external assets required) */
  transform: translateZ(0);
}

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

/* Frosted glass overlay to achieve frosted edge on the frame */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
  border: 1px solid var(--border);
  pointer-events: none;
  box-shadow: inset 0 0 18px rgba(0, 230, 120, 0.25);
}

/* Footer with a prominent product ad styled as a neo-bright button */
footer {
  padding: 1.75rem 1rem 2rem;
  text-align: center;
  color: #d3ff88;
  background: rgba(0,0,0,.12);
  border-top: 1px solid rgba(255,255,0,.25);
}

.product-ad {
  display: inline-block;
  text-align: left;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,0,.34);
  color: #fff8cc;
  margin-bottom: .75rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

.product-ad h3 {
  margin: 0 0 .5rem 0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--accent-yellow);
  text-shadow: 0 0 8px rgba(255, 216, 0, 0.9);
  font-weight: 700;
  letter-spacing: .5px;
}

.product-ad a { text-decoration: none; color: inherit; }

.product-ad a p {
  margin: 0;
  padding: .5rem 0.75rem;
  border-radius: 8px;
  display: inline-block;
  background: var(--accent-yellow);
  color: #1a2e05;
  font-weight: 900;
  font-family: inherit;
}
.product-ad a:hover p { filter: brightness(1.05); box-shadow: var(--glow); }

a, a:visited { color: var(--accent-yellow); }

a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 216, 0, 0.25);
}

/* Accessibility helpers for better contrast on focus */
:focus { outline: none; }
button, [role="button"] { cursor: pointer; }

/* Responsive adjustments */ 
@media (min-width: 720px) {
  main { padding: 4rem 2rem; }
  .image-frame { width: min(860px, 92vw); }
  footer { padding: 2rem 0 3rem; }
}