/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: #e9e3d0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background: #0b0b14;
  /* Gold galaxy starscape (soft, accessible contrast) */
  background-image:
    radial-gradient(circle at 20% 10%, rgba(212,175,55,.25) 0 2px, transparent 2px),
    radial-gradient(circle at 75% 40%, rgba(255,215,70,.22) 0 2px, transparent 2px),
    radial-gradient(circle at 50% 70%, rgba(255,223,131,.15) 0 2px, transparent 2px),
    linear-gradient(#0b0b14 0%, #0b0b14 100%);
  background-size: 100px 100px, 140px 140px, 180px 180px, 100% 100%;
  background-attachment: fixed, fixed, fixed, scroll;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: .2px;
  line-height: 1.4;
  overflow-x: hidden;
  position: relative;
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
body::before {
  /* extra gold specks layer */
  background-image:
    radial-gradient(circle at 25% 20%, rgba(212,175,55,.22) 0 2px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(212,175,55,.18) 0 2px, transparent 2px),
    radial-gradient(circle at 40% 75%, rgba(255,223,131,.15) 0 2px, transparent 2px);
  background-size: 80px 80px, 120px 120px, 100px 100px;
  animation: drift 60s linear infinite;
  opacity: .9;
}
body::after {
  /* subtle glow layer for hacker vibe */
  background: radial-gradient(circle at 50% 50%, rgba(255,214,102,.15) 0 40%, transparent 40%);
  mix-blend-mode: screen;
  animation: glow 90s linear infinite;
  opacity: .6;
}
@keyframes drift { to { transform: translateY(-20px); } }
@keyframes glow { to { filter: brightness(1.05); } }

/* Theme tokens (gold + cyberpunk) */
:root {
  --bg: #0b0b14;
  --surface: rgba(255,255,255,.08);
  --surface-strong: rgba(255,255,255,.15);
  --gold: #d4af37;
  --gold-dark: #b4871a;
  --text: #f7efe1;
  --muted: #cdbb94;
  --glass: rgba(255,255,255,.08);
  --shadow: 0 8px 28px rgba(0,0,0,.35);
  --glow: 0 0 12px rgba(212,175,55,.9);
}
a { color: #ffd3a5; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Layout */
.header, .footer {
  width: 100%;
  background: rgba(10,10,20,.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(212,175,55,.25);
  border-bottom: 1px solid rgba(212,175,55,.25);
}
header {
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
header h1 {
  font-family: inherit;
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin: 0.25rem auto 0.75rem;
  letter-spacing: .4px;
  /* neon gold gradient text for hacker vibe */
  background: linear-gradient(90deg, #ffd76a 0%, #ffd147 40%, #f6c34d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 12px rgba(212,175,55,.6);
}
.main { padding: 1rem; display: grid; place-items: center; }
.image-frame {
  width: min(680px, 92%);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.image-frame img { width: 100%; height: auto; display: block; border-radius: 12px; }

/* Frosted glass look for hero area (applies to header and any glass cards) */
.section-glass {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

/* CTA styling (prominent, accessible) */
.btn, .cta {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  background: linear-gradient(#ffd76a, #f2b100);
  color: #0b0b0b;
  box-shadow: 0 6px 14px rgba(212,175,55,.6);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(212,175,55,.75); }
.btn.secondary {
  background: rgba(255,255,255,.12);
  color: #fbe9c2;
  text-shadow: 0 0 6px rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.btn.secondary:hover { background: rgba(255,255,255,.18); }

/* Footer / product ad (prominent CTA area) */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  color: #efe1c8;
  background: rgba(10,10,20,.42);
  border-top: 1px solid rgba(212,175,55,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.product-ad {
  display: inline-block;
  padding: .5rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(212,175,55,.25);
  margin-bottom: .75rem;
}
.product-ad h3 { font-size: .95rem; margin: 0 0 .25rem; color: #ffd88a; }
.product-ad a { display: inline-block; text-decoration: none; }
.product-ad a p {
  margin: 0;
  padding: .4rem 1rem;
  border-radius: 999px;
  background: linear-gradient(#ffd76a, #f2b000);
  color: #1a1207;
  font-weight: 700;
}
.product-ad a:hover p { filter: brightness(1.05); }

/* Responsive tweaks (mobile-first) */
@media (min-width: 600px) {
  header { padding: 2.5rem 1.5rem; }
  header h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
  .image-frame { width: 70%; }
}
@media (min-width: 900px) {
  .image-frame { width: 60%; }
  footer { padding: 2rem 1.5rem; }
}
