/* Global reset and color primitives (mobile-first, light) */
:root {
  --bg-maroon: #2b0000;
  --dot: rgba(0, 0, 0, 0.25);
  --teal: #2ee6cf;
  --teal-dark: #1bd1c8;
  --glass: rgba(8, 20, 20, 0.6);
  --text: #eafff5;
  --muted: #bfeee5;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  --border: rgba(46, 230, 212, 0.35);
}

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

html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  color: var(--text);
  background-color: var(--bg-maroon);
  /* Maroon polka dots background (subtle) */
  background-image: radial-gradient(circle, var(--dot) 2px, transparent 2px);
  background-size: 24px 24px;
  line-height: 1.65;
}

/* Frosted glass feel for hero area (header) and content cards */
header {
  padding: 2rem 1rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px) saturate(120%);
  border-bottom: 1px solid rgba(46, 230, 212, 0.35);
  position: sticky;
  top: 0;
  z-index: 10;
}

header h1 {
  margin: 0 0 .25rem;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: .5px;
  color: #eafff6;
  text-shadow: 0 0 8px rgba(46, 230, 212, 0.6);
}

header .meta {
  margin-top: .25rem;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: .92rem;
  color: #cff6f0;
  opacity: .95;
}

/* Main content layout */
main { padding: 1rem; }

article {
  max-width: 860px;
  margin: 1.25rem auto;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(5, 10, 10, 0.55);
  border: 1px solid rgba(46, 230, 212, 0.25);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

/* Featured image treatment */
.featured-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 0 auto 1rem;
}

/* Text content */
p {
  color: #eafff4;
  font-size: 1.05rem;
  line-height: 1.75;
}

a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px dotted rgba(46, 230, 212, 0.5);
}
a:hover,
a:focus {
  color: #9afff0;
  outline: none;
  text-decoration: none;
}
a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-bottom: none;
}

/* First-letter emphasis for class content paragraphs (if used) */
p.content::first-letter {
  font-weight: 800;
  font-size: 1.6em;
  color: #eafff5;
}

/* CTA block in footer (featured product) styled as a prominent button */
footer {
  padding: 2rem 1rem;
  text-align: center;
  color: #bfeee5;
}
.product-ad {
  text-align: center;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(5, 8, 8, 0.5);
  border: 1px solid var(--border);
  margin: 1.75rem auto;
  width: min(92%, 900px);
}
.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  color: #d8fff0;
}
.product-ad a {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0bc6b3 0%, #1bd1cf 100%);
  color: #041b16;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(0,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 8px 16px rgba(0,0,0,.4); }
.product-ad a:focus-visible { outline: 2px solid #2ee6d4; outline-offset: 2px; }

/* Footer note styling */
footer p { margin-top: 0.75rem; font-family: ui-monospace, monospace; color: #a0f3ea; }

/* Responsive tweaks (mobile-first) */
@media (min-width: 768px) {
  header { text-align: left; padding: 3rem 2rem; }
  header h1 { font-size: clamp(2.5rem, 4vw + 1rem, 4rem); }
  main { padding: 2rem 2rem 0; }
  article { margin: 2rem auto; padding: 1.25rem 1.25rem; }
  .product-ad { text-align: center; }
}