/* Minimal reset and futuristic hacker theme */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --maroon: #3a0f0f;
  --maroon-dark: #2b0b0b;
  --parchment: #f5ecd6;
  --lime: #a6ff4f;
  --lime-dark: #78e000;
  --glass: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.25);
  --text: #f8f2e0;
  --text-dim: #e6d7b8;
  --shadow: 0 10px 25px rgba(0,0,0,.25);
  --shadow-soft: 0 6px 14px rgba(0,0,0,.25);
}

html, body { height: 100%; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #4b0f0f 0%, #2b0b0b 60%, #3a0f0f 100%);
  min-height: 100vh;
  line-height: 1.4;
  position: relative;
  overflow-x: hidden;
}
/* Parchment-like texture hints for maroon background */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 15%, rgba(245, 235, 210, .08) 0 20%, transparent 20%),
    radial-gradient(circle at 70% 60%, rgba(230, 210, 160, .08) 0 28%, transparent 28%);
  mix-blend-mode: screen;
  opacity: 0.95;
}

main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vw 1rem;
  min-height: 60vh;
  position: relative;
  z-index: 1;
}

.image-frame {
  width: min(92vw, 860px);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  outline: 1px solid rgba(255,255,255,.25);
}

footer {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-dim);
  background: linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,0));
  position: relative;
  z-index: 1;
}

.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: min(92vw, 680px);
  margin: .75rem auto 0;
  padding: .95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3 {
  font-size: 1rem;
  margin: 0;
  color: var(--lime);
  text-shadow: 0 0 8px rgba(166, 255, 78, 0.6);
  letter-spacing: .4px;
}

.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 120, 0, 0.95), rgba(40, 180, 40, 0.95));
  color: #041000;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

footer p {
  margin-top: .75rem;
  font-size: .85rem;
  color: #e7d8bf;
}

/* Focus visibility for keyboard users on all links */
a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 640px) {
  main { padding: 8vw 2rem; }
  .image-frame { width: min(80vw, 900px); }
  .product-ad { width: min(64rem, 70vw); }
}

@media (min-width: 1024px) {
  .product-ad h3 { font-size: 1.05rem; }
  footer { padding: 2.5rem 0; }
}