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

:root {
  --bg: #1a1a1a;
  --bg2: #2a2a2a;
  --glass: rgba(18,18,18,.65);
  --text: #e9e9e9;
  --muted: #cbd5e1;
  --line: rgba(180,180,180,.28);
  --accent: #7fe5ff;
}

html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: #171717;
  background-image:
    linear-gradient(rgba(0,0,0,.0), rgba(0,0,0,.0)),
    radial-gradient(circle at 10% 0%, rgba(0,255,255,.05), transparent 40%),
    linear-gradient(#1a1a1a 0, #1f1f1f 100%);
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: rgba(12,12,12,.65);
  backdrop-filter: blur(6px) saturate(120%);
}

header h1 {
  margin: 0.25rem 0 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-shadow: 0 0 6px rgba(0,255,255,.5);
  color: #e9f4ff;
}

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

main {
  padding: 1rem;
}

.featured-image {
  margin: 1rem auto;
  max-width: 860px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,.4);
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

article {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(20,20,20,.62);
  border: 1px solid rgba(200,200,200,.28);
  backdrop-filter: blur(6px) saturate(120%);
  line-height: 1.65;
  color: #e8e8e8;
  box-shadow: 0 8px 40px rgba(0,0,0,.45);
}

article > *:first-child { margin-top: 0; }
article > * { margin-bottom: 1rem; }

p { color: #e8e8e8; }

a { color: #a0e2ff; text-decoration: none; border-bottom: 1px dotted rgba(160,226,255,.6); }
a:hover { color: #e8fbff; border-bottom-style: solid; }

.product-ad {
  display: inline-block;
  padding: .5rem;
  margin: 1rem auto;
  border-radius: 12px;
  background: rgba(20,20,20,.62);
  border: 1px solid rgba(180,180,180,.3);
  backdrop-filter: blur(4px);
  text-align: left;
  max-width: 720px;
}

.product-ad h3 {
  margin: 0 0 .25rem;
  font-size: .95rem;
  font-weight: 600;
  color: #e8f6ff;
}
.product-ad a { text-decoration: none; display: inline-block; }
.product-ad a p {
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: rgba(60,60,60,.8);
  border: 1px solid rgba(180,180,180,.5);
  color: #eaf8ff;
  margin: 0;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover p {
  background: rgba(80,80,80,.95);
  transform: translateY(-1px);
}

footer {
  padding: 1rem;
  text-align: center;
  color: #cbd5e1;
  font-size: .9rem;
  border-top: 1px solid var(--line);
  background: rgba(12,12,12,.6);
  backdrop-filter: blur(2px);
}

@media (min-width: 600px) {
  header h1 { font-size: 1.8rem; }
  article { padding: 1.75rem 2rem; }
  main { padding: 1.5rem 0; }
  .featured-image { margin: 1.25rem auto; }
}

@media (min-width: 900px) {
  article { margin: 2rem auto; padding: 2rem 2.5rem; }
  .featured-image { max-width: 900px; }
}

:focus-visible { outline: 2px solid #6ff; outline-offset: 2px; }