/* Minimal reset & mobile-first, hacker/cyberpunk aesthetic with frosted glass */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --bg: #0b0b0b;
  --card: rgba(255,255,255,.08);
  --card-strong: rgba(255,255,255,.14);
  --text: #eaeef7;
  --accent: #ff8a00;
  --shadow: 0 10px 28px rgba(0,0,0,.35);
}
html, body { margin: 0; padding: 0; color: var(--text); background: var(--bg); }

/* orange carbon fiber-like background (light weave) */
body {
  background-color: #0b0b0b;
  background-image:
    linear-gradient(135deg, rgba(255,140,0,.20) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255,140,0,.20) 25%, transparent 25%),
    linear-gradient(45deg, rgba(0,0,0,.18), rgba(0,0,0,.18) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(0,0,0,.18), rgba(0,0,0,.18) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 18px 18px, 18px 18px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

/* frosted glass helper */
.frost { 
  background: var(--card);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

/* layout containers */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem 2rem;
  width: 100%;
}
.image-frame {
  width: min(92vw, 860px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(1.05) contrast(1.05);
}

/* footer area with frosted ad card and copyright */
footer {
  margin-top: auto;
  padding: 1rem 1rem 2rem;
  display: flex;
  justify-content: center;
}
.product-ad {
  width: min(92vw, 700px);
  padding: 1rem;
  text-align: center;
}
.product-ad h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
}
.product-ad a {
  color: inherit;
  text-decoration: none;
}
.product-ad > a { display: inline-flex; width: 100%; justify-content: center; }
.product-ad > a > p {
  margin: 0;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  color: #0b0b0b;
  background: #ffffff;
}
.footer-copy {
  text-align: center;
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: #d8d8d8;
  opacity: 0.92;
}

/* accessibility: focus visibility for keyboard users */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* responsive tweaks (desktop tweaks) */
@media (min-width: 768px) {
  main { padding: 5rem 2rem 2rem; }
  .image-frame { border-radius: 22px; }
  .product-ad { padding: 1.25rem; }
  .product-ad h3 { font-size: 1.15rem; }
}
