/* Crypto-hacker, maroon circuit board theme with frosted glass, mobile-first */

/* Reset and root vars */
:root {
  --bg: #230909;
  --bg-deep: #170707;
  --fg: #e6f4ff;
  --muted: #cbd5e1;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-stroke: rgba(255, 255, 255, 0.25);
  --cta: #1ef2ff;
  --radius: 14px;
}

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

/* Base layout */
html, body { height: 100%; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial;
  color: var(--fg);
  background-color: var(--bg);
  /* Maroon circuit-board look: subtle grid + neon traces */
  background-image:
    linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)),
    linear-gradient(0deg, rgba(0,0,0,.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.25) 1px, transparent 1px),
    linear-gradient(45deg, rgba(0,255,120,.18) 0, transparent 8px);
  background-size: 100% 100%, 12px 12px, 12px 12px, 40px 40px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  background-blend-mode: overlay;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  width: 100%;
}

/* Frosted glass card for the hero image */
.image-frame {
  width: min(94vw, 860px);
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  padding: 0.75rem;
  background: linear-gradient(to bottom right, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 15px 40px rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
}

.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(1.05) contrast(1.05);
}

/* Footer product ad (frosted glass CTA) */
footer {
  padding: 1.75rem 1rem 2.5rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.product-ad {
  display: inline-block;
  padding: 0.9rem 1.25rem;
  border-radius: 12px;
  background: rgba(0,0,0,.42);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0,0,0,.5);
  text-align: center;
  min-width: 240px;
}
.product-ad h3 {
  font-size: 1rem;
  margin-bottom: .4rem;
  color: #d6ffd8;
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  display: inline-block;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(26,26,26,.75), rgba(0,0,0,.25));
  border: 1px solid rgba(255,255,255,.4);
  color: #eaffff;
  font-weight: 700;
  transition: transform .15s ease;
}
.product-ad a p:hover { transform: translateY(-1px); }
.product-ad a:focus-visible {
  outline: 3px solid #00ffd5;
  outline-offset: 2px;
}
p { color: var(--muted); font-size: .95rem; margin-top: .5rem; }

/* Focus visibility for overall accessibility */
a:focus-visible { outline: 3px solid #00ffd5; outline-offset: 2px; }

/* Responsive tweaks */
@media (min-width: 640px) {
  main { padding: 4rem 2rem; }
  .image-frame { border-radius: 22px; }
}
@media (min-width: 1024px) {
  .image-frame { width: 800px; }
  p { font-size: 1rem; }
  .product-ad { min-width: 300px; padding: 1rem 1.4rem; }
}