/* Mobile-first, single stylesheet with maroon gradient, yellow accents, frosted glass, and cyberpunk vibe */

/* 1) Light reset & CSS variables */
:root{
  --maroon-1: #5a0000;
  --maroon-2: #2b000a;
  --accent: #ffd600;
  --text: #ffffff;
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.22);
  --nf: 0 0 8px rgba(255,214,0,0.9);
}

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

/* 2) Page reset and accessible colors */
html, body { height: 100%; }
html { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial; }
body {
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(135deg, #400000 0%, #7a001a 40%, #20040a 100%);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration: none; }

/* Focus visibility for accessibility */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* 3) Layout: header-like hero section (image frame) in main, and frosted footer */
body > main { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; padding: 1.25rem; }

/* Frosted glass frame around the image */
.image-frame {
  width: min(92vw, 980px);
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  position: relative;
  display: block;
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  /* subtle cyber hue tweak for vibe */
  filter: saturate(1.05) contrast(1.02);
}

/* Footer acts as frosted panel with a simple product ad pill inside */
footer {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0,0,0,0.28);
  border-top: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.32);
  border: 1px solid rgba(255,255,255,0.22);
}
.product-ad h3 { font-size: 0.95rem; font-weight: 700; color: var(--accent); text-shadow: 0 0 6px rgba(255,214,0,0.7); }
.product-ad a { text-decoration: none; color: inherit; }
.product-ad a p {
  margin: 0;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #ffd900;
  color: #111;
  font-weight: 700;
}
footer p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

/* Optional quick CTA utility (won't affect unless used) */
a.btn, .cta {
  display: inline-block;
  padding: 0.75rem 1.1rem;
  border-radius: 6px;
  background: var(--accent);
  color: #111;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 8px rgba(255,214,0,0.6);
}
a.btn:hover, .cta:hover { transform: translateY(-1px); }

/* 4) Responsive tweaks (mobile-first) */
@media (min-width: 768px) {
  main { padding: 2rem; }
  .image-frame { border-radius: 18px; }
}
@media (min-width: 1024px) {
  footer { flex-direction: row; justify-content: space-between; align-items: center; padding: 1.75rem 2rem; }
  .product-ad { margin-left: auto; }
}
