/* Global reset and base styles (mobile-first) */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.65;
  color: #eaf0ff;
  /* Indigo gradient backdrop for hacker vibe */
  background: linear-gradient(135deg, #0b1020 0%, #1b1442 40%, #0b1020 100%);
  background-attachment: fixed;
  min-height: 100%;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(99,102,241,.15), transparent 40%),
              radial-gradient(circle at 70% 40%, rgba(0,255,255,.08), transparent 40%);
  z-index: -1;
  pointer-events: none;
  filter: saturate(1.05);
}
a { color: #c7d2fe; text-decoration: none; }
a:hover { text-decoration: underline; color: #ffffff; }
a:focus-visible, button:focus-visible { outline: 3px solid #7df9f5; outline-offset: 2px; border-radius: 6px; }

/* Frosted glass feel on top sections */
header {
  margin: 1rem auto;
  padding: 2rem 1rem;
  text-align: center;
  max-width: 1100px;
  border-radius: 14px;
  /* glassy backdrop with indigo tint */
  background: rgba(7, 6, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
header h1 {
  /* neon indigo gradient title */
  font-size: clamp(2rem, 5vw, 3.8rem);
  margin: 0.25rem 0 0.5rem;
  line-height: 1.05;
  background: linear-gradient(135deg, #93c5fd 0%, #a78bfa 40%, #60f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(99,102,241,.6);
}
header .meta {
  font-size: 0.92rem;
  color: #dbe4ff;
  opacity: 0.95;
  margin-top: .25rem;
}

/* Main content container */
main {
  padding: 1rem;
}
article {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  color: #e8eaff;
  line-height: 1.75;
  letter-spacing: .1px;
  /* Frosted look for body text blocks (subtle) */
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}
.featured-image {
  border-radius: 14px;
  overflow: hidden;
  width: min(100%, 900px);
  margin: 1rem auto;
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
}
.featured-image img {
  display: block;
  width: 100%;
  height: auto;
}
p.meta {
  margin: 0.25rem 0 1rem;
  color: #cbd7ff;
  opacity: .95;
}

/* Footer / product ad as a clear CTA block */
footer {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #cbd7ff;
}
.product-ad {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: .75rem;
  width: 100%;
  max-width: 680px;
  margin: 0.75rem auto 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
}
.product-ad h3 {
  margin: 0;
  font-size: 1.05rem;
}
.product-ad a {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
.product-ad a:hover { transform: translateY(-1px); }

/* Small print in footer */
footer p {
  margin: .75rem 0 0;
  font-size: .92rem;
  opacity: .85;
}

/* Responsive tweaks (desktop/tablet) */
@media (min-width: 768px) {
  header { padding: 3rem 1.5rem; }
  article { padding: 1.25rem 0; }
  .featured-image { width: 90%; }
  footer { padding: 2rem 0; }
  .product-ad { flex-direction: row; justify-content: center; align-items: center; }
  .product-ad h3 { margin-right: .5rem; }
}
