/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --bg: #0b0a12;
  --bg-2: #141321;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-2: rgba(255, 255, 255, 0.12);
  --text: #e6e6f0;
  --muted: #a6a6b8;
  --accent: #8b5cff;
  --accent-2: #b36bff;
  --border: rgba(255, 255, 255, 0.25);
  --shadow: 0 8px 28px rgba(0,0,0,.45);
  --radius: 14px;
  --focus: 2px solid var(--accent-2);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f5ff;
    --bg-2: #ffffff;
    --surface: rgba(0,0,0,0.06);
    --surface-2: rgba(0,0,0,0.08);
    --text: #111317;
    --muted: #3a3a4a;
    --accent: #6a48ff;
    --accent-2: #7a5aff;
    --border: rgba(0,0,0,0.15);
    --shadow: 0 6px 18px rgba(0,0,0,.08);
  }
}
* { outline: none; }
html { color-scheme: dark light; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  line-height: 1.55;
  min-height: 100%;
  /* Layered background: gradient + diagonal lines + subtle noise */
  background: 
    linear-gradient(135deg, rgba(96,0,160,.75), rgba(16,16,28,.95) 60%, rgba(8,8,12,.98)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, rgba(0,0,0,.04) 2px 4px),
    radial-gradient(circle at 0 0, rgba(255,255,255,.03), transparent 40%);
  background-blend-mode: overlay, overlay, normal;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }

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

/* Sections (semantic) */
header, nav, main, article, aside, footer {
  display: block;
}
header, main, footer {
  padding: 1rem;
  margin: 1rem auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
header {
  text-align: center;
}
header h1 { margin: 0; font-size: clamp(1.75rem, 2.5vw + 1rem, 3rem); line-height: 1.15; font-weight: 700; letter-spacing: .2px; }

/* Hero / image block */
.image-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.28);
  background: #111;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 8px 28px rgba(0,0,0,.45);
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Content region (glass panels) */
.content { padding: 0.75rem; color: var(--text); }
.card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #6a48ff, #9b5cff);
}

/* Product ad blocks (footer) */
.product-ad, .sponsored-page {
  display: inline-block;
  padding: 0.65rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  color: #fff;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
  margin: 0.25rem;
}
.product-ad a, .sponsored-page a { color: #fff; text-decoration: none; display: block; }
.product-ad:hover, .sponsored-page:hover { transform: translateY(-1px); }

/* Link/button styles (interactive) */
a, button, .btn, .cta {
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255,255,255,.28);
  background: var(--accent);
  cursor: pointer;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}
a:hover, button:hover, .btn:hover, .cta:hover { transform: translateY(-1px); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible { outline: var(--focus); outline-offset: 2px; }

/* Primary/outline variants */
.btn { background: var(--accent); }
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.5);
}
.btn:active, .cta:active { transform: translateY(0); }

/* Typography */
h1, h2, h3 { line-height: 1.15; }
p { color: var(--muted); }
ul, li { margin: 0; padding: 0; list-style: none; }

/* Utilities / responsive grids */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.flex { display: flex; gap: .5rem; align-items: center; }

/* Accessibility / forms (basic) */
input, textarea, select, button { font-family: inherit; font-size: 1rem; color: inherit; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: .5rem .75rem; }
input::placeholder, textarea::placeholder { color: #bbb; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: var(--focus); outline-offset: 2px; }
/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; transform: none !important; }
}

/* Print */
@media print {
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}
```