/* Minimal reset and cyan-carbon-fiber hacker theme with frosted glass */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brown: #8b5a2a;
  --brown-dark: #6d4426;
  --text: #e6f4f0;
  --muted: #cbd6d0;
  --glass: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.25);
  --shadow: 0 10px 28px rgba(0,0,0,.35);
  --radius: 14px;
}

/* Cyan carbon-fiber background with frosted glow */
html, body { height: 100%; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: #0a2b2f;
  background-image:
    linear-gradient(45deg, rgba(0,0,0,.18) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0,0,0,.18) 25%, transparent 25%),
    repeating-linear-gradient(135deg, rgba(0,255,255,.08) 0 10px, rgba(0,0,0,0) 10px 20px),
    repeating-linear-gradient(45deg, rgba(0,255,255,.08) 0 10px, rgba(0,0,0,0) 10px 20px);
  background-blend-mode: overlay;
}

/* Layout helpers (mobile-first) */
main { display: grid; place-items: center; padding: 20px; min-height: 72vh; }

/* Frosted glass holder around the image (hero) */
.image-frame {
  width: min(92vw, 760px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  /* Frosted glass effect on the frame surface */
}
.image-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  pointer-events: none;
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  /* keep the image crisp in a hacker-style UI */
  filter: saturate(1.05) contrast(1.05);
}

/* Footer / product ad with prominent CTA button (glass look) */
footer {
  padding: 16px;
  display: grid;
  justify-items: center;
  width: 100%;
}
.product-ad {
  width: min(92vw, 760px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(10, 26, 26, 0.6);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  font-size: 1rem;
  margin: 0;
  color: #e6fff9;
  display: flex; align-items: center; gap: 8px;
}
.product-ad a {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #f7fff8;
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.product-ad a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.product-ad a:hover { transform: translateY(-1px); }

/* Ensure small screen readability */
@media (min-width: 600px) {
  main { padding: 32px; min-height: 78vh; }
  .image-frame { width: min(70vw, 860px); }
  footer { padding: 24px 0; }
}
@media (min-width: 980px) {
  .image-frame { border-radius: 22px; }
  .product-ad { grid-template-columns: auto auto; }
  .product-ad h3 { white-space: nowrap; }
}