/* Dark cyberpunk landing: single, responsive stylesheet */

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

/* 2) Theme variables (accessible colors) */
:root {
  --bg: #0a0a0f;
  --card: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.25);
  --text: #eaeaea;
  --muted: #bebebe;
  --red: #e21b1b;
  --red-dark: #b30f0f;
  --shadow: 0 10px 40px rgba(0,0,0,.35);
}

/* 3) Silver crosshatch background (futuristic cyberpunk feel) */
html, body { height: 100%; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.4;
  /* crosshatch pattern */
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.08) 25%, transparent 25% 75%, rgba(255,255,255,.08) 75%),
    linear-gradient(-45deg, rgba(255,255,255,.08) 25%, transparent 25% 75%, rgba(255,255,255,.08) 75%);
  background-size: 8px 8px;
  background-position: 0 0, 4px 4px;
  background-color: #0a0a0f;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.image-frame {
  width: min(92vw, 1000px);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px) saturate(120%);
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.image-frame:hover { transform: translateY(-2px); }

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  /* subtle neon edge glow for hacker vibe */
  box-shadow: inset 0 0 12px rgba(0,0,0,.25), 0 0 16px rgba(226, 26, 26, .25);
}

/* 5) Footer / CTA styling (prominent, accessible) */
footer {
  text-align: center;
  padding: 1.5rem 1rem;
  color: #e8e8e8;
}

.product-ad {
  display: inline-block;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  /* subtle neon glow around the card */
  box-shadow: 0 6px 22px rgba(0,0,0,.25);
}

.product-ad h3 {
  font-size: 1rem;
  color: #ffdede;
  margin: 0 0 0.5rem;
  text-shadow: 0 0 8px rgba(226, 26, 26, .4);
  letter-spacing: .2px;
  display: block;
}

.product-ad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4b4b 0%, #e60000 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 12px rgba(0,0,0,.25);
}
.product-ad a:hover { filter: brightness(1.04); transform: translateY(-1px); }
.product-ad a:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 2px;
}
.product-ad a p { margin: 0; padding: 0; }

/* 6) Small defaults for text blocks outside product area */
p { color: var(--text); }

/* 7) Responsiveness (tablet/desktop refinements) */
@media (min-width: 720px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 180px); }
  .image-frame { width: min(86vw, 1100px); padding: 1.25rem; border-radius: 20px; }
  .product-ad { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}