/* Light reset and a mobile-first, cyberpunk hero CSS with frosted glass and gold accents */

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

/* Theme tokens */
:root {
  --gold: #d3a019;
  --gold-light: #ffd36b;
  --bg-a: #f5e6ce;
  --bg-b: #e9d4a9;
  --glass: rgba(255, 255, 255, 0.16);
  --glass-border: rgba(255, 255, 255, 0.28);
  --text: #2b1f08;
  --shadow: 0 8px 20px rgba(0,0,0,.22);
}

html, body { height: 100%; }

/* Beige radial gradient background + subtle glow for a hacker vibe */
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue";
  color: var(--text);
  min-height: 100%;
  background: radial-gradient(circle at 20% -10%, rgba(255,238,210,0.95) 0%, rgba(253,235,210,0.75) 25%, rgba(246,232,193,0.5) 60%, rgba(240,217,150,0.4) 100%), #f5e8d1;
  background-attachment: fixed;
  line-height: 1.4;
  padding: 2rem 1rem 3rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hero container */
main {
  display: grid;
  place-items: center;
  min-height: 60vh;
  width: 100%;
}

/* Frosted glass image frame (hero) */
.image-frame {
  width: min(92vw, 860px);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

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

/* Footer with a frosted glass product ad (CTA) */
footer {
  margin-top: 28px;
  display: grid;
  place-items: center;
}

.product-ad {
  width: min(420px, 90%);
  padding: 14px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.36);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
}

.product-ad h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #f6e0a6;
  text-shadow: 0 0 6px rgba(0,0,0,.15);
}

.product-ad a {
  display: inline-block;
  text-decoration: none;
}

.product-ad a p {
  display: inline-block;
  margin: 0;
  padding: .6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  color: #1a1409;
  background: linear-gradient(135deg, #ffd76a 0%, #e0a428 100%);
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .15s ease;
}
.product-ad a:hover p {
  transform: translateY(-1px);
}

footer p {
  margin-top: 10px;
  color: #6b5a3c;
  font-size: .9rem;
  text-align: center;
  opacity: .9;
}

/* Focus styles for accessibility */
a, button {
  outline: none;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 2px;
  border-radius: 999px;
}
a:focus, button:focus {
  outline: 2px solid #ffd166;
  outline-offset: 2px;
  border-radius: 999px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 600px) {
  main { padding: 3rem 0; }
  .image-frame { padding: 1.25rem; }
}
@media (min-width: 900px) {
  body { padding: 3rem 2rem; }
  .image-frame { padding: 1.5rem; }
  .product-ad { align-self: end; }
}