:root {
  --bg: #0b1020;
  --bg-2: #0a1a30;
  --text: #e8f0ff;
  --muted: #a9b7d8;
  --accent: #d4af37;
  --accent-2: #89a0ff;
  --surface: rgba(255,255,255,0.08);
  --surface-2: rgba(255,255,255,0.14);
  --border: rgba(255,255,255,0.25);
  --shadow: 0 10px 28px rgba(0,0,0,.25);
  --radius: 12px;
  --focus: 2px solid #b9d4ff;
}

html, body, header, nav, main, article, footer, aside {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial;
  line-height: 1.55;
  background: linear-gradient(135deg, rgba(8,12,28,.95) 0%, rgba(8,12,28,.92) 60%, rgba(8,12,28,.95) 100%), 
              radial-gradient(circle at 20% 15%, rgba(212,175,55,.15), transparent 40%),
              radial-gradient(circle at 70% 60%, rgba(137,160,255,.12), transparent 35%),
              #0b1020;
  background-blend-mode: normal, screen, screen, normal;
  min-height: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 2px 2px, 2px 2px;
  mix-blend-mode: overlay;
  opacity: 0.25;
  /* pure CSS micro-noise layer can be subtle; no image assets used */
}

header {
  position: relative;
  z-index: 1;
  margin: 1rem auto;
  padding: clamp(1.25rem, 6vw, 3.5rem);
  max-width: clamp(320px, 92vw, 1100px);
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(8,12,28,.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

header h1 {
  margin: 0.25rem auto 0.75rem;
  font-size: clamp(1.8rem, 2vw + 1.4rem, 3rem);
  line-height: 1.12;
  letter-spacing: .2px;
  text-wrap: balance;
}

header .meta {
  margin: 0.25rem 0 0.75rem;
  color: var(--muted);
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
}

nav {
  display: inline-flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: .25rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  padding: .5rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.15);
  transition: transform .2s ease;
}
nav a:hover { transform: translateY(-1px); text-decoration: underline; }
nav a:focus-visible { outline: none; box-shadow: none; outline: 2px solid #b9d4ff; outline-offset: 2px; }

main {
  padding: 1rem;
  width: 100%;
}

article {
  margin: 0 auto;
  max-width: clamp(680px, 86vw, 980px);
  padding: 1rem;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(10,14,34,.28);
  border: 1px solid rgba(255,255,255,.25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.image-frame {
  width: min(100%, 720px);
  margin: 1rem auto 1rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.28);
  background: #000;
  box-shadow: 0 8px 22px rgba(0,0,0,.4);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
  image-rendering: auto;
}

h2 {
  font-size: clamp(1.4rem, 1.6vw + 1rem, 2.2rem);
  margin: 0.75rem 0 0.5rem;
  letter-spacing: .2px;
}

h3 {
  font-size: clamp(1.05rem, 1.4vw + .5rem, 1.4rem);
  margin: 0.9rem 0 0.4rem;
  color: var(--accent-2);
}

p {
  color: var(--text);
  margin: 0.55rem 0;
  opacity: .95;
}

em { font-style: italic; }

blockquote {
  margin: 1rem 0;
  padding: .5rem 1rem;
  border-left: 4px solid var(--accent);
  color: var(--muted);
  background: rgba(255,255,255,.04);
  border-radius: 6px;
}

ul {
  padding-left: 1.2rem;
  margin: .4rem 0;
}
li { margin: 0.25rem 0; }

.content { /* fallback hook if used elsewhere */ }

.product-ad {
  display: inline-block;
  margin: .25rem;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
}
.product-ad a {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
footer {
  padding: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.15);
  background: rgba(8,12,28,.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

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

footer .sponsored-page { display: inline-block; }

a, button, .btn, .cta {
  font-family: inherit;
  color: inherit;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(.95rem, 1vw + .4rem, 1.05rem);
  background: var(--accent);
  color: #1b1400;
  border: 1px solid rgba(0,0,0,.15);
  transition: transform .2s ease, background .3s ease;
}
.btn:hover { transform: translateY(-1px); background: #e0c34a; }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid #b9d4ff; outline-offset: 2px; }

.btn.outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.55);
}
.btn.outline:hover { background: rgba(255,255,255,.08); }

.cta { display:inline-flex; padding: .75rem 1.2rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.25); }

a:focus-visible, button:focus-visible { outline: var(--focus); outline-offset: 2px; }

a:hover { text-decoration: underline; text-underline-offset: 3px; }

ul, li { list-style: none; padding: 0; margin: 0; }
li + li { margin-top: .25rem; }

.tag {
  display: inline-block;
  padding: .25em .6em;
  font-size: .75rem;
  border-radius: 999px;
  background: rgba(212,175,55,.15);
  border: 1px solid rgba(212,175,55,.4);
  color: #ffd881;
}

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

.grid { display: grid; gap: 1rem; }

/* Responsive helpers */
@media (max-width: 720px) {
  header { padding: 1.25rem; }
  article { padding: .75rem; }
  .image-frame { border-radius: 10px; }
}

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

/* Print styles */
@media print {
  body { background: white; color: #000; }
  header, footer { background: transparent; box-shadow: none; border: none; }
  .image-frame { page-break-inside: avoid; }
}