:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --card: #1f2937;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --gold: #d4af37;
  --gold-soft: rgba(212,175,55,.16);
  --border: #283341;
}

/* Base reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  color: var(--text);
  background: linear-gradient(180deg, var(--bg), var(--bg-soft));
  font: 15px/1.55 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Arial, sans-serif;
  position: relative;
}
/* Golden glow */
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(40% 40% at 70% 0%, var(--gold-soft), transparent 70%),
    radial-gradient(30% 30% at 10% 100%, var(--gold-soft), transparent 70%);
  pointer-events: none;
  filter: blur(30px);
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 24px; }
header.hero { padding: 56px 0 24px; border-bottom: 1px solid var(--border); }
.title { font-size: 34px; font-weight: 800; letter-spacing: .3px; }
.subtitle { color: var(--muted); margin-top: 8px; }
.gold { color: var(--gold); }

.grid { display: grid; grid-gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; }
}

section { padding: 36px 0; border-bottom: 1px solid var(--border); }
h2 { font-size: 24px; margin-bottom: 12px; font-weight: 800; }
h3 { font-size: 18px; margin: 18px 0 8px; font-weight: 700; color: var(--gold); }
p { margin: 8px 0; }

.list-clean { list-style: none; }
.bullets { padding-left: 18px; }
.bullets li { margin: 6px 0; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
}
.media {
  width: 100%;
  height: 320px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: #0b1220;
}
.media.tall { height: 420px; }

.muted { color: var(--muted); }
.cta {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
}
.cta:hover { background: rgba(212,175,55,.08); }

.assoc { padding: 14px; }
.assoc-fig { margin: 10px 0 6px; }
.assoc-img { height: 240px; object-fit: contain; }

/* Hover grow + gold glow */
.hover-zoom { transition: transform .25s ease, box-shadow .25s ease; }
.hover-zoom:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 34px rgba(0,0,0,.28), 0 0 0 6px var(--gold-soft);
}

/* Mousepad grid */
.thumbgrid {
  display: grid;
  grid-gap: 14px;
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1100px) { .thumbgrid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px) { .thumbgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .thumbgrid { grid-template-columns: repeat(2, 1fr); } }
.thumb {
  background: #0b1220;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Slider — fade */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #0b1220;
  height: 460px;
}
.slides { position: relative; width: 100%; height: 100%; }
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .45s ease;
}
.slide.active { opacity: 1; }
.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(212,175,55,.6);
}
.dot.active { background: var(--gold); }

.slider-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 2px 10px;
}
.slider-title h4 { margin: 0; font-size: 16px; font-weight: 700; }

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.lb.open { display: flex; }
.lb img {
  max-width: 96vw;
  max-height: 92vh;
  border-radius: 12px;
  border: 1px solid var(--gold);
  background: #000;
}
.lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
}
