:root{
  --bg: #0a1412;
  --bg-2: #0a1f18;
  --text: #eafff5;
  --muted: #bfe8d6;
  --accent: #2af5c0;       /* pastel mint */
  --accent-2: #ff7dcf;     /* pastel pink */
  --card: rgba(255,255,255,0.08);
  --card-strong: rgba(255,255,255,0.14);
  --border: rgba(255,255,255,0.28);
  --shadow: 0 6px 18px rgba(0,0,0,0.25);
  --focus: 0 0 0 3px rgba(42,245,192,0.65);
  --radius: 14px;
}

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

html, body { height: 100%; }

html {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

body {
  margin: 0;
  color: var(--text);
  line-height: 1.5;
  background: 
    linear-gradient(135deg, rgba(6,18,12,0.95) 0%, rgba(12,40,28,0.88) 60%, rgba(6,18,12,0.95) 100%),
    radial-gradient(circle at 20% 20%, rgba(160,255,210,0.18), transparent 40%),
    radial-gradient(circle at 75% 60%, rgba(255,120,180,0.12), transparent 40%);
  background-blend-mode: overlay;
  min-height: 100%;
  position: relative;
  overflow-x: hidden;
}

body::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* subtle noise/scanline texture */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 2px 2px;
  mix-blend-mode: overlay;
  opacity: 0.25;
}

@media (prefers-reduced-motion: reduce){
  body::before { display: none; }
}

header, nav, main, article, aside, footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 1rem 0;
}

header {
  padding: 1rem 0.75rem;
  margin: 1rem auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

header h1 {
  font-size: clamp(1.75rem, 0.8vw + 1rem, 3rem);
  margin: 0 0 .25rem;
  letter-spacing: .2px;
}

header .meta {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 .5rem;
}

nav {
  display: flex;
  align-items: center;
  gap: .5rem;
}

nav a {
  color: var(--accent-2);
  text-decoration: none;
  padding: .25rem .5rem;
  border-radius: 6px;
  transition: transform .2s ease;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
}
nav a:hover { text-decoration: underline; transform: translateY(-1px); }
nav a:focus-visible { outline: none; box-shadow: var(--focus); }

main { padding: 1rem 0; }

.featured-image, .image-frame {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.28);
  margin: 0 0 1rem;
  background: #0b0c0e;
}
.image-frame {
  aspect-ratio: 16/9;
}
.image-frame img, .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* subtle glow for CRT-like feel without heavy shadows */
  filter: saturate(0.98) contrast(1.05);
}

article {
  padding: 0;
  display: block;
}

article h2 {
  font-size: clamp(1.6rem, 0.8vw + 1rem, 2.4rem);
  margin: 0.75rem 0 0.5rem;
}

article h3 {
  font-size: clamp(1.15rem, 0.7vw + 1rem, 1.4rem);
  margin: 0.8rem 0 0.4rem;
}

article p {
  margin: 0 0 1rem;
  color: #eafff0;
}

ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}
li { margin: 0.25rem 0; }

blockquote {
  margin: .75rem 0;
  padding: .5rem 0;
  border-left: 3px solid rgba(122,252,197,.7);
  padding-left: .75rem;
  color: #f6fff3;
  opacity: .95;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.tag {
  display: inline-block;
  padding: .15em .6em;
  font-size: .75rem;
  border-radius: 999px;
  color: #05261a;
  background: rgba(42,245,192,0.25);
  border: 1px solid rgba(42,245,192,.45);
}

p[data-type="note"]{ color: var(--muted); }

.product-ad, .sponsored-page {
  display: block;
  margin: .5rem 0;
}

.product-ad a, .sponsored-page a {
  display: block;
  text-align: center;
  padding: .75rem 1rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: #eafff0;
  text-decoration: none;
}
.product-ad a:hover, .sponsored-page a:hover { text-decoration: underline; }

footer {
  padding: 1rem 0;
  margin-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.0);
}

button, a.btn, .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  text-decoration: none;
  color: #072018;
  background: linear-gradient(135deg, rgba(42,245,192,0.95), rgba(255,125,205,0.95));
  font-weight: 600;
  letter-spacing: .2px;
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
a.btn { text-decoration: none; }
button:hover, a.btn:hover, .cta:hover { transform: translateY(-1px); }
button:focus-visible, a:focus-visible, .cta:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
button.secondary {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.25);
}

@media (min-width: 720px){
  .container { padding: 0 0; }
  header { padding: 1.25rem 1rem; }
}

@media print {
  body { background: #fff; color: #000; }
  header, nav, main, article, footer { background: transparent; color: #000; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce){
  * { animation: none !important; transition: none !important; }
}