/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Marcellus&display=swap');

/* WoW Color Palette */
:root {
  --wow-dark-bg: #0a0a0a;
  --wow-dark-secondary: #1a1a1a;
  --wow-dark-tertiary: #2a2a2a;
  --wow-gold: #c9aa71;
  --wow-gold-bright: #d4af37;
  --wow-gold-dark: #8b6914;
  --wow-text: #f4e4bc;
  --wow-text-dim: #b8a082;
  --wow-purple: #2d1b4e;
  --wow-blue: #1e3a5f;
  --wow-rarity-common: #9d9d9d;
  --wow-rarity-uncommon: #1eff00;
  --wow-rarity-rare: #0070dd;
  --wow-rarity-epic: #a335ee;
  --wow-rarity-legendary: #ff8000;
  --wow-rarity-artifact: #e6cc80;
  --wow-rarity-heirloom: #e6cc80;
  --wow-rarity-legendary: #ff8000;
  --wow-class-warrior: #c69b6d;
  --wow-class-paladin: #f48cba;
  --wow-class-hunter: #abd372;
  --wow-class-rogue: #fff468;
  --wow-class-priest: #ffffff;
  --wow-class-death-knight: #c41e3a;
  --wow-class-shaman: #0070de;
  --wow-class-mage: #3fc7eb;
  --wow-class-warlock: #8788ee;
  --wow-class-monk: #00ff98;
  --wow-class-druid: #ff7c0a;
  --wow-class-demon-hunter: #a330c9;
  --wow-class-evoker: #33937f;
}

/* Bootstrap styles - As written by Bootstrap */
body {
  padding-bottom: 60px; /* Space for sticky table of contents (compact when closed) */
}

.navbar {
  margin-bottom: 20px;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
  }
  @media (min-width: 768px) {
    .bd-placeholder-img-lg {
      font-size: 3.5rem;
    }
  }
  .b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: #0000001a;
    border: solid rgba(0, 0, 0, 0.15);
    border-width: 1px 0;
    box-shadow:
      inset 0 0.5em 1.5em #0000001a,
      inset 0 0.125em 0.5em #00000026;
  }
  .b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
  }
  .bi {
    vertical-align: -0.125em;
    fill: currentColor;
  }
  .nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
  }
  .nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
  }
  .bd-mode-toggle {
    z-index: 1500;
  }
  .bd-mode-toggle .bi {
    width: 1em;
    height: 1em;
  }
  .bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
  } 
/* Custom Styles */
/* Body and base styling */
html {
  scroll-padding-top: 80px; /* Space for sticky navbar */
  scroll-padding-bottom: 100px; /* Space for sticky TOC when expanded */
}

body {
  background: 
    radial-gradient(circle at 20% 50%, rgba(45, 27, 78, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(30, 58, 95, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, var(--wow-dark-bg) 0%, var(--wow-dark-secondary) 50%, var(--wow-purple) 100%);
  background-attachment: fixed;
  color: var(--wow-text);
  font-family: 'Marcellus', 'Georgia', 'Times New Roman', 'Palatino', serif;
  min-height: 100vh;
  position: relative;
}

/* Add texture overlay for aged/weathered look */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px);
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
}

/* Navbar styling - Medieval theme */
.navbar-dark,
.navbar-dark.bg-dark {
  background: #0a0a0a !important;
  background-color: #0a0a0a !important;
  background-image: none !important;
  border-bottom: 4px double var(--wow-gold);
  border-top: 2px solid rgba(201, 170, 113, 0.3);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.5), 
    0 0 10px rgba(201, 170, 113, 0.3),
    inset 0 -2px 0 rgba(139, 105, 20, 0.4),
    inset 0 1px 0 rgba(201, 170, 113, 0.2);
  z-index: 1020;
}

/* Ensure sticky positioning works */
.navbar-dark.sticky-top {
  position: sticky !important;
  top: 0;
}

/* Ensure navbar container is also solid */
.navbar-dark .container-fluid {
  background: transparent !important;
  background-image: none !important;
}

.navbar-brand {
  color: var(--wow-gold-bright) !important;
  font-weight: bold;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.8), 
    0 0 10px rgba(212, 175, 55, 0.5),
    1px 1px 0 rgba(139, 105, 20, 0.8);
  font-size: 1.5rem;
  letter-spacing: 2px;
  font-family: 'Marcellus', 'Georgia', 'Times New Roman', serif;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 1rem;
}

.nav-link {
  color: var(--wow-text-dim) !important;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--wow-gold-bright) !important;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

/* Offcanvas menu - Medieval style */
.offcanvas,
.offcanvas.text-bg-dark {
  background: #0a0a0a !important;
  background-color: #0a0a0a !important;
  background-image: none !important;
  border-left: 3px double var(--wow-gold);
  box-shadow: inset 0 0 30px rgba(139, 105, 20, 0.1);
}

/* Ensure offcanvas header and body are also solid */
.offcanvas-header,
.offcanvas-body {
  background: transparent !important;
  background-image: none !important;
}

.offcanvas-title {
  color: var(--wow-gold-bright);
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* Larger tap targets in mobile offcanvas menu */
.offcanvas .nav-link,
.offcanvas .dropdown-item {
  font-size: 1.2rem;
  padding: 0.75rem 1rem;
}

/* Buttons - World of Warcraft style (red with yellow text) */
.btn-primary {
  background: linear-gradient(to bottom, #b22222 0%, #8b0000 50%, #6b0000 100%);
  border: 2px solid #5a0000;
  border-style: solid;
  color: #ffd700;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8), 0 0 4px rgba(255, 215, 0, 0.5);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.5), 
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  position: relative;
  font-family: 'Marcellus', inherit;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-primary:hover {
  background: linear-gradient(to bottom, #c22 0%, #9b0000 50%, #7b0000 100%);
  border-color: #6a0000;
  color: #ffed4e;
  box-shadow: 
    0 6px 12px rgba(0, 0, 0, 0.6), 
    0 0 8px rgba(255, 215, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  background: linear-gradient(to bottom, #8b0000 0%, #6b0000 50%, #5a0000 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Content container - Medieval parchment/stone look */
.bg-body-tertiary {
  background: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(201, 170, 113, 0.03) 2px, rgba(201, 170, 113, 0.03) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(201, 170, 113, 0.02) 2px, rgba(201, 170, 113, 0.02) 4px),
    radial-gradient(circle at top left, rgba(201, 170, 113, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(45, 27, 78, 0.8) 100%) !important;
  border: 4px double var(--wow-gold);
  border-style: double;
  box-shadow: 
    0 8px 16px rgba(0, 0, 0, 0.6), 
    inset 0 0 30px rgba(201, 170, 113, 0.1),
    inset 0 0 60px rgba(139, 105, 20, 0.05),
    0 0 0 1px rgba(139, 105, 20, 0.3);
  color: var(--wow-text);
  position: relative;
}

/* Single gold border style for raid images */
.raid-image {
  background: transparent;
  border: 1px solid var(--wow-gold);
  border-radius: 0.375rem;
}

/* Mythic+ dungeon table */
.dungeon-table {
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--wow-gold);
  --bs-table-color: var(--wow-text);
  border: 1px solid var(--wow-gold);
  border-radius: 0.375rem;
}

.dungeon-table thead th {
  color: var(--wow-gold-bright);
  background: rgba(201, 170, 113, 0.1);
  border-bottom: 1px solid var(--wow-gold);
}

.dungeon-table td,
.dungeon-table th {
  border-color: var(--wow-gold);
}


/* Headings - Medieval style */
h1, h2, h3, h4, h5, h6 {
  color: var(--wow-gold-bright);
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.8), 
    0 0 10px rgba(212, 175, 55, 0.4),
    1px 1px 0 rgba(139, 105, 20, 0.8);
  font-weight: bold;
  font-family: 'Marcellus', 'Georgia', 'Times New Roman', serif;
  position: relative;
  padding-bottom: 0.5rem;
}

h1 {
  text-align: center;
}

/* Decorative underline for headings */
h1::after, h2::after, h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, 
    transparent, 
    var(--wow-gold-dark) 10%, 
    var(--wow-gold) 50%, 
    var(--wow-gold-dark) 90%, 
    transparent);
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
}

/* Display 5 - Header h1 */

.display-5 {
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 1.8rem;
  margin-bottom: 1.8rem;
}

/* lead */
.fs-5 {
  line-height: 1.3;
}

/* Links */
a {
  color: var(--wow-gold);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--wow-gold-bright);
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

/* Links in content area should be underlined, but not buttons */
.bg-body-tertiary a:not(.btn):not(.btn-primary):not(.role-filter):not(.difficulty-filter) {
  text-decoration: underline;
}

/* Dropdown menu - Medieval style */
.dropdown-menu {
  background: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(201, 170, 113, 0.05) 2px, rgba(201, 170, 113, 0.05) 4px),
    linear-gradient(135deg, var(--wow-dark-secondary) 0%, var(--wow-dark-bg) 100%) !important;
  border: 2px double var(--wow-gold);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.6),
    inset 0 0 20px rgba(139, 105, 20, 0.1);
}

.dropdown-item {
  color: var(--wow-text-dim) !important;
}

.dropdown-item:hover {
  background: rgba(201, 170, 113, 0.2) !important;
  color: var(--wow-gold-bright) !important;
}

.dropdown-divider {
  border-color: var(--wow-gold);
  opacity: 0.3;
}

/* Theme toggle button */
.btn-bd-primary {
  --bd-violet-bg: var(--wow-gold);
  --bd-violet-rgb: 201, 170, 113;
  background: linear-gradient(to bottom, var(--wow-gold-dark) 0%, var(--wow-gold) 100%);
  border: 2px solid var(--wow-gold-bright);
  color: var(--wow-dark-bg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.btn-bd-primary:hover {
  background: linear-gradient(to bottom, var(--wow-gold) 0%, var(--wow-gold-bright) 100%);
  border-color: var(--wow-gold-bright);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Paragraph text - Medieval style */
p {
  color: var(--wow-text);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* First letter styling for medieval look */
p:first-of-type::first-letter {
  font-size: 3.8rem;
  line-height: 1;
  float: left;
  padding-right: 8px;
  padding-top: 5px;
  color: var(--wow-gold-bright);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  font-family: 'Marcellus','Georgia', serif;
}

/* Additional medieval decorative elements */
.container {
  position: relative;
}

/* Add subtle texture to rounded elements */
.rounded {
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(201, 170, 113, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 105, 20, 0.1) 0%, transparent 50%);
}

/* Table of Contents - Sticky to bottom */
.toc-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0a0a0a;
  border-top: 3px double var(--wow-gold);
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.5), 0 0 10px rgba(201, 170, 113, 0.3);
  z-index: 1010;
  max-height: 40vh;
  overflow-y: auto;
}

.toc-content {
  padding: 0.5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.toc-toggle {
  background: transparent;
  border: none;
  color: var(--wow-gold-bright);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 0;
  font-family: 'Marcellus', inherit;
  transition: all 0.3s ease;
}

.toc-toggle:hover {
  color: var(--wow-gold-bright);
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.toc-title {
  color: var(--wow-gold-bright);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
  font-weight: bold;
  margin: 0;
}

.toc-arrow {
  color: var(--wow-gold);
  font-size: 0.8rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.toc-list {
  list-style: none;
  padding: 0.75rem 0 0 0;
  margin: 0;
  display: block;
}

.toc-list li {
  margin: 0 0 0.5rem 0;
}

.toc-list li {
  margin: 0;
}

.toc-link {
  color: var(--wow-text-dim);
  text-decoration: none;
  padding: 0.25rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  white-space: nowrap;
}

.toc-link:hover {
  color: var(--wow-gold-bright);
  border-color: var(--wow-gold);
  background: rgba(201, 170, 113, 0.1);
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}


/* Difficulty classes */
.heroic::marker {
  color: var(--wow-rarity-rare);
}

.heroic {
  color: var(--wow-rarity-rare);
}

.mythic {
  color: var(--wow-rarity-epic);
}

.lfr {
  color: var(--wow-rarity-common);
}

.normal {
  color: var(--wow-rarity-uncommon);
}

/* WoW-style filter buttons */
.role-filter,
.difficulty-filter {
  background: linear-gradient(to bottom, #b22222 0%, #8b0000 50%, #6b0000 100%);
  border: 2px solid #5a0000;
  color: #ffd700 !important;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8), 0 0 4px rgba(255, 215, 0, 0.5);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.5), 
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  font-family: 'Marcellus', inherit;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.role-filter:hover,
.difficulty-filter:hover {
  background: linear-gradient(to bottom, #c22 0%, #9b0000 50%, #7b0000 100%);
  border-color: #6a0000;
  color: #ffed4e !important;
  box-shadow: 
    0 6px 12px rgba(0, 0, 0, 0.6), 
    0 0 8px rgba(255, 215, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.role-filter:active,
.difficulty-filter:active,
.role-filter.active,
.difficulty-filter.active {
  background: linear-gradient(to bottom, #8b0000 0%, #6b0000 50%, #5a0000 100%);
  border-color: var(--wow-gold);
  color: #ffed4e !important;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.5), 
    inset 0 2px 4px rgba(0, 0, 0, 0.4),
    0 0 12px rgba(255, 215, 0, 0.5);
  transform: translateY(0);
}

/* Button group spacing */
.btn-group .role-filter,
.btn-group .difficulty-filter {
  border-right-width: 1px;
}

.btn-group .role-filter:last-child,
.btn-group .difficulty-filter:last-child {
  border-right-width: 2px;
}

/* Filter label text */
.text-muted {
  color: var(--wow-gold) !important;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* === Guild Progression Scoreboard === */
.scoreboard-title {
  text-align: center;
  font-size: 1.15rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 2rem;
  margin-bottom: 1.25rem;
}

.scoreboard-card {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.97) 0%, rgba(45, 27, 78, 0.85) 100%);
  border: 2px solid var(--wow-gold-dark);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.7),
    inset 0 0 24px rgba(201, 170, 113, 0.06),
    0 0 0 1px rgba(201, 170, 113, 0.15);
  padding: 1rem 1.25rem;
  height: 100%;
  position: relative;
  overflow: clip;
}

.scoreboard-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--wow-gold), transparent);
  opacity: 0.6;
}

.scoreboard-raid-name {
  color: var(--wow-gold-bright);
  font-family: 'Marcellus', Georgia, serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
  padding-bottom: 0.65rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid rgba(201, 170, 113, 0.25);
}

.scoreboard-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.diff-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.normal-pill {
  background: rgba(30, 255, 0, 0.12);
  border: 1px solid var(--wow-rarity-uncommon);
  color: var(--wow-rarity-uncommon);
  box-shadow: 0 0 6px rgba(30, 255, 0, 0.2);
}

.heroic-pill {
  background: rgba(0, 112, 221, 0.12);
  border: 1px solid var(--wow-rarity-rare);
  color: var(--wow-rarity-rare);
  box-shadow: 0 0 6px rgba(0, 112, 221, 0.2);
}

.mythic-pill {
  background: rgba(163, 53, 238, 0.12);
  border: 1px solid var(--wow-rarity-epic);
  color: var(--wow-rarity-epic);
  box-shadow: 0 0 6px rgba(163, 53, 238, 0.2);
}

.boss-pips {
  display: flex;
  gap: 5px;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
}

.pip {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  position: relative;
  transition: box-shadow 0.2s ease;
}

.pip::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  line-height: 1;
}

.pip-normal {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(30, 255, 0, 0.2);
}

.pip-heroic {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 112, 221, 0.2);
}

.pip-mythic {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(163, 53, 238, 0.2);
}

.pip-killed.pip-normal {
  background: rgba(30, 255, 0, 0.2);
  border-color: var(--wow-rarity-uncommon);
  box-shadow: 0 0 8px rgba(30, 255, 0, 0.5), inset 0 0 5px rgba(30, 255, 0, 0.3);
}

.pip-killed.pip-normal::after {
  content: '✓';
  color: var(--wow-rarity-uncommon);
}

.pip-killed.pip-heroic {
  background: rgba(0, 112, 221, 0.25);
  border-color: var(--wow-rarity-rare);
  box-shadow: 0 0 8px rgba(0, 112, 221, 0.5), inset 0 0 5px rgba(0, 112, 221, 0.3);
}

.pip-killed.pip-heroic::after {
  content: '✓';
  color: var(--wow-rarity-rare);
}

.pip-killed.pip-mythic {
  background: rgba(163, 53, 238, 0.25);
  border-color: var(--wow-rarity-epic);
  box-shadow: 0 0 8px rgba(163, 53, 238, 0.5), inset 0 0 5px rgba(163, 53, 238, 0.3);
}

.pip-killed.pip-mythic::after {
  content: '✓';
  color: var(--wow-rarity-epic);
}

.score-label {
  font-size: 0.8rem;
  font-weight: bold;
  min-width: 2rem;
  text-align: right;
  font-family: 'Marcellus', serif;
}

/* Interactive pips */
.pip {
  cursor: pointer;
}

.pip:hover {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Spec table */
.specguide .table-dark th:nth-child(n+3),
.specguide .table-dark td:nth-child(n+3) {
  text-align: center;
}

/* Bootstrap 5 sticky table header inside .table-responsive */
.table-sticky-header {
  max-height: 70vh;
  overflow-y: auto;
}

.table-sticky-header .table-dark thead th {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--wow-dark-tertiary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
/* Boss cards */
.boss-card {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.97) 0%, rgba(45, 27, 78, 0.85) 100%);
  border: 2px solid var(--wow-gold-dark);
  border-radius: 0.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7), inset 0 0 24px rgba(201, 170, 113, 0.06), 0 0 0 1px rgba(201, 170, 113, 0.15);
  padding: 1.5rem;
  height: 100%;
  position: relative;
  overflow: clip;
}

.boss-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--wow-gold), transparent);
  opacity: 0.6;
}

.boss-card p:first-of-type::first-letter {
  font-size: inherit;
  float: none;
  padding: 0;
  line-height: inherit;
}

.boss-card .display-5 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
