/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.6;
  background-color: #f5e0c1;
  /* Beige checkerboard background (light overlay for depth) */
  background-image:
    linear-gradient(45deg, rgba(0,0,0,.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0,0,0,.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0,0,0,.08) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0,0,0,.08) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}

/* Light reset for layout blocks */
header, main, footer { width: 92%; max-width: 1080px; margin: 0 auto; }

/* Frosted glass surface helper (used on sections) */
.glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

/* Header / hero */
header {
  margin: 1rem auto;
  padding: 1rem;
}
header h1 {
  margin: 0 0 .25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: .5px;
  color: #fff;
  text-shadow: 0 0 12px rgba(0, 230, 230, 0.9);
}
header .meta {
  font-size: .85rem;
  color: rgba(255,255,255,.92);
}
header { /* apply frosted glass to header for hacker vibe */ 
  padding: .75rem;
  border-radius: 12px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
@media (min-width: 700px) {
  header { padding: 1rem 1.25rem; }
  header h1 { font-size: 3rem; }
}

/* Featured image block */
.featured-image { margin: 1rem auto; border-radius: 12px; overflow: hidden; }
.featured-image img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); }

/* Article content area */
main { padding: 0 0 1rem; }
article { padding: 1rem; margin: 0.75rem auto; }

/* Paragraphs */
article p { color: #fff; opacity: .95; line-height: 1.75; }

/* Footer / CTA area */
footer { padding: 1rem 0 2rem; text-align: center; }

/* CTA block styled as a prominent card with a pill button */
.product-ad {
  display: inline-block;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.25);
  margin-bottom: .75rem;
}
.product-ad h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.product-ad a {
  display: inline-block;
  padding: .8rem 1.25rem;
  border-radius: 999px;
  background: #0b0b0b;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.5);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:focus-visible { outline: 3px solid #7df2ff; outline-offset: 2px; }
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,.4); }

/* Links accessibility */
a { color: #e9faff; text-decoration: none; }
a:focus-visible { outline: 3px solid #7df2ff; outline-offset: 2px; }

/* Subtle layout helpers on larger screens */
@media (min-width: 980px) {
  header { padding: 1rem 0; }
  article { padding: 1.25rem 1.5rem; }
  .featured-image { border-radius: 16px; }
  .product-ad { padding: 1rem 1.25rem; }
}

/* Ensure images scale nicely on all devices */
img, video { max-width: 100%; height: auto; display: block; }