/* Global reset and color tokens */
:root{
  --bg-start: #2b140c;  /* deep brown */
  --bg-mid:   #5a2a1f;  /* sunset brown */
  --bg-end:   #7a2f2d;  /* maroon red */
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.25);
  --text: #f7efe9;
  --muted: #e9d7c8;
  --cta: #b72a2a;
  --cta-dark: #9a1f1f;
  --shadow: 0 20px 40px rgba(0,0,0,.35);
}

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

html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: linear-gradient(135deg,
              var(--bg-start) 0%,
              var(--bg-mid) 40%,
              var(--bg-end) 100%);
  line-height: 1.5;
}

/* Accessible link focus */
a:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 2px;
  border-radius: 4px;
}
a { color: inherit; text-decoration: none; }

/* Layout - mobile-first, responsive */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  min-height: 60vh;
}

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

/* Frosted glass frame around the image */
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.25);
  /* slight neon edge for hacker vibe */
  box-shadow: inset 0 0 10px rgba(0,0,0,.25), 0 0 12px rgba(255,120,120,.18);
}

footer {
  padding: 1.25rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* Frostered glass product ad */
.product-ad {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(30,0,0,0.55);
  border: 1px solid rgba(160,20,20,0.6);
  color: #ffd9d9;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: #ffe6e6;
}
.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #7a1f1a, #a82d2b);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.3);
}

/* Footer copy text */
footer p {
  text-align: center;
  color: #e7d6c6;
  margin: 0;
  font-size: 0.95rem;
}

/* Desktop/tablet adjustments */
@media (min-width: 768px) {
  main { min-height: 70vh; padding: 2rem; }
  .image-frame { padding: 1.25rem; border-radius: 18px; }
  footer { flex-direction: row; align-items: center; justify-content: center; gap: 1rem; }
}