/* Minimal reset and responsive hacker-theme stylesheet */
:root {
  --bg-teal: #0b2a2a;
  --lime: #aaff00;
  --lime-soft: rgba(170,255,0,.25);
  --glass: rgba(255,255,255,.08);
  --border: rgba(0,255,180,.65);
}
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  color: #eafff0;
  background-color: var(--bg-teal);
  /* Teal carbon-fiber feel with subtle grid lines */
  background-image:
    linear-gradient(135deg, rgba(0,0,0,.28) 25%, transparent 25%),
    linear-gradient(225deg, rgba(0,0,0,.28) 25%, transparent 25%),
    linear-gradient(45deg, rgba(0,0,0,.28) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0,0,0,.28) 25%, transparent 25%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 0, 0 8px, 8px -8px;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.image-frame {
  width: min(92vw, 980px);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  box-shadow: 0 8px 40px rgba(0,0,0,.45);
  position: relative;
  overflow: hidden;
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.image-frame:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  box-shadow: inset 0 0 0 2px rgba(170,255,0,.25);
  pointer-events: none;
}

footer {
  padding: 1.25rem;
  text-align: center;
  color: #d4ffd3;
  background: linear-gradient(to top, rgba(4,4,4,.0), rgba(4,4,4,.25));
}

.product-ad {
  display: inline-block;
  padding: .6rem .9rem;
  border-radius: 12px;
  background: rgba(0,0,0,.25);
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.product-ad h3 {
  font-size: 1rem;
  color: var(--lime);
  font-weight: 700;
  margin: 0 0 .4rem;
}
.product-ad a { text-decoration: none; color: inherit; display: inline-block; }
.product-ad a p {
  margin: 0;
  padding: .45rem .8rem;
  border-radius: 8px;
  color: #062b1a;
  background: #baff52;
  font-weight: 700;
  display: inline-block;
}
.product-ad a:focus-visible, .product-ad a:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 8px;
}
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }

@media (min-width: 600px) {
  main { padding: 3rem; }
  .image-frame { border-radius: 20px; padding: 1.5rem; }
  .product-ad h3 { font-size: 1.05rem; }
}