html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: 
    linear-gradient(135deg, rgba(8,9,12,0.9) 0%, rgba(18,20,26,0.95) 60%, rgba(8,9,12,0.92) 100%),
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.025) 0 2px, transparent 2px 4px);
  background-attachment: fixed;
  overflow-x: hidden;
}

:root {
  /* Obsidian/gray inspired tokens */
  --bg: #0a0f14;
  --bg-2: #111416;
  --surface: rgba(20, 24, 30, 0.68);
  --surface-2: rgba(255, 255, 255, 0.06);
  --text: #e9eef5;
  --muted: #a8b0c0;
  --border: rgba(255, 255, 255, 0.25);
  --shadow: 0 8px 26px rgba(0,0,0,0.35);
  --radius: 12px;
  --radius-sm: 10px;

  --accent: #5ce0ff;      /* bright cyan for CTAs */
  --accent-2: #8affd1;     /* mint glow for focus */
}

* { box-sizing: border-box; }

body::before {
  /* Subtle layered noise-esque overlay (pure CSS) */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient( circle at 20% -10%, rgba(80,255,230,0.06), transparent 40% ),
    radial-gradient( circle at 80% 0%, rgba(0,80,120,0.06), transparent 40% ),
    linear-gradient(135deg, rgba(0,0,0,0.25), rgba(0,0,0,0.0) 40%  ),
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.025) 0 1px, transparent 1px 2px);
  mix-blend-mode: overlay;
  opacity: 0.8;
  border-radius: 0;
  z-index: -1;
}

.container {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: 1rem;
}

header, main, footer, aside {
  display: block;
}

header {
  padding: clamp(1rem, 2vw, 1.75rem);
  margin: 1rem auto;
  border-radius: var(--radius);
  background: rgba(14, 18, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

header h1 {
  margin: 0 0 .5rem 0;
  font-size: clamp(1.6rem, 1.2rem + 2.5vw, 3rem);
  line-height: 1.15;
  text-align: center;
  letter-spacing: .2px;
  color: var(--text);
}

nav {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: .25rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  padding: .5rem .75rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
  transition: transform .2s ease, background .2s ease;
}
nav a:hover { background: rgba(255,255,255,.08); text-decoration: none; transform: translateY(-1px); }
nav a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

main {
  padding: 1rem 0 2rem;
}

article {
  display: grid;
  justify-items: center;
  align-items: start;
  gap: 1rem;
}

.image-frame {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  background: #000;
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.content {
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(18, 22, 28, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  max-width: 900px;
  width: 100%;
}

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

.card {
  padding: .95rem;
  border-radius: var(--radius);
  background: rgba(24, 28, 38, 0.6);
  border: 1px solid rgba(255,255,255,0.20);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

.tag {
  display: inline-block;
  padding: .25rem .5rem;
  font-size: .75rem;
  border-radius: 999px;
  background: rgba(90, 240, 255, 0.15);
  color: #d8fbff;
  border: 1px solid rgba(90, 240, 255, 0.4);
}

.product-ad {
  margin: 1rem 0 0;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  text-align: center;
  background: rgba(2,6,12,0.6);
  border: 1px solid rgba(90, 240, 255, 0.4);
}
.product-ad a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.product-ad a:hover { text-decoration: underline; }

footer {
  padding: 1rem 0 2rem;
  color: var(--muted);
  text-align: center;
}

footer .sponsored-page {
  margin-top: .75rem;
}
footer p { margin: .25rem 0; }

a, button, .btn, .cta {
  font-family: inherit;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.25);
  padding: .75rem 1.15rem;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  background: rgba(255,255,255,.07);
  display: inline-block;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s;
}
a:hover, button:hover, .btn:hover, .cta:hover {
  text-decoration: underline;
  transform: translateY(-1px);
}
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.btn.primary {
  background: linear-gradient(135deg, rgba(60,210,255,1) 0%, rgba(100,255,230,1) 100%);
  color: #041016;
  border: 1px solid rgba(255,255,255,.65);
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
}
.btn.secondary {
  background: rgba(255,255,255,.08);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.25);
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(138,255,205,.9), rgba(92,224,255,.95));
  color: #041214;
  text-decoration: none;
  border: 0;
}
.cta:hover { filter: saturate(1.05); }

ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; transform: none !important; }
}
@media print {
  html, body { background: #fff; color: #000; }
  header, main, footer { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 720px) {
  header { padding: .9rem; }
  .image-frame { border-radius: 12px; }
  .content { padding: .75rem; }
}
