:root{
  --bg: #0a0f1e;
  --bg-2: #0b1a2b;
  --text: #eaffff;
  --muted: #b8c9e6;
  --accent: #00e5c2;
  --accent-2: #1cc9ff;
  --card: rgba(255,255,255,0.08);
  --card-stroke: rgba(255,255,255,0.22);
  --glass: rgba(9,12,22,0.4);
  --shadow: 0 8px 28px rgba(0,0,0,0.25);
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: radial-gradient(circle at 15% 5%, rgba(0, 230, 210, 0.15), transparent 40%),
              radial-gradient(circle at 85% 15%, rgba(0, 130, 255, 0.16), transparent 40%),
              linear-gradient(135deg, #070b1a 0%, #0b1020 60%, #07142c 100%);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-attachment: fixed;
  text-rendering: optimizeLegibility;
}

/* Subtle scanline noise overlay (pure CSS) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(to bottom,
              rgba(255,255,255,0.04) 0 1px,
              transparent 1px 2px);
  mix-blend-mode: overlay;
  opacity: 0.6;
}

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

/* Glass panels with fallback (backdrop-filter where supported) */
header, main, footer {
  margin: 1rem auto;
  padding: 1rem 1rem;
  max-width: clamp(640px, 90vw, 1100px);
  border-radius: var(--radius);
  background: rgba(8,12,28,0.32);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@media (prefers-reduced-motion: reduce){
  header, main, footer { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (print){
  html, body { background: #fff; color: #000; }
  header, main, footer { background: transparent; border: none; box-shadow: none; }
  a { text-decoration: underline; }
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: clamp(640px, 90vw, 1100px);
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--card-stroke);
  border-radius: 12px;
  padding: 0.75rem;
  box-shadow: inset 0 1px rgba(255,255,255,0.04);
}
.tag {
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding: .15em .6em;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(0, 230, 214, 0.15);
  border: 1px solid rgba(0,230,214,0.4);
  color: var(--text);
}
.image-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 6px 22px rgba(0,0,0,0.25);
  background: #000;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.98);
}

/* Typography with responsive sizing */
h1, h2, h3 {
  line-height: 1.08;
  color: var(--text);
  margin: 0 0 0.5rem;
}
h1 { font-size: clamp(1.75rem, 1.2rem + 3vw, 3rem); text-shadow: 0 2px 14px rgba(0, 255, 255, 0.25); }
h2 { font-size: clamp(1.25rem, 0.8rem + 2vw, 2.25rem); }
h3 { font-size: clamp(1rem, 0.6rem + 1.8vw, 1.6rem); }

.meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: block;
}
p { color: rgba(234,246,255,0.95); margin: 0 0 1rem; }

.content {
  color: var(--text);
  font-size: clamp(14px, 0.3vw + 12px, 18px);
  line-height: 1.6;
}
ul {
  margin: 0.75rem 0 1rem 0;
  padding: 0;
}
ul li {
  list-style: none;
  padding-left: 1.25em;
  margin: 0.25rem 0;
  position: relative;
}
ul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.6em; height: 0.6em;
  border-radius: 50%;
  background: var(--accent-2);
}
a, button, .btn, .cta {
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  border: 1px solid transparent;
  background: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
a { color: var(--accent-2); }
a:hover, a:focus-visible { text-decoration: underline; color: #b8f3ff; outline: none; }

.btn {
  background: var(--accent);
  color: #062a25;
  border: 1px solid rgba(0,0,0,0.15);
  padding: 0.65rem 1.2rem;
  font-weight: 600;
  letter-spacing: .2px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, .cta:focus-visible {
  outline: 3px solid #a5f0ff;
  outline-offset: 2px;
}
.cta {
  background: transparent;
  color: var(--accent-2);
  border: 1px solid rgba(28,201,255,0.5);
}
.cta:hover { text-decoration: underline; }

/* Content wrappers to mirror page sections */
.product-ad {
  display: inline-block;
  margin: 0.25rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  background: rgba(8,12,28,0.42);
  border: 1px solid rgba(255,255,255,0.25);
}
.product-ad a { color: var(--text); text-decoration: none; }
.product-ad a:hover { text-decoration: underline; }

/* Structural selectors for provided HTML elements */
html, body, header, nav, main, article, footer, aside { scroll-behavior: smooth; }

/* Print/Accessibility tweaks for readability on print */
@media print {
  body { color: #000; background: #fff; }
  a { text-decoration: underline; }
}
@media (prefers-reduced-motion: reduce){
  animation: none !important;
  transition: none !important;
}

/* Optional: small intro grid if needed in future */
@media (min-width: 720px){
  .container { padding: 0 1.5rem; }
}
