/* Cyberpunk brown-hacker theme with frosted glass, responsive, accessible */
:root{
  --bg-start:#3a1a0a;
  --bg-end:#0f0704;
  --card: rgba(255,255,255,0.08);
  --card-border: rgba(255,255,255,0.25);
  --text: #f7efe6;
  --muted: #d2c4b5;
  --red: #ff3b3b;
  --red-dark: #e40000;
  --shadow: 0 6px 20px rgba(0,0,0,.45);
  --blur: blur(6px);
}
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  line-height: 1.4;
  background: linear-gradient(135deg, var(--bg-start) 0%, #2b120e 40%, var(--bg-end) 100%);
  /* subtle cyber grid overlay for depth (kept lightweight) */
  background-image:
    linear-gradient(135deg, rgba(255,0,0,.08) 0 1px, transparent 1px 100%),
    linear-gradient(90deg, rgba(255,0,0,.08) 0 1px, transparent 1px 100%);
  background-size: 40px 40px, 40px 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Light reset for all elements inside */
main, header, footer, article { width: 100%; }

/* Frosted glass header as hero */
header {
  position: relative;
  padding: 1.75rem 1rem;
  text-align: center;
  background: rgba(12,6,4,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  z-index: 1;
}
header h1 {
  margin: 0;
  font-size: clamp(1.6rem, 6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: .4px;
  color: #fffaf6;
  text-shadow: 0 0 6px rgba(255,55,55,.6);
}
@media (min-width: 720px){
  header { padding: 2.5rem 1.5rem; }
  header h1 { font-size: clamp(2rem, 4vw + 1rem, 3rem); }
}

/* Main content area (content sits centered, with frosted panels) */
main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
}
article {
  width: min(720px, 92%);
  margin: 1rem 0;
}
.image-frame {
  width: 100%;
  padding: 0.6rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  max-width: 100%;
  object-fit: contain;
  filter: saturate(1.05);
  outline: 1px solid rgba(255,255,255,.12);
}
.footer-spacer { height: 1rem; }

/* Accessible link/button style for CTA-like element in the footer */
footer {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.product-ad {
  width: min(720px, 92%);
  background: rgba(20, 7, 3, 0.55);
  border: 1px solid rgba(255, 120, 120, 0.4);
  border-radius: 14px;
  padding: 1rem 1rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 22px rgba(0,0,0,.45);
}
.product-ad h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  color: #ffe2e2;
  text-shadow: 0 0 6px rgba(255,0,0,.5);
}
.product-ad a {
  display: inline-block;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #ff2a2a 0%, #c80f0f 100%);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 6px 14px rgba(255,0,0,.6);
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(255,0,0,.8); }
.product-ad a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
footer p {
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
}

/* Small utility for focus visibility on all interactive elements */
:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Improve color contrast for dark theme on links etc. */
a { color: #ffd1d1; text-decoration: none; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Ensure layout remains readable on very small screens */
@media (max-width: 420px){
  .product-ad { padding: .95rem; }
  header { padding: 1.4rem 1rem; }
  header h1 { font-size: 1.25rem; }
}