/* CSS: Cyberpunk, frosted-glass landing styling (mobile-first) */

/* Reset & base */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #e6e6e6;
  background: #0b0b10;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}
a { color: #e8e8e8; text-decoration: none; }

/* Gold carbon-fiber backdrop (soft, scalable) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  /* woven gold-carbon fiber look */
  background-color: #0b0b10;
  background-image:
    repeating-linear-gradient(-45deg, rgba(212, 175, 55, .12) 0 4px, transparent 4px 8px),
    repeating-linear-gradient( -135deg, rgba(212, 175, 55, .10) 0 4px, transparent 4px 8px),
    linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.25)),
    linear-gradient(#0b0b10, #0b0b10);
  background-size: 20px 20px, 20px 20px, cover, cover;
  mix-blend-mode: normal;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.95), rgba(0,0,0,.0) 70%);
  pointer-events: none;
  filter: saturate(1.1);
}

/* Layout: mobile-first hero region */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem 1.5rem;
  min-height: 60vh;
}

.image-frame {
  position: relative;
  width: 100%;
  max-width: 860px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px;
  padding: 1rem;
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.image-frame:focus { outline: none; }
.image-frame::before {
  content: "";
  position: absolute;
  left: -6px; right: -6px; top: -6px; bottom: -6px;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 0%, rgba(255,215,0,.18), transparent 40%);
  filter: blur(8px);
  z-index: -1;
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  outline: 1px solid rgba(255,255,255,.25);
  background: #111;
}

/* Footer / product ad as frosted glass bar with a CTA */
footer {
  margin-top: 1.5rem;
  padding: 1.5rem;
  text-align: center;
  color: #dcdcdc;
}

.product-ad {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem;
  margin: 0.5rem auto 0;
  width: max-content;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 { margin: 0; font-size: 0.95rem; font-weight: 600; opacity: .95; }
.product-ad a { display: inline-flex; align-items: center; text-decoration: none; }
.product-ad a p {
  margin: 0;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: linear-gradient(#d9d9d9, #bdbdbd);
  color: #111;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:hover p { transform: translateY(-1px); box-shadow: 0 6px 12px rgba(0,0,0,.35); }

/* Accessibility: focus styles for keyboard navigation */
:focus-visible {
  outline: 2px solid #ffd700;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Typography polish for subtle cyberpunk feel */
h1, h2, h3 { letter-spacing: .2px; }
p { margin: 0.5rem 0; }

/* Small-screen refinements for readability */
@media (min-width: 640px) {
  .image-frame { padding: 1.25rem; border-radius: 18px; }
}
@media (min-width: 900px) {
  main { padding: 3rem 2rem 2rem; }
  .image-frame { width: 72%; }
  footer { padding: 2rem 0; }
}
