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

:root {
  --bg: #0b0a07;
  --brown-1: #6b3f1f;
  --brown-2: #5a3a1c;
  --brown-3: #8a4f1a;
  --yellow: #ffd54a;
  --yellow-dark: #e6b800;
  --text: #e8e0bd;
  --muted: #d4c6a3;
  --glass: rgba(255, 255, 255, 0.16);
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  --focus: 0 0 0 3px rgba(255, 212, 74, 0.75);
}

html, body { height: 100%; }
body {
  min-height: 100dvh;
  font-family: ui-sans-serif, system-ui, -apple-system;
  color: var(--text);
  background: var(--bg);
  display: grid;
  grid-template-rows: 1fr auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Brown low-poly triangles background */
  background-image:
    linear-gradient(60deg, rgba(122, 82, 28, 0.95) 15%, rgba(122,82,28,0) 15%),
    linear-gradient(-60deg, rgba(110, 72, 26, 0.95) 30%, rgba(110,72,26,0) 30%),
    linear-gradient(0deg, rgba(90,60,28,0.95) 10%, rgba(90,60,28,0) 10%);
  background-size: 60px 60px;
  background-position: 0 0, 30px 15px, 60px 0;
  position: relative;
}

/* Hero area (mobile-first) */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: calc(100dvh - 110px);
  background: transparent;
  position: relative;
}
main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -20%, rgba(255, 212, 74, 0.18), transparent 40%);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.8;
}

/* Frosted glass frame around the image (hero) */
.image-frame {
  width: min(92vw, 720px);
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  filter: saturate(1.05);
}
.image-frame:focus-within {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 212, 74, 0.9), 0 12px 34px rgba(0, 0, 0, 0.5);
}

/* Footer with a prominent CTA-like ad */
footer {
  padding: 20px;
  text-align: center;
  color: var(--muted);
  background: #0b0a07;
}
.product-ad {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  margin-bottom: 10px;
}
.product-ad h3 {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--yellow);
  text-shadow: 0 0 8px rgba(255, 213, 74, 0.8);
  letter-spacing: .5px;
  margin: 0 0 8px;
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--yellow) 0%, #f2c400 100%);
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}
.product-ad a p:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}
.product-ad a:focus-visible p {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 212, 74, 0.9);
}
footer p {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 640px) {
  main { padding: 40px; }
  .image-frame { padding: 18px; border-radius: 22px; }
}
@media (min-width: 1024px) {
  main { padding: 60px; }
  .image-frame { width: min(800px, 60vw); }
  .product-ad h3 { font-size: 16px; }
  .product-ad a p { padding: 12px 18px; font-size: 16px; }
}