/* CSS for Hacker/Cyberpunk landing with indigo crosshatch and frosted glass */

:root{
  --bg-indigo: #0b1021;
  --indigo-deep: #1b1b5d;
  --glass: rgba(255,255,255,.08);
  --glass-border: rgba(255,255,255,.25);
  --yellow: #ffd400;
  --text: #e8e6a7;
  --muted: #b9b5a9;
  --shadow: 0 10px 40px rgba(0,0,0,.35);
  --radius: 14px;
}

*,
*::before,
*::after{ box-sizing: border-box; }

html, body { height: 100%; }

body{
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: #f8f8d0;
  background: var(--bg-indigo);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  line-height: 1.45;
  /* Indigo crosshatch background */
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 213, 0, .08) 0 2px, transparent 2px 10px),
    repeating-linear-gradient(-45deg, rgba(60, 0, 100, .08) 0 2px, transparent 2px 10px),
    linear-gradient(#0b1021, #0b1021);
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle frosted-glass backdrop for content blocks */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  padding: 1rem;
  color: #fff;
}

/* Layout container */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
  width: 100%;
}
.image-frame {
  width: min(94vw, 980px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  /* frosted glass halo */
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

/* Footer + product ad styling */
footer {
  margin-top: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.product-ad {
  width: min(92vw, 720px);
  text-align: center;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #fff;
}
.product-ad a {
  text-decoration: none;
}
.product-ad a p {
  margin: 0;
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--yellow);
  color: #1a1a1a;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .15s ease;
}
.product-ad a:hover p { transform: translateY(-1px); }
.product-ad a:focus-visible p {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.product-ad a:focus { outline: none; }

/* Focus styles for accessibility on links/buttons elsewhere */
a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Global text colors for readability on dark background */
h1, h2, h3, h4 { color: #fff; }
p { color: #e9e5b0; }

/* Responsive adjustments (mobile-first) */
@media (min-width: 640px){
  .image-frame { border-radius: 24px; }
  .product-ad { padding: 18px 22px; }
}
@media (min-width: 1024px){
  main { padding: 2rem 0; }
  .image-frame { width: min(980px, 70vw); }
  .product-ad { padding: 20px 28px; }
  .product-ad h3 { font-size: 1.05rem; }
}
