/* Reset & root variables */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg-deep: #04131a;
  --bg-mid:  #071b24;
  --cyan:   #00e5ff;
  --cyan-dark:#00b6d9;
  --gold:   #f5d24a;
  --gold-dark:#d4a629;
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.28);
  --text:   #eaffff;
  --muted:  #b8f0ff;
  --shadow: 0 20px 40px rgba(0,0,0,.35);
  --radius: 14px;
}

/* Light, accessible base */
html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  background: linear-gradient(#031018, #021018 60%, #021018);
  /* cyan waves backdrop (layered gradients) */
  background-image:
    radial-gradient(circle at 20% 0%, rgba(0,255,255,.25) 0 40%, transparent 40%),
    radial-gradient(circle at 80% 12%, rgba(0,0,0,.15) 0 40%, transparent 40%),
    linear-gradient(#031018, #021018);
  background-size: cover;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

/* Subtle cyan waves animation overlay */
body::before {
  content: "";
  position: fixed;
  left: -5vw; right: -5vw; bottom: -5vh;
  height: 60vh;
  background: radial-gradient(circle at 60% 40%, rgba(0,255,255,.25) 0 25%, transparent 25%),
              radial-gradient(circle at 40% 70%, rgba(255,223,0,.18) 0 25%, transparent 25%);
  filter: blur(0.5px);
  pointer-events: none;
  z-index: 0;
  animation: waveMove 14s ease-in-out infinite;
}
@keyframes waveMove {
  0% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(-8px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.9; }
}

/* Layout: mobile-first hero area centered */
main {
  position: relative;
  z-index: 1;
  min-height: 66vh;
  display: grid;
  place-items: center;
  padding: 6rem 1rem 2rem;
  text-align: center;
}

/* Frosted glass frame around image (hero emphasis) */
.image-frame {
  width: min(92vw, 720px);
  padding: 1.25rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  margin: 0 auto;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  /* subtle edge glow for hacker vibe */
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
}

/* Footer: product ad as frosted card with prominent CTA */
footer {
  padding: 2rem 1rem 4rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.product-ad {
  display: inline-block;
  padding: .65rem 0.9rem;
  border-radius: 12px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 0.75rem;
  transition: transform .2s ease;
}
.product-ad h3 {
  margin: 0 0 .25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas;
  font-size: 1rem;
  letter-spacing: .5px;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .5rem .9rem;
  border-radius: 8px;
  color: #041817;
  background: var(--gold);
  border: 1px solid rgba(0,0,0,.15);
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); background: #ffd75a; }
.product-ad a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
footer p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: .92rem;
}

/* Responsive tweaks: */
@media (min-width: 768px) {
  main { padding: 10rem 2rem 4rem; }
  .image-frame { width: min(760px, 70vw); }
  footer { padding: 2.5rem 2rem 4rem; }
}
