:root {
  --bg: #0a0a0f;
  --bg-2: #2a0d0d;
  --text: #f6f6f6;
  --muted: #d9d9d9;
  --accent: #ffd166;       /* gold sunset */
  --accent-2: #ff4d4d;      /* vivid red */
  --card: rgba(255,255,255,0.08);
  --card-border: rgba(255,255,255,0.25);
  --shadow: 0 6px 20px rgba(0,0,0,.25);
  --radius: 12px;
  --focus: 2px solid #ffd166;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

html, body, header, nav, main, article, footer, aside {
  min-height: 0;
}

html, body {
  margin: 0;
  color: var(--text);
  background-image:
    linear-gradient(135deg, rgba(212, 164, 60, 0.25), rgba(255, 69, 0, 0.15)),
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.04) 0 1px, transparent 1px 2px),
    linear-gradient(#070707, #0b0b0f 60%, #0a0a0a);
  background-blend-mode: overlay, overlay, normal;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* subtle noise/scanline feel without images */
  background-image:
    radial-gradient(circle at 50% -10%, rgba(255,255,255,0.08), transparent 40%),
    linear-gradient(to bottom, rgba(255,255,255,0.03), rgba(0,0,0,0.0) 60%);
  mix-blend-mode: overlay;
  opacity: 0.6;
  filter: saturate(1.05);
  mask-image: linear-gradient(#000, transparent 90%);
}

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

header {
  text-align: center;
  padding: 2rem 0 1rem;
  position: relative;
  z-index: 1;
}

header h1 {
  font-size: clamp(1.75rem, 3vw + 1rem, 3.5rem);
  line-height: 1.05;
  margin: 0.25rem 0 0.25rem;
  letter-spacing: .5px;
  text-shadow: 0 2px 18px rgba(0,0,0,.5);
  color: #fff;
}

header .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: .25rem;
}

nav {
  margin-top: .75rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: .5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.18);
  transition: transform .2s ease, background .2s ease;
  display: inline-block;
}
nav a:hover { background: rgba(0,0,0,.28); text-decoration: underline; text-underline-offset: 3px; }
nav a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

main { padding: 1.75rem 0 2rem; }

article {
  display: block;
  margin: 0 auto;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.image-frame, .featured-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  background: #000;
}
.image-frame { aspect-ratio: 16 / 9; width: 100%; }
.image-frame img, .featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.featured-image { margin: .5rem 0 1rem; }

.content { padding: 0.75rem 0; }

h2 {
  font-size: clamp(1.4rem, 2vw + 1rem, 2.25rem);
  margin: .25rem 0 0.5rem;
  color: #fff;
}

p { color: #e6e6e6; margin: 0.5rem 0; }

blockquote {
  margin: .75rem 0;
  padding: .5rem 1rem;
  border-left: 3px solid var(--accent-2);
  color: #fff;
  background: rgba(0,0,0,.18);
  border-radius: 6px;
}

ul { padding-left: 1.25rem; margin: .5rem 0; }
ul li { margin: .25rem 0; color: #eedecc; }

.product-ad {
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  text-decoration: none;
  margin: .25rem;
}
.sponsored-page { display: inline-block; }

.product-ad a { color: #fff; text-decoration: none; }
.product-ad a:hover { text-decoration: underline; }

.footer-inner { padding: 1rem 0; }

footer {
  padding: 1.75rem 0 2rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.15);
}

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

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

.tag {
  display: inline-block;
  padding: .15rem .45rem;
  border-radius: 999px;
  font-size: .75rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
}

/* Links and controls for accessibility */
a, button, .btn, .cta {
  outline: 0;
}
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Buttons variants */
.btn {
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: #1a0b00;
  background: linear-gradient(135deg, var(--accent) 0%, #f0c24b 100%);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn.primary:focus-visible, .btn.secondary:focus-visible { outline-offset: 2px; }

@media (min-width: 720px) {
  main { padding: 2rem 0; }
  .container { padding: 0 1rem; }
}

@media print {
  body { background: #fff; color: #000; }
  header, nav, footer { display: none; }
  article { background: #fff; border: none; box-shadow: none; padding: 0; }
}