:root {
  --bg: #000;
  --bg-2: #0a0f0a;
  --text: #e8f6e8;
  --muted: #a9cbb0;
  --accent: #88c79a;       /* sage green primary */
  --accent-2: #6aa87a;     /* deeper sage */
  --glass: rgba(12, 28, 22, 0.22);
  --glass-2: rgba(12, 28, 22, 0.14);
  --glass-border: rgba(120, 210, 170, 0.45);
  --shadow: 0 8px 20px rgba(0,0,0,.45);
  --focus: 0 0 0 3px rgba(136, 199, 154, .6);
  --container: clamp(320px, 92vw, 1100px);
}

html, body {
  height: 100%;
}

html {
  background: #000;
}

body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Helvetica Neue";
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.5;
  min-height: 100%;
  /* Layered background: gradient + orbital-esque accents + subtle scanlines */
  background-image:
    radial-gradient(circle at 60% 40%, rgba(80,120,90,.25), transparent 28%),
    radial-gradient(circle at 20% 70%, rgba(60,100,80,.20), transparent 28%),
    conic-gradient(from 200deg at 50% 50%, rgba(0,0,0,.0) 0 60deg, rgba(40,120,90,.15) 60deg 120deg, rgba(0,0,0,.0) 120deg 360deg),
    linear-gradient(#000 0, #040502 60%, #000 100%),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.03) 0 1px, transparent 1px 2px);
  background-blend-mode: overlay, overlay, overlay, normal, overlay;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  body {
    background-image: none;
  }
}

/* Layout helpers */
.container, nav, main, header, footer, article, aside {
  box-sizing: border-box;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: 1rem; }

/* Base page structure */
header, nav, main, article, aside, footer {
  width: 100%;
}

header {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 12px;
  /* glass panel feel with fallback */
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

header h1 {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  line-height: 1.05;
  margin: 0;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .2px;
}

nav a {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
  padding: .25rem .5rem;
  border-radius: 6px;
}
nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
nav a:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

main {
  padding: 2rem 0 3rem;
  display: grid;
  place-items: center;
}

article {
  width: 100%;
  display: grid;
  justify-items: center;
  padding: 0;
  margin: 0;
}

/* Image frame with glassy border glow */
.image-frame {
  width: min(92%, 800px);
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(120, 210, 170, 0.5);
  background: #0b0f0a;
  box-shadow: 0 8px 28px rgba(0,0,0,.45);
  transform: translateZ(0);
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp .6s ease forwards;
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .image-frame { animation: none; opacity: 1; transform: none; }
}

/* Glass panels for sections that resemble cards */
.product-ad, .sponsored-page, footer {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: .75rem 1rem;
  margin: .75rem 0;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
@supports not (backdrop-filter: blur(8px)) {
  .product-ad, .sponsored-page, footer {
    background: var(--glass-2);
  }
}
.product-ad a {
  display: block;
  text-decoration: none;
  color: var(--text);
  padding: .6rem;
  border-radius: 8px;
}
.product-ad a:hover { text-decoration: underline; text-underline-offset: 2px; }
.product-ad p, .sponsored-page p { margin: 0; }

footer {
  padding: 1rem;
  display: grid;
  gap: .5rem;
  justify-items: center;
  text-align: center;
  color: var(--muted);
}

/* Utility: grid, card, tag */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.card {
  background: rgba(8, 20, 14, 0.25);
  border: 1px solid rgba(120, 210, 170, 0.4);
  border-radius: 12px;
  padding: 1rem;
  color: var(--text);
  box-shadow: var(--shadow);
}
.tag {
  display: inline-block;
  padding: .25em .5em;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(136, 199, 154, 0.18);
  border: 1px solid rgba(136,199,154,0.45);
  color: var(--text);
}

/* Links, buttons, and forms styling */
a, button, .btn, .cta {
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid rgba(120, 210, 170, 0.65);
  background: rgba(120, 210, 170, 0.25);
  padding: .55rem .95rem;
  display: inline-block;
  font-weight: 600;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
a:hover, button:hover, .btn:hover, .cta:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
button:focus-visible, a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
.btn {
  background: rgba(120,210,170,.28);
}
.btn.primary { background: rgba(120,210,170,.38); border-color: rgba(120,210,170,.8); }
.btn:active, .cta:active { transform: translateY(1px); }

/* Image accessibility helper */
.image-frame img { display: block; }

/* Lists (ul, li) */
ul { margin: 0 0 0 1.25rem; padding: 0; }
li { margin: .25rem 0; }

/* Print styles for basic readability */
@media print {
  body { background: #fff; color: #000; }
  header, nav, main, article, footer { box-shadow: none; background: none; }
  a, button { color: #000; text-decoration: underline; }
}
  
/* Accessibility: ensure high contrast for text over glass by adjusting foreground where needed */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; }
}
  
/* Specific element styling to ensure the selectors requested are covered */
html, body, header, nav, main, article, footer, aside {
  /* kept for explicit coverage per requirement; styles above apply */
}