:root{
  /* Teal / Green neon inspired palette (tokenized) */
  --bg: #041a1a;
  --bg-2: #061f1d;
  --text: #eafff6;
  --muted: #a2f5da;
  --accent: #2ef1c5;
  --accent-2: #00e07a;
  --glass: rgba(6, 26, 26, 0.22);
  --glass-fallback: rgba(6, 26, 26, 0.60);
  --border: rgba(60, 240, 200, 0.40);
  --shadow: 0 10px 28px rgba(0,0,0,.50);
  --radius: 14px;
  --radius-sm: 10px;
  --focus: 0 0 0 3px rgba(0, 255, 180, .60);
  --tag: rgba(0, 255, 170, 0.25);
  --tag-border: rgba(0,255,170,.45);
}

*,*::before,*::after{box-sizing:border-box}
html, body{height:100%;}

html{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: var(--text);
  background: #040f0f;
  /* Layered background: gradient + subtle scanlines + a touch of noise via gradients */
  background-image:
    radial-gradient(circle at 15% -10%, rgba(0,255,180,.15), transparent 40%),
    linear-gradient(135deg, #041414 0%, #041c1c 50%, #041012 100%),
    repeating-linear-gradient(to bottom, rgba(0,255,170,.04) 0 2px, transparent 2px 4px);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body{
  margin:0;
  min-height:100%;
  display:flex;
  flex-direction:column;
  background: transparent;
}

/* Layout helpers */
.container{ max-width: clamp(320px, 90vw, 1100px); padding: 0 1rem; margin: 0 auto; width: 100%; }
.grid{ display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Glass panel (with backdrop-filter) + fallback */
.glass{
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@supports not ((backdrop-filter: blur(12px)) || (-webkit-backdrop-filter: blur(12px))){
  .glass{ background: var(--glass-fallback); }
}

/* Global element styles to satisfy selector requirements */
html, body, header, nav, main, article, footer, aside{
  /* structural defaults are handled via typography below */
}
a{ color: inherit; text-decoration: none; }
a:focus-visible{ outline: none; box-shadow: var(--focus); outline-offset: 2px; text-decoration: underline; }
a:hover{text-decoration: underline; }

/* Typography (fluid) */
h1{ font-size: clamp(1.8rem, 4vw + 1rem, 3.8rem); line-height: 1.05; margin: 0 0 .5rem; letter-spacing:.5px; color: #eafff0; text-shadow: 0 0 12px rgba(0,255,180,.5);}
h2{ font-size: clamp(1.25rem, 2.5vw + .8rem, 2.25rem); margin: .75rem 0 .5rem; color: #cafff0; }
p{ font-size: clamp(0.95rem, 1.4vw + .6rem, 1.15rem); line-height: 1.55; color: #eafff5; margin: .5rem 0 1rem; }
blockquote{ margin: .5rem 0 1rem; padding: .75rem 1rem; border-left: 3px solid #2ef1c5; color: #eafff6; background: rgba(2,28,28,.25); border-radius: 8px; }

/* Header */
header{ text-align:center; padding: 2rem 1rem 1.25rem; }
header h1{ margin-top:.25rem; text-transform: none; }
header .meta{ color: #a7e6d9; font-size: .92rem; opacity:.95; }

/* Main content layout */
main{ flex:1; display:flex; align-items: stretch; }
article{ padding: 1rem; display:flex; flex-direction:column; gap: .75rem; }

/* Image frame styling (used by .image-frame in other pages) */
.image-frame{ aspect-ratio: 16/9; width: 100%; overflow:hidden; border-radius: var(--radius); border: 1px solid rgba(0,255,180,.40); box-shadow: inset 0 0 12px rgba(0,0,0,.25); }
.image-frame img{ width:100%; height:100%; object-fit: cover; display:block; }

/* Featured image placeholder container (kept for consistency with provided HTML) */
.featured-image{ width:100%; display:block; border-radius: var(--radius); overflow:hidden; }

/* Content wrapper (glass panels for readability) */
.content{ padding: 0.25rem; }

/* Product ad / footer blocks as glass panels with CTA */
.product-ad{ display:flex; justify-content:center; align-items:center; padding: .75rem; }
.product-ad a{ display:flex; align-items:center; justify-content:center; width:100%; padding: .75rem; border-radius: 999px; background: linear-gradient(#0c7a63, #0a6a54); color: #001e11; font-weight:600; border: 1px solid rgba(0,255,180,.6); text-align:center; }
.product-ad a:hover{ filter: brightness(1.05); transform: translateY(-1px); }
.product-ad p{ margin:0; }

/* Sponsored page blocks */
.sponsored-page{ display:flex; justify-content:center; padding: .75rem; }
.sponsored-page a{ display:block; width:100%; text-align:center; padding:.75rem; border-radius: 999px; background: linear-gradient(#1a1a1a, #0f0f0f); color: #d9ffea; border:1px solid rgba(90,255,210,.5); }

/* Card / utility glass for content chips */
.card{ background: var(--glass); border:1px solid var(--border); border-radius: var(--radius-sm); padding: .75rem; }

/* Tag / chips */
.tag{ display:inline-block; padding:.15em .55em; font-size:.78rem; border-radius:999px; border:1px solid var(--tag-border); background: var(--tag); color:#dffdf2; }

/* Unordered list styling */
ul{ padding-left: 1.25rem; margin: .25rem 0 1rem; }
li{ margin: .25rem 0; }

/* Layout tools */
.nav{ display:flex; justify-content:space-between; align-items:center; gap: .5rem; padding: .75rem 1rem; }

/* Footer spacing */
footer{ padding: 1rem; margin-top:auto; }

/* Accessibility: high-contrast tweaks for glass backgrounds */
@media (prefers-color-scheme: light){
  :root{
    --bg: #f0f6f4;
    --bg-2: #e8fbf6;
    --text: #0a2b26;
    --muted: #2b4d44;
    --accent: #0bbf93;
    --accent-2: #0a7e6a;
    --glass: rgba(255,255,255,.60);
    --glass-fallback: rgba(255,255,255,.92);
    --border: rgba(0,0,0,.15);
    --shadow: 0 6px 16px rgba(0,0,0,.08);
    --focus: 0 0 0 3px rgba(0, 120, 70, .6);
  }
  body{ color: var(--text); background: #f7fbf9; background-image: none; }
  header{ border-bottom: 1px solid rgba(0,0,0,.08); }
  .glass{ background: rgba(255,255,255,.85); }
}
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}
@media print{
  body{ background: #fff; color:#000; }
  a{ text-decoration: underline; }
}
</style>