/* Minimal reset & color system */
*,
*::before,
*::after { box-sizing: border-box; }
:root {
  --teal: #2ee0c2;
  --teal-dark: #0fb59a;
  --bg-brown-1: #2b140b;
  --bg-brown-2: #5a2b18;
  --text: #e8fff9;
  --muted: #c8e9e0;
  --glass: rgba(255,255,255,.08);
}
html, body { height: 100%; }
body {
  min-height: 100dvh;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background-color: var(--bg-brown-1);
  /* brown crosshatch background (two angled layers) */
  background-image:
    linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)),
    repeating-linear-gradient(45deg, rgba(122,60,24,.65) 0 8px, rgba(122,60,24,.65) 8px, rgba(0,0,0,0) 8px, rgba(0,0,0,0) 16px),
    repeating-linear-gradient(-45deg, rgba(96,38,24,.55) 0 8px, rgba(96,38,24,.55) 8px, rgba(0,0,0,0) 8px, rgba(0,0,0,0) 16px);
  background-blend-mode: overlay;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}

/* Layout: mobile-first hero (image frame) and footer ad */
main {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}
.image-frame {
  position: relative;
  width: min(92vw, 860px);
  padding: 1rem;
  border-radius: 16px;
  background: rgba(8, 18, 14, 0.60); /* frosted glass base */
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  overflow: hidden;
}
.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 2px solid rgba(46,214,198,.75); /* teal glow edge */
  pointer-events: none;
  mix-blend-mode: screen;
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: #000;
  /* subtle image polish for hacker vibe */
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
}
@media (min-width: 640px) {
  .image-frame { width: min(78vw, 860px); padding: 1.25rem; }
}
@media (min-width: 900px) {
  .image-frame { width: min(70vw, 980px); }
}

/* Footer with prominent CTA and cozy cyber aesthetics */
footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0 2rem;
  gap: .75rem;
  background: rgba(0,0,0,.20);
  border-top: 1px solid rgba(0,0,0,.25);
}
.product-ad {
  width: min(92vw, 420px);
  padding: .6rem;
  border-radius: 14px;
  text-align: center;
  background: rgba(2, 20, 18, .60);
  border: 1px solid rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}
.product-ad h3 {
  font-size: 1rem;
  margin: 0.25rem 0;
  color: var(--text);
}
.product-ad a {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: .75rem 1.25rem;
  /* teal hacker CTA button look */
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #06241f;
  font-weight: 800;
  letter-spacing: .2px;
  box-shadow: 0 6px 14px rgba(0,0,0,.4);
}
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.product-ad a:hover { transform: translateY(-1px); }
footer p {
  color: var(--text);
  font-size: .92rem;
  opacity: .95;
  margin: 0.25rem 0;
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Focus management for accessibility on interactive elements */
:focus { outline: 2px solid var(--teal); outline-offset: 2px; }
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }