/* Root Palette & Tokens (Deep Plum + Coral) */
:root {
  --bg: #230e22;
  --bg-2: #2b0a2e;
  --bg-3: #1a0b26;
  --text: #f6e9f6;
  --muted: #cdbbd0;
  --accent: #ff6a4a;      /* coral */
  --accent-2: #ffb070;    /* soft coral/orange for accents */
  --card: rgba(12, 0, 25, 0.65);
  --surface: rgba(255, 255, 255, 0.08);
  --surface-2: rgba(255, 255, 255, 0.14);
  --border: rgba(255, 255, 255, 0.28);
  --shadow: 0 10px 28px rgba(0,0,0,0.28);
  --focus: 0 0 0 3px rgba(255,255,255,.65);
  --radius: 14px;
  --radius-sm: 10px;
  --gap: 1.25rem;
}

/* Global & Layout */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif; font-size: 16px; }
body {
  margin: 0;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Layered background: deep plum gradient + subtle scanlines/noise */
  background-color: var(--bg);
  background-image:
    linear-gradient(135deg, rgba(60,0,60,0.95) 0%, rgba(40,0,60,0.95) 60%, rgba(20,0,20,0.95) 100%),
    linear-gradient(to bottom right, rgba(255, 106, 74, 0.08), rgba(0, 0, 0, 0.08)),
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.05) 0 1px, transparent 1px 2px);
  background-blend-mode: overlay, overlay, normal;
  min-height: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

/* Page containers & utilities */
.container {
  width: 100%;
  max-width: clamp(320px, 92vw, 1100px);
  margin-inline: auto;
  padding-inline: 0.5rem;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Glassy panels (fallback if backdrop-filter unavailable) */
header, main, article, aside, footer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@supports not (backdrop-filter: blur(12px)) {
  header, main, article, aside, footer {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.40);
  }
}

header { display: block; padding: 1.25rem; margin-bottom: 0.75rem; }

/* Hero & typography */
h1 {
  font-size: clamp(1.75rem, 4vw + 0.5rem, 3.75rem);
  line-height: 1.05;
  margin: 0 0 0.5rem;
  color: var(--text);
  text-shadow: 0 1px 0 rgba(0,0,0,0.25);
}
h2, h3 {
  color: var(--text);
  margin-top: 0.75rem;
}
p { color: #e9e0ea; margin: 0.75rem 0; }

.meta { color: var(--muted); font-size: 0.92rem; }

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover, a:focus {
  text-decoration: underline;
}
a:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 0 transparent;
  outline: 0;
  border-radius: 6px;
  /* Assist focus ring for keyboard users */
  position: relative;
}
a:focus-visible, button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0 transparent;
}
a:focus-visible, a:hover { text-decoration: underline; }

/* CTAs (buttons) */
.btn, .cta {
  font: inherit;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  background: linear-gradient(135deg, rgba(255,106,74,1) 0%, rgba(255,105,84,0.92) 100%);
  color: #fff;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.25s ease;
}
.btn:hover, .cta:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,0.25); }
.btn:active, .cta:active { transform: translateY(0); }
.btn:focus-visible, .cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.9), 0 0 0 6px rgba(255,106,74,0.4);
}
.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.7);
}
.btn.secondary:hover { background: rgba(255,255,255,0.08); }

/* Image frame with aspect ratio, glow, border */
.image-frame {
  aspect-ratio: 16/9;
  width: 100%;
  display: block;
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
  transform: translateZ(0); /* promote GPU */
  transition: transform 0.3s ease;
}
.image-frame:hover img { transform: scale(1.03); }

/* Content layout & utility blocks */
.content { padding: 0.75rem 0; color: #f2e9f4; }

/* Lists & bullets */
ul { padding-left: 1.25rem; margin: 0.75rem 0; }
li { margin: 0.4rem 0; }

/* Product ad blocks in footer or side sections */
.product-ad {
  display: block;
  text-align: center;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.product-ad:hover { transform: translateY(-2px); }

/* Utility components */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.25em 0.5em;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* Layout specifics for the page sections (matching required selectors) */
html, body, header, nav, main, article, footer, aside {
  /* structural defaults already defined; ensure spaces render cleanly */
  scroll-behavior: smooth;
}
nav a { display: inline-block; padding: 0.5rem 0.75rem; border-radius: 999px; }

/* Main content column flow */
main { display: block; }
article { margin: 0; padding: 0; }

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

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
```