/* Minimal, responsive, hacker-style CSS with frosted glass and yellow glow */

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

/* Theme tokens */
:root {
  --fg: #ffffff;
  --bg: #0a0a0a;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-edge: rgba(255, 255, 255, 0.25);
  --shadow: rgba(0, 0, 0, 0.6);
  --yellow: #ffd700;
  --radius: 14px;
}

html, body {
  height: 100%;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue";
  color: var(--fg);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Yellow abstract blur background (soft, responsive) */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}
body::before {
  background: radial-gradient(circle at 20% 20%, rgba(255, 223, 0, 0.25) 0 20%, transparent 22%),
              radial-gradient(circle at 75% 60%, rgba(255, 255, 0, 0.20) 0 30%, transparent 32%),
              linear-gradient(#0a0a0a, #0a0a0a);
  filter: saturate(110%);
}
body::after {
  background: radial-gradient(circle at 60% 0%, rgba(255, 255, 255, 0.08) 0 20%, transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(255, 215, 0, 0.08) 0 20%, transparent 40%);
  filter: blur(40px);
  opacity: 0.85;
  mix-blend-mode: screen;
  z-index: -1;
}

/* Layout: mobile-first, flex-centered hero */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  min-height: calc(100vh - 140px);
}

/* Frosted glass image frame (hero) */
.image-frame {
  position: relative;
  width: min(92vw, 720px);
  padding: 1rem;
  border-radius: calc(var(--radius) * 1.2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius) * 1.2);
  box-shadow: 0 0 100px rgba(255, 223, 0, 0.65);
  z-index: -1;
  filter: blur(0);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  image-rendering: auto;
  /* subtle inner glow for hacker vibe */
  box-shadow: inset 0 0 60px rgba(0,0,0,0.25);
}

/* Footer / product ad (CTA area) */
footer {
  padding: 2rem 1rem 3rem;
}

.product-ad {
  width: min(90vw, 520px);
  margin: 0 auto;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: left;
}

.product-ad h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  letter-spacing: .4px;
}
.product-ad a {
  display: inline-block;
  margin-top: .4rem;
  padding: .55rem 1rem;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15);
  transition: transform .15s ease, background .15s ease;
}
.product-ad a:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}
.product-ad a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}
footer p {
  text-align: center;
  color: #cfcfcf;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Focus visibility for accessibility on all interactive elements */
a, button {
  outline: none;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 720px) {
  main {
    padding: 4rem 2rem;
  }
  .image-frame {
    padding: 1.25rem;
  }
}
