:root{
  --bg: #120611;              /* deep matter black */
  --bg-2: #2a0f24;            /* deep plum */
  --text: #e9dfff;             /* high-contrast light text on dark glass */
  --muted: #c6aee6;
  --surface: rgba(98,0,120,.24);       /* glass surface */
  --surface-2: rgba(110,0,120,.28);    /* glass surface variant */
  --border: rgba(255,255,255,.26);
  --shadow: 0 10px 28px rgba(0,0,0,.38);
  --accent: #b56aff;            /* primary action color */
  --accent-2: #68f0ff;           /* secondary accent */
  --card: rgba(255,255,255,.08);
  --radius: 12px;
}
*,*::before,*::after{box-sizing:border-box}
html, body{height:100%}
html{
  background: 
    linear-gradient(135deg, var(--bg-2) 0%, var(--bg) 60%, #000 100%);
  background-blend-mode: overlay, normal;
  background-image:
    linear-gradient(135deg, rgba(0,0,0,.6), rgba(0,0,0,.9)),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.03) 0 1px, transparent 1px 2px);
}
body{
  margin:0;
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  font-size: clamp(14px, 2.2vw, 16px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height:100%;
  display:flex;
  flex-direction:column;
}
a{ color:var(--accent); text-decoration:none; }
a:hover{ text-decoration:underline; color:var(--accent-2); }
a:focus-visible, button:focus-visible{ outline:2px solid #fff; outline-offset:2px; border-radius:6px; }
header, nav, main, article, aside, footer{ display:block; }

header{
  position: sticky;
  top:0;
  z-index: 10;
  padding: 1rem 0;
  background: linear-gradient(to bottom, rgba(12,0,40,.28), rgba(12,0,40,.20) 60%, rgba(12,0,40,.0));
  border-bottom:1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
header h1{
  font-size: clamp(1.4rem, 4vw, 2.25rem);
  line-height:1.08;
  margin:0 0 .25rem;
  font-weight:800;
  letter-spacing:.2px;
  color:var(--text);
}
header .meta{
  font-size: .85rem;
  color:var(--muted);
  margin:0 0 .75rem;
}
nav a{
  display:inline-flex;
  align-items:center;
  gap:.4em;
  padding:.4rem .75rem;
  border-radius:999px;
  color:var(--text);
  border:1px solid rgba(255,255,255,.28);
  background: rgba(0,0,0,.18);
}
.main-shell{ flex:1 }

.container{
  width: min(92%, 1200px);
  margin: 0 auto;
  padding: 1rem;
}
.main{ padding: 1.25rem 0 2rem; }
.grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1rem; }

.article{ 
  background: rgba(18,0,40,.28);
  border:1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.image-frame, .featured-image{
  width:100%;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.28);
  background:#000;
  display:block;
}
.image-frame{ aspect-ratio:16/9; }
.image-frame img, .featured-image img{ width:100%; height:100%; object-fit:cover; display:block; }
.content{ padding: .5rem 0 0; color:var(--text); }

.product-ad{ display:block; padding:.75rem; border-radius:12px; background: rgba(0,0,0,.28); border:1px solid rgba(255,255,255,.28); box-shadow: var(--shadow); }
.product-ad a{ display:flex; align-items:center; justify-content:flex-start; padding:0; text-decoration:none; color:var(--text); }
.product-ad p{ margin:0; padding:.25rem 0; font-weight:600; }

ul, li{ margin: .4rem 0; padding:0 0 0 1.1rem; }
li{ line-height:1.45; }

.btn, .cta, .btn-outline, a.btn{ display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  padding:.6rem 1rem; border-radius:999px; font-weight:700; border:1px solid rgba(255,255,255,.28);
  color:#fff; text-decoration:none; background: rgba(0,0,0,.25);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn{ background: rgba(181,106,255,.32); color:#fff; border-color: rgba(255,255,255,.4); }
.btn:hover{ transform: translateY(-1px); background: rgba(181,106,255,.48); }
.btn:active{ transform: translateY(0); }
.btn-outline{ background: transparent; border-color: rgba(181,106,255,.9); color:var(--text); }
.btn-outline:hover{ background: rgba(181,106,255,.18); }
.cta{ background: rgba(104,240,255,.28); border-color: rgba(104,240,255,.6); }
.cta:hover{ background: rgba(104,240,255,.44); }
.btn:focus-visible, .btn-outline:focus-visible, .cta:focus-visible{ outline:2px solid #fff; outline-offset:2px; }

.tag{ display:inline-block; padding:.15em .5em; border-radius:999px; font-size:.75rem; background: rgba(181,106,255,.28); color:#fff; }

.content p{ margin:0 0 1rem; }

blockquote{ margin: .5rem 0 1rem; padding: .5rem 1rem; border-left: 3px solid rgba(255,255,255,.4); background: rgba(0,0,0,.15); border-radius:8px; }

.sr{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; animation: none !important; }
}

@media print{
  body{ background: #fff; color:#000; }
  header, nav, footer{ display:none; }
}
@supports not (backdrop-filter: blur()){
  /* fallback if backdrop-filter unsupported: boost contrast for readability */
  :root{ --surface: rgba(80,0,120,.28); }
  header{ background: rgba(12,0,40,.4); }
  .article{ background: rgba(18,0,40,.36); }
}