:root {
  --maroon: #7a001a;
  --yellow: #ffd400;
  --yellow-soft: #fff1a8;
  --bg-base: #200c0c;
}

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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #f5f5f5;
  background-color: var(--bg-base);
  /* yellow crosshatch + maroon hacker vibe */
  background-image:
    linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
    repeating-linear-gradient(45deg, rgba(255,213,0,.25) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(-45deg, rgba(255,213,0,.25) 0 2px, transparent 2px 6px);
  background-blend-mode: multiply;
  background-attachment: fixed;
  background-size: cover;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 1.5rem;
}

.image-frame {
  width: min(92vw, 760px);
  padding: 1.25rem;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

footer {
  text-align: center;
  padding: 1.75rem 1rem;
  color: #e8e0e0;
}

.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  margin: 0 auto 0.75rem;
  border-radius: 12px;
  background: rgba(123, 0, 0, .25);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(2px);
}

.product-ad h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--yellow);
  letter-spacing: .4px;
}

.product-ad a {
  display: inline-block;
  text-decoration: none;
  padding: .85rem 1.6rem;
  border-radius: 12px;
  background: var(--yellow);
  color: #210000;
  font-weight: 700;
  border: 0;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  transition: transform .15s ease, box-shadow .2s ease;
}

.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,.3);
}

.product-ad a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

footer p {
  margin: .25rem 0 0;
  font-size: .9rem;
  color: #e6e6e6;
  opacity: .95;
}

/* Mobile-first responsiveness */
@media (min-width: 600px) {
  main { min-height: 70vh; padding: 2rem; }
  .image-frame { padding: 1.75rem; border-radius: 26px; }
  .product-ad { flex-direction: row; gap: 1rem; align-items: center; }
}

@media (min-width: 1024px) {
  main { padding: 3rem; }
  .image-frame { transform: translateZ(0); }
  footer { padding-bottom: 2rem; }
  .product-ad h3 { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}