/* Core */
:root {
  --bg: #0a0f12;
  --bg-2: #111a18;
  --text: #eafaf0;
  --muted: #c6e4d9;
  --accent: #7ee29a;      /* pastel green */
  --accent-2: #8e2b3a;    /* maroon accent */
  --card: rgba(255,255,255,0.08);
  --card-border: rgba(255,255,255,0.25);
  --shadow: 0 6px 20px rgba(0,0,0,.25);
  --radius: 14px;
  --focus: 0 0 0 3px rgba(126, 226, 154, 0.6);
  --maxw: clamp(320px, 90vw, 1100px);
}
html, body {
  height: 100%;
}
html, body, header, nav, main, article, footer, aside {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }
html, body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif; }

/* Layout & Background */
html, body {
  min-height: 100%;
}
body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(10, 15, 12, 0.9), rgba(8, 12, 10, 0.95) 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 2px, transparent 2px, transparent 4px);
  background-color: #050606;
  background-blend-mode: normal, overlay;
  display: grid;
  gap: 1rem;
  padding: 1rem;
}
header, main, footer, aside {
  display: block;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
header { text-align: center; padding: 1.25rem 1rem 1.5rem; }
header h1 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.08; margin: 0.25rem 0 0.25rem; letter-spacing: .2px; color: var(--text); }
header .meta { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 0.9rem; color: var(--muted); margin-top: .25rem; }
nav { margin-top: .75rem; }
nav a {
  display: inline-block;
  padding: .5rem 0.8rem;
  border-radius: 999px;
  color: #041e12;
  background: linear-gradient(135deg, rgba(126,226,154,.9), rgba(126,226,154,.75));
  border: 1px solid rgba(173, 255, 222, 0.8);
  text-decoration: none;
  font-weight: 600;
}
nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
main { padding-top: .75rem; }
article { padding: 0; margin: 0; }

/* Hero image area */
.featured-image { width: 100%; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 6px 18px rgba(0,0,0,.25); margin: .5rem 0 1rem; }

/* Image frame rules */
.image-frame { display: block; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 6px 18px rgba(0,0,0,.25); background: #000; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Typography & content */
.content { color: var(--muted); line-height: 1.6; font-size: clamp(15px, 2.5vw, 18px); }
h2, h3 { color: var(--text); margin-top: 1rem; margin-bottom: .5rem; }
h2 { font-size: clamp(1.25rem, 4vw, 2rem); }
h3 { font-size: clamp(1.05rem, 3vw, 1.35rem); }

/* Lists & text blocks */
ul { padding-left: 1.25rem; margin: .5rem 0 1rem; color: var(--muted); }
li { margin: .25rem 0; }

/* Glass panels (fallback included) */
.card, .glass, .product-ad { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); border-radius: 12px; padding: 1rem; }
.card { transition: transform 0.2s ease, opacity .3s ease; }
.card:hover { transform: translateY(-2px); }
@supports not (backdrop-filter: blur(8px)) {
  .card, .glass, .product-ad { background: rgba(255,255,255,0.14); }
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* Product ad and footer sections */
.product-ad { text-align: center; padding: .75rem; margin: .5rem 0; }
.product-ad a { color: #021a0f; text-decoration: none; display: inline-block; padding: .5rem 1rem; border-radius: 999px; background: rgba(126,226,154,0.8); border: 1px solid rgba(126,226,154,0.95); font-weight: 700; }
.product-ad a:hover { text-decoration: underline; }

/* Utilities & components */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { padding: 1rem; }

/* Links & interactive elements */
a, button, .btn, .cta {
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
}
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible {
  outline: 0;
  outline: none;
  box-shadow: none;
  outline: none;
}
a:focus-visible { outline: 3px solid rgba(126,226,154,0.7); outline-offset: 3px; border-radius: 4px; }
button, .btn, .cta {
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: .55rem 1rem;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font-weight: 600;
  transition: transform .2s ease, background-color .2s ease;
}
button:hover, .btn:hover, .cta:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }
button:active, .btn:active, .cta:active { transform: translateY(0); }
.btn.primary {
  background: linear-gradient(135deg, #7ee29a 0%, #58c87a 60%);
  color: #062014;
  border: 1px solid rgba(0,0,0,.15);
}
.btn.outline {
  background: transparent;
  border: 1px solid rgba(126,226,154,0.8);
  color: var(--accent);
}
.btn.secondary {
  background: rgba(139, 255, 220, 0.18);
  border: 1px solid rgba(139, 255, 220, 0.5);
  color: #eafff3;
}
.cta { font-weight: 700; }

/* Sectioned typography helpers */
.tag {
  display: inline-block;
  padding: .25rem .6rem;
  font-size: .75rem;
  border-radius: 999px;
  background: rgba(126,226,154,0.15);
  color: var(--text);
  border: 1px solid rgba(126,226,154,0.4);
  margin-right: .5rem;
}

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