* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark: #0b0f14;
  --glass: rgba(255,255,255,.08);
  --glass-border: rgba(255,255,255,.25);
  --text: #e9e4f8;
  --muted: #cbd5e1;
  --mag: #ff2ecb;
  --mag-dark: #e600ff;
  --shadow: 0 8px 24px rgba(0,0,0,.25);
}

html, body { height: 100%; }

body {
  min-height: 100vh;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.6;
  background: #0b0f14;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(192,192,192,.25) 0 30%, rgba(192,192,192,0) 40%),
    radial-gradient(circle at 90% 10%, rgba(255,0,170,.25) 0 30%, rgba(0,0,0,0) 40%);
  background-size: cover;
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 2rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: .9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.28);
  backdrop-filter: saturate(1.2) blur(6px);
}

header h1 {
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: .4px;
  text-shadow: 0 0 6px rgba(255,0,170,.9), 0 0 12px rgba(255,0,170,.6);
}

header .meta {
  color: var(--muted);
  font-size: .9rem;
  margin-top: .25rem;
}

main {
  width: min(1000px, 92%);
  margin: 1rem auto;
  padding: 0 0.5rem;
}

article {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 14px;
  padding: 1rem;
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  box-shadow: var(--shadow);
}

.featured-image { text-align: center; margin: .6rem 0 1rem; }
.featured-image img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
}

article p {
  color: #e8e9f7;
  font-size: 1rem;
  letter-spacing: .2px;
  text-wrap: pretty;
}

footer {
  width: min(1000px, 92%);
  margin: 1.2rem auto 0;
  padding: 0 0.5rem;
}

.product-ad {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: .9rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
}
.product-ad h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.product-ad a {
  align-self: flex-start;
  display: inline-block;
  padding: .75rem 1.15rem;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  background: linear-gradient(135deg, #ff3d88, #d600b4);
  box-shadow: 0 6px 18px rgba(255,0,180,.6);
}
.product-ad a:hover { filter: brightness(1.05); transform: translateY(-1px); }
.product-ad a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
footer p {
  text-align: center;
  color: #93a0b5;
  font-size: .85rem;
  padding: .5rem 0;
}

/* Responsive, mobile-first tweaks */
@media (min-width: 640px) {
  header { padding: 1rem 1.25rem; }
  header h1 { font-size: 2rem; }
  main { width: min(1000px, 92%); }
  .product-ad { padding: 1rem; }
}
@media (min-width: 1024px) {
  main { width: min(1000px, 92%); }
  article { padding: 1.25rem; }
  header h1 { font-size: 2.4rem; }
}
