/* Minimal reset and CSS for a navy paper, gold-hacker themed landing */

/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  padding: 0;
  color: #f5f0e0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background-color: #0b1020;
  /* navy paper texture: subtle grain + layered gradients to feel like a dark cyber parchment */
  background-image:
    radial-gradient(circle at 20% 0%, rgba(212,175,55,.08) 0 60px, transparent 60px),
    linear-gradient(#0b1020, #070a19 60%, #050812 100%);
  background-size: auto, 100% 100%;
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Focus visibility helpers for accessibility */
:focus { outline: none; }
a:focus-visible {
  outline: 3px solid #ffd700;
  outline-offset: 2px;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Layout: mobile-first, hero-centered */
main {
  width: min(980px, 92vw);
  margin: 0 auto;
  padding: 6rem 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Frosted glass container around the image (hero) */
.image-frame {
  position: relative;
  width: min(800px, 88%);
  padding: 0.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: saturate(1.05);
  /* Subtle neon glow on the image for cyberpunk vibe */
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.image-frame:hover img {
  transform: scale(1.01);
  transition: transform .25s ease;
}
.image-frame::after {
  content: "";
  position: absolute;
  left: -2px; top: -2px; right: -2px; bottom: -2px;
  border-radius: 18px;
  border: 1px solid rgba(0, 180, 255, 0.15);
  pointer-events: none;
  box-shadow: 0 0 22px rgba(0, 180, 255, 0.15);
  mix-blend-mode: screen;
}

/* Footer / product ad (frosted glass card) */
footer {
  width: 100%;
  margin-top: 2rem;
  padding: 2rem 0 3rem;
  text-align: center;
  color: #e9e2c8;
  background: linear-gradient(#0b1020 0%, rgba(11,16,32,0.75) 100%);
}
.product-ad {
  display: inline-block;
  width: min(720px, 92%);
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
}
.product-ad h3 {
  font-size: 1.05rem;
  margin: 0 0 .5rem;
  color: var(--gold, #d4af37);
  text-shadow: 0 0 6px rgba(212,175,55,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.product-ad a { display: block; text-decoration: none; }
.product-ad a p {
  margin: 0;
  padding: .6rem 1rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 700;
  color: #0a0a0a;
  background: linear-gradient(135deg, #ffd86f 0%, #d4af37 100%);
  text-align: center;
  width: 100%;
  box-shadow: 0 6px 14px rgba(212,175,55,.6);
}
.product-ad a:focus-visible { outline: 3px solid #ffd700; outline-offset: 2px; }

/* Small screens: tighten spacing */
@media (max-width: 699px) {
  main { padding: 4rem 0 2rem; }
  .image-frame { width: 92%; }
  footer { padding: 1.5rem 0 2rem; }
  .product-ad { width: 92%; }
}

/* Medium screens: emphasize the hero card look by giving some breathing room */
@media (min-width: 700px) {
  main { padding-top: 8rem; }
  .image-frame { width: 60%; }
}