/* Minimal reset and a single, responsive stylesheet for a hacker-themed landing page */

:root{
  --neon: #39ff14;
  --neon-dark: #0a7a35;
  --green: #32ff88;
  --green-dim: #0f6a42;
  --bg-deep: #050a07;
  --panel: rgba(8, 28, 12, 0.65);
  --text: #eafff5;
  --muted: #b6f7d1;
  --light: rgba(255,255,255,.15);
  --shadow: 0 10px 30px rgba(0,0,0,.25);
}

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

html, body { height: 100%; padding: 0; margin: 0; }

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  background-color: var(--bg-deep);
  /* orange striped pattern with subtle cyber glow (mobile-first) */
  background-image:
    radial-gradient(circle at 25% 0%, rgba(0,255,110,.08), transparent 40%),
    repeating-linear-gradient(135deg,
      rgba(255, 140, 0, .25) 0px,
      rgba(255, 140, 0, .25) 8px,
      transparent 8px,
      transparent 16px);
  background-blend-mode: overlay;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Frosted glass base panel for content blocks */
.glass {
  background: var(--panel);
  border: 1px solid rgba(0,255,120,.45);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
  padding: .75rem 1rem;
  color: var(--text);
}

/* Layout blocks */
header, main, footer { width: 100%; }

header {
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(110%);
  -webkit-backdrop-filter: saturate(110%);
}

header h1 {
  font-size: 1.15rem;
  margin: 0;
  padding: .35rem .75rem;
  border-radius: 8px;
  color: #eafff0;
  text-shadow: 0 0 10px rgba(0,255,120,.8);
  background: rgba(0,0,0,.25);
  letter-spacing: .02em;
}

/* Main image frame (frosted glass look) */
.image-frame {
  width: min(92vw, 800px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(0,255,120,.4);
  margin: 1rem auto;
  box-shadow: 0 18px 60px rgba(0,0,0,.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: transform .4s ease;
}
.image-frame:hover { transform: scale(1.01); }

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

/* Footer with a featured product ad (glassy card) */
footer {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  border-top: 1px solid rgba(0,255,120,.35);
  background: rgba(4, 8, 4, .45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: .75rem;
  border-radius: 12px;
  max-width: 460px;
  width: 100%;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(0,255,120,.5);
}

.product-ad h3 {
  margin: 0 0 .4rem;
  font-size: 1.05rem;
  color: #eafff0;
  text-shadow: 0 0 8px rgba(0,255,120,.8);
}
.product-ad p {
  margin: 0;
  font-weight: 700;
}
.product-ad a {
  display: inline-block;
  margin-top: .4rem;
  padding: .55rem .9rem;
  border-radius: 8px;
  text-decoration: none;
  color: #041b14;
  background: linear-gradient(135deg, rgba(0,255,120,.8), rgba(0,255,120,.6));
  border: 1px solid rgba(0,255,120,.9);
  transition: transform .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); }

footer p {
  color: #b6f7d1;
  font-size: .92rem;
  margin: 0.25rem 0 0;
}

/* Accessibility: clear focus styles for keyboard nav */
:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive: mobile-first, then scale for larger screens */
@media (min-width: 700px) {
  header h1 { font-size: 1.6rem; }
  .image-frame { border-radius: 18px; }
  .product-ad { flex-direction: row; gap: 1.25rem; align-items: center; }
  footer { padding: 1.25rem; }
}

@media (min-width: 1024px) {
  body { font-size: 16px; }
  .image-frame { width: min(860px, 60vw); }
  header { padding: 1.25rem 0; }
  header h1 { font-size: 2rem; }
}