/* Global reset */
*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
:root {
  --bg-dark: #0b1220;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(180, 230, 255, 0.25);
  --text: #e9feff;
  --muted: #b7c8d8;
  --accent: #2ef0e0;
}
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui;
  line-height: 1.65;
  /* Turquoise sunset gradient with navy cyberpunk overlay */
  background:
    radial-gradient(circle at 15% -10%, rgba(0, 255, 230, 0.25), transparent 25%),
    radial-gradient(circle at 85% 0%, rgba(0, 140, 255, 0.25), transparent 25%),
    linear-gradient(135deg, #041021 0%, #0b1b2b 40%, #0b2540 70%, #041824 100%);
  min-width: 320px;
  min-height: 100vh;
  background-attachment: fixed;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Frosted glass sections with neon glow */
header, footer {
  width: min(92%, 1100px);
  margin: 1rem auto;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: rgba(6, 12, 28, 0.55);
  border: 1px solid rgba(180, 230, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 28px rgba(0,0,0,.35);
}
header { text-align: center; }
header h1 {
  margin: 0.25rem 0 0.5rem;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.15;
  color: #eaffff;
  text-shadow: 0 0 8px rgba(0,255,230,.6);
}
header .meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas;
  font-size: 0.92rem;
  color: #cfe6f7;
  opacity: 0.95;
}

/* Main content as a glassy card for readability on gradient */
main {
  display: block;
  padding: 0 1rem;
}
article {
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(8, 14, 28, 0.55);
  border: 1px solid rgba(120, 240, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #e8faff;
  box-shadow: 0 8px 38px rgba(0,0,0,.45);
}
.featured-image { margin: 1rem 0; }
.featured-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
}
p { color: rgba(232, 249, 255, 0.95); }

/* Footer promo card as a bold CTA area */
footer { padding: 1.5rem 1rem; display: grid; place-items: center; }
.product-ad {
  background: rgba(6, 12, 28, 0.6);
  border: 1px solid rgba(140, 255, 255, 0.35);
  padding: .75rem;
  border-radius: 12px;
  text-align: center;
  width: min(720px, 92%);
  color: #eaffff;
  margin-bottom: 0.75rem;
}
.product-ad h3 {
  font-size: 1.0rem;
  margin: 0 0 0.25rem;
}
.product-ad a {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #041824;
  background: linear-gradient(135deg, #2ef0e0, #0b8bd1);
  border: 0;
  box-shadow: 0 6px 12px rgba(0,0,0,.25);
}
.product-ad a:hover { transform: translateY(-1px); filter: brightness(1.05); }
.product-ad a:focus-visible { outline: 3px solid #7ff0ff; outline-offset: 2px; border-radius: 999px; }

/* Links and interactive focus states for accessibility */
a { color: #91e7ff; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible {
  outline: 3px solid #7df4ff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Mobile-first: typography scaling, spacing tuned for small screens */
@media (min-width: 768px) {
  header, footer { padding: 1.25rem 1.5rem; }
  article { padding: 1.5rem; }
  .product-ad { width: 60%; }
}