:root {
  --bg: #021018;
  --bg-2: #04131d;
  --text: #eafff5;
  --muted: #93f2db;
  --accent: #39ff14;
  --accent-2: #1ee6d9;
  --card: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.25);
  --shadow: 0 8px 28px rgba(0,0,0,.25);
  --radius: 12px;
  --focus: 2px solid var(--accent);
}
html, body { height: 100%; }
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: clamp(14px, 1.3vw + 12px, 16px);
  line-height: 1.55;
  background:
    radial-gradient(circle at 15% 0%, rgba(57,255,140,.25), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(30,230,217,.25), transparent 40%),
    linear-gradient(135deg, #031018 0%, #05131d 60%, #041018 100%),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 2px);
  background-blend-mode: screen, screen, normal, overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }

header, main, footer, aside {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem auto;
  max-width: clamp(320px, 90vw, 1100px);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
header { text-align: center; }
header h1 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); margin: 0.25rem 0 0.5rem; color: var(--text); }
header .meta { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.5rem; }

nav { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-top: .25rem; }
nav a { color: var(--accent-2); text-decoration: none; padding: .25rem .6rem; border-radius: 6px; }
nav a:hover, nav a:focus { text-decoration: underline; color: #bffffa; outline: none; }

main { padding: 0 1rem; }
article { margin: 0 auto; max-width: clamp(320px, 90vw, 900px); color: var(--text); }
.featured-image { margin: 0.75rem 0 0; }
.image-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 22px rgba(0, 255, 170, 0.35);
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin: .5rem 0 0.25rem; color: var(--text); }
h3 { font-size: 1.05rem; margin: .6rem 0 0.25rem; color: var(--text); }

ul { padding-left: 1.25rem; margin: .25rem 0 1rem; }
li { margin: .25rem 0; }

.content { color: var(--text); }

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .75rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

/* Utility & components */
.tag {
  display: inline-block;
  padding: .25rem .6rem;
  font-size: .75rem;
  border-radius: 999px;
  background: rgba(57,255,140,.18);
  color: #dffce7;
  border: 1px solid rgba(57,255,140,.35);
}
.product-ad, .sponsored-page { padding: .75rem; border-radius: 10px; background: rgba(0,0,0,.22); text-align: center; }
.product-ad a, .sponsored-page a { display: inline-flex; align-items: center; justify-content: center; padding: .6rem 1rem; border-radius: 8px; color: var(--text); text-decoration: none; border: 1px solid rgba(255,255,255,.28); background: rgba(0,0,0,.25); }

/* Buttons & links */
a, button, .btn, .cta {
  font-family: inherit;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  padding: .65rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.btn {
  background: linear-gradient(135deg, rgba(57,255,140,0.95), rgba(0,208,208,0.95));
  color: #062b1b;
  border: 1px solid rgba(255,255,255,.3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.btn:active { transform: translateY(0); }
.btn.secondary { background: rgba(255,255,255,.14); color: var(--text); border: 1px solid rgba(255,255,255,.4); }

a.cta {
  background: linear-gradient(135deg, rgba(0,255,170,.9), rgba(20,231,224,.9));
  color: #062b1b;
  padding: .75rem 1.2rem;
  border: 1px solid rgba(255,255,255,.25);
  text-decoration: none;
}
a.cta:hover { filter: brightness(1.04); }

/* Focus & accessibility */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Helpers for accessibility & motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Print styles (basic readability) */
@media print {
  body { background: #fff; color: #000; }
  header, main, footer, aside { background: transparent; border: none; box-shadow: none; }
  a { text-decoration: underline; }
}
