/* Global reset and base styles (mobile-first) */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background-color: #6a0dad; /* violet solid background */
  color: #eaffff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessible link focus */
a:focus-visible { outline: 3px solid rgba(46, 230, 208, 0.95); outline-offset: 2px; border-radius: 4px; }

/* Tiny UI reset for margins on text elements */
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0 0 .5rem; }

/* Glassy, hacker-cyber look container */
.glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  color: #eaffff;
}

/* Layout wrappers */
header { padding: 1rem 0; text-align: center; }
.main, main { display: block; }
main { padding: 0 0.5rem; }
footer { padding: 1rem 0.5rem; text-align: center; }

/* Header hero styling */
.header-hero { max-width: 900px; margin: 0 auto; }
header .title {
  font-family: ui-sans-serif, system-ui;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: .5px;
  color: #eaffff;
  text-shadow: 0 0 8px rgba(46, 230, 208, .6);
}
.header-meta {
  margin-top: .25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92rem;
  opacity: .9;
}

/* Featured image */
.featured-image { margin: .75rem auto; width: 100%; max-width: 900px; }
.featured-image img { width: 100%; height: auto; display: block; border-radius: 12px; }

/* Main article area (frosted glass look) */
article {
  max-width: 900px;
  margin: 0.75rem auto;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #eaffff;
}

/* Inline typography tweaks for the long narrative */
article p { font-size: 1rem; letter-spacing: .15px; }

/* First letter styling for p.content as required (if used) */
p.content::first-letter {
  font-weight: 700;
  font-size: 1.6em;
  color: #fff;
  letter-spacing: .5px;
}

/* CTA styling in the footer product-ad area */
.product-ad { margin: 0.75rem auto 0; padding: 0.75rem; max-width: 900px; }
.product-ad h3 {
  margin: 0 0 .5rem;
  color: #aaffff;
  font-size: 1.05rem;
}
.product-ad a {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 8px;
  background: rgba(46, 230, 208, 0.95); /* turquoise button */
  color: #041a1b;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
  transition: transform .15s ease;
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus-visible { outline: 3px solid rgba(46, 230, 208, 0.95); outline-offset: 2px; }

/* Small helper color accents for cyberpunk vibe */
.neon { color: #aaffff; text-shadow: 0 0 6px rgba(46,230,208,.9); }

/* Responsive adjustments (mobile-first) */
@media (min-width: 600px) {
  .header-hero { padding: 0 1rem; }
  header { padding: 1.25rem 0; }
  header .title { font-size: 2rem; }
  article { padding: 1.25rem; }
}
@media (min-width: 900px) {
  header { padding: 1.5rem 0; }
  .header-hero { margin: 0 auto; }
  header .title { font-size: 2.25rem; }
  main { padding: 0; }
}
