/* Base / Palette */
:root{
  --bg: #0a0b10;
  --bg-2: #111522;
  --text: #e9fff5;
  --muted: #a8d8c2;
  --accent: #9DE6C7;      /* pastel green */
  --accent-2: #E6A6B8;    /* rose-gold pastel */
  --surface: rgba(255,255,255,.12);
  --surface-2: rgba(255,255,255,.22);
  --glass: rgba(255,255,255,.12);
  --radius: 14px;
  --shadow: 0 8px 30px rgba(0,0,0,.35);
  --focus: 0 0 0 3px rgba(157,230,199,.72);
  --outline: rgba(255,255,255,.75);
}

/* Reset-ish for predictable sizing */
*,
*::before,
*::after{ box-sizing: border-box; }
html, body{ height: 100%; }
html{ font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", sans-serif; font-size: 16px; }
body{ margin: 0; color: var(--text); background: linear-gradient(135deg, rgba(183,110,121,.18) 0%, rgba(16,125,90,.14) 40%, rgba(2,6,12,.92) 100%), var(--bg);
  min-height: 100dvh; position: relative; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  padding: 1rem;
}
/* Layered background: subtle noise/scanlines (pure CSS) */
body::before,
body::after{ content:""; position: fixed; inset: 0; z-index: -1; pointer-events: none; }
body::before{
  background:
    radial-gradient(circle at 20% -10%, rgba(255,255,255,.08) 0 25%, transparent 25%),
    radial-gradient(circle at 80% 0%, rgba(255,255,255,.04) 0 40%, transparent 40%),
    linear-gradient(135deg, rgba(10,8,12,.6), rgba(6,12,18,.6));
  mix-blend-mode: screen;
}
body::after{
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 2px);
  opacity: .75;
  mix-blend-mode: overlay;
  filter: saturate(110%);
}

/* Layout helpers */
.container{ width: 100%; max-width: clamp(320px, 90vw, 1100px); margin-inline: auto; padding-inline: 1rem; }

/* Glass panels (sections, header, footer) */
header, main, footer, aside{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin: .8rem 0;
}
@supports not (backdrop-filter: blur(12px)){
  header, main, footer, aside{ background: rgba(10,12,18,.48); }
}

/* Hero / headings and content structure */
header{ text-align: center; padding: 1.25rem; }
header h1{ font-size: clamp(1.4rem, 4vw, 2.4rem); line-height: 1.15; margin: .25rem 0 .25rem; letter-spacing:.2px; color: var(--text); text-shadow: 0 1px 0 rgba(0,0,0,.25); }
header .meta{ color: var(--muted); font-size: 0.95rem; margin-top: .25rem; }

/* Content area styling */
main{ display: block; }
article{ display: grid; gap: 1rem; }
.featured-image{ border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.15); }
.image-frame{ width:100%; aspect-ratio: 16/9; overflow:hidden; border-radius: 12px; border:1px solid rgba(255,255,255,.28); box-shadow: inset 0 0 12px rgba(0,0,0,.25); background: #000; display:block; }
.image-frame img{ width:100%; height:100%; object-fit: cover; display:block; }

/* Content section bodies */
.content{ color: var(--text); font-size: clamp(0.95rem, 1.6vw, 1.05rem); line-height: 1.6; }
h2{ font-size: clamp(1.1rem, 2.5vw, 1.6rem); margin: .6rem 0; color: var(--text); }
p{ margin: .6rem 0 1rem; color: var(--text); }

/* Lists and items */
ul, li{ margin: .5rem 0; padding: 0; }
li{ padding-left: 1.1em; text-wrap: pretty; }
li::marker{ color: var(--accent); }

/* Simple utility grid and cards */
.grid{ display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card{ background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); border-radius: 12px; padding: .9rem; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.tag{ display:inline-block; padding:.15em .6em; border-radius:999px; font-size:.75rem; color: var(--text); background: rgba(157,230,199,.25); border:1px solid rgba(157,230,199,.6); }

/* Links and buttons (interaction states) */
a, button, .btn, .cta{ color: var(--text); text-decoration: none; border-radius: 999px; border: 1px solid rgba(255,255,255,.38); padding: .55rem .95rem; display: inline-block; cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  background: rgba(255,255,255,.08);
}
a:hover, button:hover, .btn:hover, .cta:hover{ background: rgba(255,255,255,.18); transform: translateY(-1px); text-decoration: underline; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible{
  outline: var(--focus); outline-offset: 2px;
  border-color: rgba(157,230,199,.9);
  text-decoration: none;
}
.btn.primary{ background: var(--accent); border-color: rgba(0,0,0,.2); color: #042a14; font-weight: 600; padding: .6rem 1rem; }
.btn.primary:hover{ background: color-mix(in oklab, var(--accent) 70%, #000 30%); }
.btn.outline{ background: transparent; border-color: rgba(255,255,255,.6); color: var(--text); }

/* Specific sections styling variants */
.product-ad a{ display: inline-block; padding: .6rem 1rem; border-radius: 999px; background: rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.38); color: var(--text); text-decoration: none; }
.product-ad a:hover{ background: rgba(255,255,255,.22); }

/* Nav styling (semantic, accessible) */
nav{ display:flex; justify-content:center; gap:.75rem; padding-top:.25rem; }
nav a{ color: var(--accent-2); text-decoration: none; padding:.25rem .5rem; border-radius:6px; border:1px solid rgba(255,255,255,.25); }
nav a:hover{ text-decoration: underline; }

/* Header navigation hints for accessibility when keyboard navigating */
:focus{ outline: none; }

/* Footer tweaks for compact layout */
footer{ display: grid; gap: .75rem; grid-template-columns: 1fr; justify-items: center; text-align: center; }

/* Print styles (basic readability) */
@media print{
  body{ background: white; padding: 0; color: #000; }
  header, main, footer{ background: transparent; border: none; box-shadow: none; border-radius: 0; }
  a{ text-decoration: underline; }
}
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}
@media (min-width: 720px){
  header{ padding: 1.25rem 1rem; }
  main{ padding: 0; }
  article{ padding: 0; }
}
