/* Reset and base */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
:root {
  --indigo: #4f46e5;
  --indigo-dark: #4338ca;
  --green: #2bd36a;
  --green-neon: #39ff8c;
  --glass: rgba(13,18,40,.65);
  --text: #eaf2ff;
  --muted: #a4b2d3;
  --shadow: 0 6px 18px rgba(0,0,0,.4);
  --radius: 14px;
}
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background-color: #0a0f1e;
  /* Green crosshatch background */
  background-image:
    linear-gradient(45deg, rgba(0,180,70,.25) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0,180,70,.25) 25%, transparent 25%);
  background-position: 0 0, 0 0;
  background-size: 12px 12px;
  background-repeat: repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Focus accessibility */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Layout and frosted glass styling */
header {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 1.25rem;
  text-align: center;
  background: rgba(8,12,28,.55);
  border-bottom: 1px solid rgba(110,140,240,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
header h1 {
  margin: 0 0 .25rem;
  font-size: 1.8rem;
  line-height: 1.15;
  color: #dfeaff;
  letter-spacing: .2px;
  text-shadow: 0 0 12px rgba(79,70,229,.6);
}
header .meta {
  font-size: .85rem;
  color: var(--muted);
}

main {
  padding: 1rem;
  display: grid;
  justify-items: center;
}
article {
  width: 100%;
  max-width: 720px;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(14,18,36,.65);
  color: #eaf2ff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.featured-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(110,140,240,.25);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
p { color: #e7f0ff; opacity:.95; line-height: 1.75; margin: 0 0 1rem; }
article p + p { margin-top: .75rem; }

footer {
  padding: 1.5rem;
  text-align: center;
  color:#d8e6ff;
}
.product-ad {
  display: inline-block;
  background: rgba(20,26,55,.6);
  border: 1px solid rgba(110,140,240,.25);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: inset 0 0 0 rgba(0,0,0,0), 0 12px 28px rgba(0,0,0,.25);
  margin-bottom: 1rem;
}
.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  color: #e4f0ff;
}
.product-ad a {
  display: inline-block;
  padding: .65rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-dark));
  color: white;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}
.product-ad p { margin: 0; color: #dbeaff; }
footer p { margin: .5rem 0 0; opacity:.9; }

/* Responsive tweaks */
@media (min-width: 720px) {
  article { padding: 1.25rem 1.5rem; }
}
@media (min-width: 900px) {
  header h1 { font-size: 2.2rem; }
  article { padding: 1.5rem; }
}