/* ========================================
   BLOOD CAFÉ – ENHANCED VISUAL COMPONENTS
   Gaming aesthetic with NO animations
   ======================================== */

/* ========================================
   SYNERGY PANEL - EPIC DESIGN
   ======================================== */
#synergyPanel {
  position: fixed !important;
  top: 100px !important;
  right: 32px !important;
  width: 340px !important;
  max-height: 500px !important;
  overflow-y: auto !important;

  /* Epic glassmorphism design */
  background: linear-gradient(145deg,
    rgba(21, 27, 38, 0.95) 0%,
    rgba(26, 33, 48, 0.92) 100%) !important;
  backdrop-filter: blur(30px) saturate(180%) !important;

  /* Neon border */
  border: 2px solid rgba(0, 217, 255, 0.4) !important;
  border-radius: 20px !important;

  /* Epic shadows */
  box-shadow:
    0 0 1px rgba(0, 217, 255, 0.8),
    0 0 40px rgba(0, 217, 255, 0.4),
    0 0 80px rgba(124, 58, 237, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.7) !important;

  padding: 20px !important;
  z-index: 9998 !important;

  /* Scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 217, 255, 0.5) rgba(0, 0, 0, 0.3);
}

/* Collapsed state */
#synergyPanel.collapsed {
  width: 60px !important;
  height: 60px !important;
  max-height: 60px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 30px !important;
  cursor: pointer !important;
}

#synergyPanel.collapsed > * {
  display: none !important;
}

#synergyPanel.collapsed::after {
  content: '⚡' !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  font-size: 28px !important;
  color: #00d9ff !important;
}

/* Toggle button for synergy panel */
#synergyToggle {
  position: absolute !important;
  top: -12px !important;
  right: -12px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  border: 2px solid rgba(168, 85, 247, 0.5) !important;
  color: white !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.5) !important;
  z-index: 1 !important;
}

#synergyToggle:hover {
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.7) !important;
}

#synergyPanel::-webkit-scrollbar {
  width: 8px;
}

#synergyPanel::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

#synergyPanel::-webkit-scrollbar-thumb {
  background: rgba(0, 217, 255, 0.5);
  border-radius: 10px;
}

#synergyPanel::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 217, 255, 0.7);
}

/* Synergy header */
#synergyPanel > div:first-child {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 20px !important;
  padding-bottom: 16px !important;
  border-bottom: 2px solid rgba(0, 217, 255, 0.3) !important;
}

#synergyPanel > div:first-child > div:first-child {
  font-size: 18px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: #00d9ff !important;
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.6) !important;
}

#synergyPanel > div:first-child > div:last-child {
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  color: white !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.5) !important;
  border: 1px solid rgba(168, 85, 247, 0.5) !important;
}

/* Individual synergy cards */
.synergy-alert {
  background: linear-gradient(135deg,
    rgba(0, 217, 255, 0.12) 0%,
    rgba(124, 58, 237, 0.08) 100%) !important;
  border: 1px solid rgba(0, 217, 255, 0.3) !important;
  border-radius: 12px !important;
  padding: 16px !important;
  margin-bottom: 12px !important;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.synergy-alert.synergy-complete {
  background: linear-gradient(135deg,
    rgba(0, 255, 136, 0.15) 0%,
    rgba(0, 217, 255, 0.1) 100%) !important;
  border: 2px solid rgba(0, 255, 136, 0.5) !important;
  box-shadow:
    0 0 30px rgba(0, 255, 136, 0.3),
    0 4px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.synergy-alert > div:first-child {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 8px !important;
}

.synergy-alert > div:first-child > div:first-child {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.synergy-alert > div:nth-child(2) {
  font-size: 13px !important;
  color: #fbbf24 !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.5) !important;
}

.synergy-alert > div:nth-child(3) {
  font-size: 12px !important;
  color: #b8c5db !important;
  font-style: italic !important;
  margin-bottom: 8px !important;
}

.synergy-alert > div:last-child {
  font-size: 11px !important;
  color: #6b7a94 !important;
  padding-top: 8px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* No synergies state */
#synergyPanel > div > div:only-child {
  text-align: center !important;
  padding: 40px 20px !important;
}

#synergyPanel > div > div:only-child > div:first-child {
  font-size: 48px !important;
  margin-bottom: 16px !important;
  filter: grayscale(50%) !important;
}

#synergyPanel > div > div:only-child > div:nth-child(2) {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #6b7a94 !important;
  margin-bottom: 8px !important;
}

#synergyPanel > div > div:only-child > div:last-child {
  font-size: 12px !important;
  color: #6b7a94 !important;
  opacity: 0.7 !important;
}

/* ========================================
   STAR RATING - ENHANCED
   ======================================== */
.star-rating {
  display: inline-flex !important;
  gap: 4px !important;
}

.star {
  cursor: pointer !important;
  font-size: 20px !important;
  color: rgba(255, 255, 255, 0.15) !important;
  text-shadow: none !important;
  user-select: none !important;
}

.star.filled {
  color: #fbbf24 !important;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.6),
               0 0 20px rgba(251, 191, 36, 0.4) !important;
}

.star:hover {
  color: #fbbf24 !important;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.5) !important;
}

/* ========================================
   TAG BADGES - GAMING STYLE
   ======================================== */
.tag-badge {
  display: inline-block !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.tag-pvp {
  background: linear-gradient(135deg, rgba(255, 0, 51, 0.25), rgba(255, 0, 51, 0.15)) !important;
  color: #fca5a5 !important;
  border: 1px solid rgba(255, 0, 51, 0.4) !important;
  text-shadow: 0 0 10px rgba(255, 0, 51, 0.5) !important;
}

.tag-pve {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.25), rgba(0, 255, 136, 0.15)) !important;
  color: #6ee7b7 !important;
  border: 1px solid rgba(0, 255, 136, 0.4) !important;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5) !important;
}

.tag-hybrid {
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.25), rgba(255, 170, 0, 0.15)) !important;
  color: #fcd34d !important;
  border: 1px solid rgba(255, 170, 0, 0.4) !important;
  text-shadow: 0 0 10px rgba(255, 170, 0, 0.5) !important;
}

/* ========================================
   BUILD CARDS - EPIC STYLING
   ======================================== */
.build-card {
  background: linear-gradient(145deg,
    rgba(21, 27, 38, 0.8) 0%,
    rgba(15, 20, 25, 0.7) 100%) !important;
  backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(0, 217, 255, 0.2) !important;
  border-radius: 16px !important;
  padding: 24px !important;
  margin-bottom: 16px !important;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  position: relative !important;
  overflow: visible !important;
}

.build-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 217, 255, 0.5) 50%,
    transparent 100%) !important;
}

.build-card:hover {
  border-color: rgba(0, 217, 255, 0.5) !important;
  box-shadow:
    0 0 40px rgba(0, 217, 255, 0.2),
    0 8px 30px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Boogeyman special styling */
.boogeyman-config {
  border: 2px solid rgba(124, 58, 237, 0.5) !important;
  background: linear-gradient(145deg,
    rgba(30, 0, 30, 0.8) 0%,
    rgba(20, 0, 20, 0.7) 100%) !important;
  box-shadow:
    0 0 50px rgba(124, 58, 237, 0.3),
    0 8px 32px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(168, 85, 247, 0.2) !important;
}

.boogeyman-config::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(168, 85, 247, 0.7) 50%,
    transparent 100%) !important;
  height: 3px !important;
}

.boogeyman-config::after {
  content: '👁️' !important;
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  font-size: 24px !important;
  opacity: 0.6 !important;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.8)) !important;
}

/* ========================================
   COMPARE FLOATING BUTTON
   ======================================== */
#compareFloatingBtn {
  position: fixed !important;
  bottom: 100px !important;
  right: 32px !important;
  z-index: 9999 !important;

  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  border: 2px solid rgba(168, 85, 247, 0.5) !important;
  padding: 18px 32px !important;
  border-radius: 50px !important;

  box-shadow:
    0 0 40px rgba(124, 58, 237, 0.5),
    0 8px 30px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;

  font-weight: 800 !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: white !important;
  cursor: pointer !important;
}

#compareFloatingBtn:hover {
  box-shadow:
    0 0 60px rgba(124, 58, 237, 0.7),
    0 12px 40px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* ========================================
   MODAL STYLING
   ======================================== */
#compareModal,
#pinModal,
.modal-backdrop {
  background: rgba(5, 7, 12, 0.96) !important;
  backdrop-filter: blur(20px) !important;
}

#compareModal > div,
#pinModal > div {
  background: linear-gradient(145deg,
    rgba(21, 27, 38, 0.98) 0%,
    rgba(15, 20, 25, 0.95) 100%) !important;
  border: 2px solid rgba(0, 217, 255, 0.3) !important;
  border-radius: 20px !important;
  box-shadow:
    0 0 60px rgba(0, 217, 255, 0.3),
    0 20px 80px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* ========================================
   COMPARISON TABLE
   ======================================== */
table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 14px !important;
}

table thead {
  background: rgba(0, 217, 255, 0.1) !important;
  border-bottom: 2px solid rgba(0, 217, 255, 0.4) !important;
}

table th {
  padding: 16px !important;
  text-align: left !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #00d9ff !important;
  font-size: 13px !important;
}

table td {
  padding: 14px 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #b8c5db !important;
}

table tr:hover {
  background: rgba(0, 217, 255, 0.05) !important;
}

table tr:hover td {
  color: #ffffff !important;
}

/* ========================================
   SAVE SECTION - SPECIAL STYLING
   ======================================== */
.save-grid {
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: 1fr 1fr !important;
}

.save-grid > input {
  grid-column: span 1 !important;
}

.save-grid > div {
  grid-column: 1 / -1 !important;
}

.save-grid > button {
  grid-column: 1 / -1 !important;
  padding: 16px !important;
  font-size: 16px !important;
}

/* Edit mode styling */
.panel[style*="border: 2px solid rgba(245, 158, 11, 0.3)"] {
  border: 2px solid rgba(255, 170, 0, 0.5) !important;
  background: linear-gradient(145deg,
    rgba(40, 30, 0, 0.4) 0%,
    rgba(21, 27, 38, 0.8) 100%) !important;
  box-shadow:
    0 0 40px rgba(255, 170, 0, 0.2),
    0 8px 32px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 170, 0, 0.1) !important;
}

/* ========================================
   ACTIONS & BUTTONS IN CARDS
   ======================================== */
.actions {
  display: flex !important;
  gap: 12px !important;
  margin-top: 24px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ========================================
   CHECKBOXES - CYBER STYLE
   ======================================== */
input[type="checkbox"] {
  appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid rgba(0, 217, 255, 0.4) !important;
  border-radius: 4px !important;
  background: rgba(13, 17, 23, 0.8) !important;
  cursor: pointer !important;
  position: relative !important;
  margin-right: 8px !important;
}

input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #00d9ff, #0080ff) !important;
  border-color: #00d9ff !important;
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.5) !important;
}

input[type="checkbox"]:checked::after {
  content: '✓' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  color: #000 !important;
  font-weight: 900 !important;
  font-size: 14px !important;
}

label {
  display: flex !important;
  align-items: center !important;
  cursor: pointer !important;
  user-select: none !important;
  color: #b8c5db !important;
  font-weight: 600 !important;
}

label:hover {
  color: #ffffff !important;
}

/* ========================================
   SCROLLBAR - GLOBAL CYBER STYLE
   ======================================== */
::-webkit-scrollbar {
  width: 14px !important;
  height: 14px !important;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.4) !important;
  border-radius: 10px !important;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #7c3aed, #00d9ff) !important;
  border-radius: 10px !important;
  border: 2px solid rgba(0, 0, 0, 0.4) !important;
  box-shadow:
    inset 0 0 6px rgba(255, 255, 255, 0.2),
    0 0 12px rgba(0, 217, 255, 0.3) !important;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #a855f7, #00ffff) !important;
  box-shadow:
    inset 0 0 6px rgba(255, 255, 255, 0.3),
    0 0 20px rgba(0, 217, 255, 0.5) !important;
}

/* ========================================
   TEXT SELECTION - NEON HIGHLIGHT
   ======================================== */
::selection {
  background: rgba(0, 217, 255, 0.4) !important;
  color: #ffffff !important;
  text-shadow: 0 0 12px rgba(0, 217, 255, 0.8) !important;
}

::-moz-selection {
  background: rgba(0, 217, 255, 0.4) !important;
  color: #ffffff !important;
  text-shadow: 0 0 12px rgba(0, 217, 255, 0.8) !important;
}

/* ========================================
   FOCUS STATES - CYBER GLOW
   ======================================== */
*:focus-visible {
  outline: 2px solid #00d9ff !important;
  outline-offset: 3px !important;
  border-radius: 4px !important;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.4) !important;
}

button:focus-visible,
.btn:focus-visible {
  outline-offset: 2px !important;
}

/* ========================================
   MOBILE OPTIMIZATIONS
   ======================================== */
@media (max-width: 768px) {
  /* Synergy panel - compact floating card on mobile */
  #synergyPanel {
    position: fixed !important;
    top: auto !important;
    bottom: 80px !important;
    right: 12px !important;
    left: auto !important;
    width: 280px !important;
    max-width: calc(100vw - 24px) !important;
    max-height: 45vh !important;
    padding: 14px !important;
    padding-top: 40px !important;
    border-radius: 12px !important;
    z-index: 999 !important;
  }

  #synergyPanel.collapsed {
    position: fixed !important;
    bottom: 80px !important;
    right: 12px !important;
    left: auto !important;
    width: 56px !important;
    height: 56px !important;
    padding: 0 !important;
  }

  /* Make toggle button MUCH bigger and visible on mobile */
  #synergyToggle {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    width: 44px !important;
    height: 32px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
  }

  #synergyToggle::before {
    content: 'HIDE' !important;
  }

  #synergyToggle:empty::before {
    content: 'HIDE' !important;
  }

  #synergyPanel.collapsed #synergyToggle {
    display: none !important;
  }

  /* Synergy cards - more compact on mobile */
  .synergy-alert {
    padding: 10px !important;
    margin-bottom: 6px !important;
  }

  .synergy-alert > div:first-child > div:first-child {
    font-size: 12px !important;
  }

  .synergy-alert > div:nth-child(2) {
    font-size: 11px !important;
  }

  .synergy-alert > div:nth-child(3) {
    font-size: 10px !important;
  }

  .synergy-alert > div:last-child {
    font-size: 9px !important;
    display: none !important;
  }

  /* Header styling for mobile */
  #synergyPanel > div:first-child {
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
  }

  #synergyPanel > div:first-child > div:first-child {
    font-size: 14px !important;
  }

  #compareFloatingBtn {
    bottom: 150px !important;
    right: 16px !important;
    padding: 12px 20px !important;
    font-size: 13px !important;
  }

  .save-grid {
    grid-template-columns: 1fr !important;
  }

  .save-grid > input,
  .save-grid > div,
  .save-grid > button {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 480px) {
  #synergyPanel {
    max-height: 180px !important;
    padding: 12px !important;
  }

  #synergyPanel > div:first-child > div:first-child {
    font-size: 14px !important;
  }

  #compareFloatingBtn {
    padding: 10px 16px !important;
    font-size: 12px !important;
  }
}

/* ========================================
   SCROLL PERFORMANCE - DISABLE HEAVY EFFECTS
   ======================================== */

/* Remove backdrop-filter from all elements for scroll performance */
@media (max-width: 1024px) {
  #synergyPanel,
  .synergy-alert,
  .build-card,
  .sphere-suggestions,
  #compareModal,
  #pinModal,
  .modal-backdrop {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  #synergyPanel {
    background: rgba(21, 27, 38, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
  }

  .build-card {
    background: rgba(21, 27, 38, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
  }

  .build-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
  }
}

/* ========================================
   MOBILE SYNERGY BADGE & DRAWER
   ======================================== */

/* Hide desktop synergy panel on mobile */
@media (max-width: 768px) {
  #synergyPanel {
    display: none !important;
  }
}

/* Floating badge - always visible on mobile */
#synergyBadge {
  display: none;
}

@media (max-width: 768px) {
  #synergyBadge {
    display: flex;
    position: fixed;
    bottom: 80px;
    right: 12px;
    min-width: 50px;
    height: 44px;
    padding: 0 14px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 22px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.5);
    z-index: 998;
    cursor: pointer;
  }

  #synergyBadge.empty {
    background: linear-gradient(135deg, #374151, #1f2937);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

  #synergyBadge.has-complete {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5);
  }
}

/* Overlay */
#synergyOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1100;
  opacity: 0;
}

#synergyOverlay.open {
  display: block;
  opacity: 1;
}

/* Slide-up drawer */
#synergyDrawer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 70vh;
  background: linear-gradient(180deg, #1a1f2e 0%, #0f1318 100%);
  border-top: 2px solid rgba(124, 58, 237, 0.5);
  border-radius: 20px 20px 0 0;
  z-index: 1101;
  overflow: hidden;
  transform: translateY(100%);
}

#synergyDrawer.open {
  display: block;
  transform: translateY(0);
}

/* Drawer header */
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(124, 58, 237, 0.15);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.drawer-title {
  font-size: 18px;
  font-weight: 700;
  color: #00d9ff;
}

.drawer-close {
  padding: 10px 20px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* Drawer content */
.drawer-content {
  padding: 16px;
  max-height: calc(70vh - 70px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 40px 20px;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-title {
  font-size: 18px;
  font-weight: 700;
  color: #6b7a94;
  margin-bottom: 8px;
}

.empty-text {
  font-size: 14px;
  color: #6b7a94;
  opacity: 0.7;
}

/* Synergy cards in drawer */
.synergy-card {
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(124, 58, 237, 0.05));
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}

.synergy-card.complete {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(0, 217, 255, 0.05));
  border: 2px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.synergy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.synergy-name {
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.synergy-progress {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 12px;
}

.synergy-bonus {
  font-size: 14px;
  color: #fbbf24;
  font-weight: 600;
  margin-bottom: 6px;
}

.synergy-desc {
  font-size: 13px;
  color: #b8c5db;
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.4;
}

.synergy-requires {
  font-size: 11px;
  color: #6b7a94;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Allow transitions for drawer */
#synergyDrawer,
#synergyOverlay {
  transition: transform 0.3s ease, opacity 0.3s ease !important;
}
