/* CSS for Cyberpunk Hacker Theme with Frosted Glass, Yellow Waves, Silver UI */

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #0a0e14;
  --silver: #cbd5e1;
  --silver-dark: #94a3b8;
  --text: #e9f0f8;
  --yellow: #ffd400;
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.25);
  --shadow: rgba(0,0,0,.45);
}
html, body { height: 100%; margin: 0; padding: 0; }

/* Page base */
body {
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, Arial, "Helvetica Neue";
  color: var(--text);
  background: #0b0f14;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 70% 0%, rgba(255,255,255,.04), transparent 40%),
                    radial-gradient(circle at 0% 100%, rgba(0,0,0,.25), transparent 40%);
  background-blend-mode: screen;
  position: relative;
  isolation: isolate;
}

/* Yellow waves background (SVG data URL) */
body::before {
  content: "";
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 42vh;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 360' preserveAspectRatio='none'><defs><linearGradient id='g' x1='0' x2='0' y1='0' y2='1'><stop stop-color='%23ffd700' stop-opacity='.9'/><stop offset='1' stop-color='%23ffd700' stop-opacity='0'/></linearGradient></defs><path d='M0,210 C200,180 400,240 800,210 C1200,180 1400,240 1600,210 L1600,360 L0,360 Z' fill='url(%23g)'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  opacity: 0.95;
  z-index: 0;
  pointer-events: none;
  filter: saturate(1.1);
}

/* Layout: mobile-first, hero is the image-frame */
main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1rem 2rem;
}
.image-frame {
  width: min(92vw, 900px);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.image-frame img { display: block; width: 100%; height: auto; }

/* Footer with frosted glass card and CTA */
footer {
  width: 100%;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  color: var(--silver);
}
.product-ad {
  background: rgba(15,18,28,.6);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: .75rem 1rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.product-ad h3 {
  margin: 0 0 .4rem;
  font-size: 1.05rem;
  letter-spacing: .4px;
}
.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  color: #0a0f14;
  background: linear-gradient(135deg, #ffd400 0%, #f6e07d 100%);
  border: 1px solid rgba(0,0,0,.15);
  font-weight: 600;
  min-width: 220px;
}
.product-ad a > p { margin:0; padding:0; color: inherit; font-size: .98rem; }
.product-ad a:hover { filter: brightness(1.04); transform: translateY(-1px); }

/* Accessibility focus styles */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 8px;
}
p { margin: 0; color: #d9e6f4; }

/* Responsive tweaks */
@media (min-width: 768px) {
  main { padding: 6rem 6vw 3rem; }
  .image-frame { width: min(860px, 70vw); }
  footer { padding: 2.5rem 2rem; }
}
@media (min-width: 1024px) {
  main { padding: 8rem 6vw 4rem; }
  .image-frame { border-radius: 20px; }
  .product-ad { padding: 1rem 1.25rem; }
}