/* Ghostly, hacker-themed CSS - single, responsive, accessible, frosted-glass style */

:root {
  --bg: #2b2b2b;
  --panel: rgba(245, 238, 225, 0.15);
  --beige: #e9dcc3;
  --beige-dark: #d6c8a6;
  --text: #efe6d4;
  --text-soft: #f6efe0;
  --accent: #84f0ff;
  --radius: 14px;
  --shadow: 0 10px 26px rgba(0,0,0,.32);
}

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

html, body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: #2b2b2b;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI";
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Light reset for consistent rendering */
a { color: inherit; text-decoration: none; }

main {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.04), transparent 40%),
              linear-gradient(#2b2b2b, #2b2b2b);
}

/* Frosted-glass image frame (hero) */
.image-frame {
  width: min(92vw, 1000px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  padding: 1rem;
  display: grid;
  place-items: center;
  background: rgba(245, 238, 225, 0.08);
  border: 1px solid rgba(230, 210, 180, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  filter: saturate(1.05);
  background: #111;
}

/* Footer with featured product (CTA) */
footer {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-soft);
  background: #111;
}

/* Glassy ad card with a prominent CTA */
.product-ad {
  display: inline-block;
  text-align: left;
  width: min(92vw, 720px);
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 245, 230, 0.15);
  border: 1px solid rgba(234, 214, 180, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin: 0 auto 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: 1.02rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.product-ad a {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7e7c6 0%, #eacfa0 100%);
  color: #1b120f;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.15);
  transition: transform .15s ease, box-shadow .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,.25); }

.product-ad a:focus-visible {
  outline: 3px solid rgba(132, 210, 255, 0.95);
  outline-offset: 2px;
}

.product-ad p {
  margin: .25rem 0 0;
  font-size: .95rem;
  color: var(--text-soft);
}

footer p {
  margin: .5rem 0 0;
  font-size: .85rem;
  color: #b9a992;
}

/* Responsive tweaks: mobile-first, scale up for larger screens */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; min-height: 70vh; }
  .image-frame { width: 70vw; }
  .product-ad { display: block; }
}