:root {
  --black: #111111;
  --gray: #727272;
  --gray-light: #9e9e9e;
  --white: #F9F9F9;
  --gold: #c58d44;
  --gold-dark: #a87435;
  --gold-light: rgba(197, 141, 68, 0.12);
  --border: rgba(255, 255, 255, 0.07);
  --border-light: rgba(255, 255, 255, 0.12);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ── HEADER ── */
header {
  padding: 88px 0 56px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 28px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  max-width: 720px;
}

h1 em {
  font-style: normal;
  color: var(--gold);
}

.subtitle {
  margin-top: 22px;
  font-size: 17px;
  color: var(--gray-light);
  max-width: 560px;
  font-weight: 400;
}

.meta-row {
  margin-top: 40px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.meta-item {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
}

.meta-item strong {
  display: block;
  font-size: 22px;
  color: var(--white);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 4px;
}

/* ── TOC ── */
.toc {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.toc-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gray);
  margin-bottom: 18px;
  font-weight: 600;
}

.toc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.toc-link {
  font-size: 13px;
  color: var(--white);
  text-decoration: none;
  padding: 9px 18px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.toc-link:hover {
  border-color: var(--gold);
  background: var(--gold-light);
  color: var(--gold);
}

/* ── CATEGORY SECTIONS ── */
.category {
  padding: 64px 0 16px;
  border-bottom: 1px solid var(--border);
}

.category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.category-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.category-count {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
  border: 1px solid var(--gold-light);
  background: var(--gold-light);
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ── PROFESSIONAL BLOCK ── */
.pro-block {
  margin-bottom: 44px;
}

.pro-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.pro-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.pro-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.pro-handle {
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

.pro-handle:hover {
  text-decoration: underline;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  padding-left: 56px;
}

@media (max-width: 600px) {
  .link-grid {
    padding-left: 0;
    grid-template-columns: 1fr;
  }
}

.link-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.18s ease;
}

.link-card:hover {
  border-color: var(--gold);
  background: var(--gold-light);
}

.link-card .num {
  font-size: 11px;
  color: var(--gray);
  font-weight: 700;
  min-width: 18px;
}

.link-card:hover .num {
  color: var(--gold);
}

.link-card .play {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.5;
}

.link-card:hover .play {
  opacity: 1;
}

/* ── FOOTER ── */
footer {
  padding: 64px 0 56px;
  text-align: center;
}

.footer-note {
  font-size: 13px;
  color: var(--gray);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.footer-brand {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

/* ── PRINT / DOWNLOAD STYLE ── */
@media print {
  body::before {
    display: none;
  }

  a {
    color: var(--black) !important;
  }
}

@media (max-width: 600px) {
  header {
    padding: 56px 0 40px;
  }

  .container {
    padding: 0 20px;
  }

  .meta-row {
    gap: 22px;
  }
}