/* CSS: Teal waves, magenta hacker-glass style, mobile-first */

/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Global feel: teal waves background with magenta accents */
:root {
  --magenta: #ff2d96;
  --magenta-glow: rgba(255,45,150,.9);
  --teal-dk: #063c3b;
  --teal: #0b6f70;
  --text: #e9fbff;
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.25);
}
body {
  min-height: 100vh;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Inter", "Segoe UI", Roboto;
  line-height: 1.65;
  background: #062f2b;
  /* Teal wave layers (no external assets) */
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0, 255, 200, 0.25), transparent 40%),
    radial-gradient(circle at 80% 25%, rgba(0, 200, 170, 0.25), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(0, 180, 180, 0.15), transparent 50%),
    linear-gradient(135deg, rgba(0,0,0,.25), rgba(0,0,0,0));
  background-blend-mode: screen, screen, overlay, normal;
}

/* Layout containers (mobile-first) */
header {
  padding: 2.25rem 1rem;
  text-align: center;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0 0 18px 18px;
  margin: 0 auto 1rem;
  max-width: 1100px;
}
header h1 {
  margin: 0 0 .5rem;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  letter-spacing: .5px;
  color: #eaffff;
  text-shadow: 0 0 8px rgba(255,0,140,.6);
}
header .meta {
  margin-top: .25rem;
  font-size: .92rem;
  color: rgba(235,255,255,.85);
  letter-spacing: .2px;
}

/* Main content area */
main {
  display: flex;
  justify-content: center;
  padding: 0 1rem 2rem;
}
article {
  width: 100%;
  max-width: 860px;
  padding: 1rem;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.featured-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 1rem 0 0.75rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
}
article p {
  margin: .9rem 0;
  font-size: 1rem;
  color: #eaffff;
}
article h2, article h3 {
  color: #eaffff;
}
article p.lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: #eaffff;
}

/* Footer area with product ad (CTA) */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  background: rgba(2, 20, 20, 0.25);
  border-top: 1px solid rgba(255,255,255,.25);
}
.product-ad {
  text-align: center;
  padding: .9rem;
  max-width: 680px;
  width: 100%;
  border-radius: 12px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
}
.product-ad h3 { margin: 0 0 .6rem; font-size: 1.05rem; }
.product-ad a {
  display: inline-block;
  padding: .75rem 1.15rem;
  border-radius: 999px;
  background: var(--magenta);
  color: #051017;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 0 12px rgba(255,45,150,.8);
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 0 16px rgba(255,45,150,.95); }
.product-ad a:focus-visible {
  outline: 3px solid #00ffd6;
  outline-offset: 2px;
}
footer p {
  color: rgba(235,255,255,.85);
  font-size: .92rem;
  margin: 0;
}

/* Keyboard and accessibility niceties */
a, button {
  color: inherit;
}
a:focus-visible {
  outline: 3px solid #00ffd6;
  outline-offset: 2px;
}

/* Responsive tweaks (tablet/desktop) */
@media (min-width: 768px) {
  header { padding: 3rem 1.5rem; }
  article { padding: 1.25rem 1.25rem; }
  main { padding: 1.75rem 0 2.5rem; }
  .featured-image { margin-top: .25rem; }
}
@media (min-width: 1024px) {
  /* Slightly larger typography for readability on wide screens */
  article p { font-size: 1.02rem; }
  header h1 { font-size: 2.9rem; }
}