/* Section: Tokens & Base */ 
:root {
  --bg: #0b0f14;
  --bg-2: #0e1a1f;
  --text: #eaf7ff;
  --muted: #9fb4c8;
  --accent: #B76E79;     /* rose-gold accent */
  --accent-2: #E6C0A8;    /* soft rose-gold highlight */
  --surface: rgba(255,255,255,0.08);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
html { line-height: 1.15; }
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(135deg, rgba(183,110,129,.18) 0%, rgba(43,212,182,.18) 60%, rgba(0,0,0,0) 100%), var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  overscroll-behavior: none;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% -10%, rgba(183,110,129,.15) 0 40%, transparent 40%),
    linear-gradient(135deg, rgba(183,110,129,.15), rgba(43,212,182,.15) 60%, rgba(0,0,0,0) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 2px);
  mix-blend-mode: overlay;
  pointer-events: none;
}
:focus { outline: none; }
/* Section: Layout primitives */
.container {
  max-width: clamp(320px, 92vw, 1100px);
  margin-inline: auto;
  padding-inline: 1rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: .75rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
/* Section: Typography & helpers */
h1, h2, h3 { font-weight: 700; color: var(--text); margin: .25rem 0; }
h1 { font-size: clamp(1.75rem, 2.5vw + 1rem, 3rem); line-height: 1.05; }
h2 { font-size: clamp(1.4rem, 2.2vw + 0.8rem, 2.2rem); }
h3 { font-size: clamp(1.1rem, 1.8vw + 0.6rem, 1.4rem); }
p { margin: .5rem 0 1rem; color: rgba(234,247,255,.95); }
strong { color: #fff; }
blockquote {
  margin: .75rem 0; padding-left: 1rem; border-left: 3px solid var(--accent-2);
  color: #faffff; opacity: .95;
}
ul { padding-left: 1.25rem; margin: .25rem 0; }
li { margin: .25rem 0; }

/* Section: Elements by selector list */
html, body, header, nav, main, article, footer, aside { }
.image-frame, .image-frame img { border-radius: 12px; overflow: hidden; }
.image-frame { aspect-ratio: 16 / 9; width: 100%; border: 1px solid rgba(255,255,255,.28); box-shadow: 0 6px 20px rgba(0,0,0,.35); background: #111; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Section: Header */
header {
  padding: 1rem;
  margin: 0 auto 1rem;
  background: rgba(8,12,20,.62);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 14px;
  display: block;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
}
header h1 { font-size: clamp(1.6rem, 3vw + 1rem, 3rem); margin: 0 0 .25rem; }
header .meta { font-size: .82rem; color: var(--muted); margin-bottom: .25rem; }

/* Section: Navigation */
nav { display: inline-flex; gap: .5rem; align-items: center; }
nav a {
  color: var(--text); text-decoration: none;
  padding: .5rem .75rem; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.15);
  font-weight: 600;
}
nav a:hover { text-decoration: underline; text-decoration-color: rgba(255,255,255,.9); }

/* Section: Main content */
main { padding: 0 0.5rem; }
article { max-width: 72ch; }

/* Section: Glass panels (content surfaces) */
.content { padding: 0.5rem; }
.glass {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px;
  padding: .75rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
@supports not (backdrop-filter: blur(8px)) {
  .glass { background: rgba(255,255,255,.12); }
}

/* Section: Image framing and visuals */
.featured-image { margin: 0 0 1rem; }

@media (min-width: 700px) {
  .container { padding-inline: 0; }
  header { padding: 1.25rem; }
  main { padding: 0; }
  article { padding: 0 0.25rem; }
}

/* Section: CTAs (buttons/links) */
a, button, .btn, .cta {
  font-family: inherit;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: .6rem 1rem;
  display: inline-block;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
a:hover, button:hover { text-decoration: underline; text-decoration-color: rgba(255,255,255,.9); }
a:focus-visible, button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-color: rgba(255,255,255,.9);
}
.btn { background: rgba(0,0,0,.14); border-color: rgba(255,255,255,.4); }
.btn--solid {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: rgba(0,0,0,.25);
  color: #fff;
}
.btn--outline {
  background: rgba(0,0,0,.0);
  border-color: rgba(255,255,255,.6);
  color: var(--text);
}
.cta { display:inline-flex; align-items:center; gap:.5rem; }

/* Section: Utilities & helpers */
.tag {
  display:inline-block; padding:.2em .6em; border-radius:999px;
  font-size:.75rem; background: rgba(183,110,129,.28);
  border: 1px solid rgba(183,110,129,.65); color: #fff;
}
ul, li { margin: 0; padding: 0; }

/* Section: Lists styling (neutral) */
ul { margin-block: .5rem; padding-left: 1.25rem; }
li { margin: .25rem 0; }

/* Section: Footer / ads blocks */
footer { padding: 1rem; display: grid; gap: .75rem; grid-template-columns: 1fr; }
.product-ad, .sponsored-page { padding: .6rem; border-radius: 12px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25); }
.product-ad a, .sponsored-page a { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 0; }

/* Section: Print styles (basic readability) */
@media print {
  body { background: #fff; color: #000; }
  a { text-decoration: underline; }
}
 
/* Section: Accessibility helpers (contrast adjustments) */
@media (prefers-contrast: more) {
  :root { --text: #eaf7ff; }
  .glass { background: rgba(255,255,255,.14); }
}
