/* Minimal, accessible, mobile-first hacker theme with frosted glass */

/* Light reset */
* { box-sizing: border-box; }
html, body { padding: 0; margin: 0; }

/* Palette and helpers */
:root {
  --bg1: #2b1f0a;       /* brown base */
  --bg2: #4b2a15;       /* brown shadow */
  --bg3: #2b0a2b;       /* purple depth */
  --fg: #eae0f8;
  --glass: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.25);
  --accent: #b36eff;
  --glow: 0 6px 14px rgba(179, 110, 255, 0.8);
}

/* Global surface */
body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--fg);
  background: linear-gradient(135deg, var(--bg1) 0%, var(--bg2) 50%, var(--bg3) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout is mobile-first; center the hero image */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

/* Frosted-glass framed image (hero) */
.image-frame {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16/9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.25);
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Frosted glass overlay for cyberpunk feel */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(255,255,255,.08), rgba(255,255,255,.02));
  backdrop-filter: blur(6px);
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Footer and product ad styling (neon-ish, accessible) */
footer {
  padding: 1rem;
  text-align: center;
}

.product-ad {
  display: inline-block;
  padding: .5rem .9rem;
  border-radius: 999px;
  background: rgba(18, 12, 60, 0.6);
  border: 1px solid rgba(170, 120, 255, 0.4);
  backdrop-filter: blur(6px);
  margin-bottom: .5rem;
}

.product-ad h3 {
  margin: 0 0 .25rem;
  font-size: 0.95rem;
  color: #e8d9ff;
  text-shadow: 0 0 6px rgba(176, 92, 255, 0.95);
}

.product-ad a {
  color: #d6d0ff;
  text-decoration: none;
}
.product-ad a:hover { text-decoration: underline; }

footer p {
  font-size: .9rem;
  color: #d8c6ff;
  margin: .6rem 0 0;
}

/* Generic CTA style (prominent on hacker theme) */
.btn, button {
  display: inline-block;
  padding: .7rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(170,120,255,.6);
  background: linear-gradient(135deg, rgba(176,92,255,.95), rgba(106,16,255,.85));
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: var(--glow);
}
.btn:hover, button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(106,16,255,.9);
}
.btn:focus, button:focus {
  outline: 3px solid rgba(182,122,255,.9);
  outline-offset: 2px;
}
a, button { color: inherit; }

/* Small adjustments for larger screens (still mobile-first) */
@media (min-width: 768px) {
  main { padding: 3rem; }
  .image-frame { border-radius: 22px; }
  .product-ad { padding: .6rem 1rem; font-size: 1rem; }
}