/* Light reset and single stylesheet for a hacker-themed landing page */
/* Mobile-first, responsive, accessible, frosted glass, brown geometric background */

:root{
  --bg-dark: #0b0b0b;
  --fg: #e8e8e8;
  --muted: #c6c6c6;
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.18);
  --brown-1: #6b4a2a;
  --brown-2: #8b5e34;
  --gray-900: #1e1e1e;
  --shadow: 0 10px 40px rgba(0,0,0,.5);
  --focus: 0 0 0 3px rgba(88, 214, 255, 0.9);
}

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

html, body { height: 100%; }

/* Brown geometric backdrop with gray hacker vibe */
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--fg);
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(circle at 15% 15%, rgba(139,69,19,.25) 0 25px, transparent 26px),
    radial-gradient(circle at 70% 40%, rgba(101,67,33,.25) 0 26px, transparent 27px),
    linear-gradient(135deg, rgba(60,40,28,.8), rgba(18,18,18,.8)),
    linear-gradient(45deg, rgba(90,70,50,.6), rgba(20,20,20,.6));
  background-blend-mode: overlay, overlay, normal, normal;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout scaffolding (mobile-first) */
main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

/* Frosted glass hero frame around the image */
.image-frame {
  width: min(92vw, 720px);
  border-radius: 20px;
  padding: 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* Footer with a glassy product ad panel (CTA) */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  color: var(--muted);
}

/* Glassy CTA panel styling */
.product-ad {
  display: inline-block;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  background: rgba(15, 15, 15, 0.42);
  border: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 0.75rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-ad h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: .2px;
}

.product-ad a {
  text-decoration: none;
  color: inherit;
}

.product-ad a p {
  display: inline-block;
  margin: 0;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(220, 220, 220, 0.22);
  color: #f5f5f5;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.28);
  transition: transform .2s ease;
}

.product-ad a:hover p {
  transform: translateY(-1px);
  background: rgba(235, 235, 235, 0.32);
}

.product-ad a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-color: rgba(100, 200, 255, 0.9);
}

a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}

footer p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Responsive tweaks (desktop/tablet) */
@media (min-width: 640px) {
  .image-frame {
    width: min(72vw, 800px);
  }
}

@media (min-width: 1024px) {
  .image-frame {
    width: min(60vw, 900px);
  }
  footer { padding: 2rem 0; }
}