:root{
  --bg: #0b0a1b;
  --bg-2: #25153a;
  --surface: rgba(255,255,255,0.08);
  --surface-2: rgba(255,255,255,0.12);
  --text: #e9e5ff;
  --muted: #c9c0ff;
  --accent: #d4a300;
  --accent-2: #ffd94d;
  --focus: #7cc0ff;
  --border: rgba(255,255,255,.25);
  --card-border: rgba(212,163,0,.5);
  --shadow: 0 8px 26px rgba(0,0,0,.28);
  --radius: 14px;
  --radius-sm: 10px;
  --desktop: 1100px;
}

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, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.6;
  background:
    linear-gradient(135deg, rgba(40,0,60,.60), rgba(10,5,25,.70) 60%, rgba(40,0,60,.60)),
    radial-gradient(circle at 20% -5%, rgba(212,163,0,.25), transparent 25%),
    radial-gradient(circle at 85% 15%, rgba(120,0,200,.25), transparent 30%),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 2px),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-attachment: fixed;
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)){
  /* will apply blur in elements below */
}
@supports not (backdrop-filter: blur(1px)) {
  /* fallback handled below via per-element rules where appropriate */
}

header, main, article, footer, aside {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 1rem;
  margin: 0.75rem auto;
  max-width: min(1100px, 92%);
  box-shadow: var(--shadow);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
}

@supports not (backdrop-filter: blur(12px)) {
  header, main, article, footer, aside {
    background: rgba(255,255,255,.12);
  }
}

.container {
  width: 100%;
  max-width: clamp(680px, 82vw, 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,0.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

.tag {
  display: inline-block;
  padding: .15rem .5rem;
  border-radius: 999px;
  font-size: .75rem;
  color: #0b0b0b;
  background: rgba(212,163,0,.75);
  border: 1px solid rgba(212,163,0,.9);
}

.image-frame, .featured-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(212,163,0,.6);
  background: rgba(0,0,0,.25);
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}

.image-frame img, .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 16/9;
}

.content {
  padding: 0.25rem 0 0;
  color: var(--text);
  font-size: clamp(1rem, 0.45vw + 0.9rem, 1.125rem);
  line-height: 1.6;
}

a, button, .btn, .cta {
  font-family: inherit;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .15s ease;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover, a:focus-visible {
  text-decoration: underline;
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn {
  display: inline-block;
  padding: .58rem .95rem;
  border-radius: 10px;
  border: 1px solid rgba(212,163,0,.7);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #0b0b0b;
  font-weight: 700;
  text-shadow: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.28);
}
.btn:active {
  transform: translateY(0);
}
.cta {
  display: inline-block;
  padding: .58rem .95rem;
  border-radius: 10px;
  border: 1px solid rgba(212,163,0,.9);
  background: transparent;
  color: var(--text);
  font-weight: 700;
}
.cta:hover {
  background: rgba(212,163,0,.15);
}
[role="button"] { cursor: pointer; }

ul, li {
  margin: 0.5rem 0;
  padding: 0;
  list-style: disc inside;
}
li { margin: 0.35rem 0; }

header { text-align: center; }

header h1 {
  font-size: clamp(1.8rem, 3vw + 1rem, 3.2rem);
  line-height: 1.08;
  margin: 0 0 .25rem;
  letter-spacing: .2px;
}

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

main {
  padding: 1.5rem 0;
}

.featured-image {
  margin: 0 0 1rem;
  width: 100%;
  max-height: 420px;
  overflow: hidden;
}

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

footer {
  padding: 1.25rem;
  text-align: center;
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: start;
}

.product-ad, .sponsored-page {
  display: block;
  padding: .75rem;
  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);
}
.product-ad a, .sponsored-page a {
  color: var(--text);
}
.product-ad p, .sponsored-page p {
  margin: 0;
  font-weight: 700;
}

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

@media print {
  html, body {
    background: #fff;
    color: #000;
  }
  header, main, footer {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }
  a { color: #00f; text-decoration: underline; }
}