/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial; }
body {
  margin: 0;
  color: #e9dccb;
  background: linear-gradient(135deg, rgba(0,0,0,.25), rgba(0,0,0,0) 40%),
              linear-gradient(#0b1f1a 0%, #0b2a26 60%),
              radial-gradient(circle at 20% -10%, rgba(0, 214, 190, .25), transparent 40%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* Theme vars (teal metallic + brown hacker vibe) */
:root {
  --teal: #26e0bb;
  --teal-dark: #0f7d73;
  --brown: #7a5a3c;
  --brown-dark: #3e2a1a;
  --card: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.18);
  --text: #e9dccb;
  --muted: #b4a18a;
  --focus: #9fffe0;
}

/* Layout: mobile-first hero area */
main {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 5vh 2rem 2rem;
}

/* Frosted glass image frame (hero) */
.image-frame {
  width: min(92vw, 760px);
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12),
              0 20px 50px rgba(0,0,0,.25);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  display: grid;
  place-items: center;
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,.5);
  filter: saturate(1.05);
}

/* Footer with CTA (prominent) */
footer {
  margin-top: auto;
  padding: 1.25rem 1rem;
  background: linear-gradient(180deg, rgba(8,16,14,.92), rgba(8,16,14,.82) 60%, rgba(8,16,14,.92));
  border-top: 1px solid rgba(0,0,0,.25);
}
.product-ad {
  margin: 0 auto;
  max-width: 720px;
  padding: .75rem;
  border-radius: 12px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.16);
  text-align: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.product-ad h3 {
  margin: 0 0 .4rem;
  font-size: 1rem;
  letter-spacing: .04em;
  color: #e8f8f0;
}
.product-ad a {
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2b2322 0%, #5a3a2c 100%);
  color: #f4efe9;
  border: 1px solid rgba(255,255,255,.25);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,.5); }
.product-ad a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
footer p {
  text-align: center;
  font-size: .9rem;
  color: var(--muted);
  margin: .75rem 0 0;
}

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

/* Small-screen & up tweaks */
@media (min-width: 768px) {
  main { padding: 6vh 0 3rem; }
}
@media (min-width: 1024px) {
  .image-frame { width: 680px; padding: 1.75rem; }
  footer { padding: 2rem 0; }
}