/* Cyberpunk brown metallic frosted-glass styling - single stylesheet */

:root{
  --bg-dark: #120f0a;
  --bg-brown: #2a1a0a;
  --surface: rgba(255,255,255,.08);
  --surface-border: rgba(255,255,255,.25);
  --accent: #ff7a1a;
  --accent-dark: #e66a07;
  --text: #e8d7c8;
  --muted: #c8b8a2;
}

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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: var(--bg-dark);
  /* brown metallic sheen with subtle stripes */
  background-image:
    linear-gradient(135deg, rgba(255,140,0,.08) 0 2px, transparent 2px 4px),
    linear-gradient(#2a1a0a, #1a0f0a);
  background-size: auto;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: radial-gradient(circle at 50% -10%, rgba(255,140,0,.08), transparent 40%);
}

.image-frame {
  width: min(92vw, 1000px);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 18px 40px rgba(0,0,0,.5),
              inset 0 1px 0 rgba(255,255,255,.25);
  backdrop-filter: blur(6px) saturate(1.2);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  transform: scale(1.0);
  filter: saturate(1.05);
}

/* Footer with frosted/ad style CTA */
footer {
  padding: 1rem;
  text-align: center;
  color: var(--text);
  background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.4));
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  top: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 0%, rgba(255,140,0,.15), transparent 40%);
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(1px);
}

.product-ad {
  display: inline-block;
  padding: .6rem .8rem;
  border-radius: 12px;
  margin-bottom: .75rem;
  background: rgba(255, 140, 0, 0.15);
  border: 1px solid rgba(255, 140, 0, 0.35);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 14px rgba(255, 120, 0, 0.4);
}

.product-ad h3 {
  font-size: 0.95rem;
  color: #ffd59a;
  margin: 0 0 .25rem;
}

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

.product-ad a p {
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a00, #ff5c00);
  color: #fff;
  font-weight: 700;
  letter-spacing: .2px;
  margin: 0;
  box-shadow: 0 6px 14px rgba(255, 88, 0, .6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a p:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(255, 88, 0, .75);
}
.product-ad a:focus-visible {
  outline: 2px solid #ffd166;
  outline-offset: 2px;
}

.product-ad a:focus {
  outline: none;
}
.product-ad a:focus-visible { outline: 2px solid #ffd166; outline-offset: 2px; }

footer p {
  margin-top: .5rem;
  font-size: .9rem;
  color: var(--muted);
  opacity: .9;
}

/* Links color for accessibility with hover/focus states */
a, a:visited {
  color: #ffb36b;
}
a:hover, a:focus-visible {
  color: #ffd166;
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: none;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; transform: none !important; }
}

/* Responsive tweaks for smaller screens */
@media (max-width: 768px) {
  main { padding: 1.25rem; }
  .image-frame { aspect-ratio: 4 / 3; border-radius: 16px; }
}