/* Suburban Hacker Theme: Magenta background with neon green, frosted glass, mobile-first */

/* Light reset */
*, *::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;
  background: #ff00ff; /* magenta background */
  color: #eafff0;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* CSS variables for quick theming */
:root {
  --green: #39ff14;
  --green-soft: #2cff55;
  --txt: #eafff0;
  --glass: rgba(0, 0, 0, 0.35);
  --shadow: 0 10px 28px rgba(0,0,0,.25);
  --radius: 14px;
}

/* Global layout (mobile-first) */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 140px);
}

.image-frame {
  width: min(92vw, 720px);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: stretch;
  justify-content: center;
  border-radius: 18px;
  padding: 0.6rem;
  background: linear-gradient(to bottom right, rgba(0,0,0,.25), rgba(0,0,0,.45));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  filter: saturate(1.05);
}

/* Footer with featured product (CTA) */
footer {
  padding: 1.25rem;
  text-align: center;
  color: var(--txt);
  background: rgba(0,0,0,.08);
  backdrop-filter: blur(2px);
}

.product-ad {
  display: inline-block;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.product-ad h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--green);
  text-shadow: 0 0 6px rgba(57,255,20,.8);
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: rgba(0,0,0,.4);
  color: #eafff0;
  border: 1px solid rgba(57,255,20,.6);
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(57,255,20,.9);
}
.product-ad a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}
p { color: var(--txt); }

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 640px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 60px); }
  .image-frame { width: min(86vw, 860px); }
  footer { padding: 1.75rem; }
}
@media (min-width: 1024px) {
  .image-frame { border-radius: 22px; padding: 0.8rem; }
  .product-ad { margin-top: 0.5rem; }
}