/* Theme Tokens */
:root{
  --bg: #000000;
  --bg-2: #0a0f14;
  --text: #e6fffe;
  --muted: #a6f0ee;
  --accent: #2ff6ff;
  --accent-2: #00e5c4;
  --glass: rgba(8,16,24,0.22);
  --glass-border: rgba(0,255,255,0.40);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --card: rgba(8,16,24,0.28);
  --card-border: rgba(0,255,255,0.35);
}

/* Base / Layout */
html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", sans-serif; color-scheme: dark; }
* { box-sizing: border-box; }

body {
  margin: 0;
  background: linear-gradient(135deg, #000 0%, #041018 60%, #000 100%), #000;
  min-height: 100%;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  /* subtle layered pattern: gradient + grid scanlines (pure CSS) */
  background-image:
    linear-gradient(rgba(0,255,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,235,0.04) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}
.main-wrap { position: relative; z-index: 1; }

/* Utility & components */
.container { width: min(1100px, 92vw); margin-inline: auto; padding: 0 0.5rem; }

.grid { display: grid; gap: 1rem; }

.card { background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: .75rem; color: var(--text); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* Section and typography */
header { display: grid; place-items: center; padding: 2.5rem 1rem; margin: 0.5rem auto; }
header h1 { font-size: clamp(1.6rem, 2vw + 1rem, 3rem); line-height: 1.15; margin: 0; text-align: center; color: var(--text); letter-spacing: .04em; }

/* Glass panels (fallback included) */
.glass { background: rgba(8,16,24,0.18); border: 1px solid rgba(0,255,255,0.25); border-radius: 14px; padding: 1rem; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.no-backdrop { background: rgba(8,16,24,0.28); border: 1px solid rgba(0,255,255,0.4); }

/* Image frame */
.image-frame { aspect-ratio: 16/9; width: 100%; display: block; overflow: hidden; border-radius: 14px; border: 1px solid rgba(0,255,255,0.5); box-shadow: 0 10px 40px rgba(0,0,0,.4); background: #001; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Main content */
main { padding: 1rem 0 2rem; }
.article { max-width: 1100px; margin: 0 auto; padding: 0 0.5rem; }

/* Content blocks & utilities */
.content { max-width: 64ch; color: var(--text); }

/* Links & buttons */
a, button, .btn, .cta { color: var(--text); text-decoration: none; outline: none; border: none; background: none; font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
a:hover { text-decoration: underline; color: var(--accent); }

/* Buttons variants */
.btn, .cta {
  padding: .75rem 1.15rem;
  border-radius: 8px;
  font-weight: 700;
  display: inline-block;
  border: 1px solid rgba(0,255,255,0.5);
  background: linear-gradient(135deg, rgba(0,240,235,0.95), rgba(0,180,180,0.95));
  color: #001b1b;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
.btn.secondary, .cta.secondary { background: transparent; color: var(--text); border: 1px solid rgba(0,255,255,0.5); }

/* Product list / tags */
.tag { display: inline-block; padding: .25rem .5rem; border-radius: 999px; font-size: .75rem; background: rgba(0,255,235,0.22); color: #eaffff; border: 1px solid rgba(0,255,235,0.4); }

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

/* Footer / ads */
footer { padding: 1.5rem 0; display: grid; gap: 1rem; justify-items: center; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,.2)); }
.product-ad a, .sponsored-page a { display: inline-flex; align-items: center; justify-content: center; padding: .6rem 1rem; border-radius: 999px; text-wrap: balance; }
.product-ad a { background: rgba(0,255,235,0.15); border: 1px solid rgba(0,255,235,0.4); }
.sponsored-page a { background: rgba(0,0,0,0.0); border: 1px solid rgba(255,255,255,0.25); }

/* Image sizing for responsive h1/text scaling */
@media (min-width: 900px) {
  .image-frame { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .image-frame { transform: none !important; }
}

/* Print readability */
@media print {
  body { background: #fff; color: #000; }
  .glass { backdrop-filter: none; background: #fff; border-color: #ccc; }
}

/* Typography scale & base size */
:root { --base: 1rem; }
@media (min-width: 600px) { :root { --base: 1.125rem; } }
@media (min-width: 900px) { :root { --base: 1.125rem; } }

/* End */